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

3.0.0-alpha.25

Pre-release
Pre-release
Compare
Choose a tag to compare
@brettwillis brettwillis released this 16 Jan 10:28
· 92 commits to master since this release
cf0f65f

This release includes a significant revamp of many parts of the API exposed by this connector as well as the internal implementation, including:

  • Compatbility with Strapi 3.4 (was incompatible)
  • Completion of all relation types (including polymorphic and components)
  • References to flattened collections are now stored as objects, not strings (but parsing legacy string representation is still supported for now)
  • Transactions cache reads and combine writes to minimise operations and conflicts within each query
  • Support customisable indexing and querying fields inside embedded repeatable and dynamic-zone components
  • Queries return coerced data consistent with what is written to the database

Changes to the API:

  • Options for logging queries and transaction stats
  • Improved typings
  • Rationalise Reference API to align with Firestore DocumentReference (:warning: breaking)
  • Improve Transaction API (:warning: breaking)
  • Custom converter has moved from the .config.js file to the .settings.js file (:warning: breaking)
  • The flattenModels and allowNonNativeQueries options have been simplified and more powerful (:warning: breaking)
  • Fix spelling of ensureComponentIds option, and change default to true (:warning: breaking)
  • Type coercion and relation updates are moved into the model.db layer so relations are always in sync