Skip to content

Do not bump to major when peerDependency is bumped to minor #1126

Closed

Description

@dimaMachina

Affected Packages

@changesets/assemble-release-plan

Problem

Currently, when "fixed" option is specified with "onlyUpdatePeerDependentsWhenOutOfRange": true

  "___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
    "onlyUpdatePeerDependentsWhenOutOfRange": true
  }

Packages are still bumped to major, to fix it I patch assemble-release-plan source code with the following patch https://github.com/shuding/nextra/blob/main/patches/%40changesets__assemble-release-plan%405.2.3.patch

Proposed solution

New option or rethink behaviour

Activity

  1. changed the title [-]Do not but to major when peerDependency bumped to minor[/-] [+]Do not bump to major when peerDependency is bumped to minor[/+] on Mar 30, 2023
  2. unional commented on May 5, 2023

    @unional

    justland/just-web#295

    Got the same issue. @B2o5T thanks for the patch info!

  3. added a commit that references this issue on May 23, 2023
  4. schilchSICKAG commented on Feb 2, 2026

    @schilchSICKAG

    @Andarist: I had the same issue and the patch works fine. Any way you could include this in a future release? Its lying around for two years now and I would feel better if this would be an official part of Changesets :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions