Coder Social home page Coder Social logo

Comments (8)

nlfurniss avatar nlfurniss commented on July 18, 2024 1

Major apologies, after some more looking the issue seems to be caused my dependence on ember-sortable and its use of an older version of @ember/render-modifiers. I guess that version discrepancy makes it so that ember-highcharts must use that older version in my app even though the newer version is specified. Just having ember-sortable installed w/o any of its components/modifers invoked causes the warning.

Thanks for your help and quick responses.

No worries, thanks for reminding me to do a release. Will follow up with a minor release that removes ember-modifier

from ember-highcharts.

nlfurniss avatar nlfurniss commented on July 18, 2024

Can you post the full stacktrace?

from ember-highcharts.

charlesfries avatar charlesfries commented on July 18, 2024
DEPRECATION: Versions of modifier manager capabilities prior to 3.22 have been deprecated. You must update to the 3.22 capabilities. [deprecation id: manager-capabilities.modifiers-3-13] See https://deprecations.emberjs.com/v3.x#toc_manager-capabilities-modifiers-3-13 for more details.
        at logDeprecationStackTrace (http://localhost:4200/assets/vendor.js:42687:21)
        at HANDLERS.<computed> (http://localhost:4200/assets/vendor.js:42820:9)
        at raiseOnDeprecation (http://localhost:4200/assets/vendor.js:42714:9)
        at HANDLERS.<computed> (http://localhost:4200/assets/vendor.js:42820:9)
        at invoke (http://localhost:4200/assets/vendor.js:42832:9)
        at deprecate (http://localhost:4200/assets/vendor.js:42788:28)
        at modifierCapabilities$1 (http://localhost:4200/assets/vendor.js:17466:62)
        at http://localhost:4200/assets/vendor.js:191767:46
        at CustomModifierManager.getDelegateFor (http://localhost:4200/assets/vendor.js:51041:20)
logDeprecationStackTrace @ deprecate.js:136
HANDLERS.<computed> @ handlers.js:26
raiseOnDeprecation @ deprecate.js:146
HANDLERS.<computed> @ handlers.js:26
invoke @ handlers.js:38
deprecate @ deprecate.js:220
modifierCapabilities$1 @ index.js:8852
(anonymous) @ did-update.js:66
getDelegateFor @ manager.js:714

from ember-highcharts.

nlfurniss avatar nlfurniss commented on July 18, 2024

@charlesfries should be fixed in the latest release. Please let me know

from ember-highcharts.

charlesfries avatar charlesfries commented on July 18, 2024

Still seeing it. Not sure why upgrading @ember/render-modifiers ember-modifier didn't fix it.

Also I see the deprecation warning appear twice, right as the single <HighCharts /> component is rendered.

from ember-highcharts.

charlesfries avatar charlesfries commented on July 18, 2024

@nlfurniss Does this addon even need to depend on ember-modifier since it doesn't export any modifiers?

from ember-highcharts.

nlfurniss avatar nlfurniss commented on July 18, 2024

Yes you're right. However I can't repro. Running master and upgrading to ember 4.0.0-beta.8 the only deprecation I see is

DEPRECATION: Use of `assign` has been deprecated. Please use `Object.assign` or the spread operator instead. [deprecation id: ember-polyfills.deprecate-assign] See https://deprecations.emberjs.com/v4.x/#toc_ember-polyfills-deprecate-assign for more details.

from ember-highcharts.

charlesfries avatar charlesfries commented on July 18, 2024

Major apologies, after some more looking the issue seems to be caused by my dependence on ember-sortable and its use of an older version of @ember/render-modifiers. I guess that version discrepancy makes it so that ember-highcharts must use that older version in my app even though the newer version is specified. Just having ember-sortable installed (w/o any of its components/modifers invoked) + the <HighCharts /> component causes the warning.

Thanks for your help and quick responses.

from ember-highcharts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.