Skip to content

Commit

Permalink
Bump to 2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-rifkin committed Sep 13, 2024
1 parent 70baded commit b90077a
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 7 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
- [libassert 2.1.1](#libassert-211)
- [libassert 2.1.0](#libassert-210)
- [libassert 2.0.2](#libassert-202)
- [libassert 2.0.1](#libassert-201)
Expand All @@ -10,6 +11,16 @@
- [libassert 1.1](#libassert-11)
- [libassert 1.0 🎉](#libassert-10-)

## libassert 2.1.1

Fixed:
- ODR issue due to libassert and cpptrace both using the same formatting code https://github.com/jeremy-rifkin/libassert/issues/103
- Worked around old MSVC ICE
- False-positive warnings on gcc about null pointers

Other changes:
- Bumped default cpptrace to v0.7.1

## libassert 2.1.0

Added:
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.0
VERSION 2.1.1
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 @@ -115,7 +115,7 @@ include(FetchContent)
FetchContent_Declare(
libassert
GIT_REPOSITORY https://github.com/jeremy-rifkin/libassert.git
GIT_TAG v2.1.0 # <HASH or TAG>
GIT_TAG v2.1.1 # <HASH or TAG>
)
FetchContent_MakeAvailable(libassert)
target_link_libraries(your_target libassert::assert)
Expand Down Expand Up @@ -847,7 +847,7 @@ include(FetchContent)
FetchContent_Declare(
libassert
GIT_REPOSITORY https://github.com/jeremy-rifkin/libassert.git
GIT_TAG v2.1.0 # <HASH or TAG>
GIT_TAG v2.1.1 # <HASH or TAG>
)
FetchContent_MakeAvailable(libassert)
target_link_libraries(your_target libassert::assert)
Expand All @@ -862,7 +862,7 @@ information.

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

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

```
[requires]
libassert/2.1.0
libassert/2.1.1
[generators]
CMakeDeps
CMakeToolchain
Expand Down

0 comments on commit b90077a

Please sign in to comment.