blob: bec9910e7cd4225745325b697e04c66134c5f3a0 [file] [log] [blame] [view]
Martin Hořeňovskýce37f482017-02-01 21:47:43 +01001# 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
32Release 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ý9a566092017-01-20 12:49:59 +010035
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ý9a566092017-01-20 12:49:59 +010054## 1.6.0
Phil Nash3b2f2062017-01-11 16:43:56 +000055
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 Nash1ff0acf2017-01-11 16:50:35 +000060* Approx now supports `>=` and `<=`
61* Can now use `\` to escape chars in test names on command line
Phil Nash3b2f2062017-01-11 16:43:56 +000062* Standardize C++11 feature toggles
63
64### Fixes:
65* Blue shell colour
Phil Nash1ff0acf2017-01-11 16:50:35 +000066* Missing argument to `CATCH_CHECK_THROWS`
Phil Nash3b2f2062017-01-11 16:43:56 +000067* Don't encode extended ASCII in XML
Phil Nashe6aa1f42017-01-11 17:14:28 +000068* use `std::shuffle` on more compilers (fixes deprecation warning/error)
Phil Nash1ff0acf2017-01-11 16:50:35 +000069* Use `__COUNTER__` more consistently (where available)
Phil Nash3b2f2062017-01-11 16:43:56 +000070
71### Other:
72* Tweaks and changes to scripts - particularly for Approval test - to make them more portable
73
Phil Nash3b2f2062017-01-11 16:43:56 +000074
75---
76
77[Home](Readme.md)