Releases: Whaally/Domain
Releases · Whaally/Domain
v2.0.0-beta.9
2.0.0-beta.9 (2025-01-06)
Bug Fixes
- allow collection of results to continue upon failure. (4f192f3)
- cancel further evaluation of services, commands and events in case of a failure. (e8e34b7)
- iterate further on how to signal results from an operation (2cadcb5)
- service test breaking synchronously (band aid) (75301c1)
Features
- add an EvaluateCommands method to the ICommandHandlerContext (1526b45)
v2.0.0-beta.8
2.0.0-beta.8 (2025-01-05)
Bug Fixes
-
add a transaction id to evaluations from the domain context (43d3f29)
-
refactor the IAsyncEnumerable out of the saga (3ebdc28)
-
refactor IAsyncEnumerable out of the service handler context (48d5d12)
-
Rename the handle method of a service to "invoke". (383a1e3)
Features
- refactor command handlers to return an IEnumerable instead of an IResultBase instance. (bd2c2f5)
- refactor IReason return out of the ICommandHandler.Evaluate method (12a4a09)
- refactor the saga handler to return an IAsyncEnumerable containing IReasons (e27f095)
- refactor the service handler evaluate method to return an IAsyncEnumerable containing IReason implementations rather than an IResultBase implementation. (7325de7)
BREAKING CHANGES
- The ISaga.Evaluate no longer accepts an IAsyncEnumerable as return value. Add reasons through the context.Result property instead.
- The IServiceHandler.Invoke method no longer accepts an IAsyncEnumerable containing reasons. These should be applied to the context.Result property.
- Command handlers should now attach result or reason information to the context.Result property.
- IServiceHandler.Handle renamed to IServiceHandler.Invoke. Naming in handler context objects has changed as well.
- The ISaga.Evaluate now returns a IAsyncEnumerable rather than a Task
- The IServiceHandler.Evaluate method should now return a IAsyncEnumerable rather than a Task
- ICommandHandler implementations now have to return a IEnumerable rather than a IResultBase instance
v2.0.0-beta.7
2.0.0-beta.7 (2025-01-04)
Bug Fixes
- clean up namespace usage (caa375d)
- refactor to replace command and event envelopes/metadata with concrete types (7d785a1)
- replace (serializable) messaging interfaces with concrete types (588da2a)
Features
- bump dependency versions (b5c428a)
BREAKING CHANGES
- message envelopes and message metadata objects have been moved to the abstractions project, and related interfaces have been removed.
v2.0.0-beta.6
v2.0.0-beta.5
2.0.0-beta.5 (2024-12-31)
Features
- add a
Whaally.Domain.Testing
package containing rudimentary test harnesses for testing domain behaviour (6c5c827) - split off project abstractions into the
Whaally.Domain.Abstractions
package (0cc3de0)
BREAKING CHANGES
- interfaces have been moved to a separate project
v2.0.0-beta.4
2.0.0-beta.4 (2024-12-16)
Bug Fixes
- break the failed integration test. Warning: only this single test succeeds now. The sample itself is still fairly broken (20bc760)
v2.0.0-beta.3
2.0.0-beta.3 (2024-12-15)
Bug Fixes
- improve the locking mechanism (a782fe4)
Features
- use the transactional aggregate handler on the orleans aggregate handler grain (1e426f3)
v2.0.0-beta.2
2.0.0-beta.2 (2024-12-12)
Bug Fixes
v2.0.0-beta.1
2.0.0-beta.1 (2024-12-11)
Bug Fixes
- add the aggregate type to the command metadata and event metadata (107dfa2)
- design the service envelope to only contain a single service (7300630)
- put an activity with the service handler context for better visibility into service behaviour (071147c)
- refactor initialization of handler types through the domain context (9429ef6)
Features
- implement distributed instrumentation (e733bf3)
BREAKING CHANGES
- removed init only properties in domain context in favour of constructor arguments
v1.3.0-beta.2
1.3.0-beta.2 (2024-12-11)
Bug Fixes
- homogenize instantiation of context objects through the
IContextFactory
object (beceba5)