v0.16.0-beta.9
Pre-releaseThis is a big release containing a wide variety of enhancements, bug fixes, and internal cleanup.
Some additions of particular note:
-
The
@orbit/jsonapisource now supports theUpdatableinterface, which can be more user-friendly to directly interact with than thePullableinterface. #667 -
filter|sort|pagesupport has been added tofindRelatedRecordsqueries and all the standard implementations. #669 -
Explicit source
activateanddeactivatemethods have been added to provide hooks to ensure that sources have performed any setup and teardown steps prior to processing. These hooks are automatically called as part of coordinator activation / deactivation, and sources themselves will auto-activate by default (note that this is an async process that can be watched via the newactivatedproperty). #671 -
Whenever tasks are cancelled and removed from a queue (such as a source's
requestQueueorsyncQueue), the promise associated with that task will now always be rejected (if it hasn't already settled). You can control the rejection error or use the default error. #673
Thanks to @tchak, @lukemelia, and @dgeb for all the hard work!
Changelog
🚀 Enhancement
@orbit/core@orbit/jsonapi@orbit/coordinator,@orbit/data,@orbit/integration-tests@orbit/data,@orbit/jsonapi,@orbit/record-cache@orbit/data- #662 Warn if naive singularize method receives a word that doesn't end in "s" (@lukemelia)
🐛 Bug Fix
@orbit/core@orbit/coordinator,@orbit/data,@orbit/integration-tests
🏠 Internal
@orbit/coordinator,@orbit/core,@orbit/data,@orbit/identity-map,@orbit/indexeddb-bucket,@orbit/indexeddb,@orbit/integration-tests,@orbit/jsonapi,@orbit/local-storage-bucket,@orbit/local-storage,@orbit/memory,@orbit/record-cache,@orbit/store@orbit/data,@orbit/jsonapi,@orbit/record-cache,@orbit/utils@orbit/indexeddb,@orbit/local-storage,@orbit/memory,@orbit/record-cache@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/serializers,@orbit/store,@orbit/utils
Committers: 3
- Dan Gebhardt (@dgeb)
- Luke Melia (@lukemelia)
- Paul Chavard (@tchak)