From 9b69d200c1ce4a101a4551e8acf7440414ba497a Mon Sep 17 00:00:00 2001 From: Jeremy <51220084+jeremy-rifkin@users.noreply.github.com> Date: Sat, 16 Mar 2024 18:03:34 -0500 Subject: [PATCH] Bump to v0.5.0 --- 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 d12247d..b48df93 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # Changelog - [Changelog](#changelog) +- [v0.5.0](#v050) - [v0.4.1](#v041) - [v0.4.0](#v040) - [v0.3.1](#v031) @@ -10,6 +11,23 @@ - [v0.1.1](#v011) - [v0.1](#v01) +# v0.5.0 + +New: +- Traces with source code snippets with `cpptrace::stacktrace::print_with_snippets` +- Added `cpptrace::get_snippet` utility +- Added `cpptrace::can_signal_safe_unwind` utility +- Added `stacktrace_frame::get_object_info` + +Changes: +- The library is now compiled with position-independent code by default + +Fixes: +- Fixed issue with `_dl_find_object` implementation + +Misc: +- Various refactoring, cleanup, and improvements + # v0.4.1 Changes: diff --git a/CMakeLists.txt b/CMakeLists.txt index 851c1e9..e27743f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,7 +9,7 @@ set(package_name "cpptrace") project( cpptrace - VERSION 0.4.1 + VERSION 0.5.0 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 390512e..7242589 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,7 @@ include(FetchContent) FetchContent_Declare( cpptrace GIT_REPOSITORY https://github.com/jeremy-rifkin/cpptrace.git - GIT_TAG v0.4.1 # + GIT_TAG v0.5.0 # ) FetchContent_MakeAvailable(cpptrace) target_link_libraries(your_target cpptrace::cpptrace) @@ -566,7 +566,7 @@ include(FetchContent) FetchContent_Declare( cpptrace GIT_REPOSITORY https://github.com/jeremy-rifkin/cpptrace.git - GIT_TAG v0.4.1 # + GIT_TAG v0.5.0 # ) FetchContent_MakeAvailable(cpptrace) target_link_libraries(your_target cpptrace::cpptrace) @@ -582,7 +582,7 @@ information. ```sh git clone https://github.com/jeremy-rifkin/cpptrace.git -git checkout v0.4.1 +git checkout v0.5.0 mkdir cpptrace/build cd cpptrace/build cmake .. -DCMAKE_BUILD_TYPE=Release @@ -618,7 +618,7 @@ you when installing new libraries. ```ps1 git clone https://github.com/jeremy-rifkin/cpptrace.git -git checkout v0.4.1 +git checkout v0.5.0 mkdir cpptrace/build cd cpptrace/build cmake .. -DCMAKE_BUILD_TYPE=Release @@ -636,7 +636,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.1 +git checkout v0.5.0 mkdir cpptrace/build cd cpptrace/build cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$HOME/wherever @@ -715,7 +715,7 @@ make install cd ~/scratch/cpptrace-test git clone https://github.com/jeremy-rifkin/cpptrace.git cd cpptrace -git checkout v0.4.1 +git checkout v0.5.0 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 @@ -735,7 +735,7 @@ cpptrace and its dependencies. Cpptrace is available through conan at https://conan.io/center/recipes/cpptrace. ``` [requires] -cpptrace/0.4.1 +cpptrace/0.5.0 [generators] CMakeDeps CMakeToolchain