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

[DOC release-3-28] Add missing deprecation urls #19754

Closed
wants to merge 50 commits into from

Commits on May 3, 2021

  1. Configuration menu
    Copy the full SHA
    666ae33 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    916e104 View commit details
    Browse the repository at this point in the history
  3. Release v3.28.0-beta.1

    kategengler committed May 3, 2021
    Configuration menu
    Copy the full SHA
    68fccf9 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2021

  1. [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 committed May 12, 2021
    Configuration menu
    Copy the full SHA
    173b804 View commit details
    Browse the repository at this point in the history
  2. [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=...>`
    chancancode authored and Chris Garrett committed May 12, 2021
    Configuration menu
    Copy the full SHA
    713a4c2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d79f94f View commit details
    Browse the repository at this point in the history

Commits on May 13, 2021

  1. Release notes for v3.27.1

    (cherry picked from commit 8e57edd)
    chancancode committed May 13, 2021
    Configuration menu
    Copy the full SHA
    b3b4e53 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2021

  1. [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 committed May 24, 2021
    Configuration menu
    Copy the full SHA
    87b43a1 View commit details
    Browse the repository at this point in the history
  2. [BUGFIX release] Make {{hash}} object properties settables

    Makes all {{hash}} object properties settable, but deprecates setting
    them.
    
    (cherry picked from commit ec4c034)
    Chris Garrett committed May 24, 2021
    Configuration menu
    Copy the full SHA
    e50dc6e View commit details
    Browse the repository at this point in the history

Commits on May 27, 2021

  1. [DOC release] fix passing params to named blocks examples

    (cherry picked from commit e19e975)
    chrisgame authored and chancancode committed May 27, 2021
    Configuration menu
    Copy the full SHA
    6eb573c View commit details
    Browse the repository at this point in the history
  2. fix computed deprecation import path

    (cherry picked from commit 692c3b8)
    knownasilya authored and chancancode committed May 27, 2021
    Configuration menu
    Copy the full SHA
    3b1d38c View commit details
    Browse the repository at this point in the history
  3. [BUGFIX] pass module prefix to initializer test blueprints

    (cherry picked from commit c69365b)
    anehx authored and chancancode committed May 27, 2021
    Configuration menu
    Copy the full SHA
    01608b7 View commit details
    Browse the repository at this point in the history
  4. Use explicit this in helper-test blueprints

    (cherry picked from commit 844c2f4)
    bertdeblock authored and chancancode committed May 27, 2021
    Configuration menu
    Copy the full SHA
    65a75d0 View commit details
    Browse the repository at this point in the history
  5. [BUGFIX release] Improve class based tranform deprecation message

    (cherry picked from commit e28a201)
    chancancode committed May 27, 2021
    Configuration menu
    Copy the full SHA
    ec0c86e View commit details
    Browse the repository at this point in the history
  6. [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)
    chancancode committed May 27, 2021
    Configuration menu
    Copy the full SHA
    c70dd51 View commit details
    Browse the repository at this point in the history
  7. [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)
    chancancode committed May 27, 2021
    Configuration menu
    Copy the full SHA
    edb4e1d View commit details
    Browse the repository at this point in the history
  8. Downlevel for IE11

    (cherry picked from commit 72c3fd7)
    chancancode committed May 27, 2021
    Configuration menu
    Copy the full SHA
    d9a66ae View commit details
    Browse the repository at this point in the history
  9. fix: lookup/register and singleton flag behavior

    (cherry picked from commit 1d49ea9)
    runspired authored and rwjblue committed May 27, 2021
    Configuration menu
    Copy the full SHA
    c54ed9e View commit details
    Browse the repository at this point in the history
  10. fix lint

    (cherry picked from commit 6706b17)
    runspired authored and rwjblue committed May 27, 2021
    Configuration menu
    Copy the full SHA
    02b4e2e View commit details
    Browse the repository at this point in the history
  11. Add v3.27.2 to CHANGELOG.md.

    rwjblue committed May 27, 2021
    Configuration menu
    Copy the full SHA
    df6636a View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    c203d79 View commit details
    Browse the repository at this point in the history
  13. 3.28.0-beta.2

    rwjblue committed May 27, 2021
    Configuration menu
    Copy the full SHA
    5f368b0 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2021

  1. [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)
    Chris Garrett authored and kategengler committed Jun 1, 2021
    Configuration menu
    Copy the full SHA
    a4099ea View commit details
    Browse the repository at this point in the history
  2. Extend transition deprecation

    (cherry picked from commit 926452f)
    btecu authored and kategengler committed Jun 1, 2021
    Configuration menu
    Copy the full SHA
    a10b4bc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    055b923 View commit details
    Browse the repository at this point in the history
  4. Release v3.28.0-beta.3

    kategengler committed Jun 1, 2021
    Configuration menu
    Copy the full SHA
    20b4eff View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2021

  1. [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)
    rwjblue committed Jun 3, 2021
    Configuration menu
    Copy the full SHA
    a920b45 View commit details
    Browse the repository at this point in the history
  2. Add v3.27.3 to CHANGELOG.md.

    rwjblue committed Jun 3, 2021
    Configuration menu
    Copy the full SHA
    edbfc03 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2021

  1. Configuration menu
    Copy the full SHA
    e31720c View commit details
    Browse the repository at this point in the history
  2. Release v3.28.0-beta.4

    kategengler committed Jun 7, 2021
    Configuration menu
    Copy the full SHA
    2f54b0b View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2021

  1. [DOC release] Fix "Dormant" addon warning typo

    (cherry picked from commit fcf2a64)
    ctjhoa authored and chancancode committed Jun 9, 2021
    Configuration menu
    Copy the full SHA
    5571a8b View commit details
    Browse the repository at this point in the history
  2. Add CHANGELOG for v3.27.4

    (cherry picked from commit fe32020)
    chancancode committed Jun 9, 2021
    Configuration menu
    Copy the full SHA
    2392417 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2021

  1. [BIGFIX release] Fix <LinkTo> with nested children

    During 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)
    chancancode committed Jun 10, 2021
    Configuration menu
    Copy the full SHA
    1736bfe View commit details
    Browse the repository at this point in the history
  2. Add CHANGELOG for 3.27.5

    chancancode committed Jun 10, 2021
    Configuration menu
    Copy the full SHA
    428e7a0 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2021

  1. Configuration menu
    Copy the full SHA
    7de1e20 View commit details
    Browse the repository at this point in the history
  2. Release v3.28.0-beta.5

    kategengler committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    e261517 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2021

  1. [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)
    Chris Garrett authored and kategengler committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    2971607 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a01e11d View commit details
    Browse the repository at this point in the history
  3. Release 3.28.0-beta.6

    kategengler committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    cd55255 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2021

  1. [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)
    Chris Garrett authored and kategengler committed Aug 2, 2021
    Configuration menu
    Copy the full SHA
    0825f8a View commit details
    Browse the repository at this point in the history
  2. [BUGFIX LTS] fix memory leak in RouterService

    (cherry picked from commit 238e016)
    Henry Majoros authored and kategengler committed Aug 2, 2021
    Configuration menu
    Copy the full SHA
    21ecd42 View commit details
    Browse the repository at this point in the history
  3. [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)
    mixonic authored and kategengler committed Aug 2, 2021
    Configuration menu
    Copy the full SHA
    8a4e4af View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cf4ccb6 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #19694 from emberjs/kg-add-native-proxy-guard

    Add `HAS_NATIVE_PROXY` guard to test
    kategengler committed Aug 2, 2021
    Configuration menu
    Copy the full SHA
    5365a3c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f65283d View commit details
    Browse the repository at this point in the history
  7. Release 3.28.0-beta.7

    kategengler committed Aug 2, 2021
    Configuration menu
    Copy the full SHA
    a4bfee9 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2021

  1. ensure deserializeQueryParam is called for lazy routes

    (cherry picked from commit b3559e4)
    brendenpalmer authored and kategengler committed Aug 9, 2021
    Configuration menu
    Copy the full SHA
    8cf4f4a View commit details
    Browse the repository at this point in the history
  2. Add v3.28.0 to CHANGELOG

    kategengler committed Aug 9, 2021
    Configuration menu
    Copy the full SHA
    5029368 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2021

  1. Release v3.28.0

    kategengler committed Aug 10, 2021
    Configuration menu
    Copy the full SHA
    f243a4f View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2021

  1. Configuration menu
    Copy the full SHA
    1a76700 View commit details
    Browse the repository at this point in the history