You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The latest tag is a reserved tag that indicates the default version in npm. Safeguards were previously introduced to incentivise the release cycle to help maintain quality standards, e.g., pre-release (test or release candidate) -> stable -> latest. The recent introduction of the "skip pre-release" mode (#983) gives maintainers immediate control over defining a "stable" release. As a result, we are relaxing the previous safeguards around the latest tag to support this new flexibility
How?
Remove "create-release" guard "Validate branch for latest release"
Update documentation
Contribution checklist?
You've done enough research before writing
You have reviewed the PR
The commit messages are detailed
The build command runs locally
Assets or static content are linked and stored in the project
For documentation, guides or references, you've tested the commands
Security checklist?
All user inputs are validated and sanitized
No usage of dangerouslySetInnerHTML
Sensitive data has been identified and is being protected properly
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
Clean, minimal change that does exactly what it says on the tin. ✅
What's removed: The hard guard in create-release.yml that blocked latest releases from any branch other than main.
What's preserved (all other safeguards remain intact):
Validate release confirmation — still requires typing both the release type and branch name for stable/latest releases
Validate latest release eligibility — still enforces that a pre-release version must exist before promoting to stable/latest
Maintenance branch safeguard check — still prevents releasing from main when a maintenance branch already exists for that version
Check if version already published — duplicate publish protection still in place
Documentation update (docs/package-release.md) is accurate and the [!WARNING] callout clearly communicates the downgrade risk for users who haven't pinned a version. That's the right level of visibility for a footgun this significant.
💡 Suggestion(non-blocking)
Consider making the [!WARNING] in the docs even more actionable — e.g., linking to the npm docs on dist-tags or adding a note about how to check the current latest tag (npm dist-tag ls @clickhouse/click-ui) before deciding to overwrite it. Not required — the current warning is already clear.
✅ No bugs, no regressions, no missing guards. The trade-off is intentional and well-documented. Nice work! 🙌
punkbit
changed the title
chore(maintenance): 🤖 relax constraints on "latest" tag usage
chore(qa): 🤖 relax constraints on "latest" tag usage
Apr 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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?
The
latesttag is a reserved tag that indicates the default version in npm. Safeguards were previously introduced to incentivise the release cycle to help maintain quality standards, e.g., pre-release (test or release candidate) -> stable -> latest. The recent introduction of the "skip pre-release" mode (#983) gives maintainers immediate control over defining a "stable" release. As a result, we are relaxing the previous safeguards around the latest tag to support this new flexibilityHow?
Contribution checklist?
buildcommand runs locallySecurity checklist?
dangerouslySetInnerHTMLPreview?
N/A