Skip to content

v2.0.2

Choose a tag to compare

@LouisMazel LouisMazel released this 07 Nov 21:22
· 184 commits to develop since this release

compare changes

🩹 Fixes

  • Only release the dependents whose published range rejects the new version (607e955)

    Dependents listed in bump.dependencyTypes are no longer released on every bump of their internal dependency. A dependent without commits of its own is now released only when the range it was published with rejects the new version of its dependency: with workspace:^, on a major, a minor in 0.x, or a prerelease; with workspace:*, on every bump. Specifiers that are not semver ranges (catalog:, link:) count as out of range. Dependents are checked in turn, across version groups too.

    To release dependents on every bump of their dependencies, as before (for example, for a package that bundles its dependency):

    export default defineConfig({
      bump: {
        dependents: 'always',
      },
    })

    The option can also be set per version group (monorepo.groups[].bump.dependents).

❤️ Contributors