Admin-Notification shows "new version available" for Release-Candidate
Sylius version(s) affected
2.2.9
Description
Just installed the latest version of Sylius (before 2.3.0 came out) and it kept telling me that a new version was out (which then there wasn't).
When checking the Code, it respects "2.3.0-RC.1" as a valid new version (even though it is "only" an RC). https://gus.sylius.com/version returns this RC-Version.
Might be misleading to customers that expected to always get the latest version and then are confronted with this notification.
How to reproduce
As long as https://gus.sylius.com/version returns an RC, it can be tested. Alternatively just mock the url, reconfigure it and return an RC-Version manually.
Possible Solution
Only pull/respect versions that match a regex like ^\d+\.\d+\.\d+$.
Preferably https://gus.sylius.com/version does not return release-candidate versions.
Additional Context
No response
Source: Sylius/Sylius