|
1 | 1 | <a id="top"></a> |
2 | 2 |
|
| 3 | +# 2.2.3 |
| 4 | + |
| 5 | +**To fix some of the bugs, some behavior had to change in potentially breaking manner.** |
| 6 | +**This means that even though this is a patch release, it might not be a drop-in replacement.** |
| 7 | + |
| 8 | +## Fixes |
| 9 | +* Listeners are now called before reporter |
| 10 | + * This was always documented to be the case, now it actually works that way |
| 11 | +* Catch's commandline will no longer accept multiple reporters |
| 12 | + * This was done because multiple reporters never worked properly and broke things in non-obvious ways |
| 13 | + * **This has potential to be a breaking change** |
| 14 | +* MinGW is now detected as Windows platform w/o SEH support (#1257) |
| 15 | + * This means that Catch2 no longer tries to use POSIX signal handling when compiled with MinGW |
| 16 | +* Fixed potential UB in parsing tags using non-ASCII characters (#1266) |
| 17 | + * Note that Catch2 still supports only ASCII test names/tags/etc |
| 18 | +* `TEST_CASE_METHOD` can now be used on classnames containing commas (#1245) |
| 19 | + * You have to enclose the classname in extra set of parentheses |
| 20 | +* Fixed insufficient alt stack size for POSIX signal handling (#1225) |
| 21 | +* Fixed compilation error on Android due to missing `std::to_string` in C++11 mode (#1280) |
| 22 | +* Fixed the order of user-provided `FALLBACK_STRINGIFIER` in stringification machinery (#1024) |
| 23 | + * It was intended to be replacement for built-in fallbacks, but it was used _after_ them. |
| 24 | + * **This has potential to be a breaking change** |
| 25 | +* Fixed compilation error when a type has an `operator<<` with templated lhs (#1285, #1306) |
| 26 | + |
| 27 | +## Improvements |
| 28 | +* Added a new, experimental, output capture (#1243) |
| 29 | + * This capture can also redirect output written via C apis, e.g. `printf` |
| 30 | + * To opt-in, define `CATCH_CONFIG_EXPERIMENTAL_REDIRECT` in the implementation file |
| 31 | +* Added a new fallback stringifier for classes derived from `std::exception` |
| 32 | + * Both `StringMaker` specialization and `operator<<` overload are given priority |
| 33 | + |
| 34 | +## Miscellaneous |
| 35 | +* `contrib/` now contains dbg scripts that skip over Catch's internals (#904, #1283) |
| 36 | + * `gdbinit` for gdb `lldbinit` for lldb |
| 37 | +* `CatchAddTests.cmake` no longer strips whitespace from tests (#1265, #1281) |
| 38 | +* Online documentation now describes `--use-colour` option (#1263) |
| 39 | + |
| 40 | + |
3 | 41 | # 2.2.2 |
4 | 42 |
|
5 | 43 | ## Fixes |
|
0 commit comments