Skip to content

Commit bee90cb

Browse files
committed
Bump to v2.1.3
1 parent 965972c commit bee90cb

File tree

3 files changed

+24
-7
lines changed

3 files changed

+24
-7
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
- [libassert 2.1.3](#libassert-213)
12
- [libassert 2.1.2](#libassert-212)
23
- [libassert 2.1.1](#libassert-211)
34
- [libassert 2.1.0](#libassert-210)
@@ -12,6 +13,22 @@
1213
- [libassert 1.1](#libassert-11)
1314
- [libassert 1.0 🎉](#libassert-10-)
1415

16+
## libassert 2.1.3
17+
18+
Added:
19+
- Added `<libassert/version.hpp>` header with version macros
20+
- Added export set definition
21+
- Made the default failure handler callback public, updated docs on custom failure handlers
22+
23+
Fixes:
24+
- Added a flag to control -Werror instead of having it on unconditionally by default
25+
- Added fallback for older cpptrace versions where `<cpptrace/basic.hpp>` didn't exist
26+
- Added safeguard to ensure static init order issues can never bite
27+
28+
Other:
29+
- Some internal refactoring
30+
- Bumped to cpptrace 0.7.4
31+
1532
## libassert 2.1.2
1633

1734
Changes:

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ set(package_name "libassert")
1212
# create base project
1313
project(
1414
libassert
15-
VERSION 2.1.2
15+
VERSION 2.1.3
1616
DESCRIPTION "The most over-engineered C++ assertion library"
1717
HOMEPAGE_URL "https://github.com/jeremy-rifkin/libassert"
1818
LANGUAGES CXX

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ include(FetchContent)
116116
FetchContent_Declare(
117117
libassert
118118
GIT_REPOSITORY https://github.com/jeremy-rifkin/libassert.git
119-
GIT_TAG v2.1.2 # <HASH or TAG>
119+
GIT_TAG v2.1.3 # <HASH or TAG>
120120
)
121121
FetchContent_MakeAvailable(libassert)
122122
target_link_libraries(your_target libassert::assert)
@@ -865,7 +865,7 @@ include(FetchContent)
865865
FetchContent_Declare(
866866
libassert
867867
GIT_REPOSITORY https://github.com/jeremy-rifkin/libassert.git
868-
GIT_TAG v2.1.2 # <HASH or TAG>
868+
GIT_TAG v2.1.3 # <HASH or TAG>
869869
)
870870
FetchContent_MakeAvailable(libassert)
871871
target_link_libraries(your_target libassert::assert)
@@ -880,7 +880,7 @@ information.
880880

881881
```sh
882882
git clone https://github.com/jeremy-rifkin/libassert.git
883-
git checkout v2.1.2
883+
git checkout v2.1.3
884884
mkdir libassert/build
885885
cd libassert/build
886886
cmake .. -DCMAKE_BUILD_TYPE=Release
@@ -916,7 +916,7 @@ you when installing new libraries.
916916

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

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

984984
```
985985
[requires]
986-
libassert/2.1.2
986+
libassert/2.1.3
987987
[generators]
988988
CMakeDeps
989989
CMakeToolchain

0 commit comments

Comments
 (0)