Releases: event-driven-io/emmett
Releases · event-driven-io/emmett
0.22.1
📝 What's Changed
- [MongoDB Event Store]: Fix metadata properties / export
emmett-mongodb/eventStore/projections
by @alex-laycalvert in #134
Full Changelog: 0.22.0...0.22.1
0.22.0
🚀 What's New
- Added Async subscriptions for PostgreSQL event store by @oskardudycz in 128
- BREAKING: Provided inline projection implementation and adjusted MongoDB stream schema. Now you can update projections during appending events in one atomic update by @alex-laycalvert and @oskardudycz in 127
- BREAKING: Reshaped event store event metadata types to allow extending specific event store implementation For instance, thanks to that, PostgreSQL and EventStoreDB implementations can return global position after append, while MongoDB is not forced to do it by @oskardudycz in 132
📝 What's Changed
- Fixed missing WebStreams Pollyfill peer dependency in Emmett by @oskardudycz in 129, 133
- Bumped Pongo to 0.16.4 by @oskardudycz in 129, 133
Full Changelog: 0.21.1...0.22.0
0.21.1
📝 What's Changed
- Fixed the issue in Pongo projection that gets the empty object instead of null when the document doesn't exist by @oskardudycz in #130
Full Changelog: 0.21.0...0.21.1
0.21.0
🚀 What's New
- Added first version of MongoDB event store. It's available in the new
@event-driven-io\emmett-mongodb
package throughgetMongoDBEventStore
method by @alex-laycalvert in #126
Full Changelog: 0.20.2...0.21.0
0.20.2
📝 What's Changed
- Fixed browser-only usage of Emmett package introduced in 0.20.0 by @oskardudycz in #125
- Fixed Commonjs compatibility by @oskardudycz in #122
Full Changelog: 0.20.1...0.20.2
0.20.1
📝 What's Changed
- Fix
CommandHandler
type definition forhandleOptions
By accident the 0.20.0 provided regression for the event store customisation if you're building your own based on Emmett's abstractions by @alex-laycalvert in 123
Full Changelog: 0.20.0...0.20.1
0.20.0
🚀 What's New
- [BREAKING] Command handling idempotency improvements. This will allow automatic retries, e.g. for optimistic concurrency check, and also ignoring the command by returning an empty array. All of that should give easier handling for idempotent handlers. by @oskardudycz in 119
- Added Support for an async
decide
/handle
function forCommandHandler
Kids, be careful with that! by @alex-laycalvert in 99 - Added streaming capabilities. That's the foundational work for event subscriptions and event streaming through WebStreams. by @oskardudycz in 76
📝 What's Changed
- Bumped pongo 0.16.1 by @oskardudycz in 120
- Fixed Dockerfile configuration to use esmodules instead of common js by @oskardudycz in 121
Full Changelog: 0.19.1...0.20.0
0.19.1
📝 What's Changed
- Bumped Pongo to 0.15.3 version by @oskardudycz in #118
- Updated samples to Emmett 0.19.0 version by @oskardudycz in #118
Full Changelog: 0.19.0...0.19.1
0.19.0
🚀 What's New
- Bumped Pongo to 0.15.0 by @oskardudycz in 115, 117. Check detailed log of changes in Pongo 0.14.0 and 0.15.0 release notes.
- Added Initial Emmett CLI. The migration support will come tho in the follow up release. by @oskardudycz in 116
Full Changelog: 0.18.0...0.19.0
0.18.0
🚀 What's New
- Added default implementation of PostgreSQL event store session It automatically reuses a single connection inside the same command handler. That cut the time to at least a half for command handling processing. by @oskardudycz in #110
- Added also capability to migrate, return string and print schema for PostgreSQL event store. You can do it with:
// migrate
await eventStore.schema.migrate();
// print
eventStore.schema.print();
// return
const sql = evenStore.schema.sql();
There'll be a follow-up release with the command line utility. by @oskardudycz in #110
- Added benchmark configuration to generate schema upfront by @oskardudycz in #109, #110
##📝 What's Changed
- Updated to Pongo 0.13.0 and other peer dependencies This is technically a breaking change, as some dependencies were bumped by a major version. by @oskardudycz in #113
- Updated TS config to fix debugging by @oskardudycz in #114
Full Changelog: 0.17.0...0.18.0