Skip to content

Commit 6ee0826

Browse files
committed
v3.15.0
1 parent 47ea57d commit 6ee0826

9 files changed

Lines changed: 356 additions & 288 deletions

File tree

CMakeLists.txt

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

3737
project(Catch2
38-
VERSION 3.14.0 # CML version placeholder, don't delete
38+
VERSION 3.15.0 # CML version placeholder, don't delete
3939
LANGUAGES CXX
4040
HOMEPAGE_URL "https://github.com/catchorg/Catch2"
4141
DESCRIPTION "A modern, C++-native, unit test framework."

docs/matchers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ and new style matchers arbitrarily.
474474
475475
## Constexpr matchers
476476
477-
> Support for constexpr matchers was introduced in Catch2 vX.Y.Z
477+
> Support for constexpr matchers was introduced in Catch2 3.15.0
478478
479479
When compiled for C++20, the new-style matchers (can) support `constexpr`
480480
matching, albeit not `constexpr` stringification. The matcher combinators

docs/other-macros.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ TEST_CASE("STATIC_CHECK showcase", "[traits]") {
9393

9494
* `STATIC_REQUIRE_THAT` and `STATIC_CHECK_THAT`
9595

96-
> `STATIC_REQUIRE_THAT` and `STATIC_CHECK_THAT` was introduced in Catch2 X.Y.Z
96+
> `STATIC_REQUIRE_THAT` and `STATIC_CHECK_THAT` was introduced in Catch2 3.15.0
9797
9898
`STATIC_{REQUIRE,CHECK}_THAT` are analogous to `STATIC_{REQUIRE,CHECK}`,
9999
but for matchers. They are always defined, even if the current compiler

docs/release-notes.md

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

33
# Release notes
44
**Contents**<br>
5+
[3.15.0](#3150)<br>
56
[3.14.0](#3140)<br>
67
[3.13.0](#3130)<br>
78
[3.12.0](#3120)<br>
@@ -74,6 +75,22 @@
7475
[Even Older versions](#even-older-versions)<br>
7576

7677

78+
## 3.15.0
79+
80+
### Fixes
81+
* Fixed ambiguous overload issue with `std::optional<T>` in C++26. (#3095)
82+
* Since `std::optional` was turned into a range, the partial specialization of `StringMaker` for range-like types and for `std::optional<T>` were in conflict.
83+
84+
### Improvements
85+
* Simplified `CATCH_REGISTER_ENUM` internals for faster compilation and retrieval.
86+
* Successful assertion are slightly (1-2%) faster.
87+
* Generic (new-style) matchers support constexpr matching in C++20.
88+
* Combining matchers requires C++26.
89+
* Catch2-provided generic matchers are all constexpr enabled.
90+
* Added `STATIC_REQUIRE_THAT` for compile-time matcher assertions.
91+
* This requires the compiler to support enough `constexpr` for matchers, see above.
92+
93+
7794
## 3.14.0
7895

7996
### Fixes

0 commit comments

Comments
 (0)