Skip to content

chore(renovate): group pre-1.0 dprint/oxfmt bumps with non-major deps - #28

Merged
dawsontoth merged 2 commits into
mainfrom
chore/renovate-group-0x-formatters
Jul 20, 2026
Merged

chore(renovate): group pre-1.0 dprint/oxfmt bumps with non-major deps#28
dawsontoth merged 2 commits into
mainfrom
chore/renovate-group-0x-formatters

Conversation

@dawsontoth

Copy link
Copy Markdown
Contributor

What

Treat pre-1.0 dprint/oxfmt bumps as non-major, so they group into the existing "all non-major dependencies" PR instead of opening a separate PR every release.

Why

Under caret semantics ^0.58.0 doesn't satisfy 0.59.0, so Renovate splits every 0.x minor bump of these formatters into its own PR (e.g. the standalone oxfmt/dprint PRs this week). They're stable in practice and any breakage surfaces immediately in the formatter tooling — no need for individual review.

How

Adds a packageRules entry mirroring the existing non-major group, scoped to dprint/oxfmt while matchCurrentVersion: "< 1.0.0". Once either reaches 1.0.0 the rule stops matching and they return to the normal major cadence (separate PRs) automatically. Validated with renovate-config-validator.

Companion PRs applied to the other repos carrying these tools (schema-codegen, agent-tools, create-harper, studio).

🤖 Generated with Claude Code

Under caret semantics ^0.x doesn't satisfy the next 0.y, so Renovate splits every pre-1.0 dprint/oxfmt bump into its own PR. These formatters are stable in practice and breakage surfaces immediately in tooling, so group them with the other non-major updates until they reach 1.0.0.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the Renovate configuration to group pre-1.0 updates of dprint and oxfmt with other non-major dependencies. The review feedback correctly points out that minor version bumps for pre-1.0 dependencies are classified as major updates in Renovate, meaning "major" must be added to the matchUpdateTypes array for the rule to work as intended.

Comment thread renovate.json Outdated
Renovate classifies a 0.x minor bump (e.g. 0.58.0 -> 0.59.0) as a major update under semver, so restricting matchUpdateTypes to [minor, patch] missed exactly the bumps we want to group. Drop the restriction; matchCurrentVersion < 1.0.0 already scopes the rule to pre-1.0. Addresses Gemini review feedback.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@dawsontoth
dawsontoth merged commit f8018e9 into main Jul 20, 2026
9 checks passed
@dawsontoth
dawsontoth deleted the chore/renovate-group-0x-formatters branch July 20, 2026 16:27
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.2.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant