returns v0.10.0 Release Notes

Release Date: 2019-08-18 // over 4 years ago
  • twitter

    ๐Ÿ”‹ Features

    • ๐Ÿ’ฅ Breaking : python>=3.7,<=3.7.2 are not supported anymore,
      because of a bug inside typing module
    • ๐Ÿ’ฅ Breaking : Now bind does not change the type of an error
    • ๐Ÿ’ฅ Breaking : Now rescue does not change the type of a value
    • ๐Ÿ’ฅ Breaking : Renames map_failure to alt
    • โž• Adds box() function with the ability
      to box function for direct container composition like:
      a -> Container[b] to Container[a] -> Container[b]
    • โž• Adds IO.lift() function to lift a -> a to IO[a] -> IO[a]
    • โž• Adds pipe() function to pipeline.py
    • Adds __hash__ () magic methods to all containers

    ๐Ÿ›  Bugfixes

    • ๐Ÿ”„ Changes Any to NoReturn in Success and Failure
    • Now all type parameters in Result, Maybe, and IO are covariant

    Misc

    • ๐Ÿ“„ Massive docs rewrite
    • โšก๏ธ Updates mypy version
    • ๐Ÿ’… Updates wemake-python-styleguide and introduces nitpick
    • โšก๏ธ Updates pytest-plugin-mypy, all tests now use yml