Releases: nonstd-lite/scope-lite
Releases · nonstd-lite/scope-lite
0.3.0
This release of scope lite contains the following changes.
Additions:
Changes:
- Add content to the "Reported to work with" part of the readme (#18, thanks @striezel).
- Add scope_guard by @ricab to section 'Other implementations' (#14).
- Update actions/checkout in GitHub Actions to v3, to v4 (#6, #11, thanks @striezel).
- Remove Travis CI configuration and badge (#9, thanks @striezel).
- Fix some typos (#7, thanks @striezel).
- Add section Non-standard extensions and a
constexprexample (#5). - Move use of scope guard into
constexprfunction (#5). - Add
constexprextension to scope guards (#5, thanks @Morwenn).
Changes, nonstd-lite:
- Increment minimum required CMake version to 3.15 (nonstd-lite issue 73).
- Remove windows-2019 from GitHub workflow.
- Remove AppVeyor badge and workflow (nonstd-lite issue 79).
- Continue workflow if one job fails (#8, thanks @striezel) (nonstd-lite issue 71).
- Remove gcc 8 and clang 8, 9, 10 from GitHub CI matrix (nonstd-lite issue 69).
- In CMakeLists.txt, use toplevel
unit_name(nonstd-lite issue 56). - Add compilation and running test for C++20 to GCC and Clang (nonstd-lite issue 64).
- Add/update example/CMakeLists.txt (nonstd-lite issue 56).
- Add msvc (windows-2022) image to GitHub Actions (nonstd-lite issue 62).
- Remove msvc (windows-2016) image from GitHub Actions (nonstd-lite issue 61, thanks @xavier2k6)
- Change value used with
*_CPP20_OR_GREATERto 202002L, designate C++23 as speculative (nonstd-lite issue 49). - Add GitHub Actions CI, nonstd-lite issue 55.
- Add CMakeLists.txt for examples, nonstd-lite issue 56.
Fixes:
- Fix compile error with gcc 14 because of missing necessary header (#19, thanks @xyz1001).
- Fix Clang builds on GitHub Actions (#16, thanks @striezel).
- Fix typo (#13, thanks @xyz1001).
- Fix issue #12, thanks @Pesa.
- Fix gcc 9 error:
exit_functionmust be available (#10). - Destructor of
scope_successcan throw (#10, thanks @Ukilele). - Fix missing try-catch in
is_called_success(), correct name tois_not_called_fail()(#5). - Fix cmake config file to use
@package_nspace@(nonstd-lite issue 68).
New Contributors
- @striezel made their first contribution in #6
- @Ukilele made their first contribution in #10
- @xyz1001 made their first contribution in #13
Full Changelog: v0.2.0...v0.3.0
0.2.0
This release of scope lite adds the ability to use global function objects with the C++98 version (issue #4. Thanks to @hayguen).
Additions:
- Add construction of a
scope_exit,scope_fail, orscope_successobject with a global function object as parameter. See example/04-local-scope-cpp98.cpp. - Add
export()toCMakeLists.txt, enabling importing targets.
Changes:
- With C++98, the type changes from
scope_exittoscope_exit<>, orscope_exit<void(*)()>when using a function pointer as argument. Likewise forscope_failandscope_success.
Fixes:
- None
0.1.0
This is the first non-alpha release of scope lite. It contains the following changes with respect to v0.1.0-alpha.
Changes:
- Allow for cooperation with Boost
uncaught_exceptions.hppfor libc++ (#3, thanks @Pesa). - Add Visual Studio 2019 to the Appveyor build matrix (nonstd lite project issue 47).
- Add tests for move-construction.
Fixes:
- Fix
noexceptfor__cxa_get_globals()on FreeBSD/OpenBSD (#3, thanks @Pesa). - Improve varied declaration of
__cxa_get_globals()(#3, thanks @Pesa). - Unconditionally include
<cxxabi.h>for libstdc++ (#3, thanks @Pesa). - Swap comments regarding libc++ and libstdc++ (#3, thanks @Pesa).
- Prevent clang warning in unique_resource (#2, thanks @Pesa).
- Use namespace
std11foris_nothrow_move_constructible(VC10).
0.1.0-alpha
First alpha release of scope lite.
Feedback welcome :)