Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why?
When you release on NPM, you can specify a tag for the release (docs). This lets your users install an alias that points to the latest release in a channel:
Previously, we've tagged everything that wasn't GA with the
beta
tag. That has two issues:beta
nomenclature in favor ofpublic-preview
To support this change, we updated the tags we use when publishing. These tags can be any string, so switching them is fine. There's nothing special about the
beta
tag we were using.The only downside is that for new users who find docs that still say
npm install stripe@beta
, they'll now get an older version of the package (since we're not tagging releases with that anymore). If this is an issue, we can likely give a release multiple tags, but I'm not positive. There's no effect on existing users, since people with existing dependency declarations have a real version specifier.I've called out this change in the changelog.
What?
See Also
Changelog
beta
npm tag. Instead, we'll uselatest
,public-preview
, orprivate-preview
to more closely align with Stripe's release phases