-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Description
Problem Statement
The problem is that we prompt our users to upgrade their SDK version for every update we ship for SDKs.
We ship a lot of updates so that the prompt could be perceived as unimportant but it shouldn't be.
Also, upgrading without a reason also doesn't make sense; we don't do it, and why should others?
Solution Brainstorm
I am already going into proposals to make these prompts more meaningful.
(Consider it as a suggestion and not how we actually should solve it)
We add a manually maintained entry in the release registry for certain important SDK updates:
https://github.com/getsentry/sentry-release-registry/blob/master/packages/npm/%40sentry/browser/7.8.1.json#L7
To start, we can just document how to do it, and SDK developers should be aware of it. We don't need a complex system around it since it anyway shouldn't happen that often.
e.g.:
"update_text": "{version} contains important security updates"
"update_text": "{version} support new Dynamic Sampling feature, read more: {link}"
We only prompt users if such a text exists and their used version is smaller.
Once dismissed, we never prompt the user again until we ship a new version that again contains update_text
Metadata
Metadata
Assignees
Labels
Projects
Status