Skip to content

feat(release): allow for semver requirements to be disabled in version and changelog #31794

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 7, 2025

Conversation

Coly010
Copy link
Contributor

@Coly010 Coly010 commented Jul 1, 2025

Current Behavior

Aspects of Nx Release currently restrict versioning to semver only. This causes issues with release implementations that do not follow semver, such as CalVer.

Expected Behavior

Add a new config option to release called releaseTagPatternRequireSemver to dictate handling of tags in the workspace.
It is true by default.
Setting to false allows for non-semver tags to be resolved.

e.g.

"release": {
  "releaseTagPatternRequireSemver": true,
  "groups": {
    "group-1": {
      "releaseTagPatternRequireSemver": false
    }
  }
}

@Coly010 Coly010 self-assigned this Jul 1, 2025
Copy link

vercel bot commented Jul 1, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
nx-dev ✅ Ready (Inspect) Visit Preview Jul 7, 2025 9:27am

Copy link
Contributor

nx-cloud bot commented Jul 1, 2025

View your CI Pipeline Execution ↗ for commit bef415f

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ✅ Succeeded 29m 42s View ↗
nx run-many -t check-imports check-commit check... ✅ Succeeded 15s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 2s View ↗
nx-cloud record -- nx format:check ✅ Succeeded 6s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded 4s View ↗
nx documentation ✅ Succeeded 2m 7s View ↗

☁️ Nx Cloud last updated this comment at 2025-07-07 09:52:30 UTC

@Coly010 Coly010 force-pushed the non-semver-release branch from cdd1be9 to 8817286 Compare July 3, 2025 15:03
@JamesHenry JamesHenry changed the title feat(core): support non-semver versioning in release feat(release): allow for semver requirements to be disabled in version and changelog Jul 4, 2025
@Coly010 Coly010 force-pushed the non-semver-release branch from 8817286 to f76a40d Compare July 4, 2025 13:39
@Coly010 Coly010 marked this pull request as ready for review July 4, 2025 14:56
@Coly010 Coly010 requested review from a team as code owners July 4, 2025 14:56
@Coly010 Coly010 requested a review from AgentEnder July 4, 2025 14:56
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com>
@JamesHenry JamesHenry merged commit 16e3e7a into master Jul 7, 2025
8 checks passed
@JamesHenry JamesHenry deleted the non-semver-release branch July 7, 2025 09:53
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.

2 participants