This repository has been archived by the owner on Oct 15, 2024. It is now read-only.
Releases: gustavopch/firebase-event-sourcing
Releases · gustavopch/firebase-event-sourcing
v1.0.0-alpha.14
1.0.0-alpha.14 (2021-08-11)
Bug Fixes
- dist entries pointing to wrong path (6dd029b)
- remove types from global scope to prevent leaking them (65b22ea)
- wrong return type in Client#dispatch (aad0636)
Features
- add prefix to flow and view types (0515df1)
- add TAppDefinition type param to App (dd8a140)
- add timestamp to CommandMetadata (ac6911c)
- add withScope method to LoggerService (7e46a5c)
- bring projection persistence code into the lib (7f91392)
- change AggregateService#get to allow getting multiple (87aeb1b)
- change dispatch signature for a better auto-complete (0ee6ad6)
- create new ProjectionsService (d7544a4)
- define events through type params in ViewDefinition and FlowDefinition (a811767)
- explicitly define collection name in ViewDefinition (48ee92e)
- export new Context type (ab97c48)
- implement generateId util (3bb9dcd)
- implement LoggerService (8a1cdcf)
- implement view reactions (19a76e1)
- include metadata to commands passed to the handler (55a0ab1)
- let projection handler return array (fcac920)
- let projection handlers delete documents (7c2359f)
- let userland services be accessed through the context (76a1fa5)
- make IP and user agent non-optional in ClientInfo (ffb3733)
- make metadata non-optional in app.dispatch() (28f9701)
- make metadata optional in App#dispatch (1fed69c)
- move user ID out of ClientInfo and make it non-nullable (3d11d57)
- pass aggregate to handlers instead of its state only (9f6a32d)
- pass context with logger and userland services to flow handlers (356ce08)
- pass different contexts for both commands and projections (4170572)
- remove the concept of a context (b4cc65a)
- split AggregatesService#get into get and getAll (58a863f)
- stop using transaction in runProjections as it's not needed (594cc7d)
- use firebase.firestore.Timestamp in timestamp fields (2abad63)
v1.0.0-alpha.13
1.0.0-alpha.13 (2020-10-22)
Features
v1.0.0-alpha.12
1.0.0-alpha.12 (2020-10-21)
Features
- add CommandCreationProps, CommandPreset, etc. helper types (355df8e)
- expose Aggregate and AggregateState types (dc1a69d)
- implement API key authorization (d5a87c9)
- let CommandHandler generate multiple events (39067ae)
- let EventHandler return partial state (377ecc7)
- let receive command with metadata in /commands (9b18525)
- pass null state to CommandHandler when aggregate doesn't exist (e7ea3af)
v1.0.0-alpha.11
1.0.0-alpha.11 (2020-10-05)
Features
v1.0.0-alpha.10
v1.0.0-alpha.9
v1.0.0-alpha.8
1.0.0-alpha.8 (2020-10-03)
Features
v1.0.0-alpha.7
1.0.0-alpha.7 (2020-10-02)
Features
v1.0.0-alpha.6
v1.0.0-alpha.5
1.0.0-alpha.5 (2020-08-19)
Bug Fixes
- standardize region and country fields to lower case in event (406fb4f)
- wrap /commands handler with try/catch (114ab5b)
Features
- validate command received in /commands (ace8131)