Skip to content

Commit 6e79e68

Browse files
committed
v3.4.0
1 parent 683c857 commit 6e79e68

File tree

8 files changed

+2104
-1765
lines changed

8 files changed

+2104
-1765
lines changed

CMakeLists.txt

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

3434
project(Catch2
35-
VERSION 3.3.2 # CML version placeholder, don't delete
35+
VERSION 3.4.0 # CML version placeholder, don't delete
3636
LANGUAGES CXX
3737
# HOMEPAGE_URL is not supported until CMake version 3.12, which
3838
# we do not target yet.

docs/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ must compile and must break into debugger.
267267
268268
## Static analysis support
269269
270-
> Introduced in Catch2 X.Y.Z.
270+
> Introduced in Catch2 3.4.0.
271271
272272
Some parts of Catch2, e.g. `SECTION`s, can be hard for static analysis
273273
tools to reason about. Catch2 can change its internals to help static

docs/release-notes.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,34 @@
5757

5858

5959

60+
## 3.4.0
61+
62+
### Improvements
63+
* `VectorEquals` supports elements that provide only `==` and not `!=` (#2648)
64+
* Catch2 supports compiling with IAR compiler (#2651)
65+
* Various small internal performance improvements
66+
* Various small internal compilation time improvements
67+
* XMLReporter now reports location info for INFO and WARN (#1251)
68+
* This bumps up the xml format version to 3
69+
* Documented that `SKIP` in generator constructor can be used to handle empty generator (#1593)
70+
* Added experimental static analysis support to `TEST_CASE` and `SECTION` macros (#2681)
71+
* The two macros are redefined in a way that helps the SA tools reason about the possible paths through a test case with sections.
72+
* The support is controlled by the `CATCH_CONFIG_EXPERIMENTAL_STATIC_ANALYSIS_SUPPORT` option and autodetects clang-tidy and Coverity.
73+
* `*_THROWS`, `*_THROWS_AS`, etc now suppress warning coming from `__attribute__((warn_unused_result))` on GCC (#2691)
74+
* Unlike plain `[[nodiscard]]`, this warning is not silenced by void cast. WTF GCC?
75+
76+
### Fixes
77+
* Fixed `assertionStarting` events being sent after the expr is evaluated (#2678)
78+
* Errors in `TEST_CASE` tags are now reported nicely (#2650)
79+
80+
### Miscellaneous
81+
* Bunch of improvements to `catch_discover_tests`
82+
* Added DISCOVERY_MODE option, so the discovery can happen either post build or pre-run.
83+
* Fixed handling of semicolons and backslashes in test names (#2674, #2676)
84+
* meson build can disable building tests (#2693)
85+
* meson build properly sets meson version 0.54.1 as the minimal supported version (#2688)
86+
87+
6088
## 3.3.2
6189

6290
### Improvements

0 commit comments

Comments
 (0)