Skip to content

Commit 3f0283d

Browse files
committed
v3.3.2
1 parent 6fbb3f0 commit 3f0283d

File tree

8 files changed

+369
-158
lines changed

8 files changed

+369
-158
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.3.1 # CML version placeholder, don't delete
34+
VERSION 3.3.2 # 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/matchers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ are:
151151

152152
> `WithinRel` matcher was introduced in Catch2 2.10.0
153153
154-
> `IsNaN` matcher was introduced in Catch2 X.Y.Z.
154+
> `IsNaN` matcher was introduced in Catch2 3.3.2.
155155
156156
The first three serve to compare two floating pointe numbers. For more
157157
details about how they work, read [the docs on comparing floating point

docs/release-notes.md

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
# Release notes
44
**Contents**<br>
5+
[3.3.2](#332)<br>
56
[3.3.1](#331)<br>
67
[3.3.0](#330)<br>
78
[3.2.1](#321)<br>
@@ -56,6 +57,29 @@
5657

5758

5859

60+
## 3.3.2
61+
62+
### Improvements
63+
* Further reduced allocations
64+
* The compact, console, TAP and XML reporters perform less allocations in various cases
65+
* Removed 1 allocation per entered `SECTION`/`TEST_CASE`.
66+
* Removed 2 allocations per test case exit, if stdout/stderr is captured
67+
* Improved performance
68+
* Section tracking is 10%-25% faster than in v3.3.0
69+
* Assertion handling is 5%-10% faster than in v3.3.0
70+
* Test case registration is 1%-2% faster than in v3.3.0
71+
* Tiny speedup for registering listeners
72+
* Tiny speedup for `CAPTURE`, `TEST_CASE_METHOD`, `METHOD_AS_TEST_CASE`, and `TEMPLATE_LIST_TEST_*` macros.
73+
* `Contains`, `RangeEquals` and `UnorderedRangeEquals` matchers now support ranges with iterator + sentinel pair
74+
* Added `IsNaN` matcher
75+
* Unlike `REQUIRE(isnan(x))`, `REQUIRE_THAT(x, IsNaN())` shows you the value of `x`.
76+
* Suppressed `declared_but_not_referenced` warning for NVHPC (#2637)
77+
78+
### Fixes
79+
* Fixed performance regression in section tracking introduced in v3.3.1
80+
* Extreme cases would cause the tracking to run about 4x slower than in 3.3.0
81+
82+
5983
## 3.3.1
6084

6185
### Improvements
@@ -65,7 +89,6 @@
6589
* The main improvement comes from smarter handling of `SECTION`s, especially sibling `SECTION`s
6690

6791

68-
6992
## 3.3.0
7093

7194
### Improvements

0 commit comments

Comments
 (0)