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 2 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
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
id: deprecated-run-loop-and-computed-dot-access
title: Getting the @each property
until: '5.0.0'
since: '3.27.0'
---

(Coming soon)
8 changes: 8 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,8 @@
---
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`.
8 changes: 8 additions & 0 deletions content/ember/v3/template-compiler-registerPlugin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
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.
8 changes: 8 additions & 0 deletions content/ember/v4/ember-source-deprecation-without-for.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
id: ember-source-deprecation-without-for
title: Without for
until: '5.0.0'
since: '4.0.0'
jenweber marked this conversation as resolved.
Show resolved Hide resolved
---

(Coming soon)
8 changes: 8 additions & 0 deletions content/ember/v4/ember-source-deprecation-without-since.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
id: ember-source-deprecation-without-since
title: Without since
until: '5.0.0'
since: '4.0.0'
jenweber marked this conversation as resolved.
Show resolved Hide resolved
---

(Coming soon)
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.'
12 changes: 12 additions & 0 deletions content/ember/v4/link-to-tag-name.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
id: ember.link-to.tag-name
title: Passing tagName to LinkTo
until: '5.0.0'
since: '4.0.0'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

---

Passing the `@tagName` argument to <LinkTo> is deprecated. Using a <${tagName}>
jenweber marked this conversation as resolved.
Show resolved Hide resolved
element for navigation is not recommended as it creates issues with assistive
technologies. Remove this argument to use the default <a> element. In the rare
cases that calls for using a different element, refactor to use the router
service inside a custom event handler instead.
8 changes: 8 additions & 0 deletions content/ember/v4/old-deprecate-method-paths.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
id: old-deprecate-method-paths
title: Old deprecate method imports
until: '5.0.0'
since: '4.0.0'
jenweber marked this conversation as resolved.
Show resolved Hide resolved
---

`import { deprecate } from '@ember/application/deprecations';` has been deprecated, please update to `import { deprecate } from '@ember/debug';