Releases: nlfiedler/oxidized
Releases · nlfiedler/oxidized
6.2.0
6.1.0
v6.0.0
5.3.0
Fixed
- stumblinbear: Fix possible invalid casting in catch block.
Changed
- kranfix: Replaced
pedantic
(deprecated) byvery_goog_analysis
. - kranfix: Refactored
Option
into many mixins. - kranfix: Better implementation for
Option
async methods. - kranfix:
Ok.unit
andErr.unit
static methods
5.2.0
Added
- rlch: Added async methods to
Option<T>
andResult<T, E>
. - rlch: Added missing type arguments to
Option<T>
andResult<T, E>
. - rlch: Added code coverage for async methods.
- rlch: Added
OptionFutureRedirector
util to redirect methods called onFuture<Option<T>>
. - rlch: Added
ResultFutureRedirector
util to redirect methods called onFuture<Result<T, E>>
.
5.1.0
Added
- kranfix:
Option<Result<T, E>>.transpose()
returns aResult<Option<T>, E>
. - kranfix:
Option<Option<T>>.flatten()
returns anOption<T>
. - kranfix:
Result<Option<T>, E>.transpose()
returns anOption<Result<T, E>>
. - kranfix:
Result<Result<T, E>, E>.flatten()
returns aResult<T, E>
.
5.0.1
5.0.0
Changed
- BREAKING CHANGE: can no longer pass
null
toResult
. The rectifies the inconsistent handling of null values with regards toOption
andResult
. - kranfix: refactored
Option<T extends Object>
to fixResult<int?, Exception>.ok(null).ok()
- kranfix: refactored
Result<T extends Object, E extends Object>
to fixResult<int?, Exception>.ok(null)
v4.2.0
4.1.0
Changed
- lemunozm: return values added to
match()
,when()
inResult
,Option
. - BREAKING CHANGE: migrated to null safety and Dart SDK 2.12.
Notes
Forgot to push 4.0 to GitHub, but those commits are now ahead of the changes made more recently for 4.1, so as a result there is no 4.0 release on GitHub.