Skip to content

Commit 6ed73ff

Browse files
committed
Bump to v2.2.0
1 parent bb26bbe commit 6ed73ff

3 files changed

Lines changed: 33 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
- [libassert 2.2.0](#libassert-220)
12
- [libassert 2.1.5](#libassert-215)
23
- [libassert 2.1.4](#libassert-214)
34
- [libassert 2.1.3](#libassert-213)
@@ -15,6 +16,31 @@
1516
- [libassert 1.1](#libassert-11)
1617
- [libassert 1.0 🎉](#libassert-10-)
1718

19+
## libassert 2.2.0
20+
21+
Potentially-breaking changes:
22+
- Libassert now uses an inline ABI versioning namespace. All library symbols are now secretly in the `libassert::v1`
23+
namespace. This is technically an ABI break, however, any ABI mismatch will result in linker errors instead of silent
24+
bugs. This change is an effort to allow future evolution of libassert in an ABI-friendly manner.
25+
26+
Added:
27+
- Added C++20 module support
28+
- Added support for `std::format` https://github.com/jeremy-rifkin/libassert/pull/132 (@cjdb)
29+
- Added [enchantum](https://github.com/ZXShady/enchantum) support for enum stringification https://github.com/jeremy-rifkin/libassert/pull/142 (@ZXShady)
30+
- Added formatter for `std::byte`
31+
32+
Fixed:
33+
- Fixed warning flags on clang-cl
34+
- Fixed some literal format handling logic
35+
- Fixed stringification for empty `std::tuple<>`
36+
37+
Other:
38+
- Reduced number of standard library `#include`s used by libassert to improve compile speeds
39+
- Bumped cpptrace via FetchContent to 1.0.1
40+
- Various code improvements
41+
- Various testing improvements
42+
- Miscellaneous readme updates and fixes
43+
1844
## libassert 2.1.5
1945

2046
Added:

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.5
15+
VERSION 2.2.0
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
@@ -120,7 +120,7 @@ include(FetchContent)
120120
FetchContent_Declare(
121121
libassert
122122
GIT_REPOSITORY https://github.com/jeremy-rifkin/libassert.git
123-
GIT_TAG v2.1.5 # <HASH or TAG>
123+
GIT_TAG v2.2.0 # <HASH or TAG>
124124
)
125125
FetchContent_MakeAvailable(libassert)
126126
target_link_libraries(your_target libassert::assert)
@@ -911,7 +911,7 @@ include(FetchContent)
911911
FetchContent_Declare(
912912
libassert
913913
GIT_REPOSITORY https://github.com/jeremy-rifkin/libassert.git
914-
GIT_TAG v2.1.5 # <HASH or TAG>
914+
GIT_TAG v2.2.0 # <HASH or TAG>
915915
)
916916
FetchContent_MakeAvailable(libassert)
917917
target_link_libraries(your_target libassert::assert)
@@ -926,7 +926,7 @@ information.
926926

927927
```sh
928928
git clone https://github.com/jeremy-rifkin/libassert.git
929-
git checkout v2.1.5
929+
git checkout v2.2.0
930930
mkdir libassert/build
931931
cd libassert/build
932932
cmake .. -DCMAKE_BUILD_TYPE=Release
@@ -962,7 +962,7 @@ you when installing new libraries.
962962

963963
```ps1
964964
git clone https://github.com/jeremy-rifkin/libassert.git
965-
git checkout v2.1.5
965+
git checkout v2.2.0
966966
mkdir libassert/build
967967
cd libassert/build
968968
cmake .. -DCMAKE_BUILD_TYPE=Release
@@ -980,7 +980,7 @@ To install just for the local user (or any custom prefix):
980980

981981
```sh
982982
git clone https://github.com/jeremy-rifkin/libassert.git
983-
git checkout v2.1.5
983+
git checkout v2.2.0
984984
mkdir libassert/build
985985
cd libassert/build
986986
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$HOME/wherever
@@ -1029,7 +1029,7 @@ Libassert is available through conan at https://conan.io/center/recipes/libasser
10291029

10301030
```
10311031
[requires]
1032-
libassert/2.1.5
1032+
libassert/2.2.0
10331033
[generators]
10341034
CMakeDeps
10351035
CMakeToolchain

0 commit comments

Comments
 (0)