DonH
Août 28, 2025, 3:37
77
Pour information - un avertissement de dépréciation est apparu après la mise à jour de Discourse, indiquant la nécessité d’une révision du code pour le 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 « J'aime »