Skip to content

Commit

Permalink
Bump to v2.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-rifkin committed Feb 23, 2025
1 parent bded9b2 commit 6066782
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 7 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
- [libassert 2.1.5](#libassert-215)
- [libassert 2.1.4](#libassert-214)
- [libassert 2.1.3](#libassert-213)
- [libassert 2.1.2](#libassert-212)
Expand All @@ -14,6 +15,23 @@
- [libassert 1.1](#libassert-11)
- [libassert 1.0 🎉](#libassert-10-)

## libassert 2.1.5

Added:
- Added `libassert::highlight` and `libassert::highlight_stringify` https://github.com/jeremy-rifkin/libassert/pull/120
- Added `REQUIRE_ASSERT` to test assertion failures under Catch2 https://github.com/jeremy-rifkin/libassert/issues/114

Fixed:
- Fixed problem with stringifying `std::filesystem::path` resulting in a stack overflow and a general problem of
infinite recursion from stringifying types where iterators can lead to hard to detect type cycles https://github.com/jeremy-rifkin/libassert/issues/118

Other:
- Bumped magic_enum via FetchContent
- Bumped cpptrace via FetchContent from v0.7.5 to v0.8.2, with lots of improvements
- Some makefile improvements
- Various typo fixes in the README
- Added some info on library headers to the README

## libassert 2.1.4

Fixed:
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.4
VERSION 2.1.5
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 @@ -117,7 +117,7 @@ include(FetchContent)
FetchContent_Declare(
libassert
GIT_REPOSITORY https://github.com/jeremy-rifkin/libassert.git
GIT_TAG v2.1.4 # <HASH or TAG>
GIT_TAG v2.1.5 # <HASH or TAG>
)
FetchContent_MakeAvailable(libassert)
target_link_libraries(your_target libassert::assert)
Expand Down Expand Up @@ -886,7 +886,7 @@ include(FetchContent)
FetchContent_Declare(
libassert
GIT_REPOSITORY https://github.com/jeremy-rifkin/libassert.git
GIT_TAG v2.1.4 # <HASH or TAG>
GIT_TAG v2.1.5 # <HASH or TAG>
)
FetchContent_MakeAvailable(libassert)
target_link_libraries(your_target libassert::assert)
Expand All @@ -901,7 +901,7 @@ information.

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

```ps1
git clone https://github.com/jeremy-rifkin/libassert.git
git checkout v2.1.4
git checkout v2.1.5
mkdir libassert/build
cd libassert/build
cmake .. -DCMAKE_BUILD_TYPE=Release
Expand All @@ -955,7 +955,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.4
git checkout v2.1.5
mkdir libassert/build
cd libassert/build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$HOME/wherever
Expand Down Expand Up @@ -1004,7 +1004,7 @@ Libassert is available through conan at https://conan.io/center/recipes/libasser

```
[requires]
libassert/2.1.4
libassert/2.1.5
[generators]
CMakeDeps
CMakeToolchain
Expand Down

0 comments on commit 6066782

Please sign in to comment.