Overly restrictive compatibility value for brand header component

I’ve just upgraded to 3.5.0.beta9 (3cac943266) and am receiving an admin notice:

[Admin Notice] Theme ‘Brand Header Theme Component’ contains code which needs updating. (id:discourse.widgets-end-of-life) (learn more)

As far as I can tell, the component has been updated:

…but the update cannot be installed on 3.5.0.beta9 because the .discourse-compatibility file contains this line:

< 3.5.0.beta9-dev: 6fd676ea4e9cd7305d03df93bd6ce99961e4ff17

(where 6fd676ea4e9c... is the commit before the fix)

Is 3.5.0.beta9 really not able to use the fixed code?

It should be possible to install the latest version. The line in the compatibilty file means “Discourse versions before 3.5.0.beta9-dev must use the old version of the theme”. Since you’re on beta9, you should be able to use the latest version of the theme.

What are you seeing when you try to update?

2 Likes

I’m so sorry - I noticed the problem yesterday when I first upgraded, but I waited until today to report it. At the time, the dashboard wasn’t showing any available updates for the component and I jumped to the conclusion that it was because of the compatibility file. In fact it was probably just that the background check-for-updates task hadn’t run yet :man_facepalming:.

I have now updated the component and everything is fine. Sorry for wasting your time!

2 Likes