Repository navigation
v1.11.0
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 theworkspacesfield ofpackage.json(npm, Yarn, Bun, and Turborepo or Nx on top of them),pnpm-workspace.yaml,lerna.json,rush.json, and theworkspacefield ofdeno.json. (c0d9e2b) -
Add
codeBlocksLinteroption to commitlint:commitlint.codeBlocksLinterselects the tool that checks code blocks in commit bodies (body-changelog-lint). The defaultautouses the project's ESLint when it lintsCHANGELOG.mdfiles, and otherwise uses oxc.eslintfails instead of falling back to oxc, andoxcprovides 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
MazChartwere 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 commitlintfrom finding the start of the range. In a shallow clone, it now fetches the full history, the pull request's target branch fromorigin, and the tags needed for--from.fetch-depth: 0andGIT_DEPTH: 0are no longer required. (ef69cf5) -
Accept extra spaces after the header colon:
commitlintno longer rejects headers such aschore: upgrade dependencieswith extra spaces after the colon, matching how the changelog normalizes them. A missing space after the colon is still an error. (d99867e)
❤️ Contributors
- LouisMazel (@LouisMazel)