From 496ec59c0b6372e6264b0775d02a8f57f8c5294e Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Thu, 30 May 2024 20:41:58 +0200 Subject: [PATCH] docs: 2.2 release annonuncement updated --- docs/blog/posts/2.2.0-released.md | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/docs/blog/posts/2.2.0-released.md b/docs/blog/posts/2.2.0-released.md index 84dbb07d..1eb92de4 100644 --- a/docs/blog/posts/2.2.0-released.md +++ b/docs/blog/posts/2.2.0-released.md @@ -158,11 +158,6 @@ three values: - `False` - The feature is disabled, and an older alternative is always used. - `Auto` - The feature is automatically enabled if the compiler supports it (old behavior). -Before this release, the library always depended on [gsl-lite](https://github.com/gsl-lite/gsl-lite) -to perform runtime contract and asserts checking. In this release we introduced new options -to control if contract checking should be based on [gsl-lite](https://github.com/gsl-lite/gsl-lite), -[ms-gsl](https://github.com/microsoft/GSL), or maybe completely disabled. - Additionally, some CMake options were renamed to better express the impact on our users (:boom: **breaking change** :boom:). For example, now CMake options include: @@ -171,6 +166,21 @@ Additionally, some CMake options were renamed to better express the impact on ou - `MP_UNITS_DEV_*` - options primarily useful for the project developers or people who want to compile our unit tests and examples. + +## Configurable contracts checking + +Before this release, the library always depended on [gsl-lite](https://github.com/gsl-lite/gsl-lite) +to perform runtime contract and asserts checking. In this release we introduced new options +to control if contract checking should be based on [gsl-lite](https://github.com/gsl-lite/gsl-lite), +[ms-gsl](https://github.com/microsoft/GSL), or maybe completely disabled. + + +## Freestanding support + +From this release it is possible to configure the library in the +[freestanding](https://en.cppreference.com/w/cpp/freestanding) mode. This limits the functionality +and interface of the library to be compatible with the freestanding implementations. + !!! info To learn more, please refer to the [Build options](../../getting_started/installation_and_usage.md#build-options)