Skip to content

fix(notes): demote Dependabot deps-dev bumps by default - #645

Merged
goosewobbler merged 3 commits into
mainfrom
ccr-399a7c1b-9qapr0
Oct 22, 2026
Merged

goosewobbler merged 3 commits into
mainfrom
ccr-399a7c1b-9qapr0

Conversation

@goosewobbler

@goosewobbler goosewobbler commented Oct 6, 2026 •

Copy link
Copy Markdown
Owner

Description

The default changelog.demoteScopes was ["deps"]. Dependabot uses deps-dev as the scope for development-dependency bumps, so those entries showed up under Changed in standing-PR changelogs. They belong in the Dependencies & version bumps subsection, and the desktop-mobile standing PR shows the problem (#699, #681, #628).

  • Add DEFAULT_DEMOTE_SCOPES = ['deps', 'deps-dev'] to @releasekit/config and use it as the schema default and as the standing-PR renderer fallbacks. The fallbacks were previously hardcoded in three places.
  • Regenerate releasekit.schema.json and docs/configuration.md.
  • Add a unit test that checks deps-dev entries are demoted by default.

Projects that set demoteScopes explicitly are unaffected. Unscoped commits such as chore: update deps are still out of reach for scope-based demotion.

Related Issue(s)

Closes #644

Type of Change

  • feat — New feature
  • fix — Bug fix
  • docs — Documentation change
  • refactor — Code refactoring
  • test — Adding or updating tests
  • chore — Maintenance, dependencies, tooling
  • Breaking change — Requires major version bump

Scope

  • @releasekit/version
  • @releasekit/notes
  • @releasekit/publish
  • @releasekit/config
  • @releasekit/core
  • CI / workflows
  • Root / monorepo (@releasekit/release, schema + docs)

Checklist

  • Lint passes (pnpm lint)
  • Tests pass (pnpm test)
  • Typecheck passes (pnpm typecheck)
  • Documentation updated (if applicable)
  • Breaking changes noted in description

Testing Notes

@releasekit/release (845 tests) and @releasekit/config (222 tests) pass. schema:check and docs:check are clean. The standing-pr.spec.ts mock of @releasekit/config now includes the new constant.

🤖 Generated with Claude Code

https://claude.ai/code/session_011ZpWAtCbRoFfXLyWmDyf1M


Generated by Claude Code

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge, with the previous test-coverage finding addressed and no new actionable issues found.

Summary

Adds deps-dev to the default scopes grouped under “Dependencies & version bumps” in standing-PR changelogs.

  • Development dependency bumps now sit under the dependency heading by default.

No new actionable issues were found in the changes since the previous review. Tests were inspected but not run.

Reviews (2) · Last reviewed commit: "test(release): cover deps-dev demotion i..." · Reviewed by Greptile

The default changelog.demoteScopes was ["deps"], so Dependabot's
chore(deps-dev) development-dependency bumps rendered under "Changed"
instead of the "Dependencies & version bumps" subsection. Default to
["deps", "deps-dev"] via a single DEFAULT_DEMOTE_SCOPES constant shared
by the schema and the standing-PR renderer.

Closes #644

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011ZpWAtCbRoFfXLyWmDyf1M
@github-actions

github-actions Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Standing release PR: #614 · v0.42.0 queued (4 packages) · open 82d 2h 58m · ✅ ready to merge

Release Preview — v0.41.2 → v0.41.3

Note: Labels on this PR are advisory in standing-pr mode. Bumps come from conventional commits in the standing PR; override by editing labels on the standing PR itself. Add release:immediate to bypass the standing PR and release this PR directly.

These changes will be added to the release PR (#614) when merged:

Changelog

monorepo 0.41.2 → 0.41.3

Changed

  • trim makeRowChangelogRenderer doc comment (release)
  • cover deps-dev demotion in the combined footer (release)
  • flag console in package source (biome) (PR #668)
  • skip CodeQL, release preview and title checks on the standing release PR (PR #672)
  • add .git-blame-ignore-revs for the block-statement sweep (PR #680)
  • add commands and gotchas to AGENTS.md, and drop CLAUDE.md (PR #673)
  • make noExplicitAny an error outside specs and mocks (biome) (PR #682)
  • update package versions and lockfile (deps) (PR #681)
  • enforce block statements (biome) (PR #679 · closes #666)
  • bump anthropics/claude-code-action from 1.0.240 to 1.0.252 (deps) (PR #663)
  • match the README flag table to the CLI (version) (PR #677)
  • bump to 2.11.10 and opt out of agent guidance (turbo) (PR #671)
  • flag barrel files outside package entry points (biome) (PR #669)
  • enforce the shared coverage thresholds in every package's unit run (PR #670)
  • tick off shipped LLM-notes work and refresh the enablement note (roadmap) (PR #665)
  • bump smol-toml from 1.7.1 to 1.9.0 (deps) (PR #658)
  • bump handlebars from 4.7.9 to 4.7.10 (deps) (PR #659)
  • bump dorny/paths-filter from 4.0.2 to 4.0.3 (deps) (PR #624)
  • bump anthropics/claude-code-action from 1.0.183 to 1.0.240 (deps) (PR #642)
  • bump the development-dependencies group across 1 directory with 4 updates (deps-dev) (PR #625)

Fixed

  • recognise ReleaseKitError across bundled copies of core (core) (PR #651)
  • demote Dependabot deps-dev bumps by default (notes) (#644)

All packages → 0.41.3 (sync versioning)

  • @releasekit/version
  • @releasekit/notes
  • @releasekit/publish
  • @releasekit/release

After merge — predicted release

No version escalation — this PR's changes will be included in the queued release without affecting the projected versions.

Package Standing PR This PR After merge
monorepo 0.42.0 0.41.3 0.42.0

Updated automatically by ReleaseKit

Comment thread packages/release/test/unit/changelog-region.spec.ts Outdated
github-actions Bot and others added 2 commits October 22, 2026 22:02
The footer has its own demoteScopes default fallback; assert it demotes deps-dev too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Drop the restated defaults; DEFAULT_DEMOTE_SCOPES and the config schema own them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Changelog: Dependabot deps-dev bumps aren't demoted into "Dependencies & version bumps"

2 participants