Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Releases: gustavopch/firebase-event-sourcing

v1.0.0-alpha.4

19 Aug 18:43
Compare
Choose a tag to compare
v1.0.0-alpha.4 Pre-release
Pre-release

1.0.0-alpha.4 (2020-08-19)

Features

v1.0.0-alpha.3

18 Aug 20:31
Compare
Choose a tag to compare
v1.0.0-alpha.3 Pre-release
Pre-release

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)

v1.0.0-alpha.2

06 Aug 00:05
Compare
Choose a tag to compare
v1.0.0-alpha.2 Pre-release
Pre-release

1.0.0-alpha.2 (2020-08-06)

Bug Fixes

  • stop auto-building this package when installed (ccf0537)

v1.0.0-alpha.1

05 Aug 23:13
Compare
Choose a tag to compare
v1.0.0-alpha.1 Pre-release
Pre-release

1.0.0-alpha.1 (2020-08-05)

Bug Fixes

  • make CommandData nullable like EventData (3029f79)
  • make doc from ViewStore#{get,getAndObserve} nullable (0d4bc5c)
  • mark event as approved or failed in processEvent (51f3c16)

Features

  • add generics to ViewStore#{get,getAndObserve} (1508d7a)
  • generate Cloud Functions for the cron jobs (51bbb00)
  • initial commit (0978ab2)
  • rename 'handlerName' to 'commandName' (6376c1d)
  • rename 'issuerId' to 'userId' (83c151c)
  • wrap all Firebase Function factories with new createFunctions (dba36de)