|
| 1 | +# 1.9.0 |
| 2 | + |
| 3 | + |
| 4 | +### Improvements and minor changes |
| 5 | +* Catch no longer attempts to ensure the exception type passed by user in `REQUIRE_THROWS_AS` is a constant reference. |
| 6 | + * It was causing trouble when `REQUIRE_THROWS_AS` was used inside templated functions |
| 7 | + * This actually reverts changes made in v1.7.2 |
| 8 | +* Catch's `Version` struct should no longer be double freed when multiple instances of Catch tests are loaded into single program (#858) |
| 9 | + * It is now a static variable in an inline function instead of being an `extern`ed struct. |
| 10 | +* Attempt to register invalid tag or tag alias now throws instead of calling `exit()`. |
| 11 | + * Because this happen before entering main, it still aborts execution |
| 12 | + * Further improvements to this are coming |
| 13 | +* `CATCH_CONFIG_FAST_COMPILE` now speeds-up compilation of `REQUIRE*` assertions by further ~15%. |
| 14 | + * The trade-off is disabling translation of unexpected exceptions into text. |
| 15 | +* When Catch is compiled using C++11, `Approx` is now constructible with anything that can be explicitly converted to `double`. |
| 16 | +* Captured messages are now printed on unexpected exceptions |
| 17 | + |
| 18 | +### Fixes: |
| 19 | +* Clang's `-Wexit-time-destructors` should be suppressed for Catch's internals |
| 20 | +* GCC's `-Wparentheses` is now suppressed for all TU's that include `catch.hpp`. |
| 21 | + * This is functionally a revert of changes made in 1.8.0, where we tried using `_Pragma` based suppression. This should have kept the suppression local to Catch's assertions, but bugs in GCC's handling of `_Pragma`s in C++ mode meant that it did not always work. |
| 22 | +* You can now tell Catch to use C++11-based check when checking whether a type can be streamed to output. |
| 23 | + * This fixes cases when an unstreamable type has streamable private base (#877) |
| 24 | + * [Details can be found in documentation](configuration.md#catch_config_cpp11_stream_insertable_check) |
| 25 | + |
| 26 | + |
| 27 | +### Other notes: |
| 28 | +* We have added VS 2017 to our CI |
| 29 | +* Work on Catch 2 should start soon |
| 30 | + |
| 31 | + |
| 32 | + |
1 | 33 | # 1.8.2
|
2 | 34 |
|
3 | 35 |
|
|
0 commit comments