returns v0.11.0 Release Notes
Release Date: 2019-08-29 // over 4 years ago-
๐ Features
- ๐ฅ Breaking : now
pipe()
does not require argument to be the first value,
instead it is required to use:pipe(f1, f2, f3, f4)(value)
- ๐ฅ Breaking : dropped everything from
returns/ __init__.py
,
because we now have quite a lot of stuff - ๐ฅ Breaking : dropped support of zero argument functions for
Nothing.fix
- ๐ฅ Breaking : dropped support of zero argument functions for
Nothing.rescue
Maybe
now has.failure()
to match the same API asResult
- โ Adds
identity
function - โ Adds
tap
function - Now
pipe
allows to pipe 8 steps - Adds
coalesce_result
andcoalesce_maybe
coverters
๐ Bugfixes
- ๐ Fixes that code inside
.fix
and.rescue
ofMaybe
might be called twice
Misc
- โ Now all methods have doctests
- Updates docs about
Success
and_Success
,Failure
and_Failure
- โก๏ธ Updates docs about
@pipeline
- โ
Typechecks async functions and decorators inside
typesafety/
tests
- ๐ฅ Breaking : now