ITADN
dry-python/returns

版本发布 6

Version 0.25.00.25.0
? · 2025-03-21

### Features - A lot of new features added to our `hypothesis` plugins. It now allows to create custom strategies, better instantiate containers, docouple it from built-in ones, check laws from user-defined interfaces ### Bugfixes - Fixes that `UnwrapFailedError` was not picklable

Version 0.24.00.24.0
? · 2024-12-01

### Features - Drop `python3.9` support - Add `python3.13` support - Add support for `mypy>=1.12` - Add picky exceptions to `future_safe` decorator like `safe` has - Improve inference of `ResultLike` objects when exception catching decorator is applied with explicit exception types - Add picky exceptions to `impure_safe` decorator like `safe` has. Issue #1543 - Add partition function to result module. Issue #1905 - Add `default_error` parameter to `returns.converters.maybe_to_result`, which provides a default error value for `Failure`

Version 0.22.00.22.0
? · 2023-08-26

### Features - *Breaking*: Drops `python3.7` support - Now requires `mypy>=1.5` - Adds `trampolines` support

Version 0.21.00.21.0
? · 2023-06-27

### Features - Now requires `mypy>=1.4` - Adds `[compatible-mypy]` extra for installation

Version 0.20.10.20.1
? · 2023-06-23

### Bugfixes - Fixed HKT `to_str` example in documentation - Fixed backward deserialization compatibility for BaseContainer

Version 0.20.00.20.0
? · 2023-04-21

### Features - Now requires `mypy>=1.2` ### Bugfixes - Fixes a problem with `do-notation` and type aliases - Fixes custom pickle protocol to handle `None` values gracefully - Removes broken drylabs.io link in README - Revises pointfree documentation