Skip to content

Commit 0c09f12

Browse files
committed
Add draft changelog notes
1 parent f146680 commit 0c09f12

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,35 @@
2929
- [v0.1.1](#v011)
3030
- [v0.1](#v01)
3131

32+
# vX
33+
34+
Added
35+
- Added `cpptrace::rethrow` utility for rethrowing exceptions from `CPPTRACE_CATCH` while preserving the stacktrace https://github.com/jeremy-rifkin/cpptrace/issues/214
36+
- Added utilities for getting the current trace from the last rethrow point
37+
(`cpptrace::raw_trace_from_current_exception_rethrow`, `cpptrace::from_current_exception_rethrow`,
38+
`cpptrace::current_exception_was_rethrown`)
39+
- Added formatter option to clean up some long symbol names (`cpptrace::formatter::prettify_symbols`)
40+
- Added some utilities to allow and control how cpptrace logs (`cpptrace::set_log_level`, `cpptrace::set_log_callback`,
41+
and `cpptrace::use_default_stderr_logger`)
42+
- Added `cpptrace::basename` and `cpptrace::prettify_type` utilities
43+
- Added `cpptrace::detail::lazy_trace_holder::is_resolved`
44+
45+
Potentially-breaking changes:
46+
- This version of cpptrace reworks the public interface to use an inline ABI versioning namespace. All symbols in the
47+
public interface are now secretly in the `cpptrace::v1` namespace. This is an ABI break, but any abi mismatch will
48+
result in linker errors instead of silent bugs. This change is an effort to allow future evolution of cpptrace in a
49+
way that respects ABI.
50+
51+
Fixed
52+
- Fixed cases where cpptrace could print to stderr on internal errors without the user desiring so https://github.com/jeremy-rifkin/cpptrace/issues/234
53+
- Fixed a couple internal locking mistakes
54+
- Prevented a couple code paths that could be susceptible to static init order issues
55+
56+
Other
57+
- Marked some paths in `CPPTRACE_CATCH` and `CPPTRACE_CATCHZ` as unreachable to improve usability in cases where the
58+
compiler may warn about missing returns.
59+
- Removed internal use of `std::is_trivial` which is deprecated in C++26 https://github.com/jeremy-rifkin/cpptrace/issues/236
60+
3261
# v0.8.3
3362

3463
Added:

0 commit comments

Comments
 (0)