Skip to content

feat(release): add resolveVersionPlans option to changelog CLI and API#33435

Merged
JamesHenry merged 3 commits intomasterfrom
changelog-updates
Nov 11, 2025
Merged

feat(release): add resolveVersionPlans option to changelog CLI and API#33435
JamesHenry merged 3 commits intomasterfrom
changelog-updates

Conversation

@JamesHenry
Copy link
Copy Markdown
Contributor

@JamesHenry JamesHenry commented Nov 11, 2025

Current Behavior

Version plan filtering is not available for changelog generation, all version plans on disk are always included regardless of when they were added.

Expected Behavior

  • --resolve-version-plans flag with options all (default) or using-from-and-to to control which version plans
    are included in changelog generation
  • When set to using-from-and-to, only version plans added within the resolved already resolved commit range (influenceable with the existing --from and --to arguments) are considered

This allows more precise control over changelog generation, particularly useful when recreating historical releases or working with specific commit ranges and not needing to worry about cleaning up used version plan files immediately.

Additionally, this PR refactors some of the internals of the changelog implementation to make it easier to follow and adds a lot of unit tests for existing subsections of functionality

@vercel
Copy link
Copy Markdown

vercel Bot commented Nov 11, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
nx-dev Ready Ready Preview Nov 11, 2025 1:36pm

@netlify
Copy link
Copy Markdown

netlify Bot commented Nov 11, 2025

Deploy Preview for nx-docs ready!

Name Link
🔨 Latest commit 8aff8f5
🔍 Latest deploy log https://app.netlify.com/projects/nx-docs/deploys/69133ad5e5087700080e625c
😎 Deploy Preview https://deploy-preview-33435--nx-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@nx-cloud
Copy link
Copy Markdown
Contributor

nx-cloud Bot commented Nov 11, 2025

View your CI Pipeline Execution ↗ for commit 8aff8f5

Command Status Duration Result
nx affected --targets=lint,test,test-kt,build,e... ✅ Succeeded 31m 17s View ↗
nx run-many -t check-imports check-lock-files c... ✅ Succeeded 2m 50s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 11s View ↗
nx-cloud record -- nx format:check ✅ Succeeded 3s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2025-11-11 14:08:19 UTC

@JamesHenry JamesHenry changed the title chore(release): wip feat(release): add resolveVersionPlans option to changelog CLI and API Nov 11, 2025
@JamesHenry JamesHenry marked this pull request as ready for review November 11, 2025 13:35
@JamesHenry JamesHenry requested a review from a team as a code owner November 11, 2025 13:35
@github-actions
Copy link
Copy Markdown
Contributor

🐳 We have a release for that!

This PR has a release associated with it. You can try it out using this command:

npx create-nx-workspace@0.0.0-pr-33435-8aff8f5 my-workspace

Or just copy this version and use it in your own command:

0.0.0-pr-33435-8aff8f5
Release details 📑
Published version 0.0.0-pr-33435-8aff8f5
Triggered by @JamesHenry
Branch changelog-updates
Commit 8aff8f5
Workflow run 19267583289

To request a new release for this pull request, mention someone from the Nx team or the @nrwl/nx-pipelines-reviewers.

@JamesHenry JamesHenry merged commit 3439ff1 into master Nov 11, 2025
21 checks passed
@JamesHenry JamesHenry deleted the changelog-updates branch November 11, 2025 14:53
@github-actions
Copy link
Copy Markdown
Contributor

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Nov 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants