Skip to content

Releases: dry-python/returns

Version 0.28.0

Choose a tag to compare

@sobolevn sobolevn released this 04 Jun 09:08
63ea025

What's Changed

Features

  • Add mypy>=1.19,<1.22 support

Full Changelog: 0.27.0...0.28.0

Version 0.27.0

Choose a tag to compare

@sobolevn sobolevn released this 14 Apr 07:15
3c80909

Features

  • Drop python3.10 support
  • Add python3.14 support
  • Add mypy>=1.19,<1.21 support

New Contributors

Full Changelog: 0.26.0...0.27.0

0.26.0

Choose a tag to compare

@sobolevn sobolevn released this 24 Jul 13:12
2ef4c82

Features

  • Added mypy>=1.16,<1.18 support
  • Added __bool__ to Maybe, only Nothing ever returns False

New Contributors

Full Changelog: 0.25.0...0.26.0

Version 0.25.0

Choose a tag to compare

@sobolevn sobolevn released this 21 Mar 16:15
e55b213

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.0

Choose a tag to compare

@sobolevn sobolevn released this 01 Dec 17:52
ae3845a

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.23.0

Choose a tag to compare

@sobolevn sobolevn released this 15 Jun 09:18
b3a3967

Features

  • Breaking: Remove success_type and failure_type fields from IOResult,
    Maybe and Result types

Misc

  • Now requires mypy>=1.10
  • Adds [check-laws] extra for installation

Version 0.22.0

Choose a tag to compare

@sobolevn sobolevn released this 26 Aug 13:41
7cf5ef5

Features

  • Breaking: Drops python3.7 support
  • Now requires mypy>=1.5
  • Adds trampolines support

Version 0.21.0

Choose a tag to compare

@sobolevn sobolevn released this 27 Jun 15:47
b11c288

Features

  • Now requires mypy>=1.4
  • Adds [compatible-mypy] extra for installation

Version 0.20.1

Choose a tag to compare

@thepabloaguilar thepabloaguilar released this 23 Jun 20:29
c25ee24

Bugfixes

  • Fixed HKT to_str example in documentation
  • Fixed backward deserialization compatibility for BaseContainer

Version 0.20.0

Choose a tag to compare

@sobolevn sobolevn released this 21 Apr 13:14
efa9b2d

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