docs: 2.2 release annonuncement updated

This commit is contained in:
Mateusz Pusz
2024-05-30 20:41:58 +02:00
parent aaa394ac79
commit 496ec59c0b

View File

@@ -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)