Skip to content

Commit

Permalink
delete all ids and use displayId when necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
mansona committed Jun 2, 2023
1 parent 35494ac commit e9140a8
Show file tree
Hide file tree
Showing 194 changed files with 668 additions and 601 deletions.
6 changes: 3 additions & 3 deletions content/ember-cli/v2/base-url.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
id: base-url
title: Base URL
until: '3.0.0'
since: '2.7.0'
until: 3.0.0
since: 2.7.0
---


The usage of `baseURL` setting in `config/environments.js` has been deprecated in favor of using
an explicit `rootURL`. A detailed explanation of the problem and the migration path can be found in
[this blog post](/blog/2016/04/28/baseURL.html).
Expand Down
4 changes: 2 additions & 2 deletions content/ember-cli/v2/clobbering-addon-options.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
id: clobbering-addon-options
title: Clobbering Addon#options
since: '2.12.0'
since: 2.12.0
---


Clobbering `this.options` within an addon has been deprecated. If you would like to use `this.options`
for internal options within your addon, you must preserve the intitial options object that is present.

Expand Down
6 changes: 3 additions & 3 deletions content/ember-cli/v2/deprecate-utility.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
id: deprecate-utility
title: Deprecate Utility
until: '3.0.0'
since: '2.2.0'
until: 3.0.0
since: 2.2.0
---


Using the `ember-cli/lib/utlities/deprecate` module to issue deprecations has been deprecated
in favor of using `.writeDeprecateLine` method on the `ui` object (which is available on both
addons and project instances).
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
id: migrate-from-brocfile-js-to-ember-cli-build-js
title: Migrate from Brocfile.js to ember-cli-build.js
until: '3.0.0'
since: '2.0.0'
until: 3.0.0
since: 2.0.0
---


Early versions of Ember CLI utilized the default build file of Broccoli: `Brocfile.js`. Over time
we began realizing that this was not a tenable solution (we could not pass high fidelity objects
into the build pipeline, and therefore created two instances of all addons, etc), and introduced a
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
id: ember-cli.blacklist-whitelist-build-options
title: blacklist and whitelist build options
until: '5.0.0'
since: '4.4.0'
until: 5.0.0
since: 4.4.0
displayId: ember-cli.blacklist-whitelist-build-options
---


Using the `blacklist` and `whitelist` build options has been deprecated. Please
use `exclude` and `include` respectively instead.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
id: ember-cli.blueprint.add-bower-package-to-project
title: Blueprint::addBowerPackageToProject
until: '5.0.0'
since: '4.3.0'
until: 5.0.0
since: 4.3.0
displayId: ember-cli.blueprint.add-bower-package-to-project
---


`addBowerPackageToProject` has been deprecated. If the package is also available
on the npm registry, please use `addPackageToProject` instead. If not, please
suggest your users to install the Bower package manually by running:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
id: ember-cli.blueprint.add-bower-packages-to-project
title: Blueprint::addBowerPackagesToProject
until: '5.0.0'
since: '4.3.0'
until: 5.0.0
since: 4.3.0
displayId: ember-cli.blueprint.add-bower-packages-to-project
---


`addBowerPackagesToProject` has been deprecated. If the packages are also available
on the npm registry, please use `addPackagesToProject` instead. If not, please
suggest your users to install the Bower packages manually by running:
Expand Down
7 changes: 4 additions & 3 deletions content/ember-cli/v4/ember-cli-building-bower-packages.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
id: ember-cli.building-bower-packages
title: Building Bower Packages
until: '5.0.0'
since: '4.3.0'
until: 5.0.0
since: 4.3.0
displayId: ember-cli.building-bower-packages
---


Building Bower packages has been deprecated.

Please consider one of the following alternatives:
Expand Down
7 changes: 4 additions & 3 deletions content/ember-cli/v4/ember-cli-ember-cli-jshint-support.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
id: ember-cli.ember-cli-jshint-support
title: ember-cli-jshint support
until: '5.0.0'
since: '4.6.0'
until: 5.0.0
since: 4.6.0
displayId: ember-cli.ember-cli-jshint-support
---


Support for [ember-cli-jshint](https://github.com/ember-cli/ember-cli-jshint) has been deprecated.
Please use [ESLint](https://eslint.org/) directly instead. Please refer to the
default [app blueprint](https://github.com/ember-cli/ember-cli/tree/master/blueprints/app/files)
Expand Down
7 changes: 4 additions & 3 deletions content/ember-cli/v4/ember-cli-project-bower-dependencies.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
id: ember-cli.project.bower-dependencies
title: Project::bowerDependencies
until: '5.0.0'
since: '4.3.0'
until: 5.0.0
since: 4.3.0
displayId: ember-cli.project.bower-dependencies
---


`bowerDependencies` has been deprecated. If you still need access to the
project's Bower dependencies, you will have to manually resolve the project's
`bower.json` file instead:
Expand Down
7 changes: 4 additions & 3 deletions content/ember-cli/v4/ember-cli-project-bower-directory.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
id: ember-cli.project.bower-directory
title: Project::bowerDirectory
until: '5.0.0'
since: '4.3.0'
until: 5.0.0
since: 4.3.0
displayId: ember-cli.project.bower-directory
---


`bowerDirectory` has been deprecated. If you still need access to the
project's Bower directory, you will have to manually resolve the project's
`.bowerrc` file and read the `directory` property instead:
Expand Down
7 changes: 4 additions & 3 deletions content/ember-cli/v4/ember-cli-vendor-shim-blueprint.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
---
id: ember-cli.vendor-shim-blueprint
title: vendor-shim blueprint
until: '5.0.0'
since: '4.6.0'
until: 5.0.0
since: 4.6.0
displayId: ember-cli.vendor-shim-blueprint
---


The `vendor-shim` blueprint has been deprecated. Please use [ember-auto-import](https://github.com/ef4/ember-auto-import)
instead to import normal npm packages.
6 changes: 3 additions & 3 deletions content/ember-data/v2/date-prototype-extension.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
id: date-prototype-extension
title: Date Prototype Extension
until: '3.0.0'
since: '2.7'
until: 3.0.0
since: "2.7"
---


In previous versions of Ember Data, the native `Date.parse` function was
replaced with `Ember.Date.parse`, a [progressive enhancement for ISO
8601](https://github.com/csnover/js-iso8601) support in browsers that do not
Expand Down
7 changes: 4 additions & 3 deletions content/ember-data/v2/ds-references-belongs-to-push-record.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
---
id: ds.references.belongs-to.push-record
title: BelongsToReference.push(DS.Model)
until: '4.0.0'
since: 'Upcoming Features'
until: 4.0.0
since: Upcoming Features
displayId: ds.references.belongs-to.push-record
---

#### feature: ds-overhaul-references

Passing an instance of
Expand Down
6 changes: 3 additions & 3 deletions content/ember-data/v2/ember-date-parse.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
id: ember-date-parse
title: Ember.Date.parse
until: '3.0.0'
since: '2.7'
until: 3.0.0
since: "2.7"
---


`Ember.Date.parse` was created as a [progressive enhancement for ISO
8601](https://github.com/csnover/js-iso8601) support in browsers that do not
support it (Safari 5-, IE 8-, Firefox 3.6-). These browsers versions are no
Expand Down
6 changes: 3 additions & 3 deletions content/ember-data/v2/global-version-of-ds.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
id: global-version-of-ds
title: Global version of DS
until: '3.0.0'
since: '2.7'
until: 3.0.0
since: "2.7"
---


Using the global version of DS is deprecated. Import `DS` or specific modules from `ember-data` where needed.

For example, if you had:
Expand Down
6 changes: 3 additions & 3 deletions content/ember-data/v2/hasmanyreference-push-array.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
id: hasmanyreference-push-array
title: HasManyReference.push(array)
until: '4.0.0'
since: 'Upcoming Features'
until: 4.0.0
since: Upcoming Features
---

#### feature: ds-overhaul-references

#### Deprecations Added in Pending Features
Expand Down
6 changes: 3 additions & 3 deletions content/ember-data/v2/hasmanyreference-push-invalid-data.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
id: hasmanyreference-push-invalid-data
title: HasManyReference.push Invalid Data
until: '4.0.0'
since: 'Upcoming Features'
until: 4.0.0
since: Upcoming Features
---

#### feature: ds-overhaul-references

In previous versions of Ember Data, `HasManyReference#push` supported pushing
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
id: jsonapiserializer-modelnamefrompayloadkey-for-relationship
title: JSONAPISerializer.modelNameFromPayloadKey for Relationship
until: '4.0.0'
since: 'Upcoming Features'
until: 4.0.0
since: Upcoming Features
---

#### feature: ds-payload-type-hooks

Using `JSONAPISerializer.modelNameFromPayloadKey` to normalize the type of a
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
id: jsonapiserializer-modelnamefrompayloadkey-for-resource
title: JSONAPISerializer.modelNameFromPayloadKey for Resource
until: '4.0.0'
since: 'Upcoming Features'
until: 4.0.0
since: Upcoming Features
---

#### feature: ds-payload-type-hooks

Using `JSONAPISerializer.modelNameFromPayloadKey` to normalize the type of a
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
id: jsonapiserializer-payloadkeyfrommodelname-for-belongsto-relationship
title: JSONAPISerializer.payloadKeyFromModelName for belongsTo Relationship
until: '4.0.0'
since: 'Upcoming Features'
until: 4.0.0
since: Upcoming Features
---

#### feature: ds-payload-type-hooks

Using `JSONAPISerializer.payloadKeyFromModelName` to serialize the type of a
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
id: jsonapiserializer-payloadkeyfrommodelname-for-hasmany-relationship
title: JSONAPISerializer.payloadKeyFromModelName for hasMany Relationship
until: '4.0.0'
since: 'Upcoming Features'
until: 4.0.0
since: Upcoming Features
---

#### feature: ds-payload-type-hooks

Using `JSONAPISerializer.payloadKeyFromModelName` to serialize the type of a
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
---
id: jsonapiserializer-payloadkeyfrommodelname-for-resource
title: JSONAPISerializer.payloadKeyFromModelName for Resource
until: '4.0.0'
since: 'Upcoming Features'
until: 4.0.0
since: Upcoming Features
---

#### feature: ds-payload-type-hooks

Using `JSONAPISerializer.payloadKeyFromModelName` to serialize the type of a
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
id: jsonserializer-shouldserializehasmany
title: JSONSerializer.shouldSerializeHasMany
until: '3.0.0'
since: '2.12'
until: 3.0.0
since: "2.12"
---


The private method `_shouldSerializeHasMany` has been promoted to the public
API. To remove this deprecation, please remove the underscore to use the public
[`shouldSerializeHasMany`](http://emberjs.com/api/data/classes/DS.JSONSerializer.html#method_shouldSerializeHasMany)
Expand Down
6 changes: 3 additions & 3 deletions content/ember-data/v2/lookupadapter.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
id: lookupadapter
title: lookupAdapter
until: '3.0.0'
since: '2.11'
until: 3.0.0
since: "2.11"
---


`lookupAdapter` has been deprecated in favor of using `adapterFor`.
6 changes: 3 additions & 3 deletions content/ember-data/v2/lookupserializer.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
id: lookupserializer
title: lookupSerializer
until: '3.0.0'
since: '2.11'
until: 3.0.0
since: "2.11"
---


`lookupSerializer` has been deprecated in favor of using `serializerFor`.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
id: non-primitive-defaultvalue-for-model-attributes
title: Non-primitive defaultValue for Model Attributes
until: '3.0.0'
since: '2.3'
until: 3.0.0
since: "2.3"
---


Providing a non-primitive value as a `defaultValue` has been deprecated because
the provided value is shared between all instances of the model. Using a
non-primitive value, such as `defaultValue: []`, can lead to unexpected bugs when
Expand Down
6 changes: 3 additions & 3 deletions content/ember-data/v2/recordisloaded.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
id: recordisloaded
title: recordIsLoaded
until: '3.0.0'
since: '2.11'
until: 3.0.0
since: "2.11"
---


`recordIsLoaded` has been deprecated and is an alias for `hasRecordForId`, which should be used instead.

If you have this:
Expand Down
6 changes: 3 additions & 3 deletions content/ember-data/v2/restserializer-keyforpolymorphictype.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
id: restserializer-keyforpolymorphictype
title: RESTSerializer.keyForPolymorphicType
until: '3.0.0'
since: '2.3'
until: 3.0.0
since: "2.3"
---


Previous versions of the
[`RESTSerializer`](http://emberjs.com/api/data/classes/DS.RESTSerializer.html)
relied on
Expand Down
Loading

0 comments on commit e9140a8

Please sign in to comment.