-
-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
📝 Add all 4.x ember-data deprecation pages
These pages are empty for the time being
- Loading branch information
Showing
24 changed files
with
269 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
id: ember-data:deprecate-array-like | ||
title: TODO | ||
until: '5.0' | ||
since: '4.7' | ||
--- | ||
|
||
#### TODO | ||
|
||
[RFC 848](https://rfcs.emberjs.com/id/0848-deprecate-array-prototype-extensions) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
id: ember-data:deprecate-early-static | ||
title: TODO | ||
until: '5.0' | ||
since: '4.7' | ||
--- | ||
|
||
#### TODO | ||
|
||
Accessing schema information on Models without looking up the model via the store is deprecated. | ||
Use store.modelFor (or better Snapshots or the store.getSchemaDefinitionService() apis) instead. | ||
|
||
[RFC 741](https://rfcs.emberjs.com/id/0741-ember-data-deprecate-model-static-field-access-without-lookup) |
12 changes: 12 additions & 0 deletions
12
content/ember-data/v4/deprecate-errors-array-to-hash-helper.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
id: ember-data:deprecate-errors-hash-to-array-helper | ||
title: TODO | ||
until: '5.0' | ||
since: '4.7' | ||
--- | ||
|
||
#### TODO | ||
|
||
errorsArrayToHash helper has been deprecated | ||
|
||
[RFC TODO](TODO) |
12 changes: 12 additions & 0 deletions
12
content/ember-data/v4/deprecate-errors-hash-to-array-helper.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
id: ember-data:deprecate-errors-hash-to-array-helper | ||
title: TODO | ||
until: '5.0' | ||
since: '4.7' | ||
--- | ||
|
||
#### TODO | ||
|
||
errorsHashToArray helper has been deprecated | ||
|
||
[RFC TODO](TODO) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
id: ember-data:deprecate-has-record-for-id | ||
title: TODO | ||
until: '5.0' | ||
since: '4.5' | ||
--- | ||
|
||
#### TODO | ||
|
||
store.hasRecordForId has been deprecated in favor of store.peekRecord | ||
|
||
[RFC TODO](TODO) |
12 changes: 12 additions & 0 deletions
12
content/ember-data/v4/deprecate-instantiate-record-args.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
id: ember-data:deprecate-instantiate-record-args | ||
title: TODO | ||
until: '5.0' | ||
since: '4.12' | ||
--- | ||
|
||
#### TODO | ||
|
||
Expected store.instantiateRecord to have an arity of 2. recordDataFor and notificationManager args have been deprecated. | ||
|
||
[RFC TODO](TODO) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
id: ember-data:deprecate-model-reopen | ||
title: TODO | ||
until: '5.0' | ||
since: '4.7' | ||
--- | ||
|
||
#### TODO | ||
|
||
Model.reopen is deprecated. Use <> extends Model to extend your class instead. | ||
|
||
[RFC 738](https://rfcs.emberjs.com/id/0738-ember-data-deprecate-model-reopen) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
id: ember-data:deprecate-model-reopenclass | ||
title: TODO | ||
until: '5.0' | ||
since: '4.7' | ||
--- | ||
|
||
#### TODO | ||
|
||
Model.reopenClass is deprecated. Use Foo extends Model to add static methods and properties to your class instead. | ||
|
||
[RFC TODO](TODO) |
12 changes: 12 additions & 0 deletions
12
content/ember-data/v4/deprecate-non-strict-relationships.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
id: ember-data:deprecate-non-strict-relationships | ||
title: TODO | ||
until: '5.0' | ||
since: '4.7' | ||
--- | ||
|
||
#### TODO | ||
|
||
hasMany(<type>, <options>) must specify options.inverse as either `null` or string type of the related resource. | ||
|
||
[RFC 739](https://rfcs.emberjs.com/id/0739-ember-data-deprecate-non-strict-relationships) |
12 changes: 12 additions & 0 deletions
12
content/ember-data/v4/deprecate-normalize-modelname-helper.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
id: ember-data:deprecate-promise-many-array-behaviors | ||
title: TODO | ||
until: '5.0' | ||
since: '4.7' | ||
--- | ||
|
||
#### TODO | ||
|
||
the helper function normalizeModelName is deprecated. You should use model names that are already normalized, or use string helpers of your own. This function is primarily an alias for dasherize from @ember/string. | ||
|
||
[RFC TODO](TODO) |
12 changes: 12 additions & 0 deletions
12
content/ember-data/v4/deprecate-promise-many-array-behaviors.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
id: ember-data:deprecate-promise-many-array-behaviors | ||
title: TODO | ||
until: '5.0' | ||
since: '4.7' | ||
--- | ||
|
||
#### TODO | ||
|
||
The createRecord method on ember-data's PromiseManyArray is deprecated. await the promise and work with the ManyArray directly. | ||
|
||
[RFC TODO](TODO) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
id: ember-data:deprecate-promise-proxies | ||
title: TODO | ||
until: '5.0' | ||
since: '4.7' | ||
--- | ||
|
||
#### TODO | ||
|
||
You passed in a PromiseProxy to a Relationship API that now expects a resolved value. await the value before setting it. | ||
|
||
[RFC 846](https://rfcs.emberjs.com/id/0846-ember-data-deprecate-proxies) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
id: ember-data:deprecate-record-data-for | ||
title: TODO | ||
until: '5.0' | ||
since: '4.10' | ||
--- | ||
|
||
#### TODO | ||
|
||
StoreWrapper.recordDataFor is deprecated. With Singleton Cache, this method is no longer needed as the caller is its own cache reference. | ||
|
||
[RFC TODO](TODO) |
12 changes: 12 additions & 0 deletions
12
content/ember-data/v4/deprecate-secret-adapter-fallback.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
id: ember-data:deprecate-secret-adapter-fallback | ||
title: TODO | ||
until: '5.0' | ||
since: '4.5' | ||
--- | ||
|
||
#### TODO | ||
|
||
Your application is utilizing a deprecated hidden fallback adapter (-json-api). Please implement an application adapter to function as your fallback. | ||
|
||
[RFC TODO](TODO) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
id: ember-data:deprecate-promise-many-array-behaviors | ||
title: TODO | ||
until: '5.0' | ||
since: '4.5' | ||
--- | ||
|
||
#### TODO | ||
|
||
Using store.find is deprecated, use store.findRecord instead. Likely this means you are relying on the implicit store fetching behavior of routes unknowingly. | ||
|
||
[RFC TODO](TODO) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
id: ember-data:deprecate-string-arg-schemas | ||
title: TODO | ||
until: '5.0' | ||
since: '4.5' | ||
--- | ||
|
||
#### TODO | ||
|
||
attributesDefinitionFor expects either a record identifier or an argument of shape { type: string }, received a string. | ||
|
||
[RFC TODO](TODO) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
id: ember-data:deprecate-v1-cache | ||
title: TODO | ||
until: '5.0' | ||
since: '4.7' | ||
--- | ||
|
||
#### TODO | ||
|
||
This RecordData uses the deprecated V1 RecordData Spec. Upgrade to V2 to maintain compatibility. | ||
|
||
[RFC TODO](TODO) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
id: ember-data:deprecate-v1cache-store-apis | ||
title: TODO | ||
until: '5.0' | ||
since: '4.7' | ||
--- | ||
|
||
#### TODO | ||
|
||
store.hasRecordForId has been deprecated in favor of store.peekRecord | ||
|
||
[RFC TODO](TODO) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
id: ember-data:model-save-promise | ||
title: TODO | ||
until: '5.0' | ||
since: '4.4' | ||
--- | ||
|
||
#### TODO | ||
|
||
Accessing ${prop} is deprecated. The return type is being changed from PromiseObjectProxy to a Promise. | ||
The only available methods to access on this promise are .then, .catch and .finally`. | ||
|
||
[RFC TODO](TODO) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
id: ember-data:no-a-with-array-like | ||
title: TODO | ||
until: '5.0' | ||
since: '4.7' | ||
--- | ||
|
||
#### TODO | ||
|
||
Do not use A() on an EmberData PromiseManyArray | ||
|
||
[RFC TODO](TODO) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
id: ember-data:non-explicit-relationships | ||
title: TODO | ||
until: '5.0' | ||
since: '4.7' | ||
--- | ||
|
||
#### TODO | ||
|
||
Relationships that satisfy polymorphic relationships MUST define which abstract-type they are satisfying using 'as'. The field '${fieldOnInverse}' on type '${inverseSchema.modelName}' is misconfigured. | ||
|
||
[RFC TODO](TODO) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
id: ember-data:rsvp-unresolved-async | ||
title: TODO | ||
until: '5.0' | ||
since: '4.5' | ||
--- | ||
|
||
#### TODO | ||
|
||
A Promise for fetching ${relationship.type} did not resolve by the time your model was destroyed. This will error in a future release. | ||
|
||
[RFC TODO](TODO) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters