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.4
v1.0.0-alpha.3
1.0.0-alpha.3 (2020-08-18)
Bug Fixes
- add ignoreUndefinedProperties flag in src/functions.ts (f216811)
- change client to send Authorization header (66af3fc)
- use transaction to calculate new aggregate revision (be0cf68)
- example: wrong type in ifOrderPlacedThenSendEmail (d44217b)
Features
- add IP, user agent and location to EventMetadata (943238e)
- create new client field in EventMetadata (092fa61)
- delete job scheduling implementation (0ac77c2)
- enable CORS in /commands (6d61c1f)
- group latitude and longitude in coordinates field in Location (237b17c)
- implement aggregate state with new EventDefinition (00923e9)
- implement CommandDefinition#isAuthorized (142c5b1)
- protect commands endpoint (59afd6f)
- remove defineXXX functions (0c4194c)
- remove the queries from the views (bfb74d6)
- remove ViewStore (8cf11be)
- rename AggregateSnapshot to just Snapshot (3307cf1)
- rename userAgent field to ua (f4ce6ae)
- replace loadApp by new createClient (0655755)
- replace some param types by ApplicationDefinition (34ee702)
- replace usage of Firebase's Timestamp by plain-old number (625b146)
- return error from /commands when aggregate is not found (2b82032)
- revamp createClient to not depend on the domain in runtime (9d5fa68)
- revamp to use HTTPS Function to receive commands (c48ccc7)
- separate contextName from aggregateName (8388eb0)
- stop storing the fully qualified name in Command and Event (1108a5e)
- use processCommand in FlowManager#runCommand (0aabc0d)
- wrap CommandHandler into new CommandDefinition (29a0765)
Performance Improvements
- example: remove firebase from functions' package.json (ad299c2)