Files
vercel__workflow/.changeset/config.json
Pranay Prakash b52869e99e fix(changesets): only major-bump peer dependents when out of range (#2439)
@workflow/ai declares `workflow` as a peerDependency. By default,
changesets force-bumps a package a full major whenever a peer
dependency takes a minor/major bump, regardless of whether the new
version is still within the declared range
(`onlyUpdatePeerDependentsWhenOutOfRange` defaults to false).

On the `stable` branch (regular changeset mode) this caused three
ordinary `workflow` minors (4.3.0/4.4.0/4.5.0) to drag @workflow/ai
to 5.0.0/6.0.0/7.0.0 with no real changes. Setting the option to
true makes the major bump fire only when a new `workflow` version
actually leaves @workflow/ai's `^4` peer range.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-15 15:41:41 -07:00

38 lines
759 B
JSON

{
"$schema": "https://unpkg.com/@changesets/config@3.1.1/schema.json",
"changelog": [
"./changelog.mjs",
{
"repo": "vercel/workflow"
}
],
"commit": false,
"fixed": [
[
"workflow",
"@workflow/core"
],
[
"@workflow/web",
"@workflow/web-shared"
]
],
"linked": [],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
"onlyUpdatePeerDependentsWhenOutOfRange": true
},
"ignore": [
"docs",
"tarballs",
"nextjs-turbopack",
"nextjs-webpack",
"workflow-sdk-compiler-playground",
"@workflow/docs-typecheck",
"@workflow/example-*",
"@workflow/vitest-workbench"
]
}