# 3.3.1 Fixes: - Fix package path (a397f7c) # 3.3.0 Changes: - Move from `swan-io` to `bloodyowl` (f22a87d) # 3.2.0 Changes: - Make `.match()` handlers signature more permissive (062830e, f9f98d4) # 3.1.2 Features: - Add `option.mapOr` (8aa1793) - Add `result.mapOr` (8aa1793) - Add `asyncData.mapOr` (8aa1793) - Add `option.orElse` (8aa1793) Changes: - Deprecate `getWithDefault` in favor of `getOr` (8aa1793) # 3.1.1 Fixes: - Handle null checks in store getter (c79d04b) # 3.1.0 Features: - Add `Option.fromPredicate` (9818bcf) # 3.0.0 Changes: - Freeze `Option`, `Result` and `AsyncData` values (a0112d4) - Make `Option`, `Result` and `AsyncData` referentially equal when their values are (a0112d4) # 2.3.2 Fixes: - Fix type for `Result.fromJSON` (3c53fb0) (thanks @nobrayner!) # 2.3.1 Fixes: - Make `Serializer.encode` not throw on nullable values (d9e3483) (thanks @nobrayner!) # 2.3.0 Features: - Add `Future.concurrent` (b5ae7e5) - Add `Future.retry` (b5ae7e5) - Add `Future.wait` (b5ae7e5) - Add `option.tapSome` (b5ae7e5) # 2.2.1 Features: - Add `getOr` alias for `getWithDefault` (4c51724) # 2.2.0 Features: - Add `Dict.fromEntries` (773e81e) - Add `Dict.fromOptional` (cc6829c) - Handle JSON serialization with `toJSON` method and add static `fromJSON` hydrators (7074d59) Changes: - Make typescript peerDependency optional (509d721) # 2.1.1 Changes: - Improve `Deferred` typing (4dea113) # 2.1.0 Changes: - Improved overall performance (245d7b4) - Improved type structure for better compiler errors (245d7b4) - Allow `Future.fromPromise` to type error (d3afa85) # 2.1.0-beta Changes: - Improved overall performance (245d7b4) - Improved type structure for better compiler errors (245d7b4) - Allow `Future.fromPromise` to type error (d3afa85) # 2.0.1 Fixes: - Added a fix for a case where Future hangs when waited on circularly (dfe94fb) # 2.0.0 Breaking changes: - Boxed now requires TypeScript >= 5 ⚠️ Features: - Add `option.filter` method (2f72ce8) Changes: - Make patterns use `const` parameter for more precise handling (ebbc808) - Make `Array` functions accept `ReadonlyArray` (687b688) (thanks [@runeh](https://github.com/runeh)) # 1.2.0 Fixes: - Make `_state` private in `Future`'s exposed signature (25f7bc9) # 1.1.0 Features: - Add `Option.isOption`, `Result.isResult`, `AsyncData.isAsyncData` & `Future.isFuture` guards (8b7841c) # 1.0.2 Features: - Add `P` alias for `pattern` (afb971e) # 1.0.1 Changes: - Fix `Dict.entries` type (142b7c7) # 1.0.0 Breaking changes: - Rename `mapResult` to `mapOkToResult` (e00b0c0) - Rename `keepMap` to `filterMap` (27f8f4e) - Rename `getBy` to `find` (ad5c0da) - Rename `getIndexBy` to `findIndex` (a8dda24) - Rename `keepMapOne` to `findMap` (cee8c2a) Features: - Add `mapErrorToResult` (e00b0c0) # 0.13.0 Changes: - Don't default error types to initial ones in `flatMap`-like methods (29d3307) # 0.12.1 Features: - Add `Array.keepMapOne` (a8300de) # 0.12.0 Features: - Add helpers for `AsyncData` (6319ada) # 0.11.1 Fixes: - Fixed a formatting issue causing an incorrec type (b9af1ee) # 0.11.0 Fixes: - Fixed a typing issue with optional keys in `Dict.entries` (bc73bd8) # 0.10.0 Breaking changes: - Renamed `future.get` to `future.onResolve` (7fd9442) - Remove `isPending`, `isCancelled` and `isResolved` from Future (d759e66) Features: - Improve discriminating unions (d759e66) # 0.9.0 Breaking changes: - Make `Array.keepMap` callback return an option instead of a nullable (ff967f9) # 0.8.0 Features: - Add `allFromDict` helpers (04a4662) - Add `Array.zip` & `Array.unzip` (04a4662) # 0.7.0 Changes: - Improve type inference when returning newly constructed `Result`, `Option` or `AsyncData` from a `.match` function (ae74ba8) # 0.6.4 Fixes: - Fix flatMap type (fcd4acc) # 0.6.3 Changes: - More concise generics on Result-related types (2f9465e) # 0.6.2 Features: - Add `option.toResult` for better discoverability (cc8a058) # 0.6.1 Features: - Add `Result.fromOption` (6e34a3f) Changes: - Make type annotations more compact in IDE (dc320ee) # 0.6.0 Breaking changes: - Move from `value` getter to `get` method in `Lazy` (4d26820) # 0.5.3 Fixes: - Fixed `get` typing for `Result` type (thanks [@ansavchenco](https://github.com/ansavchenco)!) (54fe9aa) # 0.5.2 Features: - Add convenience `get` methods (23592b0) # 0.5.1 Changes: - Add inline docs to future (6fd938c) # 0.5.0 Breaking changes: - Update internal representation (181feac) # 0.4.2 Fixes: - Fixed a failing test (64feaff) # 0.4.1 Fixes: - Fixed a compatibility issue with ts-pattern (37337ed) # 0.4.0 Breaking changes: - In case of `Error`, `Result` class stores the value in `result.error` (57e254b) Features: - Better IDE integration and TypeScript errors (57e254b) # 0.3.7 Fixes: - Fix issue with `Lazy` export (10064dc) # 0.3.6 Changes: - Add more guarantees on Future (7ba99ec) # 0.3.5 Changes: - Remove `Unwrap` type removing guarantees (bb83047) # 0.3.4 Changes: - Simplify `Future.mapResult` type (ce2749a) # 0.3.3 Features: - Add `Option.all`, `Result.all` & `AsyncData.all` (039eeda) # 0.3.2 Features: - Add tap functions on `Option`, `Result` and `AsyncData` for debugging (cb63dcf) - Add `mapError` and `flatMapError` to `Result` (0d36a03) # 0.3.1 Changes: - Improve typing for `Future` (f8d9e12) - Make `Future.flatMapOk` & `Future.flatMapError` behave like the result ones (f8d9e12) # 0.3.0 Changes: - Make `flatMap` aggregate error types with a union (015da3b) # 0.2.1 Features: - Reexport `Array` static methods than can be shadowed when importing `Array` from boxed (2dd970b) # 0.2.0 Changes: - Better guaratees on `Dict.entries` and `Dict.keys` (Thanks [0xCAFEADD1C7](https://github.com/0xCAFEADD1C7)) (ec67c64, c572dab) - Better typing for `Result.fromExecution` and `Result.fromPromise` (c25623f) # 0.1.2 Changes: - Improve exposed types readability (6fb0128) # 0.1.1 Changes: - Improve repository structure (9cd199a) # 0.1.0 Initial version