0.15.0 (2024-08-25)
- Renamed
ErrortoErr, 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_withandor_raise_with_awaitforOption[T],Result[T, E]and their future counterparts.
- Added
wrap_option_on,wrap_option_await_on,wrap_result_onandwrap_result_await_on.
-
wrap_option,wrap_option_await,wrap_resultandwrap_result_awaitare no longer subscriptable: theirwrap_oncounterparts should be used to specify error types to handle. -
reawaitablewas renamed towrap_reawaitablefor consistency.
- The entire library was refactored.
- Improved type narrowing via using
TypeIsinstead ofTypeGuard.
No significant changes.
- Added
map_eitherandmap_either_awaittoEither[L, R]. - Updated
FutureEither[L, R]to be in sync withEither[L, R].
-
Added
NULLfor convenience:NULL = Null()
- Renamed functions in
Future[T];name_futureis nowbase_name.
- Migrated to Python 3.8.
- Fixed
finalimport to be compatible with Python 3.7.
- Migrated to using
typing-aliaseslibrary.
- Implement missing methods in future variants of options and results.
- Internal improvements.
- Implemented
Either[L, R]type.
- Renamed
convert_optional -> wrap_optional, addedextractmethod. This allows users to defer back toOptional[T], along with wrappingOptional[T]intoOption[T]in a clear and concise way. (#1)
Initial release.