Releases: martinmoene/expected-lite
0.8.0
Release 0.8.0 of expected lite contains the following.
Additions
- Add
make_unexpected()
for use withstd::expected
(#66, thanks @psyinf) - Add
unexpected_type
(deprecated) for use withstd::expected
(#66, thanks @psyinf) - Add
unexpected_type::error()
, deprecateunexpected_type::value()
(#66, thanks @psyinf)
Changes
- Adapt test suite to use with
std::expected
.
Fixes
- Fix definition of 'unit_select' in batch files.
- Fix test suite's
create_copyable()
for use withstd::expected
(#66).
When std::expected
is used for the implementation, the following are available via the nonstd namespace:
std::expected
.std::unexpected
and aliasunexpected_type
.std::bad_expected_access
.std::unexpect_t
.std::unexpect
.make_unexpected()
.
Full Changelog: v0.7.0...v0.8.0
0.7.0
Release 0.7.0 of expected lite contains the following.
Additions
- Add CPack packaging (#57, thanks @KOLANICH).
- Add monadic operations per P2505 (#60, thanks @szaszm)
- Add reference for p2505, update table 'Comparison with like types' (#60).
- Use
-Dnsel_P2505R=0
to disable monadic operations (#61, addendum to #60, thanks @szaszm).
Changes
- Add badge 'on vcpkg' (nonstd-lite-project issue 72.
- Update actions/checkout in GitHub Actions to v4 (#63, thanks @striezel).
- Add (and remove again) workaround for incompatibilities between Clang and libstdc++ (#63, thanks @striezel).
Fixes
- Fix failure to compile non-movable non-copyable expected type (#58, thanks @polasek).
- Fix (locally disable) MSVC warning C4702: unreachable code (#65, thanks @hanusek, @szaszm, @np-c0mp1ete).
Full Changelog: v0.6.3...v0.7.0
0.6.3
Release 0.6.3 of expected lite contains the following.
Fixes
- Fix
operator==()
for void 'value' type (#51, thanks @Crzyrndm). - Fix disabling of
swap()
(#50, thanks @negatratoron). - Fix cmake config file to use
@package_nspace@
(nonstd-lite-project 68).
Changes
- Remove Travis CI configuration and badge (#55, thanks @striezel).
- Do not cancel all jobs in a workflow if one fails. (#54, thanks @striezel).
- Remove gcc 8 and clang 8, 9, 10 from GitHub CI matrix (nonstd-lite-project 69).
- Add compilation and running test for C++20 to GCC and Clang (nonstd-lite-project 64).
- Use toplevel unit_name (nonstd-lite-project 56).
0.6.2
Release 0.6.2 of expected lite contains the following.
Changes
- Change value used with
nsel_CPP20_OR_GREATER
to202002L
(#49, thanks @xavier2k6). - Use C++20 library feature test for
std::remove_cvref
(#48, thanks @purpleKarrot). - Remove msvc (windows-2016) image from GitHub Actions (nonstd-lite-project issue 61, thanks @xavier2k6).
- Add msvc (windows-2022) image to GitHub Actions (nonstd-lite-project issue 62).
0.6.1
0.6.0
Release 0.6.0 of expected lite contains the following changes.
Additions:
- Enable importing cmake targets from the build tree (#39, thanks @fbdtemme).
- Add script tc-cl.bat. See also nonstd-lite-project issues 54.
- Add
nsel_CONFIG_NO_EXCEPTIONS_SEH
configuration flag. - Update script and test for compilation without exceptions.
- Add example/03-no-exceptions.cpp.
- Introduce GitHub Actions CI.
Changes:
std::expected
appears in C++23, not C++20 (#43, thanks @bigerl).- Allow to move-assign from move-only unexpected (#40).
- Avoid warning
-Wundef
for_MSC_VER
. - Change to use SEH at default with MSVC for no C++ exception case.
- Replace
_CPPUNWIND
with_HAS_EXCEPTIONS
(#27, thanks @DBJDBJ). See also nonstd-lite-project issue 48. - Handle lest test framework as system include to prevent warnings, use autoregister.
- Update Readme guided by markdownlint.
Fixes:
0.5.0
Release 0.5.0 of expected lite contains the following changes.
Additions:
- Add tweak header support
Changes:
- Change 'on conan' link to refer to conan center
- Add .editorconfig
- Add TortoiseGit integration with GitHub issues
- Add build folder and IDE folders/files to .gitignore (.vs, .vscode, CodeBlocks)
- Add Visual Studio 2019 to the Appveyor build matrix, nonstd lite project issue 47
Fixes:
0.4.0
[to be expanded]
This release of expected lite tags its current state. It contains numerous changes and fixes.
0.3.0
[to be expanded]
This release of expected lite improves support for CMake and Conan and contains numerous other changes and fixes.
See also nonstd lite project Improve coherence between lite projects.
0.2.0
Release 0.2.0 ...