Skip to content

Releases: boostorg/leaf

1.82.0

14 May 21:40
Compare
Choose a tag to compare

This release includes a bug fix and additional unit tests. It matches exactly the state of the LEAF source code as distributed in the Boost 1.82.0 release.

1.81.0

01 Dec 20:20
Compare
Choose a tag to compare

This release includes:

  • Fixes for compile errors in tricky configurations.
  • A fix for an API defect, throw leaf::exception(...) now becomes leaf::throw_exception(...).
  • Improvements to the TLS array support for embedded platforms.
  • Improved configuration coverage for unit tests.

1.81.0-prerelease

09 Sep 04:53
9d3ffa0
Compare
Choose a tag to compare

First conan release. Minor improvements over version 1.80.0.

Changes based on Boost review feedback and other improvements

19 Jun 20:22
Compare
Choose a tag to compare

This release incorporates the feedback of the Boost Review, changes to improve potential integration with Boost, simplified asynchronous API. Changes:

  • The is_e_type trait is deleted. Any value type can be used as an error type.
  • Error handlers can now be captured in a tuple and used with try_handle_some, try_handle_all or try_catch. The remote_ prefixed error handling functions are removed.
  • preload, defer, and accumulate are all merged into a single API called on_error.
  • match is now compatible with std::error_code, e.g. match<std::error_code, 42>.
  • Error handlers that take arguments of exception types will automatically catch exceptions; catch_ is now optional, primarily used to catch more than one exception type.
  • Error handlers can now take mutable reference (and mutable pointer) arguments.
  • augment_id is renamed to error_monitor.
  • All LEAF_XXXX macros are renamed to BOOST_LEAF_XXXX.

Configuration improvements, benchmark

24 Nov 01:17
Compare
Choose a tag to compare

This release includes automatic detection for LEAF_NO_EXCEPTIONS and new benchmark program.

Optimizations

07 Nov 05:57
Compare
Choose a tag to compare

This release includes minor optimizations, adds a unit test for the error_id generation logic, and increased Travis CI coverage on Apple platforms.

Improved portability

03 Nov 01:35
Compare
Choose a tag to compare

This release improves the support for -fno-exceptions and adds support for LEAF_NO_THREADS, which disables all multi-thread code.

Optimizations

02 Aug 02:40
Compare
Choose a tag to compare

Optimizations:

  • No guard variables generated by the compiler for static/thread_local objects.
  • Simpler, more optimal result<T> implementation.

Documentation improvements

25 Jun 05:27
Compare
Choose a tag to compare

Patch release for better documentation, Travis and AppVeyor tweaks.

Minor new features and tweaks

24 Apr 21:40
Compare
Choose a tag to compare

In this release:

  • Added operator-> support to result<T>;
  • Added a new example to demonstrate using LEAF with outcome::result<T> instead of leaf::result<T>;
  • LEAF_AUTO uses .value() instead of operator* to access the value of a result<T> type;
  • Fixed a bug in the single header generation script, now headers are included only once;
  • Documentation fixes and refinements.