Skip to content

v0.17.0-beta.12

Pre-release
Pre-release
Compare
Choose a tag to compare
@dgeb dgeb released this 17 Feb 14:51
· 304 commits to main since this release

With this release, all of Orbit's standard sources now support the Queryable and Updatable interfaces. Thus, you can now call query or update against an IndexedDBSource or LocalStorageSource in the same way that you can query or update a MemorySource or JSONAPISource. Furthermore, all caches now support query and update (some sync and some async), so there is broad consistency across the board. 🎉

As mentioned in #813:

This will allow for the deprecation of Pullable and Pushable, now that equivalent results can be achieved via query and update calls with the fullResponse: true option. Reducing the number of interfaces per-source should be a nice simplification that allows for more flexibility.

These deprecations should happen just prior to, or following, the final release of v0.17 (i.e. very soon).

Changelog

🚀 Enhancement

  • @orbit/coordinator
    • #814 Coordinator: Allow generic typing of getStrategy & getSource (@dgeb)
  • @orbit/indexeddb, @orbit/local-storage, @orbit/memory
    • #813 Implement Queryable + Updatable across all cache-based sources (@dgeb)

🏠 Internal

  • @orbit/build, @orbit/coordinator, @orbit/core, @orbit/data, @orbit/identity-map, @orbit/immutable, @orbit/indexeddb-bucket, @orbit/indexeddb, @orbit/integration-tests, @orbit/jsonapi, @orbit/local-storage-bucket, @orbit/local-storage, @orbit/memory, @orbit/record-cache, @orbit/records, @orbit/serializers, @orbit/utils

Committers: 1