Skip to content

v1.9.0

Choose a tag to compare

@JiangJie JiangJie released this 04 Jan 11:45
· 21 commits to main since this release

[1.9.0] - 2026-01-04

Added

  • Try Extensions for Result:
    • andTryAsync<U> - Like andThenAsync, but auto-catches exceptions/Promise rejections and converts them to Err
    • orTryAsync<F> - Like orElseAsync, but auto-catches exceptions in recovery logic

Changed

  • Performance: map() and mapErr() now return this when the Result variant doesn't match, avoiding unnecessary object creation

Removed

  • promiseToAsyncResult() - Use tryAsyncResult() instead (deprecated since v1.7.0)

Full Changelog: v1.8.0...v1.9.0