0.15.0 (2024-08-25)
- Renamed
Error
toErr
, as well as all the methods. (#56)
0.14.1 (2024-08-16)
No significant changes.
0.14.0 (2024-08-13)
No significant changes.
0.13.0 (2024-06-21)
- Error types are now truly forced to be non-empty. (#55)
- Added
or_raise
,or_raise_with
andor_raise_with_await
forOption[T]
,Result[T, E]
and their future counterparts.
- Added
wrap_option_on
,wrap_option_await_on
,wrap_result_on
andwrap_result_await_on
.
-
wrap_option
,wrap_option_await
,wrap_result
andwrap_result_await
are no longer subscriptable: theirwrap_on
counterparts should be used to specify error types to handle. -
reawaitable
was renamed towrap_reawaitable
for consistency.
- The entire library was refactored.
- Improved type narrowing via using
TypeIs
instead ofTypeGuard
.
No significant changes.
- Added
map_either
andmap_either_await
toEither[L, R]
. - Updated
FutureEither[L, R]
to be in sync withEither[L, R]
.
-
Added
NULL
for convenience:NULL = Null()
- Renamed functions in
Future[T]
;name_future
is nowbase_name
.
- Migrated to Python 3.8.
- Fixed
final
import to be compatible with Python 3.7.
- Migrated to using
typing-aliases
library.
- Implement missing methods in future variants of options and results.
- Internal improvements.
- Implemented
Either[L, R]
type.
- Renamed
convert_optional -> wrap_optional
, addedextract
method. This allows users to defer back toOptional[T]
, along with wrappingOptional[T]
intoOption[T]
in a clear and concise way. (#1)
Initial release.