| Phil Nash | 658b5f6 | 2017-03-01 16:06:48 +0000 | [diff] [blame^] | 1 | # 1.8.1 |
| 2 | |
| 3 | ### Fixes |
| 4 | |
| 5 | Cygwin issue with `gettimeofday` - `#define` was not early enough |
| 6 | |
| Phil Nash | 0952b76 | 2017-02-28 14:19:09 +0000 | [diff] [blame] | 7 | # 1.8.0 |
| 8 | |
| 9 | ### New features/ minor changes |
| 10 | |
| 11 | * Matchers have new, simpler (and documented) interface. |
| 12 | * Catch provides string and vector matchers. |
| Phil Nash | 417202b | 2017-03-01 08:22:38 +0000 | [diff] [blame] | 13 | * For details see [Matchers documentation](matchers.md). |
| Phil Nash | 0952b76 | 2017-02-28 14:19:09 +0000 | [diff] [blame] | 14 | * Changed console reporter test duration reporting format (#322) |
| 15 | * Old format: `Some simple comparisons between doubles completed in 0.000123s` |
| 16 | * New format: `xxx.123s: Some simple comparisons between doubles` _(There will always be exactly 3 decimal places)_ |
| 17 | * Added opt-in leak detection under MSVC + Windows (#439) |
| 18 | * Enable it by compiling Catch's main with `CATCH_CONFIG_WINDOWS_CRTDBG` |
| 19 | * Introduced new compile-time flag, `CATCH_CONFIG_FAST_COMPILE`, trading features for compilation speed. |
| Phil Nash | 470561c | 2017-03-01 08:24:16 +0000 | [diff] [blame] | 20 | * Moves debug breaks out of tests and into implementation, speeding up compilation time |
| Phil Nash | 0952b76 | 2017-02-28 14:19:09 +0000 | [diff] [blame] | 21 | * _More changes are coming_ |
| 22 | * Added [TAP (Test Anything Protocol)](https://testanything.org/) and [Automake](https://www.gnu.org/software/automake/manual/html_node/Log-files-generation-and-test-results-recording.html#Log-files-generation-and-test-results-recording) reporters. |
| 23 | * These are not present in the default single-include header and need to be downloaded from GitHub separately. |
| Phil Nash | 417202b | 2017-03-01 08:22:38 +0000 | [diff] [blame] | 24 | * For details see [documentation about integrating with build systems](build-systems.md). |
| Phil Nash | 0952b76 | 2017-02-28 14:19:09 +0000 | [diff] [blame] | 25 | * XML reporter now reports filename as part of the `Section` and `TestCase` tags. |
| 26 | * `Approx` now supports an optional margin of absolute error |
| 27 | * It has also received [new documentation](). |
| 28 | |
| 29 | ### Fixes |
| 30 | * Silenced C4312 ("conversion from int to 'ClassName *") warnings in the evaluate layer. |
| 31 | * Fixed C4512 ("assignment operator could not be generated") warnings under VS2013. |
| 32 | * Cygwin compatibility fixes |
| 33 | * Signal handling is no longer compiled by default. |
| 34 | * Usage of `gettimeofday` inside Catch should no longer cause compilation errors. |
| 35 | * Improved `-Wparentheses` supression for gcc (#674) |
| 36 | * When compiled with gcc 4.8 or newer, the supression is localized to assertions only |
| 37 | * Otherwise it is supressed for the whole TU |
| 38 | * Fixed test spec parser issue (with escapes in multiple names) |
| 39 | |
| 40 | ### Other |
| 41 | * Various documentation fixes and improvements |
| 42 | |
| 43 | |
| Phil Nash | d08cee2 | 2017-02-13 16:15:42 +0000 | [diff] [blame] | 44 | # 1.7.2 |
| 45 | |
| 46 | ### Fixes and minor improvements |
| 47 | Xml: |
| 48 | |
| 49 | (technically the first two are breaking changes but are also fixes and arguably break few if any people) |
| 50 | * C-escape control characters instead of XML encoding them (which requires XML 1.1) |
| 51 | * Revert XML output to XML 1.0 |
| 52 | * Can provide stylesheet references by extending the XML reporter |
| 53 | * Added description and tags attribites to XML Reporter |
| 54 | * Tags are closed and the stream flushed more eagerly to avoid stdout interpolation |
| 55 | |
| 56 | |
| 57 | Other: |
| 58 | * `REQUIRE_THROWS_AS` now catches exception by `const&` and reports expected type |
| 59 | * In `SECTION`s the file/ line is now of the `SECTION`. not the `TEST_CASE` |
| 60 | * Added std:: qualification to some functions from C stdlib |
| 61 | * Removed use of RTTI (`dynamic_cast`) that had crept back in |
| 62 | * Silenced a few more warnings in different circumstances |
| 63 | * Travis improvements |
| 64 | |
| Martin Hořeňovský | 7b8a27e | 2017-02-07 10:06:52 +0100 | [diff] [blame] | 65 | # 1.7.1 |
| 66 | |
| 67 | ### Fixes: |
| 68 | * Fixed inconsistency in defining `NOMINMAX` and `WIN32_LEAN_AND_MEAN` inside `catch.hpp`. |
| 69 | * Fixed SEH-related compilation error under older MinGW compilers, by making Windows SEH handling opt-in for compilers other than MSVC. |
| 70 | * For specifics, look into the [documentation](docs/configuration.md). |
| 71 | * Fixed compilation error under MinGW caused by improper compiler detection. |
| 72 | * Fixed XML reporter sometimes leaving an empty output file when a test ends with signal/structured exception. |
| 73 | * Fixed XML reporter not reporting captured stdout/stderr. |
| 74 | * Fixed possible infinite recursion in Windows SEH. |
| 75 | * Fixed possible compilation error caused by Catch's operator overloads being ambiguous in regards to user-defined templated operators. |
| 76 | |
| Martin Hořeňovský | 7b8a27e | 2017-02-07 10:06:52 +0100 | [diff] [blame] | 77 | ## 1.7.0 |
| Martin Hořeňovský | ce37f48 | 2017-02-01 21:47:43 +0100 | [diff] [blame] | 78 | |
| 79 | ### Features/ Changes: |
| 80 | * Catch now runs significantly faster for passing tests |
| 81 | * Microbenchmark focused on Catch's overhead went from ~3.4s to ~0.7s. |
| 82 | * Real world test using [JSON for Modern C++](https://github.com/nlohmann/json)'s test suite went from ~6m 25s to ~4m 14s. |
| 83 | * Catch can now run specific sections within test cases. |
| 84 | * For now the support is only basic (no wildcards or tags), for details see the [documentation](docs/command-line.md). |
| 85 | * Catch now supports SEH on Windows as well as signals on Linux. |
| 86 | * After receiving a signal, Catch reports failing assertion and then passes the signal onto the previous handler. |
| 87 | * Approx can be used to compare values against strong typedefs (available in C++11 mode only). |
| 88 | * Strong typedefs mean types that are explicitly convertible to double. |
| 89 | * CHECK macro no longer stops executing section if an exception happens. |
| 90 | * Certain characters (space, tab, etc) are now pretty printed. |
| 91 | * This means that a `char c = ' '; REQUIRE(c == '\t');` would be printed as `' ' == '\t'`, instead of ` == 9`. |
| 92 | |
| 93 | ### Fixes: |
| 94 | * Text formatting no longer attempts to access out-of-bounds characters under certain conditions. |
| 95 | * THROW family of assertions no longer trigger `-Wunused-value` on expressions containing explicit cast. |
| 96 | * Breaking into debugger under OS X works again and no longer required `DEBUG` to be defined. |
| 97 | * Compilation no longer breaks under certain compiler if a lambda is used inside assertion macro. |
| 98 | |
| 99 | ### Other: |
| 100 | * Catch's CMakeLists now defines install command. |
| 101 | * Catch's CMakeLists now generates projects with warnings enabled. |
| 102 | |
| 103 | |
| Martin Hořeňovský | ce37f48 | 2017-02-01 21:47:43 +0100 | [diff] [blame] | 104 | ## 1.6.1 |
| Martin Hořeňovský | 9a56609 | 2017-01-20 12:49:59 +0100 | [diff] [blame] | 105 | |
| 106 | ### Features/ Changes: |
| 107 | * Catch now supports breaking into debugger on Linux |
| 108 | |
| 109 | ### Fixes: |
| 110 | * Generators no longer leak memory (generators are still unsupported in general) |
| 111 | * JUnit reporter now reports UTC timestamps, instead of "tbd" |
| 112 | * `CHECK_THAT` macro is now properly defined as `CATCH_CHECK_THAT` when using `CATCH_` prefixed macros |
| 113 | |
| 114 | ### Other: |
| 115 | * Types with overloaded `&&` operator are no longer evaluated twice when used in an assertion macro. |
| 116 | * The use of `__COUNTER__` is supressed when Catch is parsed by CLion |
| 117 | * This change is not active when compiling a binary |
| 118 | * Approval tests can now be run on Windows |
| 119 | * CMake will now warn if a file is present in the `include` folder but not is not enumerated as part of the project |
| 120 | * Catch now defines `NOMINMAX` and `WIN32_LEAN_AND_MEAN` before including `windows.h` |
| 121 | * This can be disabled if needed, see [documentation](docs/configuration.md) for details. |
| 122 | |
| 123 | |
| Martin Hořeňovský | 9a56609 | 2017-01-20 12:49:59 +0100 | [diff] [blame] | 124 | ## 1.6.0 |
| Phil Nash | 3b2f206 | 2017-01-11 16:43:56 +0000 | [diff] [blame] | 125 | |
| 126 | ### Cmake/ projects: |
| 127 | * Moved CMakeLists.txt to root, made it friendlier for CLion and generating XCode and VS projects, and removed the manually maintained XCode and VS projects. |
| 128 | |
| 129 | ### Features/ Changes: |
| Phil Nash | 1ff0acf | 2017-01-11 16:50:35 +0000 | [diff] [blame] | 130 | * Approx now supports `>=` and `<=` |
| 131 | * Can now use `\` to escape chars in test names on command line |
| Phil Nash | 3b2f206 | 2017-01-11 16:43:56 +0000 | [diff] [blame] | 132 | * Standardize C++11 feature toggles |
| 133 | |
| 134 | ### Fixes: |
| 135 | * Blue shell colour |
| Phil Nash | 1ff0acf | 2017-01-11 16:50:35 +0000 | [diff] [blame] | 136 | * Missing argument to `CATCH_CHECK_THROWS` |
| Phil Nash | 3b2f206 | 2017-01-11 16:43:56 +0000 | [diff] [blame] | 137 | * Don't encode extended ASCII in XML |
| Phil Nash | e6aa1f4 | 2017-01-11 17:14:28 +0000 | [diff] [blame] | 138 | * use `std::shuffle` on more compilers (fixes deprecation warning/error) |
| Phil Nash | 1ff0acf | 2017-01-11 16:50:35 +0000 | [diff] [blame] | 139 | * Use `__COUNTER__` more consistently (where available) |
| Phil Nash | 3b2f206 | 2017-01-11 16:43:56 +0000 | [diff] [blame] | 140 | |
| 141 | ### Other: |
| 142 | * Tweaks and changes to scripts - particularly for Approval test - to make them more portable |
| 143 | |
| Phil Nash | 3b2f206 | 2017-01-11 16:43:56 +0000 | [diff] [blame] | 144 | |
| Phil Nash | 0952b76 | 2017-02-28 14:19:09 +0000 | [diff] [blame] | 145 | # Older versions |
| 146 | Release notes were not maintained prior to v1.6.0, but you should be able to work them out from the Git history |
| 147 | |
| Phil Nash | 3b2f206 | 2017-01-11 16:43:56 +0000 | [diff] [blame] | 148 | --- |
| 149 | |
| 150 | [Home](Readme.md) |