Skip to content

Commit 25319fd

Browse files
committed
v3.10.0
1 parent 85c4bad commit 25319fd

File tree

8 files changed

+182
-117
lines changed

8 files changed

+182
-117
lines changed

CMakeLists.txt

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

3636
project(Catch2
37-
VERSION 3.9.1 # CML version placeholder, don't delete
37+
VERSION 3.10.0 # CML version placeholder, don't delete
3838
LANGUAGES CXX
3939
HOMEPAGE_URL "https://github.com/catchorg/Catch2"
4040
DESCRIPTION "A modern, C++-native, unit test framework."

docs/release-notes.md

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

33
# Release notes
44
**Contents**<br>
5+
[3.10.0](#3100)<br>
56
[3.9.1](#391)<br>
67
[3.9.0](#390)<br>
78
[3.8.1](#381)<br>
@@ -69,6 +70,19 @@
6970
[Even Older versions](#even-older-versions)<br>
7071

7172

73+
## 3.10.0
74+
75+
### Fixes
76+
* pkg-config files will take `DESTDIR` env var into account when selecting install destination (#3006, #3019)
77+
* Changed `filter` to store the provided predicate by value (#3002, #3005)
78+
* This is done to avoid dangling-by-default behaviour when `filter` is used inside `GENERATE_COPY`/`GENERATE_REF`.
79+
80+
### Improvements
81+
* Escaping XML and JSON output is faster when the strings do not need escaping.
82+
* The improvement starts at about 3x throughput, up to 10x for long strings.
83+
* Message macros (`INFO`, `CAPTURE`, `WARN`, `SUCCEED`, etc) are now thread safe.
84+
85+
7286
## 3.9.1
7387

7488
### Fixes

docs/thread-safety.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ they are assertion macro + an if).
4444

4545
## Assertion-like message macros and spawned threads
4646

47+
> Assertion-like messages were made thread safe in Catch2 3.10.0
48+
4749
Similarly to assertion macros, not all assertion-like message macros can
4850
be used from spawned thread.
4951

@@ -55,6 +57,8 @@ thus can be used from any thread.
5557

5658
## Message macros and spawned threads
5759

60+
> Message macros were made thread safe in Catch2 3.10.0
61+
5862
Macros that add extra messages to following assertion, such as `INFO`
5963
or `CAPTURE`, are all thread safe and can be used in any thread. Note
6064
that these messages are per-thread, and thus `INFO` inside a user-spawned

0 commit comments

Comments
 (0)