|
2 | 2 |
|
3 | 3 | # Release notes |
4 | 4 | **Contents**<br> |
| 5 | +[3.2.0](#320)<br> |
5 | 6 | [3.1.1](#311)<br> |
6 | 7 | [3.1.0](#310)<br> |
7 | 8 | [3.0.1](#301)<br> |
|
52 | 53 |
|
53 | 54 |
|
54 | 55 |
|
| 56 | +## 3.2.0 |
| 57 | + |
| 58 | +### Improvements |
| 59 | +* Catch2 now compiles on PlayStation (#2562) |
| 60 | +* Added `CATCH_CONFIG_GETENV` compile-time toggle (#2562) |
| 61 | + * This toggle guards whether Catch2 calls `std::getenv` when reading env variables |
| 62 | +* Added support for more Bazel test environment variables |
| 63 | + * `TESTBRIDGE_TEST_ONLY` is now supported (#2490) |
| 64 | + * Sharding variables, `TEST_SHARD_INDEX`, `TEST_TOTAL_SHARDS`, `TEST_SHARD_STATUS_FILE`, are now all supported (#2491) |
| 65 | +* Bunch of small tweaks and improvements in reporters |
| 66 | + * The TAP and SonarQube reporters output the used test filters |
| 67 | + * The XML reporter now also reports the version of its output format |
| 68 | + * The compact reporter now uses the same summary output as the console reporter (#878, #2554) |
| 69 | +* Added support for asserting on types that can only be compared with literal 0 (#2555) |
| 70 | + * A canonical example is C++20's `std::*_ordering` types, which cannot be compared with an `int` variable, only `0` |
| 71 | + * The support extends to any type with this property, not just the ones in stdlib |
| 72 | + * This change imposes 2-3% slowdown on compiling files that are heavy on `REQUIRE` and friends |
| 73 | + * **This required significant rewrite of decomposition, there might be bugs** |
| 74 | +* Simplified internals of matcher related macros |
| 75 | + * This provides about ~2% speed up compiling files that are heavy on `REQUIRE_THAT` and friends |
| 76 | + |
| 77 | + |
| 78 | +### Fixes |
| 79 | +* Cleaned out some warnings and static analysis issues |
| 80 | + * Suppressed `-Wcomma` warning rarely occuring in templated test cases (#2543) |
| 81 | + * Constified implementation details in `INFO` (#2564) |
| 82 | + * Made `MatcherGenericBase` copy constructor const (#2566) |
| 83 | +* Fixed serialization of test filters so the output roundtrips |
| 84 | + * This means that e.g. `./tests/SelfTest "aaa bbb", [approx]` outputs `Filters: "aaa bbb",[approx]` |
| 85 | + |
| 86 | + |
| 87 | +### Miscellaneous |
| 88 | +* Catch2's build no longer leaks `-ffile-prefix-map` setting to dependees (#2533) |
| 89 | + |
| 90 | + |
| 91 | + |
55 | 92 | ## 3.1.1 |
56 | 93 |
|
57 | 94 | ### Improvements |
|
0 commit comments