Releases: swantzter/apollo-datasource-firestore
Releases · swantzter/apollo-datasource-firestore
v6.4.0
v6.3.0
- Update dependencies
eslint-config-lovewas accidentally marked as a dependency isntead of a devDependency, this is now fixed and the project has migrated to neostandard
v6.2.0
v6.1.0
v6.0.1
v6.0.0
Breaking changes
- This package is now updated for Apollo Server v4, which also makes it easier to use without apollo server.
This changes how initialisation works, there is no longer a need to call.initialize()on the class after creating it withnew
Instead you just pass it all to the constructor, therefore the second options argument of the constructor now takes a cache as well, and if none is provided an in-memory key value cache will be used - documents now automatically get
createdAtandupdatedAttimestamps
v5.3.0
v5.2.0
- If the datasource is initialised with something that isn't a firestore collection a normal
Errorwill be thrown instead of anApolloError, this allows the package to not depend onapollo-server-errorswhich in turn depends ongraphql, which saves us ~2.7M unpacked
v5.1.0
v5.0.0
Breaking Changes
- Dropped support for
@google-cloud/firestore < 5
Improvements
- All methods now handle
FieldValue - The internal
reviverandreplacerused withJSON.parseandJSON.stringifyare now present on the initialised array, to make custom interactions with the cache easier