Skip to content

v5.0.0

Choose a tag to compare

@NickTsitlakidis NickTsitlakidis released this 22 Feb 17:33

5.0.0 (2026-02-22)

馃殌 Features

  • core,mongodb,postgresql: Added snapshot support for snapshot-aware aggregates, including configurable snapshot strategies and findWithSnapshot retrieval. (#47)

鈿狅笍 Deprecations

  • core: Deprecated @AggregateRootName in favor of @AggregateRootConfig (planned removal in 7.x).

馃┕ Fixes

  • postgresql: SchemaConfiguration is now exported from @event-nest/postgresql.

鈿狅笍 Breaking Changes

  • core: Removed the deprecated appendedEvents getter from AggregateRoot.
  • core: The EventStore interface now includes a new method to be implemented: findWithSnapshot
  • core: The constructor of AbstractEventStore now requires a second parameter of type AbstractSnapshotStore.
  • postgresql: Removed the deprecated aggregatesTableName getter from PostgreSQLEventStore
  • postgresql: Removed the deprecated eventsTableName getter from PostgreSQLEventStore
  • postgresql: Removed the deprecated schemaName getter from PostgreSQLEventStore
  • postgresql: The constructor of PostgreSQLEventStore now requires four parameters: DomainEventEmitter, PostgreSQLSnapshotStore, SchemaConfiguration, Knex
  • mongodb: The constructor of MongoEventStore now requires an additional MongoSnapshotStore parameter

New Contributors