Changelog
0.14.1 (2024-08-16)
No significant changes.
0.14.0 (2024-08-13)
No significant changes.
0.13.0 (2024-06-21)
Changes
- Error types are now truly forced to be non-empty. (#55)
0.12.0 (2024-04-30)
Features
- Added
or_raise,or_raise_withandor_raise_with_awaitforOption[T],Result[T, E]and their future counterparts.
0.11.0 (2024-04-23)
Features
- Added
wrap_option_on,wrap_option_await_on,wrap_result_onandwrap_result_await_on.
Changes
-
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.
0.10.0 (2024-04-22)
Changes
- The entire library was refactored.
0.9.2 (2024-03-16)
Changes
- Improved type narrowing via using
TypeIsinstead ofTypeGuard.
0.9.1 (2024-02-26)
No significant changes.
0.9.0 (2024-02-25)
Features
- Added
map_eitherandmap_either_awaittoEither[L, R]. - Updated
FutureEither[L, R]to be in sync withEither[L, R].
0.8.0 (2024-01-08)
Features
- Added
NULLfor convenience:
NULL = Null()
0.7.0 (2024-01-07)
Changes
- Renamed functions in
Future[T];name_futureis nowbase_name.
Internal
- Migrated to Python 3.8.
0.6.1 (2023-05-24)
Fixes
- Fixed
finalimport to be compatible with Python 3.7.
0.6.0 (2023-05-21)
Internal
- Migrated to using
typing-aliaseslibrary.
0.5.0 (2023-05-12)
Features
- Implement missing methods in future variants of options and results.
0.4.0 (2023-04-24)
Internal
- Internal improvements.
0.3.0 (2023-01-28)
Features
- Implemented
Either[L, R]type.
0.2.0 (2022-10-03)
Features
- 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)
0.1.0 (2022-09-09)
Initial release.