Skip to content

v2.2.1

Choose a tag to compare

@LouisMazel LouisMazel released this 11 Nov 23:03
· 125 commits to develop since this release

compare changes

🩹 Fixes

  • Install the commit-msg hook on every clone without husky (d1907fb)

    • Without husky, the hook lives in .git/hooks, which is not versioned: relizy init now adds relizy commitlint --install to the prepare script, so every clone gets the hook at install.
    • relizy commitlint --install keeps an existing hook with a warning instead of failing, and installs nothing outside a git repository, so it never breaks an install.
    • The hook in .git/hooks lets commits through while relizy is not installed, instead of blocking them.
    • Once husky is set up, the hook relizy previously wrote in .git/hooks is removed.
  • core: Fail on a scope that designates an untouched package (e52f336)

    The scope-matches-files rule is now an error by default instead of a warning, since a scope naming a package the commit does not touch gives a misleading changelog entry. To keep the previous behavior, set commitlint.rules['scope-matches-files'] to 'warn', for example while a moved package is not released yet.

💅 Refactors

  • relizy: Build on @relizy/core (0ee8d80)

    relizy now relies on the new @relizy/core package for its generic capabilities. Nothing changes for users: the API, CLI, configuration, behavior, v* tags, GitHub releases and changelog are the same. The MCP server also documents the API of @relizy/core.

❤️ Contributors