Skip to content

Commit bd33ba1

Browse files
committed
Bump to v2.2.1
1 parent c6bc233 commit bd33ba1

File tree

3 files changed

+26
-7
lines changed

3 files changed

+26
-7
lines changed

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
- [libassert 2.2.1](#libassert-221)
12
- [libassert 2.2.0](#libassert-220)
23
- [libassert 2.1.5](#libassert-215)
34
- [libassert 2.1.4](#libassert-214)
@@ -16,6 +17,24 @@
1617
- [libassert 1.1](#libassert-11)
1718
- [libassert 1.0 🎉](#libassert-10-)
1819

20+
## libassert 2.2.1
21+
22+
Added
23+
- Added [diff highlighting](https://github.com/jeremy-rifkin/libassert?tab=readme-ov-file#diff-highlighting-)
24+
- Added normalization for `enum E` -> `E` in type prettification
25+
- Added `libassert::print_stacktrace` utility
26+
- Added `libassert::get_path_mode`
27+
28+
Fixed
29+
- Fixed missing include in paths.cpp
30+
- Fixed unconditional include of `<version>` https://github.com/jeremy-rifkin/libassert/pull/150 (@CrackedMatter)
31+
32+
Other
33+
- Fixed typo in readme https://github.com/jeremy-rifkin/libassert/pull/147 (@OpenByteDev)
34+
- Reworked some stringification metaprogramming logic https://github.com/jeremy-rifkin/libassert/pull/148 (@ZXShady)
35+
- Cleaned up library headers a bit
36+
- Simplified assertion macro implementation
37+
1938
## libassert 2.2.0
2039

2140
Potentially-breaking 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.2.0
15+
VERSION 2.2.1
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
@@ -117,7 +117,7 @@ include(FetchContent)
117117
FetchContent_Declare(
118118
libassert
119119
GIT_REPOSITORY https://github.com/jeremy-rifkin/libassert.git
120-
GIT_TAG v2.2.0 # <HASH or TAG>
120+
GIT_TAG v2.2.1 # <HASH or TAG>
121121
)
122122
FetchContent_MakeAvailable(libassert)
123123
target_link_libraries(your_target libassert::assert)
@@ -936,7 +936,7 @@ include(FetchContent)
936936
FetchContent_Declare(
937937
libassert
938938
GIT_REPOSITORY https://github.com/jeremy-rifkin/libassert.git
939-
GIT_TAG v2.2.0 # <HASH or TAG>
939+
GIT_TAG v2.2.1 # <HASH or TAG>
940940
)
941941
FetchContent_MakeAvailable(libassert)
942942
target_link_libraries(your_target libassert::assert)
@@ -951,7 +951,7 @@ information.
951951

952952
```sh
953953
git clone https://github.com/jeremy-rifkin/libassert.git
954-
git checkout v2.2.0
954+
git checkout v2.2.1
955955
mkdir libassert/build
956956
cd libassert/build
957957
cmake .. -DCMAKE_BUILD_TYPE=Release
@@ -987,7 +987,7 @@ you when installing new libraries.
987987

988988
```ps1
989989
git clone https://github.com/jeremy-rifkin/libassert.git
990-
git checkout v2.2.0
990+
git checkout v2.2.1
991991
mkdir libassert/build
992992
cd libassert/build
993993
cmake .. -DCMAKE_BUILD_TYPE=Release
@@ -1005,7 +1005,7 @@ To install just for the local user (or any custom prefix):
10051005

10061006
```sh
10071007
git clone https://github.com/jeremy-rifkin/libassert.git
1008-
git checkout v2.2.0
1008+
git checkout v2.2.1
10091009
mkdir libassert/build
10101010
cd libassert/build
10111011
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$HOME/wherever
@@ -1054,7 +1054,7 @@ Libassert is available through conan at https://conan.io/center/recipes/libasser
10541054

10551055
```
10561056
[requires]
1057-
libassert/2.2.0
1057+
libassert/2.2.1
10581058
[generators]
10591059
CMakeDeps
10601060
CMakeToolchain

0 commit comments

Comments
 (0)