| Martin Hořeňovský | 7b8a27e | 2017-02-07 10:06:52 +0100 | [diff] [blame^] | 1 | # 1.7.1 |
| 2 | |
| 3 | ### Fixes: |
| 4 | * Fixed inconsistency in defining `NOMINMAX` and `WIN32_LEAN_AND_MEAN` inside `catch.hpp`. |
| 5 | * Fixed SEH-related compilation error under older MinGW compilers, by making Windows SEH handling opt-in for compilers other than MSVC. |
| 6 | * For specifics, look into the [documentation](docs/configuration.md). |
| 7 | * Fixed compilation error under MinGW caused by improper compiler detection. |
| 8 | * Fixed XML reporter sometimes leaving an empty output file when a test ends with signal/structured exception. |
| 9 | * Fixed XML reporter not reporting captured stdout/stderr. |
| 10 | * Fixed possible infinite recursion in Windows SEH. |
| 11 | * Fixed possible compilation error caused by Catch's operator overloads being ambiguous in regards to user-defined templated operators. |
| 12 | |
| 13 | # Older versions |
| 14 | Release notes were not maintained prior to v1.6.0, but you should be able to work them out from the Git history |
| 15 | |
| 16 | ## 1.7.0 |
| Martin Hořeňovský | ce37f48 | 2017-02-01 21:47:43 +0100 | [diff] [blame] | 17 | |
| 18 | ### Features/ Changes: |
| 19 | * Catch now runs significantly faster for passing tests |
| 20 | * Microbenchmark focused on Catch's overhead went from ~3.4s to ~0.7s. |
| 21 | * Real world test using [JSON for Modern C++](https://github.com/nlohmann/json)'s test suite went from ~6m 25s to ~4m 14s. |
| 22 | * Catch can now run specific sections within test cases. |
| 23 | * For now the support is only basic (no wildcards or tags), for details see the [documentation](docs/command-line.md). |
| 24 | * Catch now supports SEH on Windows as well as signals on Linux. |
| 25 | * After receiving a signal, Catch reports failing assertion and then passes the signal onto the previous handler. |
| 26 | * Approx can be used to compare values against strong typedefs (available in C++11 mode only). |
| 27 | * Strong typedefs mean types that are explicitly convertible to double. |
| 28 | * CHECK macro no longer stops executing section if an exception happens. |
| 29 | * Certain characters (space, tab, etc) are now pretty printed. |
| 30 | * This means that a `char c = ' '; REQUIRE(c == '\t');` would be printed as `' ' == '\t'`, instead of ` == 9`. |
| 31 | |
| 32 | ### Fixes: |
| 33 | * Text formatting no longer attempts to access out-of-bounds characters under certain conditions. |
| 34 | * THROW family of assertions no longer trigger `-Wunused-value` on expressions containing explicit cast. |
| 35 | * Breaking into debugger under OS X works again and no longer required `DEBUG` to be defined. |
| 36 | * Compilation no longer breaks under certain compiler if a lambda is used inside assertion macro. |
| 37 | |
| 38 | ### Other: |
| 39 | * Catch's CMakeLists now defines install command. |
| 40 | * Catch's CMakeLists now generates projects with warnings enabled. |
| 41 | |
| 42 | |
| Martin Hořeňovský | ce37f48 | 2017-02-01 21:47:43 +0100 | [diff] [blame] | 43 | ## 1.6.1 |
| Martin Hořeňovský | 9a56609 | 2017-01-20 12:49:59 +0100 | [diff] [blame] | 44 | |
| 45 | ### Features/ Changes: |
| 46 | * Catch now supports breaking into debugger on Linux |
| 47 | |
| 48 | ### Fixes: |
| 49 | * Generators no longer leak memory (generators are still unsupported in general) |
| 50 | * JUnit reporter now reports UTC timestamps, instead of "tbd" |
| 51 | * `CHECK_THAT` macro is now properly defined as `CATCH_CHECK_THAT` when using `CATCH_` prefixed macros |
| 52 | |
| 53 | ### Other: |
| 54 | * Types with overloaded `&&` operator are no longer evaluated twice when used in an assertion macro. |
| 55 | * The use of `__COUNTER__` is supressed when Catch is parsed by CLion |
| 56 | * This change is not active when compiling a binary |
| 57 | * Approval tests can now be run on Windows |
| 58 | * CMake will now warn if a file is present in the `include` folder but not is not enumerated as part of the project |
| 59 | * Catch now defines `NOMINMAX` and `WIN32_LEAN_AND_MEAN` before including `windows.h` |
| 60 | * This can be disabled if needed, see [documentation](docs/configuration.md) for details. |
| 61 | |
| 62 | |
| Martin Hořeňovský | 9a56609 | 2017-01-20 12:49:59 +0100 | [diff] [blame] | 63 | ## 1.6.0 |
| Phil Nash | 3b2f206 | 2017-01-11 16:43:56 +0000 | [diff] [blame] | 64 | |
| 65 | ### Cmake/ projects: |
| 66 | * 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. |
| 67 | |
| 68 | ### Features/ Changes: |
| Phil Nash | 1ff0acf | 2017-01-11 16:50:35 +0000 | [diff] [blame] | 69 | * Approx now supports `>=` and `<=` |
| 70 | * Can now use `\` to escape chars in test names on command line |
| Phil Nash | 3b2f206 | 2017-01-11 16:43:56 +0000 | [diff] [blame] | 71 | * Standardize C++11 feature toggles |
| 72 | |
| 73 | ### Fixes: |
| 74 | * Blue shell colour |
| Phil Nash | 1ff0acf | 2017-01-11 16:50:35 +0000 | [diff] [blame] | 75 | * Missing argument to `CATCH_CHECK_THROWS` |
| Phil Nash | 3b2f206 | 2017-01-11 16:43:56 +0000 | [diff] [blame] | 76 | * Don't encode extended ASCII in XML |
| Phil Nash | e6aa1f4 | 2017-01-11 17:14:28 +0000 | [diff] [blame] | 77 | * use `std::shuffle` on more compilers (fixes deprecation warning/error) |
| Phil Nash | 1ff0acf | 2017-01-11 16:50:35 +0000 | [diff] [blame] | 78 | * Use `__COUNTER__` more consistently (where available) |
| Phil Nash | 3b2f206 | 2017-01-11 16:43:56 +0000 | [diff] [blame] | 79 | |
| 80 | ### Other: |
| 81 | * Tweaks and changes to scripts - particularly for Approval test - to make them more portable |
| 82 | |
| Phil Nash | 3b2f206 | 2017-01-11 16:43:56 +0000 | [diff] [blame] | 83 | |
| 84 | --- |
| 85 | |
| 86 | [Home](Readme.md) |