- Breaking:
asyncResult
computation is now lazy; just defining it won't do anything. - Possibly breaking: Computation expressions have been rewritten. Apart from the previously mentioned laziness, all old and new unit tests (fairly extensive) pass for both 1.0.2 and 2.0.0. However, I can not guarantee there aren't breaks in untested edge cases.
asyncResult
can now bindTask<_>
andTask
expressions
- Fix weird design-time crash when used if project code is run in XAML designer
- Fix
try ... with
/try ... finally
inasyncResult
not catching exceptions thrown from plainasync
expressions
- Support Fable
- Add more helper functions
- Fix
use
/use!
in conjunction with non-nullableIDisposable
types
- Breaking: Added assembly-level AutoOpen attribute. Importing the library will automatically import the helper methods as well as the builder instances
- Breaking: Rename
orElse
andorElseWith
todefaultValue
anddefaultWith
so the names match the functions with similar signatures in theOption
module - Add
Result.ignoreError
andAsyncResult.ignoreError
- Add
Result.requireNone
,AsyncResult.requireTrue
,AsyncResult.requireFalse
,AsyncResult.requireSome
,AsyncResult.requireNone
- Fix package tags
- Add
setError
- Fix package tags
- Add package metadata
- Initial release