Skip to content

v6.0.0

Choose a tag to compare

@NickTsitlakidis NickTsitlakidis released this 20 May 06:12
· 31 commits to main since this release

6.0.0 (2026-05-19)

馃殌 Features

  • core,mongodb,postgresql: Added a purgeAggregate method to the event store to remove an aggregate and all its events. (#53)

鈿狅笍 Breaking Changes

  • mongodb: The peer dependency on mongodb has been bumped to 7.x. Consumers must upgrade their mongodb dependency.
  • core,mongodb,postgresql: Dropped support for Node.js 20.x. The minimum supported version is now 22.x.
  • core: The EventStore interface has been updated to include a new method purgeAggregate for purging an aggregate's events and the aggregate itself.

馃┕ Fixes

  • mongodb: Event store's save method now uses transactions properly. Edge cases for the update of aggregate root version have also been fixed. (#55)
  • postgresql: Event store's save method has been updated to fix edge cases when updating aggregate root version. (#56)