Skip to content

Commit 1b03c5a

Browse files
committed
v1.9.0 release
1 parent 7dd3c19 commit 1b03c5a

File tree

4 files changed

+344
-229
lines changed

4 files changed

+344
-229
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[![Build Status](https://travis-ci.org/philsquared/Catch.svg?branch=master)](https://travis-ci.org/philsquared/Catch)
55
[![Build status](https://ci.appveyor.com/api/projects/status/hrtk60hv6tw6fght/branch/master?svg=true)](https://ci.appveyor.com/project/philsquared/catch/branch/master)
66

7-
<a href="https://github.com/philsquared/Catch/releases/download/v1.8.2/catch.hpp">The latest, single header, version can be downloaded directly using this link</a>
7+
<a href="https://github.com/philsquared/Catch/releases/download/v1.9.0/catch.hpp">The latest, single header, version can be downloaded directly using this link</a>
88

99
## What's the Catch?
1010

docs/release-notes.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,35 @@
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+
133
# 1.8.2
234

335

include/internal/catch_version.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ namespace Catch {
3838
}
3939

4040
inline Version libraryVersion() {
41-
static Version version(1, 8, 2, "", 0);
41+
static Version version( 1, 9, 0, "", 0 );
4242
return version;
4343
}
4444

0 commit comments

Comments
 (0)