Skip to content

Commit

Permalink
Merge pull request #954 from ember-learn/jw-v4-placeholders
Browse files Browse the repository at this point in the history
Stub out deprecation files
  • Loading branch information
locks authored Sep 13, 2021
2 parents 41e637a + f113e45 commit dcac852
Show file tree
Hide file tree
Showing 7 changed files with 86 additions and 0 deletions.
19 changes: 19 additions & 0 deletions content/ember/v3/deprecated-run-loop-and-computed-dot-access.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
id: deprecated-run-loop-and-computed-dot-access
title: Run loop and computed dot access
until: '5.0.0'
since: '3.27.0'
---

Using `.` to access computed or run loop functions has been deprecated, such
as `computed.filter`.
Instead, import the value directly from the module:

```js
import { filter } from '@ember/object/computed';
```

(This deprecation guide needs more details.
You can help out by editing
[this file](https://github.com/ember-learn/deprecation-app/blob/main/content/ember/v3/deprecated-run-loop-and-computed-dot-access.md)
and making a PR!)
13 changes: 13 additions & 0 deletions content/ember/v3/ember-env-old-extend-prototypes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
id: ember-env.old-extend-prototypes
title: Old extend protptypes
until: '5.0.0'
since: '3.3.0'
---

Accessing `Ember.EXTEND_PROTOTYPES` is deprecated, please migrate to `Ember.ENV.EXTEND_PROTOTYPES`.

(This deprecation guide needs more details.
You can help out by editing
[this file](https://github.com/ember-learn/deprecation-app/blob/main/content/ember/v3/ember-env-old-extend-prototypes.md)
and making a PR!)
11 changes: 11 additions & 0 deletions content/ember/v3/ember-source-deprecation-without-for.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
id: ember-source-deprecation-without-for
title: Without for
until: '4.0.0'
since: '3.24.0'
---

(This deprecation guide needs details.
You can help out by editing
[this file](https://github.com/ember-learn/deprecation-app/blob/main/content/ember/v3/ember-source-deprecation-without-for.md)
and making a PR!)
12 changes: 12 additions & 0 deletions content/ember/v3/ember-source-deprecation-without-since.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
id: ember-source-deprecation-without-since
title: Without since
until: '4.0.0'
since: '3.24.0'
---

(This deprecation guide needs more details.
You can help out by editing
[this file](https://github.com/ember-learn/deprecation-app/blob/main/content/ember/v3/ember-source-deprecation-without-since.md)
and making a PR!)

9 changes: 9 additions & 0 deletions content/ember/v3/old-deprecate-method-paths.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
id: old-deprecate-method-paths
title: Old deprecate method imports
until: '4.0.0'
since: '3.0.0'
---

Importing `deprecate` from `@ember/application/deprecations'`
has been deprecated. Please update to `import { deprecate } from '@ember/debug'`.
14 changes: 14 additions & 0 deletions content/ember/v3/template-compiler-registerPlugin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
id: template-compiler.registerPlugin
title: Class-based template compilation plugins
until: '5.0.0'
since: '3.27.0'
---

Using class based template compilation plugins is deprecated.
Please update to the functional style.

(This deprecation guide needs more details.
You can help out by editing
[this file](https://github.com/ember-learn/deprecation-app/blob/main/content/ember/v3/template-compiler-registerPlugin.md)
and making a PR!)
8 changes: 8 additions & 0 deletions content/ember/v4/link-to-disabled-when.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
id: ember.link-to.disabled-when
title: Passing disabledWhen to LinkTo
until: '5.0.0'
since: '4.0.0'
---

Passing the `@disabledWhen` argument to <LinkTo> is deprecated. Use the `@disabled` argument instead.'

0 comments on commit dcac852

Please sign in to comment.