Skip to content

v0.17.0-beta.7

Pre-release
Pre-release
Compare
Choose a tag to compare
@dgeb dgeb released this 16 Sep 18:10

This beta release contains a fix to the mergeOperations function, which is especially important when merging a fork of a memory source back into its root. addRecord + updateRecord operations are now fully coalesced (#780). Thanks to @chbonser for reporting and creating a failing test.

Also included are a few refinements to the new serializers in @orbit/jsonapi. Now, by default, attributes of type object, array, and unknown (i.e. undefined) will be handled by the NoopSerializer, so the values will be passed through "as-is" on serialization / deserialization. This behavior can be overridden per type, but should provide a smoother transition for developers who had used these types, or no types, to define attributes in their schemas in v0.16.

Changelog

🚀 Enhancement

  • @orbit/jsonapi
    • #783 [jsonapi] Register object and array types to use NoopSerializer by default (@dgeb)
    • #775 Add unknown serializer (@tchak)

🐛 Bug Fix

  • @orbit/data
    • #780 Support coalescing of addRecord/updateRecord + updateRecord (@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/serializers, @orbit/utils
  • @orbit/record-cache
    • #776 Expand record-cache tests for liveQuery (@dgeb)

Committers: 3