Description
When working with the Symfony SDK I noticed that the app version set in composer.json as below is prioritised over the SENTRT_RELEASE environment variable set in .env file.
{
"type": "project",
"license": "proprietary",
"version": "1.58.1",
"minimum-stability": "stable",
}
The precedence order according to my tests was:
- Release set in config/packages/sentry.yaml
- “Version” tag added to composer.json
- SENTRY_RELEASE environment variable set in .env
Because only the environment variable and sentry.yaml
options are documented, I would expect these two to take precedence over all other automatically detected releases. Is this intended behaviour?
I’m using:
Sentry Symfony SDK v4.2.9
Composer v2.0.9
Symfony v5.4.8
PHP v7.4.29
Metadata
Metadata
Assignees
Labels
No labels