Skip to content

Commit be78340

Browse files
committed
CHANGELOG.md
1 parent f074318 commit be78340

File tree

1 file changed

+18
-11
lines changed

1 file changed

+18
-11
lines changed

CHANGELOG.md

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,49 @@
11
- [\[Unreleased\]](#unreleased)
2+
- [Added](#added)
23
- [Changed](#changed)
34
- [\[0.11.0\] - 2024-01-02](#0110---2024-01-02)
4-
- [Added](#added)
5+
- [Added](#added-1)
56
- [Changed](#changed-1)
67
- [\[0.10.0\] - 2023-12-31](#0100---2023-12-31)
7-
- [Added](#added-1)
8+
- [Added](#added-2)
89
- [\[0.9.1\] - 2023-12-12](#091---2023-12-12)
910
- [Changed](#changed-2)
1011
- [Fixed](#fixed)
1112
- [\[0.9.0\] - 2023-12-12](#090---2023-12-12)
12-
- [Added](#added-2)
13+
- [Added](#added-3)
1314
- [Changed](#changed-3)
1415
- [\[0.8.0\] - 2023-12-11](#080---2023-12-11)
15-
- [Added](#added-3)
16+
- [Added](#added-4)
1617
- [Changed](#changed-4)
1718
- [Removed](#removed)
1819
- [\[0.7.0\] - 2023-10-27](#070---2023-10-27)
19-
- [Added](#added-4)
20+
- [Added](#added-5)
2021
- [Changed](#changed-5)
2122
- [\[0.6.0\] - 2023-10-11](#060---2023-10-11)
22-
- [Added](#added-5)
23+
- [Added](#added-6)
2324
- [Changed](#changed-6)
2425
- [\[0.5.0\] - 2023-10-09](#050---2023-10-09)
25-
- [Added](#added-6)
26-
- [\[0.4.0\] - 2023-09-28](#040---2023-09-28)
2726
- [Added](#added-7)
27+
- [\[0.4.0\] - 2023-09-28](#040---2023-09-28)
28+
- [Added](#added-8)
2829
- [Changed](#changed-7)
2930
- [Removed](#removed-1)
3031
- [\[0.3.0\] - 2023-09-26](#030---2023-09-26)
31-
- [Added](#added-8)
32-
- [\[0.2.0\] - 2023-09-26](#020---2023-09-26)
3332
- [Added](#added-9)
33+
- [\[0.2.0\] - 2023-09-26](#020---2023-09-26)
34+
- [Added](#added-10)
3435
- [Removed](#removed-2)
3536
- [\[0.1.0\] - 2023-09-25](#010---2023-09-25)
36-
- [Added](#added-10)
37+
- [Added](#added-11)
3738

3839
## [Unreleased]
3940

41+
### Added
42+
43+
- Add `BCDD::Result#and_then!` and `BCDD::Result::Context#and_then!` to execute a callable object (any object that responds to `#call`) to produce a result. The main difference between the `#and_then` and `#and_then!` is that the latter does not check the result source. However, as a drawback, the result source will change. Do not mix `#and_then` and `#and_then!` in the same result chain to ensure the correct behavior.
44+
- This feature is turned off by default. You can enable it through the `BCDD::Result.config.feature.enable!(:and_then!)`.
45+
- The method called by default (`:call`) can be changed through `BCDD::Result.config.and_then!.default_method_name_to_call = :perform`.
46+
4047
### Changed
4148

4249
- **(BREAKING)** Renames the subject concept/term to `source`. When a mixin is included/extended, it defines the `Success()` and `Failure()` methods. Since the results are generated in a context (instance or singleton where the mixin was used), they will have a defined source (instance or singleton itself).

0 commit comments

Comments
 (0)