This repository has been archived by the owner on Oct 15, 2024. It is now read-only.
v1.0.0-alpha.14
Pre-release
Pre-release
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)