Hi, after updating today to the latest release I have the dreaded pink banner:
With that page of explanation: Component Template Resolving | Ember.js - Deprecations
I could not understand those explanations… Could someone explain to a rather non technician?
Thanks
Oh I realize the banner might not be pink for everyone…
2 לייקים
Lilly
(Lillian Louis)
13 ביוני, 2025, 3:46am
2
it’s because you are using 2 unofficial theme components that need to be modernized for templates and js api:
This theme component provides a number of enhancements for the Discourse category header.
The ‘standard’ Discourse category header is displayed at the top of each category page, above the navigation links and list of topics. It is normally only visible if a category logo image has been uploaded in the category settings. The header displays the logo and a short description of the category, taken from the first paragraph of the ‘About the… category’ topic.
This theme component provides the foll…
you should disable them until they are fixed. see here:
edit: keep in mind these are admin warnings - the components are not actually broken yet, but will inevitably break in a few months unless updated appropriately.
8 לייקים
Richie
(Richie Rich)
13 ביוני, 2025, 7:06am
3
I’m getting the same warning banner after updating this morning too.
Much like @patrickemin screen shot, mine isn’t telling me the cause of the issue either
How can I find out which component / or components are causing this banner to appear?
Moin
13 ביוני, 2025, 7:21am
4
Lilly shared a screenshot of the browser console. You can open it, for example, with Command +Option +J (Mac) or Control +Shift +J (Windows).
Your list seems quite long, but most of it is the same component:
Category Previews
Cookie Consent Banner
Light
4 לייקים
Richie
(Richie Rich)
13 ביוני, 2025, 7:36am
6
Moin:
the browser console
Ah-ha, thanks
I’m a bit worried by the Light
warning.
If I think back to around seven years ago, isn’t Light
the main core theme that was installed with my Discourse on day one?
Moin
13 ביוני, 2025, 7:37am
7
Did you add any custom code to it?
לייק 1
Richie
(Richie Rich)
13 ביוני, 2025, 7:39am
8
Ignore that, I get the same warning on Dark
too.
I’m guessing that could be caused by some additional CSS or JS that I’ve added
לייק 1
Richie
(Richie Rich)
13 ביוני, 2025, 7:40am
9
Sorry, overlapping posts.
Yes - lots, it must be caused by that, I’ll check it out thanks
לייק 1
david
(David Taylor)
13 ביוני, 2025, 8:41am
10
I’ve just posted a dedicated topic for this deprecation, and I’ll update the warning banner to link there instead of taking people directly to Ember’s docs.
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…
To expand on this: disabling them will remove the error banner, so that’s fine if you really need to hide it.
But it’s worth noting that deprecation notices don’t mean something is broken. It means that it will be broken in future, and we’re giving developers some advanced warning of that. It’s fine to keep using these things in the meantime.
On the <script>
tag deprecation, we have a timeline here - everything will keep working until September.
7 לייקים
Lilly
(Lillian Louis)
13 ביוני, 2025, 11:23am
11
yea sorry about that, I should have been more clear that folks have a couple of months or so to fix these before they actually break.
5 לייקים
Thanks everyone, that’s very clear!
3 לייקים
piffy
16 ביוני, 2025, 10:08pm
13
The Jump button component has now been modernized
3 לייקים
system
(system)
נסגר ב־
16 ביולי, 2025, 10:09pm
14
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.