File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ All notable changes to this project will be documented in this file. This projec
55
66## Unreleased
77
8+ ## [ 3.0.0-rc.1] - 2025-01-12
9+
810### Added
911
1012- Commands can now be queued by the presentation and delivery layer via the ` CommandQueuer ` port. Refer to the command
Original file line number Diff line number Diff line change 11# Upgrade Guide
22
3+ ## 2.x to 3.x-rc.x
4+
5+ Upgrade using Composer:
6+
7+ ``` bash
8+ composer config minimum-stability rc
9+ composer require cloudcreativity/ddd-modules:^3.0
10+ ```
11+
12+ ### Messages
13+
14+ The message interfaces have been moved to the toolkit namespace. This is to make it clearer that these are part of the
15+ toolkit, not the application or infrastructure layers. It matches the ` Result ` and ` Error ` interfaces that are already
16+ in the ` Toolkit\Result ` namespace. I.e. now the toolkit contains both the input and output interfaces.
17+
18+ This is a quick upgrade if you do a search and replace for the following:
19+
20+ - ` Contracts\Application\Messages ` => ` Contracts\Toolkit\Messages `
21+
22+ ### Command Queuing
23+
24+ Previously the command bus had a ` queue() ` method on it. This has been removed and replaced with a new ` CommandQueuer `
25+ interface. This is documented in the [ Commands chapter.] ( ./application/commands.md#command-queuer )
26+
27+ The upgrade is relatively easy. You'll need to expose a new ` CommandQueuer ` driving port. Then wherever in your
28+ presentation and delivery layer that you need to queue a command, import that port instead of the ` CommandBus ` port.
29+
30+ The documentation provides guidance on how to set up a command queuer port.
31+
332## 1.x to 2.x
433
534Upgrade using Composer:
You can’t perform that action at this time.
0 commit comments