Skip to content

Commit

Permalink
Bump to v2.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-rifkin committed Dec 22, 2024
1 parent 965972c commit bee90cb
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 7 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
- [libassert 2.1.3](#libassert-213)
- [libassert 2.1.2](#libassert-212)
- [libassert 2.1.1](#libassert-211)
- [libassert 2.1.0](#libassert-210)
Expand All @@ -12,6 +13,22 @@
- [libassert 1.1](#libassert-11)
- [libassert 1.0 🎉](#libassert-10-)

## libassert 2.1.3

Added:
- Added `<libassert/version.hpp>` header with version macros
- Added export set definition
- Made the default failure handler callback public, updated docs on custom failure handlers

Fixes:
- Added a flag to control -Werror instead of having it on unconditionally by default
- Added fallback for older cpptrace versions where `<cpptrace/basic.hpp>` didn't exist
- Added safeguard to ensure static init order issues can never bite

Other:
- Some internal refactoring
- Bumped to cpptrace 0.7.4

## libassert 2.1.2

Changes:
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ set(package_name "libassert")
# create base project
project(
libassert
VERSION 2.1.2
VERSION 2.1.3
DESCRIPTION "The most over-engineered C++ assertion library"
HOMEPAGE_URL "https://github.com/jeremy-rifkin/libassert"
LANGUAGES CXX
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ include(FetchContent)
FetchContent_Declare(
libassert
GIT_REPOSITORY https://github.com/jeremy-rifkin/libassert.git
GIT_TAG v2.1.2 # <HASH or TAG>
GIT_TAG v2.1.3 # <HASH or TAG>
)
FetchContent_MakeAvailable(libassert)
target_link_libraries(your_target libassert::assert)
Expand Down Expand Up @@ -865,7 +865,7 @@ include(FetchContent)
FetchContent_Declare(
libassert
GIT_REPOSITORY https://github.com/jeremy-rifkin/libassert.git
GIT_TAG v2.1.2 # <HASH or TAG>
GIT_TAG v2.1.3 # <HASH or TAG>
)
FetchContent_MakeAvailable(libassert)
target_link_libraries(your_target libassert::assert)
Expand All @@ -880,7 +880,7 @@ information.

```sh
git clone https://github.com/jeremy-rifkin/libassert.git
git checkout v2.1.2
git checkout v2.1.3
mkdir libassert/build
cd libassert/build
cmake .. -DCMAKE_BUILD_TYPE=Release
Expand Down Expand Up @@ -916,7 +916,7 @@ you when installing new libraries.

```ps1
git clone https://github.com/jeremy-rifkin/libassert.git
git checkout v2.1.2
git checkout v2.1.3
mkdir libassert/build
cd libassert/build
cmake .. -DCMAKE_BUILD_TYPE=Release
Expand All @@ -934,7 +934,7 @@ To install just for the local user (or any custom prefix):

```sh
git clone https://github.com/jeremy-rifkin/libassert.git
git checkout v2.1.2
git checkout v2.1.3
mkdir libassert/build
cd libassert/build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$HOME/wherever
Expand Down Expand Up @@ -983,7 +983,7 @@ Libassert is available through conan at https://conan.io/center/recipes/libasser

```
[requires]
libassert/2.1.2
libassert/2.1.3
[generators]
CMakeDeps
CMakeToolchain
Expand Down

0 comments on commit bee90cb

Please sign in to comment.