The CF_VERSION_METADATA only has one reason - to add the release id.
Since we already set the release when SENTRY_RELEASE is enabled automatically, we can do the same for CF_VERSION_METADATA. The docs will then also be updated to state how the release id can be set in different ways: getsentry/sentry-docs#16006
Note
The pull request "feat(cloudflare): Automatically set the release id when CF_VERSION_METADATA is enabled" was created by @JPeer264 but did not reference an issue. Therefore this issue was created for better visibility in external tools like Linear.
The
CF_VERSION_METADATAonly has one reason - to add the release id.Since we already set the release when
SENTRY_RELEASEis enabled automatically, we can do the same forCF_VERSION_METADATA. The docs will then also be updated to state how the release id can be set in different ways: getsentry/sentry-docs#16006