v3.2.0
tagfbb1c758467caf924ce85273d2b1f16d094e1345
object 65cc7fd2ae39a7a543767f661b096d7d521ee4f0
authorMartin Hořeňovský <martin.horenovsky@gmail.com>
Wed, 16 Nov 2022 19:13:18 +0000 (16 20:13 +0100)
v3.2.0

=== Improvements ===
* Catch2 now compiles on PlayStation (#2562)
* Added `CATCH_CONFIG_GETENV` compile-time toggle (#2562)
  * This toggle guards whether Catch2 calls `std::getenv` when reading env variables
* Added support for more Bazel test environment variables
  * `TESTBRIDGE_TEST_ONLY` is now supported (#2490)
  * Sharding variables, `TEST_SHARD_INDEX`, `TEST_TOTAL_SHARDS`, `TEST_SHARD_STATUS_FILE`, are now all supported (#2491)
* Bunch of small tweaks and improvements in reporters
  * The TAP and SonarQube reporters output the used test filters
  * The XML reporter now also reports the version of its output format
  * The compact reporter now uses the same summary output as the console reporter (#878, #2554)
* Added support for asserting on types that can only be compared with literal 0 (#2555)
  * A canonical example is C++20's `std::*_ordering` types, which cannot be compared with an `int` variable, only `0`
  * The support extends to any type with this property, not just the ones in stdlib
  * This change imposes 2-3% slowdown on compiling files that are heavy on `REQUIRE` and friends
  * **This required significant rewrite of decomposition, there might be bugs**
* Simplified internals of matcher related macros
  * This provides about ~2% speed up compiling files that are heavy on `REQUIRE_THAT` and friends

=== Fixes ===
* Cleaned out some warnings and static analysis issues
  * Suppressed `-Wcomma` warning rarely occuring in templated test cases (#2543)
  * Constified implementation details in `INFO` (#2564)
  * Made `MatcherGenericBase` copy constructor const (#2566)
* Fixed serialization of test filters so the output roundtrips
  * This means that e.g. `./tests/SelfTest "aaa bbb", [approx]` outputs `Filters: "aaa bbb",[approx]`

=== Miscellaneous ===
* Catch2's build no longer leaks `-ffile-prefix-map` setting  to dependees (#2533)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEE8QyLZSqAHw/oZQgX3kgwe4sNOBoFAmN1NnQACgkQ3kgwe4sN
OBrMPw/6Amgaxkp9sXgMhortgI/c0xd+KOwCIPrCJtefXSa1fvgDP0cpjSlK/yuV
P3S0Gi4WAt8FzZJKLkBnJHyAnbY56RmBHuSInfrzj1qMSa4hmQoW7+WBNVYXaSlJ
XNX9xkZ+Yit8N138MVsvjnFyMspcyJAW/eT8U7hE+O0RmOi8f3CXYjoAEDMD1bbO
PbUMYEAB7GoZcc8zaFRaBuiuqUlbWFuRosgtaHwudAKifCw51iIS7s6pVBmxSguA
XMS5gG/E0zvTdHhDE9hlcqPszqVdn9IiyoVscBrUNY7pv59KxBEFN5drB/8F85Ud
cEAtLK6+uDZjGuuQq79GdQTQPFVD5I2JjGfY55AwjoO/wz0VpXyWF6QyZffgRjPV
Htm90AOCkrEs8Qn8Wi7OeH5Yh7lhb7cMxe+5L+516DnKxOIKmQP1+wXdgTEFYTOJ
uDeHxtSaKzVS6baaaIqrDgjCE6itnlRpEyt2U5irFo8ZwMhZAtyU7Z97DAUK03Zd
Z/f5+ebDMo29kroApQLwX6wT1ztwWy/je6rX4gkPiael8tJS+ebP+gP9GT7E0+zT
lzOdn8GK6ThHTgNtcE8P2l1+GE4oSXnbouXxd6atWM+e0hbv9NxUPm/hauCntl6P
UMr/lVuze2OpEpi3CVn/vI9NPxSIILj5DJvsH36Nj2kMykv3W0Y=
=3tI+
-----END PGP SIGNATURE-----