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

Releases: arrowheadapps/strapi-connector-firestore

3.0.0-alpha.47

22 Aug 09:03
fced330
Compare
Choose a tag to compare
3.0.0-alpha.47 Pre-release
Pre-release
  • Update dependencies
  • Breaking change: Update @google-cloud/firestore to ^6.0.0

3.0.0-alpha.46

07 Apr 20:40
c6d5003
Compare
Choose a tag to compare
3.0.0-alpha.46 Pre-release
Pre-release
  • 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

07 Apr 10:06
4e4c51a
Compare
Choose a tag to compare
3.0.0-alpha.45 Pre-release
Pre-release
  • 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

07 Apr 03:19
f06add5
Compare
Choose a tag to compare
3.0.0-alpha.44 Pre-release
Pre-release
  • 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

06 Apr 18:51
8fe1079
Compare
Choose a tag to compare
3.0.0-alpha.43 Pre-release
Pre-release
  • 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

16 Sep 03:20
53592d8
Compare
Choose a tag to compare
3.0.0-alpha.42 Pre-release
Pre-release
  • 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

13 Sep 18:44
09de71a
Compare
Choose a tag to compare
3.0.0-alpha.41 Pre-release
Pre-release
  • 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 the onChange hook will be executed multiple times if the transaction is retried.
  • Supress logging of transaction stats for "virtual" models

3.0.0-alpha.40

17 Aug 21:51
09bd0e5
Compare
Choose a tag to compare
3.0.0-alpha.40 Pre-release
Pre-release
  • Implement model entity change hook onChange(previousData: T | undefined, newData: T | undefined, transaction: Transaction) => void | Promise<void>

3.0.0-alpha.38

03 Aug 00:45
fdbdaac
Compare
Choose a tag to compare
3.0.0-alpha.38 Pre-release
Pre-release
  • Fix coercion of metadata attributes (which are arrays)
  • Fix counting of read operations for queries

3.0.0-alpha.37

26 Jul 02:11
f5d4c22
Compare
Choose a tag to compare
3.0.0-alpha.37 Pre-release
Pre-release
  • 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)