This repository has been archived by the owner on Oct 11, 2023. It is now read-only.
Releases: arrowheadapps/strapi-connector-firestore
Releases · arrowheadapps/strapi-connector-firestore
3.0.0-alpha.47
- Update dependencies
- Breaking change: Update
@google-cloud/firestore
to^6.0.0
3.0.0-alpha.46
- Allow the
onChange(...)
hook to edit the data that is stored to Firestore - The
onChange(...)
hook will now run on all explicit edits to a document, not just edits made via the query interface - Add success hooks feature to the
Transaction
interface
Full Changelog: v3.0.0-alpha.45...v3.0.0-alpha.46
3.0.0-alpha.45
- Fix bad implementation of previous release (allowing mismatched references to remain in place)
Full Changelog: v3.0.0-alpha.44...v3.0.0-alpha.45
3.0.0-alpha.44
- Add option allowing broken/mismatched references to remain (ignored) without being automatically removed
Full Changelog: v3.0.0-alpha.43...v3.0.0-alpha.44
3.0.0-alpha.43
- Add a parameter for reference to self in the
onChange(...)
hook - Fix for coercion of polymorphic references
- Update dependencies
Full Changelog: v3.0.0-alpha.42...v3.0.0-alpha.43
3.0.0-alpha.42
- Implement
addNativeWrite()
to the transaction interface to allow adding native write operations to the underlying Firestore transaction - Add maxAttempts option to transaction
- Add
...$empty
metadata indicator to component indexing to enable querying for empty components without the need for inequality (!= null
) filter, which is quite restrictive
3.0.0-alpha.41
- Extend the functionality of the
onChange
transaction hook. It can now return an "on tranaction success" hook which will be executed only once, after the transaction has been successfully committed to the database. Can be used for logic that should be executed only once, whereas theonChange
hook will be executed multiple times if the transaction is retried. - Supress logging of transaction stats for "virtual" models
3.0.0-alpha.40
- Implement model entity change hook
onChange(previousData: T | undefined, newData: T | undefined, transaction: Transaction) => void | Promise<void>
3.0.0-alpha.38
- Fix coercion of metadata attributes (which are arrays)
- Fix counting of read operations for queries
3.0.0-alpha.37
- Optimise by using read-only transactions where possible
- New feature: before- and after-mount hooks for loading models
- New feature: virtual models
- Virtual models are not stored in Firestore
- Data is provided by a super simple delegate
- Can be used to "eliminate"/virtualise models such as the internal core store, or Roles and Permissions models (advanced usage)