版本发布 6
### 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
### 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`
### Features - *Breaking*: Drops `python3.7` support - Now requires `mypy>=1.5` - Adds `trampolines` support
### Features - Now requires `mypy>=1.4` - Adds `[compatible-mypy]` extra for installation
### Bugfixes - Fixed HKT `to_str` example in documentation - Fixed backward deserialization compatibility for BaseContainer
### 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