Skip to content

v1.13.1

Choose a tag to compare

@LouisMazel LouisMazel released this 01 Nov 14:03
· 452 commits to develop since this release

compare changes

🚀 Features

  • Single PR comment by default: prComment.mode now defaults to update, so relizy updates its existing comment on the pull or merge request at each release instead of adding a new one. Set prComment: { mode: 'append' } to keep a comment per release. (f2b4219)

  • planBumps() API: Plan a version bump without confirming, writing files, or running hooks. It takes the same version groups into account and returns the bump result plus the plans that bump() would confirm and write. A package bumped because a peer dependency's published range rejects the new version gets outOfRangePeer, naming that dependency. (5f9925e)

  • relizy mcp server for AI coding agents: Adds an MCP server for tools such as Claude Code, Cursor, Copilot, and Codex. Its tools are read-only: they never run config hooks and never write, commit, tag, push, or publish.

    • preview_release: shows the next version of each package and version group, the reason for each bump (commits, bumped dependencies, peer ranges, packages from other groups, graduations), and the tags.
    • preview_changelog: shows the changelog entries the release would write.
    • lint_commit: lints a commit message, or the commits of a branch, with suggested fixes, a header, the bump, and the changelog entry.
    • get_project, get_config_option, search_docs, get_doc: return the project config, the option reference, and the docs bundled with the installed relizy.

    relizy mcp init writes the relizy rules for agents (.claude/rules/relizy.md and a section of AGENTS.md) and registers the server in .mcp.json, .cursor/mcp.json, and .vscode/mcp.json. relizy init offers this step when the project already uses an AI agent. Run it again after upgrading relizy to refresh the rules.

    Note: relizy now requires Node.js 22.12 or higher.

🩹 Fixes

  • Peer dependency ranges checked as npm does: bump.outOfRangePeers now follows npm's range rules, so a prerelease such as 6.20.0-beta.0 is correctly rejected by ^6.19.1. A canary or beta of a dependency also releases its dependents declared with workspace:^. In independent mode, a package whose breaking peer dependency is rejected by its published range (for example 6.19.1 to 7.0.0) now gets a major bump instead of a patch. In 0.x, this is a minor bump (see bump.capZeroMajor), and for a prerelease it is a premajor. (59dd54f)

  • Major bump for breaking peer dependencies across groups: In unified and selective modes, a package released because of a breaking change in a peer dependency from another version group now bumps the root version's major. Every package in the group receives that bump. In 0.x, it becomes a minor bump, and for a prerelease a premajor. Canary versions follow the same rule in every version mode. (6e3544d)

  • Safer file restore and dry-run: Release files are now restored to their exact previous content, instead of with git checkout HEAD, which could discard uncommitted changes. Relizy records the files it writes, and the release commit stages only those files. A dry run writes nothing. With --no-clean, relizy warns about uncommitted changes and asks for confirmation in an interactive terminal outside CI. (61bd0ab)

  • Packages released for catalog updates: A commit that only updates a catalog entry (catalog: dependencies) is now attributed to the packages that reference that entry, in any dependency field. Those packages are released and their changelogs mention the update. The bump follows the commit type, so chore(deps) releases nothing. pnpm (pnpm-workspace.yaml), yarn (.yarnrc.yml), and bun (root package.json) catalogs are supported. (13928d9)

  • Commit body lines no longer dropped: Lines in a commit body that begin like a file entry (for example, "A new option sets the size.") were wrongly removed from the changelog. Only git's file list at the end of the body is now removed. (0c36df1)

  • Config loads without an origin remote: Loading the config no longer fails with "Cannot read properties of undefined (reading 'provider')" in a local repository with no origin remote and no repository field in package.json. The config now loads without the repository. (40a82a1)

❤️ Contributors