mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-21 21:06:11 +01:00
v3.5.0
This commit is contained in:
parent
1648c30ec3
commit
53d0d913a4
@ -32,7 +32,7 @@ if (CMAKE_BINARY_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
|
||||
endif()
|
||||
|
||||
project(Catch2
|
||||
VERSION 3.4.0 # CML version placeholder, don't delete
|
||||
VERSION 3.5.0 # CML version placeholder, don't delete
|
||||
LANGUAGES CXX
|
||||
# HOMEPAGE_URL is not supported until CMake version 3.12, which
|
||||
# we do not target yet.
|
||||
|
@ -84,7 +84,7 @@ and it is also generally repeatable across versions, but we might break
|
||||
it from time to time. E.g. we broke repeatability with previous versions
|
||||
in v2.13.4 so that test cases with similar names are shuffled better.
|
||||
|
||||
Since Catch2 vX.Y.Z the random generators use custom distributions,
|
||||
Since Catch2 3.5.0 the random generators use custom distributions,
|
||||
that should be repeatable across different platforms, with few caveats.
|
||||
For details see the section on random generators in the [Generator
|
||||
documentation](generators.md#random-number-generators-details).
|
||||
|
@ -192,7 +192,7 @@ TEST_CASE("type conversion", "[generators]") {
|
||||
|
||||
### Random number generators: details
|
||||
|
||||
> This section applies from Catch2 vX.Y.Z. Before that, random generators
|
||||
> This section applies from Catch2 3.5.0. Before that, random generators
|
||||
> were a thin wrapper around distributions from `<random>`.
|
||||
|
||||
All of the `random(a, b)` generators in Catch2 currently generate uniformly
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
# Release notes
|
||||
**Contents**<br>
|
||||
[3.5.0](#350)<br>
|
||||
[3.4.0](#340)<br>
|
||||
[3.3.2](#332)<br>
|
||||
[3.3.1](#331)<br>
|
||||
@ -58,6 +59,41 @@
|
||||
|
||||
|
||||
|
||||
## 3.5.0
|
||||
|
||||
### Improvements
|
||||
* Introduced `CATCH_CONFIG_PREFIX_MESSAGES` to prefix only logging macros (#2544)
|
||||
* This means `INFO`, `UNSCOPED_INFO`, `WARN` and `CAPTURE`.
|
||||
* Section hints in static analysis mode are now `const`
|
||||
* This prevents Clang-Tidy from complaining about `misc-const-correctness`.
|
||||
* `from_range` generator supports C arrays and ranges that require ADL (#2737)
|
||||
* Stringification support for `std::optional` now also includes `std::nullopt` (#2740)
|
||||
* The Console reporter flushes output after writing benchmark runtime estimate.
|
||||
* This means that you can immediately see for how long the benchmark is expected to run.
|
||||
* Added workaround to enable compilation with ICC 19.1 (#2551, #2766)
|
||||
* Compiling Catch2 for XBox should work out of the box (#2772)
|
||||
* Catch2 should automatically disable getenv when compiled for XBox.
|
||||
* Compiling Catch2 with exceptions disabled no longer triggers `Wunused-function` (#2726)
|
||||
* **`random` Generators for integral types are now reproducible across different platforms**
|
||||
* Unlike `<rando>`, Catch2's generators also support 1 byte integral types (`char`, `bool`, ...)
|
||||
* **`random` Generators for `float` and `double` are now reproducible across different platforms**
|
||||
* `long double` varies across different platforms too much to be reproducible
|
||||
* This guarantee applies only to platforms with IEEE 754 floats.
|
||||
|
||||
### Fixes
|
||||
* UDL declaration inside Catch2 are now strictly conforming to the standard
|
||||
* `operator "" _a` is UB, `operator ""_a` is fine. Seriously.
|
||||
* Fixed `CAPTURE` tests failing to compile in C++23 mode (#2744)
|
||||
* Fixed missing include in `catch_message.hpp` (#2758)
|
||||
* Fixed `CHECK_ELSE` suppressing failure from uncaught exceptions(#2723)
|
||||
|
||||
### Miscellaneous
|
||||
* The documentation for specifying which tests to run through commandline has been completely rewritten (#2738)
|
||||
* Fixed installation when building Catch2 with meson (#2722, #2742)
|
||||
* Fixed `catch_discover_tests` when using custom reporter and `PRE_TEST` discovery mode (#2747)
|
||||
* `catch_discover_tests` supports multi-config CMake generator in `PRE_TEST` discovery mode (#2739, #2746)
|
||||
|
||||
|
||||
## 3.4.0
|
||||
|
||||
### Improvements
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -8,7 +8,7 @@
|
||||
project(
|
||||
'catch2',
|
||||
'cpp',
|
||||
version: '3.4.0', # CML version placeholder, don't delete
|
||||
version: '3.5.0', # CML version placeholder, don't delete
|
||||
license: 'BSL-1.0',
|
||||
meson_version: '>=0.54.1',
|
||||
)
|
||||
|
@ -36,7 +36,7 @@ namespace Catch {
|
||||
}
|
||||
|
||||
Version const& libraryVersion() {
|
||||
static Version version( 3, 4, 0, "", 0 );
|
||||
static Version version( 3, 5, 0, "", 0 );
|
||||
return version;
|
||||
}
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
#define CATCH_VERSION_MACROS_HPP_INCLUDED
|
||||
|
||||
#define CATCH_VERSION_MAJOR 3
|
||||
#define CATCH_VERSION_MINOR 4
|
||||
#define CATCH_VERSION_MINOR 5
|
||||
#define CATCH_VERSION_PATCH 0
|
||||
|
||||
#endif // CATCH_VERSION_MACROS_HPP_INCLUDED
|
||||
|
Loading…
Reference in New Issue
Block a user