stayallive / wp-sentry

A (unofficial) WordPress plugin reporting PHP and JavaScript errors to Sentry.
https://wordpress.org/plugins/wp-sentry-integration/
MIT License
300 stars 48 forks source link

Non semver version numbering in Sentry dashboard #186

Closed vtwigt closed 3 months ago

vtwigt commented 3 months ago

Even though my theme is using semver notation for version numbers, I found that the Sentry dashboard stated the version numbers as "non-semver":

Screenshot 2024-05-16 at 16 18 38

The plugin sets the release option with the exact theme version (i.e. 2.6.3). However, it looks like the Sentry docs mention a format like my-project-name@2.3.12.

Could this be the reason that Sentry does not recognize the semver format used? And if so, could this be fixed? For example, by using the theme folder name: theme-folder@2.6.3

stayallive commented 3 months ago

I am not a 100% sure that is it, can you check your previous releases? According to the docs this is how Sentry decides if a release strategy for a project is semver:

image

I don;t think the package name prefix is required but I will ask around to find out!