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