continuum 3.1.1
continuum: ^3.1.1 copied to clipboard
An event sourcing library for Dart with code generation support.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
3.1.1 - 2026-01-13 #
Fixed #
- Aggregate event discovery now scans all libraries in the package, so mutation apply methods and dispatch cases are generated even when the aggregate library does not import the event library (the aggregate still must import the event type for compilation).
3.1.0 - 2026-01-13 #
3.0.0 - 2026-01-12 #
Breaking Changes #
- BREAKING:
ContinuumEventnow implementsZooperDomainEventfor better integration with other Zooper packages.
Fixed #
JsonEventSerializer.deserializenow always includes ametadatakey (empty when no stored metadata) in the payload passed tofromJson.- Code generation now emits
ContinuumEventforapplyEvent(...),replayEvents(...), andcreateFromEvent(...)(instead of the non-existentDomainEvent).
2.0.0 - 2026-01-08 #
Breaking Changes #
- BREAKING: Renamed
@Eventannotation to@AggregateEventto avoid naming conflicts with user code. - BREAKING: Renamed
ofAggregate:parameter toof:in@AggregateEventannotation. - BREAKING: Renamed
DomainEventclass toContinuumEventto avoid naming conflicts. - BREAKING: Renamed
Sessioninterface toContinuumSessionto avoid naming conflicts. - BREAKING: Renamed
StoredEvent.fromDomainEvent()toStoredEvent.fromContinuumEvent(). - BREAKING: Updated all parameter names from
domainEventtocontinuumEvent.
Other Changes #
- Updated generator implementation for analyzer 8 API changes.
- Updated generator dependencies for
source_gen ^4.0.0(includinganalyzerandbuild).
1.0.0 #
- Initial release with event sourcing core functionality.
- Added
@Aggregate()and@Event()annotations for code generation. - Added strong types:
EventId,StreamId. - Added persistence interfaces and store implementations.
- Added exception types for error handling.