Skip to content

v0.16.0-beta.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@dgeb dgeb released this 10 Feb 17:40

This is the first pre-release of Orbit v0.16. This is also the first release with a formal changelog.

Two new packages have been introduced since v0.15:

  • @orbit/record-cache - Extracts the Cache class from @orbit/store as well as its associated processors to provide an abstract base for creating sources that access and maintain a complete set of records. Sync and async versions of caching logic are supported. This package is now used not only by @orbit/store, but also by @orbit/indexeddb and @orbit/local-storage.

  • @orbit/serializers - A set of interfaces and serializer classes that can be used by sources to serialize / deserialize primitive data types. Serializers are now used within the JSONAPISerializer to handle types such as boolean, string, date, datetime, and number. Serializers for custom types can also be registered (see #591 for a complete description).

When upgrading your applications to v0.16, please consider the breaking changes below. Where possible, deprecation warnings have been provided.

Changelog

💥 Breaking Change

  • @orbit/data, @orbit/indexeddb, @orbit/jsonapi, @orbit/local-storage, @orbit/record-cache, @orbit/store
    • #574 Deprecate replaceRecord op in favor of updateRecord (@dgeb)
  • @orbit/coordinator, @orbit/core, @orbit/data, @orbit/indexeddb-bucket, @orbit/indexeddb, @orbit/jsonapi, @orbit/local-storage-bucket, @orbit/local-storage, @orbit/record-cache, @orbit/store, @orbit/utils
    • #573 [BREAKING] Expose assert + deprecate only on OrbitGlobal (@dgeb)
  • @orbit/coordinator, @orbit/core, @orbit/data, @orbit/record-cache, @orbit/store
    • #567 Define Listener interface and remove support for explicit binding object in listeners (@dgeb)

🚀 Enhancement

  • @orbit/data, @orbit/jsonapi
    • #591 [jsonapi] Use new serializers for serializing / deserializing attribute values (@dgeb)
    • #587 Expand areas in which meta data is allowed (@dgeb)
    • #586 Define Link interface and links objects (refactor of #509) (@dgeb)
  • @orbit/jsonapi, @orbit/serializers
    • #590 JSONAPISerializer implements new Serializer interface (@dgeb)
  • @orbit/serializers
  • @orbit/store
  • @orbit/data, @orbit/indexeddb, @orbit/local-storage, @orbit/record-cache, @orbit/store
    • #584 Support finding records by an array of identities (@dgeb)
    • #555 Extract new @orbit/record-cache package (@dgeb)
  • @orbit/coordinator, @orbit/data
    • #581 Introduce "hints" for requests (@dgeb)
  • @orbit/jsonapi
    • #572 [jsonapi] allowedContentTypes can be customized (@dgeb)
    • #571 [jsonapi] Consider application/json to be valid content (@dgeb)
  • @orbit/immutable
    • #550 Expand capabilities of ImmutableMap (@dgeb)

🐛 Bug Fix

  • @orbit/core, @orbit/local-storage, @orbit/store
  • @orbit/jsonapi
  • @orbit/data
  • @orbit/coordinator, @orbit/core, @orbit/data, @orbit/immutable, @orbit/indexeddb-bucket, @orbit/indexeddb, @orbit/jsonapi, @orbit/local-storage-bucket, @orbit/local-storage, @orbit/record-cache, @orbit/store, @orbit/utils

📝 Documentation

  • #593 Clarify Orbit’s purpose and primary use cases (@dgeb)

🏠 Internal

  • @orbit/data, @orbit/store
    • #582 Remove unused exception classes + other minor cleanup (@dgeb)
  • @orbit/coordinator, @orbit/core, @orbit/data, @orbit/immutable, @orbit/indexeddb-bucket, @orbit/indexeddb, @orbit/jsonapi, @orbit/local-storage-bucket, @orbit/local-storage, @orbit/record-cache, @orbit/store, @orbit/utils
    • #579 Use prepare npm task instead of deprecated prepublish (@dgeb)
    • #570 Fix security alerts (@dgeb)
    • #569 Further typing improvements + test refactor (@dgeb)
  • Other

Committers: 5