returns v0.10.0 Release Notes
Release Date: 2019-08-18 // over 4 years ago-
๐ Features
- ๐ฅ Breaking :
python>=3.7,<=3.7.2
are not supported anymore,
because of a bug insidetyping
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
toalt
- โ Adds
box()
function with the ability
to box function for direct container composition like:
a -> Container[b]
toContainer[a] -> Container[b]
- โ Adds
IO.lift()
function to lifta -> a
toIO[a] -> IO[a]
- โ Adds
pipe()
function topipeline.py
- Adds
__hash__ ()
magic methods to all containers
๐ Bugfixes
- ๐ Changes
Any
toNoReturn
inSuccess
andFailure
- Now all type parameters in
Result
,Maybe
, andIO
are covariant
Misc
- ๐ Massive docs rewrite
- โก๏ธ Updates
mypy
version - ๐
Updates
wemake-python-styleguide
and introducesnitpick
- โก๏ธ Updates
pytest-plugin-mypy
, all tests now useyml
- ๐ฅ Breaking :