Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stub out deprecation files #954

Merged
merged 4 commits into from
Sep 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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'
Comment on lines +4 to +5
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What should these versions be? See PR emberjs/ember.js#19748 and emberjs/ember.js#19748

---

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