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
[DOC release-3-28] Add missing deprecation urls #19754
Commits on May 3, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 666ae33 - Browse repository at this point
Copy the full SHA 666ae33View commit details -
Configuration menu - View commit details
-
Copy full SHA for 916e104 - Browse repository at this point
Copy the full SHA 916e104View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68fccf9 - Browse repository at this point
Copy the full SHA 68fccf9View commit details
Commits on May 12, 2021
-
[BUGFIX release] Ensure ember-testing is loaded lazily
The recently modules API update means we are now loading real modules, not polyfills based on the global. This means that the modules themselves are _eagerly required_, rather than being references to a value on the global. For example, previously, this: ```js import { registerWaiter } from '@ember/test'; if (someCondition) { registerWaiter(() => {}); } ``` Would become this: ```js if (someCondition) { Ember.Test.registerWaiter(() => {}); } ``` In either example, `registerWaiter` may or may not be called based on the state of `someCondition`. However, in the second case, if `Ember.Test` is not defined at all, it's completely ok as long as `someCondition` is `false`. It's never called, so we never get an error telling us `Ember.Test` is undefined. Without the transform, the module is eagerly required, along with all of its dependencies. If no one included `ember-testing`, then that means it will throw an error immediately. This PR makes the `@ember/test` module load `ember-testing` lazily, and if it's not available (e.g. in a production environment) it replaces the values with a function that throws a helpful error.
Chris Garrett committedMay 12, 2021 Configuration menu - View commit details
-
Copy full SHA for 173b804 - Browse repository at this point
Copy the full SHA 173b804View commit details -
[BUGFIX release] 3.27 deprecation metadata
* Unify deprecation ids * Add missing `url` and `since` * Correctly reference `@ember/legacy-built-in-components` addon * Error instead for `<LinkTo @href=...>`
Configuration menu - View commit details
-
Copy full SHA for 713a4c2 - Browse repository at this point
Copy the full SHA 713a4c2View commit details -
[CLEANUP] Deprecations URL consistency
https://emberjs.com/deprecations/* is a redirect for https://deprecations.emberjs.com/*
Configuration menu - View commit details
-
Copy full SHA for d79f94f - Browse repository at this point
Copy the full SHA d79f94fView commit details
Commits on May 13, 2021
-
Configuration menu - View commit details
-
Copy full SHA for b3b4e53 - Browse repository at this point
Copy the full SHA b3b4e53View commit details
Commits on May 24, 2021
-
[BUGFIX] Makes the (hash) helper lazy
Makes the hash helper's individual keys lazy so that they do not eagerly incur costs. (cherry picked from commit 7d334cf)
Chris Garrett committedMay 24, 2021 Configuration menu - View commit details
-
Copy full SHA for 87b43a1 - Browse repository at this point
Copy the full SHA 87b43a1View commit details -
[BUGFIX release] Make {{hash}} object properties settables
Makes all {{hash}} object properties settable, but deprecates setting them. (cherry picked from commit ec4c034)
Chris Garrett committedMay 24, 2021 Configuration menu - View commit details
-
Copy full SHA for e50dc6e - Browse repository at this point
Copy the full SHA e50dc6eView commit details
Commits on May 27, 2021
-
[DOC release] fix passing params to named blocks examples
(cherry picked from commit e19e975)
Configuration menu - View commit details
-
Copy full SHA for 6eb573c - Browse repository at this point
Copy the full SHA 6eb573cView commit details -
fix computed deprecation import path
(cherry picked from commit 692c3b8)
Configuration menu - View commit details
-
Copy full SHA for 3b1d38c - Browse repository at this point
Copy the full SHA 3b1d38cView commit details -
[BUGFIX] pass module prefix to initializer test blueprints
(cherry picked from commit c69365b)
Configuration menu - View commit details
-
Copy full SHA for 01608b7 - Browse repository at this point
Copy the full SHA 01608b7View commit details -
Use explicit this in helper-test blueprints
(cherry picked from commit 844c2f4)
Configuration menu - View commit details
-
Copy full SHA for 65a75d0 - Browse repository at this point
Copy the full SHA 65a75d0View commit details -
[BUGFIX release] Improve class based tranform deprecation message
(cherry picked from commit e28a201)
Configuration menu - View commit details
-
Copy full SHA for ec0c86e - Browse repository at this point
Copy the full SHA ec0c86eView commit details -
[BUGFIX release] Refine Ember Global deprecation message
Example message: ``` Usage of the Ember Global is deprecated. You should import the Ember module or the specific API instead. See https://deprecations.emberjs.com/v3.x/#toc_ember-global for details. Usages of the Ember Global may be caused by an outdated ember-cli-babel dependency. The following steps may help: * Upgrade your `devDependencies` on `ember-cli-babel` to `^7.26.6`. * Upgrade the following addons to the latest version: * active-model-adapter * ember-animated * ember-async-await-helper * ember-attacher * ember-cli-showdown * ember-freestyle * ember-md5 ### Important ### In order to avoid repeatedly showing the same deprecation messages, no further deprecation messages will be shown for usages of the Ember Global until ember-cli-babel is upgraded to v7.26.6 or above. To see all instances of this deprecation message at runtime, set the `EMBER_GLOBAL_DEPRECATIONS` environment variable to "all", e.g. `EMBER_GLOBAL_DEPRECATIONS=all ember test`. ### Details ### Prior to v7.26.6, ember-cli-babel sometimes transpiled imports into the equivalent Ember Global API, potentially triggering this deprecation message even when you did not directly reference the Ember Global. The following outdated versions are found in your project: * ember-cli-babel@6.11.0, currently used by: * ember-md5@6.11.0 * Depends on ember-cli-babel@6.11.0 * ember-cli-babel@6.18.0, currently used by: * active-model-adapter@6.18.0 * Depends on ember-cli-babel@^6.8.2 * ember-angle-bracket-invocation-polyfill@6.18.0 * Depends on ember-cli-babel@^6.17.0 * Added by ember-animated@0.11.0 * ember-async-await-helper@6.18.0 * Depends on ember-cli-babel@^6.16.0 * ember-cli-deploy-bugsnag@6.18.0 (Dormant) * Depends on ember-cli-babel@^6.16.0 * ember-cli-showdown@6.18.0 * Depends on ember-cli-babel@^6.8.1 * ember-inflector@6.18.0 * Depends on ember-cli-babel@^6.0.0 * Added by active-model-adapter@2.2.0 * ember-maybe-import-regenerator@6.18.0 (Dormant) * Depends on ember-cli-babel@^6.0.0-beta.4 * Added by ember-animated@0.11.0 * ember-named-arguments-polyfill@6.18.0 (Dormant) * Depends on ember-cli-babel@^6.6.0 * Added by ember-animated@0.11.0 * ember-raf-scheduler@6.18.0 * Depends on ember-cli-babel@^6.6.0 * Added by ember-attacher@1.2.3 > ember-popper@0.11.3 * ember-runtime-enumerable-includes-polyfill@6.18.0 (Dormant) * Depends on ember-cli-babel@^6.9.0 * Added by ember-freestyle@0.12.11 * ember-cli-babel@7.26.5, currently used by: * @embroider/macros@7.26.5 (Compatible) * Depends on ember-cli-babel@^7.23.0 * Added by ember-cli-mirage@2.2.0 * Added by ember-exam@6.1.0 * direwolf (your app) * Depends on ember-cli-babel@7.26.5 * ember-attacher@7.26.5 (Compatible) * Depends on ember-cli-babel@^7.23.0 * ember-fetch@7.26.5 (Compatible) * Depends on ember-cli-babel@^7.23.0 * ember-freestyle@7.26.5 (Compatible) * Depends on ember-cli-babel@^7.23.0 * ember-inflector@7.26.5 (Compatible) * Depends on ember-cli-babel@^7.23.0 * Added by ember-data@3.26.0 * Added by ember-cli-mirage@2.2.0 * ember-source@7.26.5 (Dormant) * Depends on ember-cli-babel@^7.23.0 * qunit-dom@7.26.5 (Dormant) * Depends on ember-cli-babel@^7.23.0 Note: Addons marked as "Dormant" does not appear to have any JavaScript files. Therefore, even if they are using an old version ember-cli-babel, they are unlikely to be the cuplrit of this deprecation and can likely be ignored. Note: Addons marked as "Compatible" are already compatible with ember-cli-babel@7.26.6. Try upgrading your `devDependencies` on `ember-cli-babel` to `^7.26.6`. ``` (cherry picked from commit bb9d96e)
Configuration menu - View commit details
-
Copy full SHA for c70dd51 - Browse repository at this point
Copy the full SHA c70dd51View commit details -
[BUGFIX release] Improve computed.* and run.* deprecation message
Show details about outdated ember-cli-babel and only show the first instance by default. Example message: ``` Using `computed.reads` has been deprecated. Instead, import the value directly from @ember/object/computed: import { reads } from '@ember/object/computed'; These usages may be caused by an outdated ember-cli-babel dependency. The following steps may help: * Upgrade the following addons to the latest version: * active-model-adapter * ember-animated * ember-async-await-helper * ember-attacher * ember-cli-showdown * ember-md5 ### Important ### In order to avoid repeatedly showing the same deprecation messages, no further deprecation messages will be shown for theses deprecated usages until ember-cli-babel is upgraded to v7.26.6 or above. To see all instances of this deprecation message, set the `EMBER_RUNLOOP_AND_COMPUTED_DOT_ACCESS_DEPRECATIONS` environment variable to "all", e.g. `EMBER_RUNLOOP_AND_COMPUTED_DOT_ACCESS_DEPRECATIONS=all ember test`. ### Details ### Prior to v7.26.6, ember-cli-babel sometimes transpiled imports into the equivalent Ember Global API, potentially triggering this deprecation message indirectly, even when you did not observe these deprecated usages in your code. The following outdated versions are found in your project: * ember-cli-babel@6.11.0, currently used by: * ember-md5@6.11.0 * Depends on ember-cli-babel@6.11.0 * ember-cli-babel@6.18.0, currently used by: * active-model-adapter@6.18.0 * Depends on ember-cli-babel@^6.8.2 * ember-angle-bracket-invocation-polyfill@6.18.0 * Depends on ember-cli-babel@^6.17.0 * Added by ember-animated@0.11.0 * ember-async-await-helper@6.18.0 * Depends on ember-cli-babel@^6.16.0 * ember-cli-deploy-bugsnag@6.18.0 (Dormant) * Depends on ember-cli-babel@^6.16.0 * ember-cli-showdown@6.18.0 * Depends on ember-cli-babel@^6.8.1 * ember-inflector@6.18.0 * Depends on ember-cli-babel@^6.0.0 * Added by active-model-adapter@2.2.0 * ember-maybe-import-regenerator@6.18.0 (Dormant) * Depends on ember-cli-babel@^6.0.0-beta.4 * Added by ember-animated@0.11.0 * ember-named-arguments-polyfill@6.18.0 (Dormant) * Depends on ember-cli-babel@^6.6.0 * Added by ember-animated@0.11.0 * ember-raf-scheduler@6.18.0 * Depends on ember-cli-babel@^6.6.0 * Added by ember-attacher@1.2.3 > ember-popper@0.11.3 * ember-runtime-enumerable-includes-polyfill@6.18.0 (Dormant) * Depends on ember-cli-babel@^6.9.0 * Added by ember-freestyle@0.12.11 Note: Addons marked as "Dormant" does not appear to have any JavaScript files. Therefore, even if they are using an old version ember-cli-babel, they are unlikely to be the cuplrit of this deprecation and can likely be ignored. ``` (cherry picked from commit 7a8ab95)
Configuration menu - View commit details
-
Copy full SHA for edb4e1d - Browse repository at this point
Copy the full SHA edb4e1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d9a66ae - Browse repository at this point
Copy the full SHA d9a66aeView commit details -
fix: lookup/register and singleton flag behavior
(cherry picked from commit 1d49ea9)
Configuration menu - View commit details
-
Copy full SHA for c54ed9e - Browse repository at this point
Copy the full SHA c54ed9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 02b4e2e - Browse repository at this point
Copy the full SHA 02b4e2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for df6636a - Browse repository at this point
Copy the full SHA df6636aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c203d79 - Browse repository at this point
Copy the full SHA c203d79View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f368b0 - Browse repository at this point
Copy the full SHA 5f368b0View commit details
Commits on Jun 1, 2021
-
[BUGFIX lts] Ensures that computed can depend on dynamic hash keys
Ensures that computeds can depend on dynamic hash keys that did not exist on the original hash. (cherry picked from commit 628a928)
Configuration menu - View commit details
-
Copy full SHA for a4099ea - Browse repository at this point
Copy the full SHA a4099eaView commit details -
(cherry picked from commit 926452f)
Configuration menu - View commit details
-
Copy full SHA for a10b4bc - Browse repository at this point
Copy the full SHA a10b4bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 055b923 - Browse repository at this point
Copy the full SHA 055b923View commit details -
Configuration menu - View commit details
-
Copy full SHA for 20b4eff - Browse repository at this point
Copy the full SHA 20b4effView commit details
Commits on Jun 3, 2021
-
[BUGFIX release] Fix Embroider compatibility with ember-source@3.27.2+
Fixes a few things: * Ensures that Embroider has a consistent protocol for ensuring the global is bootstrapped * Allows our override code to be transpiled * Ensures that any bootstrapping tweaks force us out of "prebuilt" mode (allowing that customized bootstrap code to actually run) Refactors the work in #19557 to address some of the recent comments there. (cherry picked from commit 5ad6f79)
Configuration menu - View commit details
-
Copy full SHA for a920b45 - Browse repository at this point
Copy the full SHA a920b45View commit details -
Configuration menu - View commit details
-
Copy full SHA for edbfc03 - Browse repository at this point
Copy the full SHA edbfc03View commit details
Commits on Jun 7, 2021
-
Configuration menu - View commit details
-
Copy full SHA for e31720c - Browse repository at this point
Copy the full SHA e31720cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f54b0b - Browse repository at this point
Copy the full SHA 2f54b0bView commit details
Commits on Jun 9, 2021
-
[DOC release] Fix "Dormant" addon warning typo
(cherry picked from commit fcf2a64)
Configuration menu - View commit details
-
Copy full SHA for 5571a8b - Browse repository at this point
Copy the full SHA 5571a8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2392417 - Browse repository at this point
Copy the full SHA 2392417View commit details
Commits on Jun 10, 2021
-
[BIGFIX release] Fix
<LinkTo>
with nested childrenDuring bubbling, `event.target` may point to a child element whereas `event.currentTarget` always points to the element where the handler was attached, which is what we want here. Reported in a comment on #19546, though this may be a distinct issue from the original report as it was reported as a default-cancelling parent element interfering with the nested `<LinkTo>`, and this is the other way around. (cherry picked from commit 57907a4)
Configuration menu - View commit details
-
Copy full SHA for 1736bfe - Browse repository at this point
Copy the full SHA 1736bfeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 428e7a0 - Browse repository at this point
Copy the full SHA 428e7a0View commit details
Commits on Jun 14, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 7de1e20 - Browse repository at this point
Copy the full SHA 7de1e20View commit details -
Configuration menu - View commit details
-
Copy full SHA for e261517 - Browse repository at this point
Copy the full SHA e261517View commit details
Commits on Jun 21, 2021
-
[BUGFIX lts] Ensure hash objects correctly entangle as dependencies v2
The previous bugfixes to `{{hash}}` caused a change to the semantics of computed properties that depend on a hash. Specifically, because `{{hash}}` objects are now proxies, they are _constant_, never updating again after they are initially created. This is fine if you depend on an individual key in a hash, but breaks if you depend directly on the hash itself: ```js computed('hash.foo', function() {}) // this works computed('hash', function() {}) // this will no longer rerun ``` This is used occasionally when you wish to depend on the dynamic keys of a dictionary, like so: ```js computed('hash', function() { let values = []; for (let key in this.hash) { values.push(hash[key]); } return values; }) ``` Notably, this is not a problem with autotracking, because autotracking will entangle the usage of these keys dynamically. So this is only a problem with legacy systems such as `computed` and `observer` which cannot dynamically add dependencies based on the function's runtime. To fix this, we need to determine if a dependency is a hash when a computed or an observer depends upon it, and then entangle all of its keys if it is. We do this whenever the value is the last value in the chain. (cherry picked from commit 03b20d8)
Configuration menu - View commit details
-
Copy full SHA for 2971607 - Browse repository at this point
Copy the full SHA 2971607View commit details -
Configuration menu - View commit details
-
Copy full SHA for a01e11d - Browse repository at this point
Copy the full SHA a01e11dView commit details -
Configuration menu - View commit details
-
Copy full SHA for cd55255 - Browse repository at this point
Copy the full SHA cd55255View commit details
Commits on Aug 2, 2021
-
[BUGFIX release] Restore previous hash behavior
Restores the previous hash behavior where `hash` will lazily update in templates, but eagerly evaluate and create a POJO in JS. Also preserves the deprecation on setting on the hash. (cherry picked from commit a23c71e)
Configuration menu - View commit details
-
Copy full SHA for 0825f8a - Browse repository at this point
Copy the full SHA 0825f8aView commit details -
[BUGFIX LTS] fix memory leak in RouterService
(cherry picked from commit 238e016)
Configuration menu - View commit details
-
Copy full SHA for 21ecd42 - Browse repository at this point
Copy the full SHA 21ecd42View commit details -
[BUGFIX release] Deprecate htmlSafe via prototype
In Ember 3.24 various string methods added to the `String.prototype` were deprecated for removal in Ember 4.0. `htmlSafe` (the version available via string prototype) was supposed to be included in those deprecations, however dues to its implementation being different it was missed. This omission can be understood as a bug. This patch deprecates `String.prototype.htmlSafe` targeting Ember 4.0. This will allow the removal of *all* string prototype extensions in 4.0 as intended by the original deprecation. See also: #19654 (comment) (cherry picked from commit c6c6978)
Configuration menu - View commit details
-
Copy full SHA for 8a4e4af - Browse repository at this point
Copy the full SHA 8a4e4afView commit details -
Configuration menu - View commit details
-
Copy full SHA for cf4ccb6 - Browse repository at this point
Copy the full SHA cf4ccb6View commit details -
Merge pull request #19694 from emberjs/kg-add-native-proxy-guard
Add `HAS_NATIVE_PROXY` guard to test
Configuration menu - View commit details
-
Copy full SHA for 5365a3c - Browse repository at this point
Copy the full SHA 5365a3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f65283d - Browse repository at this point
Copy the full SHA f65283dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a4bfee9 - Browse repository at this point
Copy the full SHA a4bfee9View commit details
Commits on Aug 9, 2021
-
ensure
deserializeQueryParam
is called for lazy routes(cherry picked from commit b3559e4)
Configuration menu - View commit details
-
Copy full SHA for 8cf4f4a - Browse repository at this point
Copy the full SHA 8cf4f4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5029368 - Browse repository at this point
Copy the full SHA 5029368View commit details
Commits on Aug 10, 2021
-
Configuration menu - View commit details
-
Copy full SHA for f243a4f - Browse repository at this point
Copy the full SHA f243a4fView commit details
Commits on Sep 17, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 1a76700 - Browse repository at this point
Copy the full SHA 1a76700View commit details