A lightweight reactive data library for javascript applications. Designed over composable primitives.
Chris Thoburn (@runspired)
Chris Thoburn (@runspired)
Krystan HuffMenne (@gitKrystan) Kirill Shaplyko (@Baltazore) Chris Thoburn (@runspired) OMKAR MAKHARE (@omimakhare) Agnik Bakshi (@Agnik7) @BoussonKarel Jared Galanis (@jaredgalanis) Eric Kelly (@HeroicEric)
This release primarily focused on polish for the RequestManager
story, introducing builder utils, builders for REST
ActiveRecord
and JSON:API
requests as well as serialization utils for JSON:API
requests.
As part of shipping serialization utils, we implemented several long-awaited cache features to support them:
cache.changedRelationships
retrieves a diff of what has been added or removed from each relationship for a resourcecache.hasChangedRelationships
answers whether any relationships have changed for a resourcecache.rollbackRelationships
will reset all relationships for that resource to their "remote" state, removing any local changes.As part of our ongoing efforts to modernize the library and to support the above changes, we implemented several new deprecations.
ember-data/
) except for ember-data/store
1
instead of "1"
)And in relationships specifically:
adapter
, model
, private-build-infra
, serializer
ember-cli-mocha
and ember-mocha
when generating test blueprints (@bertdeblock)JSONAPISerializer.shouldSerializeHasMany
relation param type (@samridhivig)