DonH
28 Agosto 2025, 3:37pm
77
Per tua informazione, un avviso di deprecazione è apparso dopo l’aggiornamento di Discourse che indica la necessità di una revisione del codice per il plugin DiscPage.
As part of our preparation for the Ember 6 upgrade, we have now enabled warning banners for the “component template resolving” deprecation.
[SCR-20250613-iunc]
To find more information about the issue, open up the browser developer console (F12), and look for a message including [deprecation id: component-template-resolving]
[SCR-20250613-iutc]
This message will include the name of the affected component (in this case components/my-component), which should help you to isolate the problem t…
Background
Essentially, if you’re using something like {{foo}} in a handlebars template to reference a property on the controller/component, then it needs to be updated to {{this.foo}}.
Upstream information: Property Fallback Lookup | Ember.js - Deprecations
To get Discourse through the Ember 4.x upgrade, we introduced a backwards-compatibility shim so that themes and plugins did not need to rush through this change. However, it’s not feasible to maintain this shim indefinitely, so we need to …
3 Mi Piace