Ember.js: [3.20] Deprecation warnings when using @glimmer/component

Created on 16 Jul 2020  路  5Comments  路  Source: emberjs/ember.js

The current version of @glimmer/component (1.0.0) in EmberGlimmerComponentManager.destroyComponent calls setSourceDestroying which has been deprecated since Ember 3.20. So using Glimmer components in Ember 3.20 leads to a deprecation warning.

cc @rwjblue, @pzuraq

Bug

Most helpful comment

Thanks for reporting this (will help others to find it). The fix will be over in @glimmer/component (in glimmerjs/glimmer.js monorepo). I'm hoping to have a PR and release out in a couple hours.

All 5 comments

Thanks for reporting this (will help others to find it). The fix will be over in @glimmer/component (in glimmerjs/glimmer.js monorepo). I'm hoping to have a PR and release out in a couple hours.

@rwjblue I wanted to make an attempt at the PR. I have no idea if anything else is needed and I did the ternary expression to support ember versions that don't have the new meta API.

https://github.com/glimmerjs/glimmer.js/pull/292

Sorry for the delays here y'all, finally got https://github.com/glimmerjs/glimmer.js/pull/293 pushed up with the changes that I think are needed.

Sorry for the delays here y'all, finally got glimmerjs/glimmer.js#293 pushed up with the changes that I think are needed.

Looks like that PR is still awaiting merge. Is there a way this be used/tested right now or should I be waiting for another release (or perhaps the closure of this issue)?

Was this page helpful?
0 / 5 - 0 ratings