Skip to content

v1.11.0

Choose a tag to compare

@LouisMazel LouisMazel released this 22 Oct 21:30
· 489 commits to develop since this release

compare changes

Features

  • Read workspaces for commitlint scopes: Packages declared by monorepo tools now count as valid scopes without configuring commitlint.packages, including apps that relizy does not release. Supported sources are the workspaces field of package.json (npm, Yarn, Bun, and Turborepo or Nx on top of them), pnpm-workspace.yaml, lerna.json, rush.json, and the workspace field of deno.json. (c0d9e2b)

  • Add codeBlocksLinter option to commitlint: commitlint.codeBlocksLinter selects the tool that checks code blocks in commit bodies (body-changelog-lint). The default auto uses the project's ESLint when it lints CHANGELOG.md files, and otherwise uses oxc. eslint fails instead of falling back to oxc, and oxc provides a faster syntax check. (a5a3e5f)

  • Disable subject-case rule by default: Relizy capitalizes subjects in the changelog, so case has no effect there, and names such as MazChart were previously rejected. The rule remains available for teams that want lowercase subjects. The suggested header lowercases the subject only when the rule is enabled. (3079c2d)

Fixes

  • Fetch missing history in shallow CI clones: The default checkouts in GitHub Actions and GitLab CI contain only recent commits, which prevented relizy commitlint from finding the start of the range. In a shallow clone, it now fetches the full history, the pull request's target branch from origin, and the tags needed for --from. fetch-depth: 0 and GIT_DEPTH: 0 are no longer required. (ef69cf5)

  • Accept extra spaces after the header colon: commitlint no longer rejects headers such as chore: upgrade dependencies with extra spaces after the colon, matching how the changelog normalizes them. A missing space after the colon is still an error. (d99867e)

❤️ Contributors