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

[BUGFIX release] Refine Ember Global deprecation message #19557

Merged
merged 1 commit into from May 26, 2021

Commits on May 26, 2021

  1. [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`.
    
    ```
    chancancode committed May 26, 2021
    Configuration menu
    Copy the full SHA
    bb9d96e View commit details
    Browse the repository at this point in the history