All Versions
23
Latest Version
Avg Release Cycle
57 days
Latest Release
-
Changelog History
Page 2
Changelog History
Page 2
-
v0.11.0 Changes
August 29, 2019๐ 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
-
v0.10.0 Changes
August 18, 2019๐ 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 :
-
v0.9.0 Changes
July 01, 2019๐ Features
- Provides a bunch of primitive interfaces to write your own containers
- โ Adds
.map_failure()
method - โ Adds
flatten()
function to join nested containers
๐ Bugfixes
- ๐ Fixes type of
Maybe.fix
andMaybe.rescue
to work with bothlambda: 1
andlambda _: 1
Misc
- ๐ Improves
README
-
v0.8.0 Changes
June 17, 2019๐ Features
- Reintroduces the
Maybe
container, typed! - Introduces converters from one type to another
- โ Adds
mypy
plugin to type decorators - Complete rewrite of
Result
types - Partial API change, now
Success
andFailure
are not types, but functions - ๐ New internal types introduced:
FixableContainer
andValueUnwrapContainer
๐ Bugfixes
- ๐ Fixes issue when you could return
IO
container fromResult.bind
- ๐ Fixes
@pipeline
return type
Misc
- Reapplied all types to
.py
files - ๐ Improved docs about
IO
andContainer
concept - โ Adds docs about container composition
- ๐ Moves from
Alpha
toBeta
- Reintroduces the
-
v0.7.0 Changes
June 11, 2019๐ Features
- โ Adds
IO
container - โ Adds
unsafe
module with unsafe functions - ๐ Changes how functions are located inside the project
๐ Bugfixes
- ๐ Fixes container type in
@pipeline
- Now
is_successful
is public - Now
raise_exception
is public
Misc
- ๐ Changes how
str()
function works for container types - Total rename to "container" in the source code
- โ Adds
-
v0.6.0 Changes
June 07, 2019๐ Features
- ๐
safe
andpipeline
now supportsasyncio
is_successful
now returnsLiteral
types if possible
- ๐
-
v0.5.0 Changes
June 01, 2019๐ 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
- โ Adds
-
v0.4.0 Changes
February 04, 2019๐ Features
- ๐ Moves all types to
.pyi
files - ๐ Renames all classes according to new naming pattern
- HUGE improvement of types
- ๐ Renames
fmap
tomap
- ๐ Renames
do_notation
topipeline
, moves it tofunctions.py
- ๐ Renames
ebind
torescue
- ๐ Renames
efmap
tofix
- ๐ Renames
container
toContainer
- โ Removes
Maybe
container, since typing does not haveNonNullable
type
- ๐ Moves all types to
-
v0.3.1 Changes
๐ Bugfixes
- โ Adds
py.typed
file to bePEP561
compatible
- โ Adds
-
v0.3.0 Changes
๐ The project is renamed to
returns
and moved todry-python
org.๐ Features
- โ Adds
.pyi
files for all modules, to enablemypy
support for 3rd party users
- โ Adds