Skip to content

Releases: dry-python/returns

Version 0.5.0

01 Jun 11:06
4db0b48
Compare
Choose a tag to compare

Features

  • Adds compose helper function
  • Adds public API to import returns
  • Adds raise_exception helper function
  • Adds full traceback to .unwrap()

Misc

  • Updates multiple dev-dependencies, including mypy
  • Now search in the docs is working again
  • Relicenses this project to BSD
  • Fixes copyright notice in the docs

Version 0.4.0 aka Goodbye, Monads!

04 Feb 11:45
a3a849b
Compare
Choose a tag to compare

Features

  • Moves all types to .pyi files
  • Renames all classes according to new naming pattern
  • HUGE improvement of types
  • Renames fmap to map
  • Renames do_notation to pipeline, moves it to functions.py
  • Renames ebind to rescue
  • Renames efmap to fix
  • Renames Monad to Container
  • Removes Maybe monad, since typing does not have NonNullable type

Version 0.3.1

02 Feb 18:03
12b4715
Compare
Choose a tag to compare

Bugfixes

  • Adds py.typed file to be PEP561 compatible

Version 0.3.0

02 Feb 18:03
281c59b
Compare
Choose a tag to compare

The project is renamed to returns and moved to dry-python org.

Features

  • Adds .pyi files for all modules,
    to enable mypy support for 3rd party users

Version 0.2.0

30 Jan 22:36
38e297b
Compare
Choose a tag to compare

Features

  • Adds Maybe monad
  • Adds immutability and __slots__ to all monads
  • Adds methods to work with failures
  • Adds safe decorator to convert exceptions to Either monad
  • Adds is_successful() function to detect if your result is a success
  • Adds failure() method to unwrap values from failed monads

Bugfixes

  • Changes the type of .bind method for Success monad
  • Changes how equality works, so now Failure(1) != Success(1)
  • Changes how new instances created on unused methods

Misc

  • Improves docs

Version 0.1.1

28 Jan 13:37
aaad83f
Compare
Choose a tag to compare

Bugfixes

  • Changes how PyPI renders package's page

Misc

  • Improves README with new badges and installation steps

Version 0.1.0

28 Jan 12:20
c52d924
Compare
Choose a tag to compare

Initial release. Featuring only Result and do_notation.