From 58992cbeb6417764ceb190ad40d1207d929f1402 Mon Sep 17 00:00:00 2001 From: Jeremy <51220084+jeremy-rifkin@users.noreply.github.com> Date: Tue, 27 Feb 2024 22:53:59 -0600 Subject: [PATCH] Bump to 0.4.1 --- CHANGELOG.md | 17 +++++++++++++++++ CMakeLists.txt | 2 +- README.md | 14 +++++++------- 3 files changed, 25 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1165ebdd..d12247d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # Changelog - [Changelog](#changelog) +- [v0.4.1](#v041) - [v0.4.0](#v040) - [v0.3.1](#v031) - [v0.3.0](#v030) @@ -9,6 +10,22 @@ - [v0.1.1](#v011) - [v0.1](#v01) +# v0.4.1 + +Changes: +- Renamed `stacktrace_frame.address` -> `stacktrace_frame.raw_address` +- Added `stacktrace_frame.object_address` +- Fixed segfault due to an edge case with dwarf file table indices +- For the libdwarf back-end: At least show object frame information if resolution fails +- Extremely small performance improvements +- Small documentation updates +- Small fix for conan +- Updated cmake to not FetchContent zstd when using CPPTRACE_USE_EXTERNAL_LIBDWARF +- CI improvements + - Test the default configuration first before doing the exhaustive and slow matrix of all configurations. + - Cleanup of duplicated prerequisite installation code + - Cleanup of built and test python scripts + # v0.4.0 What's new: diff --git a/CMakeLists.txt b/CMakeLists.txt index 9d56d6e2..8daabc32 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,7 +9,7 @@ set(package_name "cpptrace") project( cpptrace - VERSION 0.4.0 + VERSION 0.4.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 1155bbe2..04d462d9 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,7 @@ include(FetchContent) FetchContent_Declare( cpptrace GIT_REPOSITORY https://github.com/jeremy-rifkin/cpptrace.git - GIT_TAG v0.4.0 # + GIT_TAG v0.4.1 # ) FetchContent_MakeAvailable(cpptrace) target_link_libraries(your_target cpptrace::cpptrace) @@ -538,7 +538,7 @@ include(FetchContent) FetchContent_Declare( cpptrace GIT_REPOSITORY https://github.com/jeremy-rifkin/cpptrace.git - GIT_TAG v0.4.0 # + GIT_TAG v0.4.1 # ) FetchContent_MakeAvailable(cpptrace) target_link_libraries(your_target cpptrace::cpptrace) @@ -554,7 +554,7 @@ information. ```sh git clone https://github.com/jeremy-rifkin/cpptrace.git -git checkout v0.4.0 +git checkout v0.4.1 mkdir cpptrace/build cd cpptrace/build cmake .. -DCMAKE_BUILD_TYPE=Release @@ -590,7 +590,7 @@ you when installing new libraries. ```ps1 git clone https://github.com/jeremy-rifkin/cpptrace.git -git checkout v0.4.0 +git checkout v0.4.1 mkdir cpptrace/build cd cpptrace/build cmake .. -DCMAKE_BUILD_TYPE=Release @@ -608,7 +608,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.4.0 +git checkout v0.4.1 mkdir cpptrace/build cd cpptrace/build cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$HOME/wherever @@ -685,7 +685,7 @@ make install cd ~/scratch/cpptrace-test git clone https://github.com/jeremy-rifkin/cpptrace.git cd cpptrace -git checkout v0.4.0 +git checkout v0.4.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 @@ -705,7 +705,7 @@ cpptrace and its dependencies. Cpptrace is available through conan at https://conan.io/center/recipes/cpptrace. ``` [requires] -cpptrace/0.4.0 +cpptrace/0.4.1 [generators] CMakeDeps CMakeToolchain