Releases: ReactiveDomain/reactive-domain
Releases · ReactiveDomain/reactive-domain
v0.9.0
What's Changed
Improvements
- Adds Policy, PolicyStorage, and IdentityStorage projects, all of which are packaged into a new ReactiveDomain.Policy nuget package. These support Role-Based Access Control using OIDC identity tokens from an external identity provider. Policies can be applied on a dispatcher for fine-grained access control at the level of individual Commands.
- Adds PolicyTool for configuring RBAC policies in ReactiveDomain from the command line. This is included in the ReactiveDomain.Policy nuget package.
- Adds a ConfiguredConnection to wrap all information about an ESDB connection into a single object. This simplifies getting readers, listeners, and repositories, and helps ensure consistent stream naming.
- Adds support for ChildEntities. These are aggregates that are children of other aggregates, i.e. related domain entities whose Events use the same stream as the parent aggregate.
- Fixes an issue in TestQueue related to #101 that could cause WaitFor to fail in some circumstances.
- Updates from to ESDB 5.0 to 21.10.2.
- Adds support for .NET Framework 4.8 and .NET 5.
Breaking changes
- Supported .NET versions are .NET Standard 2.0, .NET Framework 4.8, and .NET 5.0.
- Replaces EventStoreLoader with EventStoreLauncher, and removes the StreamStoreConnectionSettings in favor of using connection strings.
- Removes the PrivateLedger projects.
- StreamReader now has a handler injected into its constructor, and its Read method takes a Func to indicate when processing of the Events has completed.
- By default, streams created using the MockRepositorySpecification have a schema (prefix) of "Test". This can be overridden.
Full Changelog: v0.8.23...v0.9.0
v0.8.23
What's Changed
Improvements
- Resolve issue in TestQueue.WaitFor by @joshkempner in #102
- Add and update Intellisense comments in ReactiveDomain.UI and ReactiveDomain.UI.Testing classes by @joshkempner in #103
- Expose delete functionality from ES connection to aggregates by @joshkempner in #98
- Numerous enhancements to the TCP bus by @joshkempner in #110
Breaking Changes
- The TCP bus's public interface is changed to support enhanced filtering by message type and custom message serializers
Dependencies
- Bump Microsoft.CSharp from 4.5.0 to 4.7.0 by @joshkempner in #88
Full Changelog: 0.8.22...v0.8.23
v0.8.22
- Breaking changes to signature of
IRepository
: ReplacedUpdateToCurrent
withUpdate
and simplified signatures ofGetById<T>
andTryGetById<T>
- Improvements to aggregate caching: ability to update an
IEventSource
with new events if it becomes stale; easier use of caching withinCorrelatedStreamStoreRepository
. - Add assembly version tolerance in serialization. Default to not including the Assembly Version and PublicKeyToken when serializing to allow seamless assembly versioning.
- Minor improvement to
ConcurrentMessageQueue
for testing.