All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
4.27.0 (2020-07-14)
- adds type helpers (f2d23eb)
4.26.0 (2020-02-27)
- Option: give None() constructor optional generic (8c3de9a)
4.25.0 (2019-09-12)
- Option: adds Option#is_eq to compare 2 optional types (8989733)
- task: marks Task as implementing PromiseLike (d890139)
4.24.0 (2019-09-01)
- flow: adds Task#then flow types (75079a0)
- task: makes Task conform to Promise A+ spec (c8a07a6)
- task: simplified Task.all implementation (3ea0b13)
4.23.1 (2019-09-01)
- task: fix empty list task resolve (27db46d)
4.23.0 (2019-08-27)
- Task: reduces Promise allocation (43fd50b)
4.22.0 (2019-08-27)
- make the task.executor public (bb6614a)
4.21.1 (2019-08-19)
- task: adds flow types for new task helpers (c9ea084)
4.21.0 (2019-08-19)
4.20.0 (2019-06-19)
- adds
map_to
&map_err_to
combinators (74731d5)
4.19.0 (2019-06-12)
- adds Task.finally operator (475ffa5)
4.18.5 (2019-05-30)
- updates rollup dev dep (1763a5f)
4.18.4 (2019-05-29)
- dep audit for high vulnerability deps (e0a0a0b)
4.18.3 (2019-05-23)
- Result.await error handling fixes (ea016b5)
4.18.2 (2019-04-05)
- correctly type input params for 'get_at_path' (4bd4269)
4.18.1 (2019-03-15)
- fix flow typing issue (61b73dc)
4.18.0 (2019-03-04)
- adds a
Task.try
method (fac3107)
4.15.0 (2019-02-15)
- adds Task.retry for retriable tasks (8ae273b)
4.14.0 (2019-02-15)
- adds Result#task to convert results to tasks (7f7d5af)
4.13.2 (2019-01-31)
- flow: adds missing def for Task.exec (d8eb322)
4.13.1 (2019-01-31)
- flow: adds flow types for last release method additions (2681449)
4.13.0 (2019-01-31)
- task: adds exec method (a98e738)
- task: adds Task.tap and Task.tap_err (770e34a)
- task: methods for side effect tasks (88eac2c)
4.12.1 (2018-12-09)
- types: adds flow type defs for new tap helpers (4b2712b)
4.12.0 (2018-12-08)
- option: adds
Option.tap
method for side-effects (21d4889) - result: adds
Result.tap
&Result.tap_err
for side-effects (2b95023)
4.11.3 (2018-11-20)
4.11.2 (2018-11-03)
- adds "module" entry to pkg.json for esm (ead4f12)
4.11.1 (2018-10-15)
4.11.0 (2018-10-14)
- adds
or_await
&or_else_await
to Option & Result (2f0d501)
4.10.0 (2018-09-25)
- task: adds new task methods (fa252c1)
4.9.2 (2018-09-25)
4.9.1 (2018-09-24)
- types:
Task.of_ok
&Task.of_err
should useany
for opposite generic (0f421b7)
4.9.0 (2018-09-24)
- task: add
Task.map_both
for a bimap operation (469f32e)
4.8.1 (2018-09-23)
- adds flow type for new
Task.invert
method (f0ecb68)
4.8.0 (2018-09-23)
- adds
Task.invert
method to swap success and error values (ba637cc)
4.7.0 (2018-09-22)
- more efficient iterators in Result.every & Some.every (954041a)
4.6.2 (2018-09-20)
- package the 'esm' directory for esm users (dbb6883)
4.6.1 (2018-09-19)
- flow: fixes incorrect flow type syntax (a72fde5)
4.6.0 (2018-09-19)
- helpers: adds flow types for
err_or_ok
method (e202907)
4.5.0 (2018-09-19)
- task: adds 2 new Task methods (e7f0b61)
4.4.0 (2018-09-18)
4.3.0 (2018-09-15)
- adds err_or_ok helper for node-style callback pattern (41c0faa)
- adds Option await methods for promise support (7956c4c)
- adds Option.narrow for type guard support (747305b)
4.2.0 (2018-08-10)
- add support for umd build (ff6614e)
4.1.0 (2018-07-19)
- Option: add toJSON support for Option (23e9935)
4.0.0 (2018-06-18)
- adds Result.some && Result.every helpers (2cc07a0)
- Option.some return signature has changed to return Option<T[]>
- Option.every return signature has changed to return Option<T[]>
3.3.9 (2018-05-29)
- flow: not sure if default generics even works (cd112c8)
3.3.8 (2018-05-29)
- getting default flow generics syntax right (325d28f)
3.3.7 (2018-05-29)
3.3.6 (2018-05-29)
3.3.5 (2018-05-27)
3.3.4 (2018-05-27)
- export Option class (82db0d0)
3.3.3 (2018-05-27)
- flow type def fixes (ee00d73)
3.3.2 (2018-05-27)
- build: add
.flow
export to lib for flow types (89625bd)
3.3.1 (2018-05-26)
3.3.0 (2018-05-26)
- types: adds flow type defs (9c51cdc)
3.2.1 (2018-03-29)
3.2.0 (2018-03-29)
- new utils get_at_path, has_at_path (20c7741)
3.1.0 (2018-02-16)
- option: adds
Option.every
andOption.some
(ce0e351)
3.0.0 (2018-02-16)
- adds better semantic methods for inverting result (75353d4)
Option.inverse_result
has been renamed toOption.into_result_err
adds Result.invert
2.5.1 (2018-02-15)
2.5.0 (2018-02-15)
- result: added doc blocks for intellisense (faef764)
2.4.0 (2018-02-14)
- test: 100% test coverage (781e1e5)
2.3.1 (2018-02-14)
2.3.0 (2018-02-14)
- result:
map_both
impl (f9076a9)
2.2.1 (2018-02-14)
- bolster testing for new methods (0d35925)
2.2.0 (2018-02-13)
- result:
and_then_await
impl (1bb487a)
2.1.1 (2018-02-13)
2.1.0 (2018-02-13)
- option: add option to result methods (2dfd9af)
2.0.0 (2018-02-13)
- change variants to use uppercase (17fc39a)
- match statements now use uppercase variants
1.7.1 (2018-02-13)
- update some types with defaults (66b6993)
1.7.0 (2018-02-13)
- result:
and_then_await
experiment (ebb04ca)
1.6.0 (2018-02-13)
- option:
and
impl (979a17f) - result:
expect_err
impl (2dd4be0) - result:
expect
impl (8719c5f) - result:
unwrap_err
impl (2286789) - result:
unwrap_or_else
impl (a2360fc) - result:
unwrap_or
impl (9189c9a) - result:
unwrap
imp (55d873b) - finish option methods and result tests (0b76bc2)
1.5.0 (2018-02-13)
- option: test cov (5de95c8)
- result:
or_else
impl (6709ba2) - result:
or
impl (dd69973) - result: await methods (c104358)
- result: testing (1e80ffe)
1.4.0 (2018-02-12)
- promise result types (55c76d0)
1.3.0 (2018-02-12)
- Ok, Err, Some, None aliases for better API (8beefb1)
1.2.2 (2018-02-12)
- build: export commonjs (013e399)
1.2.1 (2018-02-12)
- typescript build errors (a5f92b0)