Skip to content

Conversation

@montasaurus
Copy link
Owner

Breaking

  • Dropped Python 3.8 & 3.9 to simplify maintenance

Features

  • Added Python 3.13
  • Added support for @as_generator_result and @as_async_generator_result, which function like @as_result but wrap the yield values of a generator
  • Allow bubbling up unwrapping of nested Result inside the @as_* decorated classes. If you unwrap an Err of an exception type that you handle in the generator, it will return that Err(Exception)from the decorated function as if you had thrown the Exception directly.

Fixes

  • Switch to a uv build system with hatch
  • Switched linter to Ruff
  • Updated the links to point to forked repo

@montasaurus montasaurus merged commit 59cd2fb into main Jan 8, 2025
8 checks passed
@montasaurus montasaurus deleted the adam/dev branch December 10, 2025 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants