Skip to content

Commit a0d2bd0

Browse files
committed
Copy paste changelog notes for EmberData
1 parent ebd227a commit a0d2bd0

File tree

1 file changed

+23
-3
lines changed

1 file changed

+23
-3
lines changed

content/ember-released-5-3.md

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,35 @@ EmberData is the official data persistence library for Ember.js applications.
5656

5757
#### Bug Fixes
5858

59-
EmberData 5.3 introduced 0 bug fixes.
59+
EmberData 5.3 introduced 10 bug fixes. Details are in the
60+
[EmberData 5.3.0 release page](https://github.com/emberjs/data/releases/tag/v5.3.0).
6061

6162
#### Features
6263

63-
EmberData 5.3 introduced 0 features.
64+
EmberData 5.3 introduced 3 features.
65+
66+
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.
67+
68+
As part of shipping serialization utils, we implemented several long-awaited cache features to support them:
69+
70+
- `cache.changedRelationships` retrieves a diff of what has been added or removed from each relationship for a resource
71+
- `cache.hasChangedRelationships` answers whether any relationships have changed for a resource
72+
- `cache.rollbackRelationships` will reset all relationships for that resource to their "remote" state, removing any local changes.
6473

6574
#### Deprecations
6675

67-
EmberData 5.3 introduced 0 deprecations.
76+
EmberData 5.3 introduced 5 deprecations.
77+
78+
As part of our ongoing efforts to modernize the library and to support the above changes, we implemented several new deprecations.
79+
80+
- Deprecate legacy import paths (`ember-data/`) except for `ember-data/store`
81+
- Deprecate non-strict-type (e.g. "users" or "myType" instead of "user" and "my-type")
82+
- Deprecate non-strict-id (e.g . `1` instead of `"1"`)
83+
84+
And in relationships specifically:
85+
86+
- deprecate fixing non-unique relationship payloads (when the same record is referenced multiple times in a related collection)
87+
- deprecate remote updates clearing local changes (an upcoming blog post will explain the new behavior here in detail)
6888

6989
For more details on changes in EmberData 5.3, please review the
7090
[EmberData 5.3.0 release page](https://github.com/emberjs/data/releases/tag/v5.3.0).

0 commit comments

Comments
 (0)