From 1940dc607aa09fd9014c650aa305f363284919fa Mon Sep 17 00:00:00 2001 From: Jeremy Rifkin <51220084+jeremy-rifkin@users.noreply.github.com> Date: Thu, 20 Feb 2025 22:46:25 -0600 Subject: [PATCH] Bump to v0.8.1 --- CHANGELOG.md | 18 ++++++++++++++++++ CMakeLists.txt | 2 +- README.md | 14 +++++++------- 3 files changed, 26 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c985f2c..e91ee8f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # Changelog - [Changelog](#changelog) +- [v0.8.1](#v081) - [v0.8.0](#v080) - [v0.7.5](#v075) - [v0.7.4](#v074) @@ -26,6 +27,23 @@ - [v0.1.1](#v011) - [v0.1](#v01) +# v0.8.1 + +Fixed: +- Fixed compile error on msvc https://github.com/jeremy-rifkin/cpptrace/issues/215 + +Added: +- Added `cpptrace::can_get_safe_object_frame()` + +Breaking changes: +- Renamed ctrace's `can_signal_safe_unwind` to `ctrace_can_signal_safe_unwind`. This was an oversight. Apologies for + including a breaking change in a patch release. Github code search suggests this API isn't used in public code, at + least. + +Other: +- Added CI workflow to test on old msvc +- Made some internal improvements on robustness and cleanliness + # v0.8.0 Added: diff --git a/CMakeLists.txt b/CMakeLists.txt index b2eb49f..a7cf5d7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,7 +9,7 @@ set(package_name "cpptrace") project( cpptrace - VERSION 0.8.0 + VERSION 0.8.1 DESCRIPTION "Simple, portable, and self-contained stacktrace library for C++11 and newer " HOMEPAGE_URL "https://github.com/jeremy-rifkin/cpptrace" LANGUAGES C CXX diff --git a/README.md b/README.md index 0b5da96..996c5e6 100644 --- a/README.md +++ b/README.md @@ -138,7 +138,7 @@ include(FetchContent) FetchContent_Declare( cpptrace GIT_REPOSITORY https://github.com/jeremy-rifkin/cpptrace.git - GIT_TAG v0.8.0 # + GIT_TAG v0.8.1 # ) FetchContent_MakeAvailable(cpptrace) target_link_libraries(your_target cpptrace::cpptrace) @@ -929,7 +929,7 @@ include(FetchContent) FetchContent_Declare( cpptrace GIT_REPOSITORY https://github.com/jeremy-rifkin/cpptrace.git - GIT_TAG v0.8.0 # + GIT_TAG v0.8.1 # ) FetchContent_MakeAvailable(cpptrace) target_link_libraries(your_target cpptrace::cpptrace) @@ -945,7 +945,7 @@ information. ```sh git clone https://github.com/jeremy-rifkin/cpptrace.git -git checkout v0.8.0 +git checkout v0.8.1 mkdir cpptrace/build cd cpptrace/build cmake .. -DCMAKE_BUILD_TYPE=Release @@ -988,7 +988,7 @@ you when installing new libraries. ```ps1 git clone https://github.com/jeremy-rifkin/cpptrace.git -git checkout v0.8.0 +git checkout v0.8.1 mkdir cpptrace/build cd cpptrace/build cmake .. -DCMAKE_BUILD_TYPE=Release @@ -1006,7 +1006,7 @@ To install just for the local user (or any custom prefix): ```sh git clone https://github.com/jeremy-rifkin/cpptrace.git -git checkout v0.8.0 +git checkout v0.8.1 mkdir cpptrace/build cd cpptrace/build cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$HOME/wherever @@ -1089,7 +1089,7 @@ make install cd ~/scratch/cpptrace-test git clone https://github.com/jeremy-rifkin/cpptrace.git cd cpptrace -git checkout v0.8.0 +git checkout v0.8.1 mkdir build cd build cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=On -DCPPTRACE_USE_EXTERNAL_LIBDWARF=On -DCMAKE_PREFIX_PATH=~/scratch/cpptrace-test/resources -DCMAKE_INSTALL_PREFIX=~/scratch/cpptrace-test/resources @@ -1109,7 +1109,7 @@ cpptrace and its dependencies. Cpptrace is available through conan at https://conan.io/center/recipes/cpptrace. ``` [requires] -cpptrace/0.8.0 +cpptrace/0.8.1 [generators] CMakeDeps CMakeToolchain