Skip to content

Commit 65cc7fd

Browse files
committed
v3.2.0
1 parent c276b53 commit 65cc7fd

File tree

9 files changed

+744
-352
lines changed

9 files changed

+744
-352
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ if (CMAKE_BINARY_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
3131
endif()
3232

3333
project(Catch2
34-
VERSION 3.1.1 # CML version placeholder, don't delete
34+
VERSION 3.2.0 # CML version placeholder, don't delete
3535
LANGUAGES CXX
3636
# HOMEPAGE_URL is not supported until CMake version 3.12, which
3737
# we do not target yet.

docs/ci-and-misc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ test execution. Specifically it understands
6969

7070
> Support for `XML_OUTPUT_FILE` was [introduced](https://github.com/catchorg/Catch2/pull/2399) in Catch2 3.0.1
7171
72-
> Support for `TESTBRIDGE_TEST_ONLY` and sharding was introduced in Catch2 X.Y.Z
72+
> Support for `TESTBRIDGE_TEST_ONLY` and sharding was introduced in Catch2 3.2.0
7373
7474
This integration is enabled via either a [compile time configuration
7575
option](configuration.md#bazel-support), or via `BAZEL_TEST` environment

docs/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ by using `_NO_` in the macro, e.g. `CATCH_CONFIG_NO_CPP17_UNCAUGHT_EXCEPTIONS`.
159159

160160
> [`CATCH_CONFIG_ANDROID_LOGWRITE`](https://github.com/catchorg/Catch2/issues/1743) and [`CATCH_CONFIG_GLOBAL_NEXTAFTER`](https://github.com/catchorg/Catch2/pull/1739) were introduced in Catch2 2.10.0
161161
162-
> `CATCH_CONFIG_GETENV` was [introduced](https://github.com/catchorg/Catch2/pull/2562) in Catch2 X.Y.Z
162+
> `CATCH_CONFIG_GETENV` was [introduced](https://github.com/catchorg/Catch2/pull/2562) in Catch2 3.2.0
163163
164164
Currently Catch enables `CATCH_CONFIG_WINDOWS_SEH` only when compiled with MSVC, because some versions of MinGW do not have the necessary Win32 API support.
165165

docs/release-notes.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
# Release notes
44
**Contents**<br>
5+
[3.2.0](#320)<br>
56
[3.1.1](#311)<br>
67
[3.1.0](#310)<br>
78
[3.0.1](#301)<br>
@@ -52,6 +53,42 @@
5253

5354

5455

56+
## 3.2.0
57+
58+
### Improvements
59+
* Catch2 now compiles on PlayStation (#2562)
60+
* Added `CATCH_CONFIG_GETENV` compile-time toggle (#2562)
61+
* This toggle guards whether Catch2 calls `std::getenv` when reading env variables
62+
* Added support for more Bazel test environment variables
63+
* `TESTBRIDGE_TEST_ONLY` is now supported (#2490)
64+
* Sharding variables, `TEST_SHARD_INDEX`, `TEST_TOTAL_SHARDS`, `TEST_SHARD_STATUS_FILE`, are now all supported (#2491)
65+
* Bunch of small tweaks and improvements in reporters
66+
* The TAP and SonarQube reporters output the used test filters
67+
* The XML reporter now also reports the version of its output format
68+
* The compact reporter now uses the same summary output as the console reporter (#878, #2554)
69+
* Added support for asserting on types that can only be compared with literal 0 (#2555)
70+
* A canonical example is C++20's `std::*_ordering` types, which cannot be compared with an `int` variable, only `0`
71+
* The support extends to any type with this property, not just the ones in stdlib
72+
* This change imposes 2-3% slowdown on compiling files that are heavy on `REQUIRE` and friends
73+
* **This required significant rewrite of decomposition, there might be bugs**
74+
* Simplified internals of matcher related macros
75+
* This provides about ~2% speed up compiling files that are heavy on `REQUIRE_THAT` and friends
76+
77+
78+
### Fixes
79+
* Cleaned out some warnings and static analysis issues
80+
* Suppressed `-Wcomma` warning rarely occuring in templated test cases (#2543)
81+
* Constified implementation details in `INFO` (#2564)
82+
* Made `MatcherGenericBase` copy constructor const (#2566)
83+
* Fixed serialization of test filters so the output roundtrips
84+
* This means that e.g. `./tests/SelfTest "aaa bbb", [approx]` outputs `Filters: "aaa bbb",[approx]`
85+
86+
87+
### Miscellaneous
88+
* Catch2's build no longer leaks `-ffile-prefix-map` setting to dependees (#2533)
89+
90+
91+
5592
## 3.1.1
5693

5794
### Improvements

0 commit comments

Comments
 (0)