mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 13:26:10 +01:00
Update release notes with new fixes, improvements and breaking changes
This commit is contained in:
parent
290c1b60e6
commit
e4719fb51c
@ -50,7 +50,6 @@
|
|||||||
|
|
||||||
## 3.0.1 (in progress)
|
## 3.0.1 (in progress)
|
||||||
|
|
||||||
|
|
||||||
**Catch2 now uses statically compiled library as its distribution model.
|
**Catch2 now uses statically compiled library as its distribution model.
|
||||||
This also means that to get all of Catch2's functionality in a test file,
|
This also means that to get all of Catch2's functionality in a test file,
|
||||||
you have to include multiple headers.**
|
you have to include multiple headers.**
|
||||||
@ -83,6 +82,7 @@ new design.
|
|||||||
### (Potentially) Breaking changes
|
### (Potentially) Breaking changes
|
||||||
* **Catch2 now uses statically compiled library as its distribution model**
|
* **Catch2 now uses statically compiled library as its distribution model**
|
||||||
* **Including `catch.hpp` no longer works**
|
* **Including `catch.hpp` no longer works**
|
||||||
|
* **Catch2 now uses C++14 as the minimum support language version**
|
||||||
* `ANON_TEST_CASE` has been removed, use `TEST_CASE` with no arguments instead (#1220)
|
* `ANON_TEST_CASE` has been removed, use `TEST_CASE` with no arguments instead (#1220)
|
||||||
* `--list*` commands no longer have non-zero return code (#1410)
|
* `--list*` commands no longer have non-zero return code (#1410)
|
||||||
* `--list-test-names-only` has been removed (#1190)
|
* `--list-test-names-only` has been removed (#1190)
|
||||||
@ -127,6 +127,11 @@ new design.
|
|||||||
* `GENERATE` decays its arguments (#2012, #2040)
|
* `GENERATE` decays its arguments (#2012, #2040)
|
||||||
* This means that `str` in `auto str = GENERATE("aa", "bb", "cc");` is inferred to `char const*` rather than `const char[2]`.
|
* This means that `str` in `auto str = GENERATE("aa", "bb", "cc");` is inferred to `char const*` rather than `const char[2]`.
|
||||||
* `--list-*` flags write their output to file specified by the `-o` flag
|
* `--list-*` flags write their output to file specified by the `-o` flag
|
||||||
|
* Many changes to reporter interfaces
|
||||||
|
* With the exception of the XmlReporter, the outputs of first party reporters should remain the same
|
||||||
|
* New pair of events were added
|
||||||
|
* One obsolete event was removed
|
||||||
|
|
||||||
|
|
||||||
### Improvements
|
### Improvements
|
||||||
* Matchers have been extended with the ability to use different signatures of `match` (#1307, #1553, #1554, #1843)
|
* Matchers have been extended with the ability to use different signatures of `match` (#1307, #1553, #1554, #1843)
|
||||||
@ -152,13 +157,18 @@ new design.
|
|||||||
| Run 1 out of 3k tests, names, tags | 1.79 ± 0.02 | 2.06 ± 0.23 |
|
| Run 1 out of 3k tests, names, tags | 1.79 ± 0.02 | 2.06 ± 0.23 |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
* POSIX platforms use `gmtime_r`, rather than `gmtime` when constructing a date string (#2008, #2165)
|
* POSIX platforms use `gmtime_r`, rather than `gmtime` when constructing a date string (#2008, #2165)
|
||||||
* `--list-*` flags write their output to file specified by the `-o` flag (#2061, #2163)
|
* `--list-*` flags write their output to file specified by the `-o` flag (#2061, #2163)
|
||||||
|
* `Approx::operator()` is now properly `const`
|
||||||
|
* Catch2's internal helper variables no longer use reserved identifiers (#578)
|
||||||
|
|
||||||
|
|
||||||
### Fixes
|
### Fixes
|
||||||
* The `INFO` macro no longer contains superfluous semicolon (#1456)
|
* The `INFO` macro no longer contains superfluous semicolon (#1456)
|
||||||
* The `--list*` family of command line flags now return 0 on success (#1410, #1146)
|
* The `--list*` family of command line flags now return 0 on success (#1410, #1146)
|
||||||
|
* Various ways of failing a benchmark are now counted and reporter properly
|
||||||
|
* The ULP matcher now handles comparing numbers with different signs properly (#2152)
|
||||||
|
* Universal ADL-found operators should no longer break decomposition (#2121)
|
||||||
|
|
||||||
|
|
||||||
### Other changes
|
### Other changes
|
||||||
@ -174,6 +184,7 @@ new design.
|
|||||||
* `catch2-with-main` also links in the default main
|
* `catch2-with-main` also links in the default main
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## 2.13.6
|
## 2.13.6
|
||||||
|
|
||||||
### Fixes
|
### Fixes
|
||||||
|
Loading…
Reference in New Issue
Block a user