CHANGELOG.md in bcdd-result-0.10.0 vs CHANGELOG.md in bcdd-result-0.11.0

- old
+ new

@@ -1,40 +1,57 @@ - [\[Unreleased\]](#unreleased) -- [\[0.10.0\] - 2023-12-31](#0100---2023-12-31) +- [\[0.11.0\] - 2024-01-02](#0110---2024-01-02) - [Added](#added) -- [\[0.9.1\] - 2023-12-12](#091---2023-12-12) - [Changed](#changed) - - [Fixed](#fixed) -- [\[0.9.0\] - 2023-12-12](#090---2023-12-12) +- [\[0.10.0\] - 2023-12-31](#0100---2023-12-31) - [Added](#added-1) +- [\[0.9.1\] - 2023-12-12](#091---2023-12-12) - [Changed](#changed-1) -- [\[0.8.0\] - 2023-12-11](#080---2023-12-11) + - [Fixed](#fixed) +- [\[0.9.0\] - 2023-12-12](#090---2023-12-12) - [Added](#added-2) - [Changed](#changed-2) - - [Removed](#removed) -- [\[0.7.0\] - 2023-10-27](#070---2023-10-27) +- [\[0.8.0\] - 2023-12-11](#080---2023-12-11) - [Added](#added-3) - [Changed](#changed-3) -- [\[0.6.0\] - 2023-10-11](#060---2023-10-11) + - [Removed](#removed) +- [\[0.7.0\] - 2023-10-27](#070---2023-10-27) - [Added](#added-4) - [Changed](#changed-4) -- [\[0.5.0\] - 2023-10-09](#050---2023-10-09) +- [\[0.6.0\] - 2023-10-11](#060---2023-10-11) - [Added](#added-5) -- [\[0.4.0\] - 2023-09-28](#040---2023-09-28) - - [Added](#added-6) - [Changed](#changed-5) +- [\[0.5.0\] - 2023-10-09](#050---2023-10-09) + - [Added](#added-6) +- [\[0.4.0\] - 2023-09-28](#040---2023-09-28) + - [Added](#added-7) + - [Changed](#changed-6) - [Removed](#removed-1) - [\[0.3.0\] - 2023-09-26](#030---2023-09-26) - - [Added](#added-7) -- [\[0.2.0\] - 2023-09-26](#020---2023-09-26) - [Added](#added-8) +- [\[0.2.0\] - 2023-09-26](#020---2023-09-26) + - [Added](#added-9) - [Removed](#removed-2) - [\[0.1.0\] - 2023-09-25](#010---2023-09-25) - - [Added](#added-9) + - [Added](#added-10) ## [Unreleased] +## [0.11.0] - 2024-01-02 + +### Added + +- Add the `Given()` addon to produce a `Success(:given, value)` result. As the `Continue()` addon, it is ignored by the expectations. Use it to add a value to the result chain and invoke the next step (through `and_then`). + +### Changed + +- **(BREAKING)** Rename halted concept to terminal. Failures are terminal by default, but you can make a success terminal by enabling the `:continue` addon. + +- **(BREAKING)** Rename `BCDD::Result::Context::Success#and_expose` halted keyword argument to `terminal`. + +- **(BREAKING)** Rename `BCDD::Result#halted?` to `BCDD::Result#terminal?`. + ## [0.10.0] - 2023-12-31 ### Added - Add `BCDD::Result.transitions(&block)` to track all transitions in the same or between different operations. When there is a nesting of transition blocks, this mechanism will be able to correlate parent and child blocks and present the duration of all operations in milliseconds. @@ -43,10 +60,10 @@ ## [0.9.1] - 2023-12-12 ### Changed -- **(BREAKING)** Make `BCDD::Result::Context::Success#and_expose()` to produce a halted success by default. You can turn this off by passing `halted: false`. +- **(BREAKING)** Make `BCDD::Result::Context::Success#and_expose()` to produce a terminal success by default. You can turn this off by passing `halted: false`. ### Fixed - Make `BCDD::Result::Context#and_then(&block)` accumulate the result value.