blob: e1bd19d2812209c71747239976e21e1781ff8ba9 [file] [log] [blame] [view]
Phil Nashd08cee22017-02-13 16:15:42 +00001# 1.7.2
2
3### Fixes and minor improvements
4Xml:
5
6(technically the first two are breaking changes but are also fixes and arguably break few if any people)
7* C-escape control characters instead of XML encoding them (which requires XML 1.1)
8* Revert XML output to XML 1.0
9* Can provide stylesheet references by extending the XML reporter
10* Added description and tags attribites to XML Reporter
11* Tags are closed and the stream flushed more eagerly to avoid stdout interpolation
12
13
14Other:
15* `REQUIRE_THROWS_AS` now catches exception by `const&` and reports expected type
16* In `SECTION`s the file/ line is now of the `SECTION`. not the `TEST_CASE`
17* Added std:: qualification to some functions from C stdlib
18* Removed use of RTTI (`dynamic_cast`) that had crept back in
19* Silenced a few more warnings in different circumstances
20* Travis improvements
21
Martin Hořeňovský7b8a27e2017-02-07 10:06:52 +010022# 1.7.1
23
24### Fixes:
25* Fixed inconsistency in defining `NOMINMAX` and `WIN32_LEAN_AND_MEAN` inside `catch.hpp`.
26* Fixed SEH-related compilation error under older MinGW compilers, by making Windows SEH handling opt-in for compilers other than MSVC.
27 * For specifics, look into the [documentation](docs/configuration.md).
28* Fixed compilation error under MinGW caused by improper compiler detection.
29* Fixed XML reporter sometimes leaving an empty output file when a test ends with signal/structured exception.
30* Fixed XML reporter not reporting captured stdout/stderr.
31* Fixed possible infinite recursion in Windows SEH.
32* Fixed possible compilation error caused by Catch's operator overloads being ambiguous in regards to user-defined templated operators.
33
34# Older versions
35Release notes were not maintained prior to v1.6.0, but you should be able to work them out from the Git history
36
37## 1.7.0
Martin Hořeňovskýce37f482017-02-01 21:47:43 +010038
39### Features/ Changes:
40* Catch now runs significantly faster for passing tests
41 * Microbenchmark focused on Catch's overhead went from ~3.4s to ~0.7s.
42 * Real world test using [JSON for Modern C++](https://github.com/nlohmann/json)'s test suite went from ~6m 25s to ~4m 14s.
43* Catch can now run specific sections within test cases.
44 * For now the support is only basic (no wildcards or tags), for details see the [documentation](docs/command-line.md).
45* Catch now supports SEH on Windows as well as signals on Linux.
46 * After receiving a signal, Catch reports failing assertion and then passes the signal onto the previous handler.
47* Approx can be used to compare values against strong typedefs (available in C++11 mode only).
48 * Strong typedefs mean types that are explicitly convertible to double.
49* CHECK macro no longer stops executing section if an exception happens.
50* Certain characters (space, tab, etc) are now pretty printed.
51 * This means that a `char c = ' '; REQUIRE(c == '\t');` would be printed as `' ' == '\t'`, instead of ` == 9`.
52
53### Fixes:
54* Text formatting no longer attempts to access out-of-bounds characters under certain conditions.
55* THROW family of assertions no longer trigger `-Wunused-value` on expressions containing explicit cast.
56* Breaking into debugger under OS X works again and no longer required `DEBUG` to be defined.
57* Compilation no longer breaks under certain compiler if a lambda is used inside assertion macro.
58
59### Other:
60* Catch's CMakeLists now defines install command.
61* Catch's CMakeLists now generates projects with warnings enabled.
62
63
Martin Hořeňovskýce37f482017-02-01 21:47:43 +010064## 1.6.1
Martin Hořeňovský9a566092017-01-20 12:49:59 +010065
66### Features/ Changes:
67* Catch now supports breaking into debugger on Linux
68
69### Fixes:
70* Generators no longer leak memory (generators are still unsupported in general)
71* JUnit reporter now reports UTC timestamps, instead of "tbd"
72* `CHECK_THAT` macro is now properly defined as `CATCH_CHECK_THAT` when using `CATCH_` prefixed macros
73
74### Other:
75* Types with overloaded `&&` operator are no longer evaluated twice when used in an assertion macro.
76* The use of `__COUNTER__` is supressed when Catch is parsed by CLion
77 * This change is not active when compiling a binary
78* Approval tests can now be run on Windows
79* CMake will now warn if a file is present in the `include` folder but not is not enumerated as part of the project
80* Catch now defines `NOMINMAX` and `WIN32_LEAN_AND_MEAN` before including `windows.h`
81 * This can be disabled if needed, see [documentation](docs/configuration.md) for details.
82
83
Martin Hořeňovský9a566092017-01-20 12:49:59 +010084## 1.6.0
Phil Nash3b2f2062017-01-11 16:43:56 +000085
86### Cmake/ projects:
87* 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.
88
89### Features/ Changes:
Phil Nash1ff0acf2017-01-11 16:50:35 +000090* Approx now supports `>=` and `<=`
91* Can now use `\` to escape chars in test names on command line
Phil Nash3b2f2062017-01-11 16:43:56 +000092* Standardize C++11 feature toggles
93
94### Fixes:
95* Blue shell colour
Phil Nash1ff0acf2017-01-11 16:50:35 +000096* Missing argument to `CATCH_CHECK_THROWS`
Phil Nash3b2f2062017-01-11 16:43:56 +000097* Don't encode extended ASCII in XML
Phil Nashe6aa1f42017-01-11 17:14:28 +000098* use `std::shuffle` on more compilers (fixes deprecation warning/error)
Phil Nash1ff0acf2017-01-11 16:50:35 +000099* Use `__COUNTER__` more consistently (where available)
Phil Nash3b2f2062017-01-11 16:43:56 +0000100
101### Other:
102* Tweaks and changes to scripts - particularly for Approval test - to make them more portable
103
Phil Nash3b2f2062017-01-11 16:43:56 +0000104
105---
106
107[Home](Readme.md)