Skip to content

Conversation

@aleksraiden
Copy link
Contributor

@aleksraiden aleksraiden commented Jun 13, 2025

Bump cpptrace to v1.0.0 - full changelog: https://github.com/jeremy-rifkin/cpptrace/releases/tag/v1.0.0

Key changes

  • Overhauled how the from-current-exception system and CPPTRACE_TRY/CPPTRACE_CATCH macros work. They now check the
    thrown exception type against the type the catch accepts to decide whether or not to collect a trace. This eliminates
    the need for The TRYZ/CATCHZ variants of the macros as now the normal macro is equally zero-overhead. As such, the
    Z variants have been removed.
  • This version of cpptrace reworks the public interface to use an inline ABI versioning namespace. All symbols in the
    public interface are now secretly in the cpptrace::v1 namespace
  • Added cpptrace::try_catch for handling multiple alternatives with access to current exception traces
  • Added cpptrace::rethrow utility for rethrowing exceptions from CPPTRACE_CATCH while preserving the stacktrace
  • Added support for C++20 modules
  • Fixed a couple internal locking mistakes
  • Bumped libdwarf to 2.0.0
  • Various internal work to improve the codebase and reduce complexity

@git-hulk git-hulk merged commit 9b04a87 into unstable Jun 13, 2025
39 checks passed
@aleksraiden aleksraiden deleted the aleksraiden-patch-1 branch June 13, 2025 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants