Skip to content

Commit 4436542

Browse files
committed
Add RFCs to ember-data 5.x deprecations (for which I could find the
RFCs)
1 parent fb67e7b commit 4436542

3 files changed

+8
-1
lines changed

content/ember-data/v5/ember-data-deprecate-legacy-imports.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,13 @@ title: Legacy Imports
33
until: '6.0'
44
since: '5.3'
55
displayId: ember-data:deprecate-legacy-imports
6+
rfc: https://rfcs.emberjs.com/id/0743-ember-data-deprecate-legacy-imports
67
---
78

89
Deprecates importing from `ember-data/*` instead of `@ember-data/*` in order to prepare for the eventual removal of the legacy `ember-data/*`
910

1011
All imports from `ember-data/*` should be updated to `@ember-data/*` except for `ember-data/store`. When you are using `ember-data` (as opposed to installing the individual packages) you should import from `ember-data/store` instead of `@ember-data/store` in order to receive the appropriate configuration of defaults.
1112

1213
<!-- TODO: gather list of imports that need to be updated -->
14+
15+
This deprecation was introduced in RFC [#0743](https://rfcs.emberjs.com/id/0743-ember-data-deprecate-legacy-imports).

content/ember-data/v5/ember-data-deprecate-non-strict-types.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title: Non Strict Types
33
until: '6.0'
44
since: '5.3'
55
displayId: ember-data:deprecate-non-strict-types
6+
rfc: https://rfcs.emberjs.com/id/0740-ember-data-deprecate-non-strict-types
67
---
78

89
Currently, EmberData expects that the `type` property associated with a resource follows several conventions.
@@ -20,3 +21,5 @@ E.G. It will matter not that your string is in a specific format like singular,
2021
If using @ember-data/model, there will always be a restriction that the `type` must match the path on disk where the model is defined.
2122

2223
e.g. `app/models/foo/bar-bem.js` must have a type of `foo/bar-bem`
24+
25+
This deprecation was introduced in RFC [#0740](https://rfcs.emberjs.com/id/0740-ember-data-deprecate-non-strict-types).

content/ember-data/v5/ember-data-deprecate-store-extends-ember-object.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title: Store will no longer extend EmberObject in 6.0
33
until: '6.0'
44
since: '5.4'
55
displayId: ember-data:deprecate-store-extends-ember-object
6+
rfc: https://rfcs.emberjs.com/id/1026-ember-data-deprecate-store-extends-ember-object
67
---
78

89
The Store class extending from EmberObject is deprecated and the class will no
@@ -28,4 +29,4 @@ If you are unsure whether your Store class uses EmberObject APIs, set this
2829
config and uses of those APIs will throw exceptions. The most common API that
2930
may have been used is `Store.extend({...`.
3031

31-
This deprecation is from RFC [#1026](https://rfcs.emberjs.com/id/1026-ember-data-deprecate-store-extends-ember-object).
32+
This deprecation was introduced in RFC [#1026](https://rfcs.emberjs.com/id/1026-ember-data-deprecate-store-extends-ember-object).

0 commit comments

Comments
 (0)