chore: Enable automatic peer dependency while we are pre 1.0#1324
Merged
jsonbailey merged 1 commit intomainfrom Apr 27, 2026
Merged
chore: Enable automatic peer dependency while we are pre 1.0#1324jsonbailey merged 1 commit intomainfrom
jsonbailey merged 1 commit intomainfrom
Conversation
Pre-1.0, ^0.x.0 ranges are narrow (>=0.x.0 <0.(x+1).0), so every minor bump to server-sdk-ai breaks the peer dep constraint in provider packages. Setting updatePeerDependencies to true ensures release-please keeps them in sync automatically. Revert to false after the 1.0 release. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
joker23
approved these changes
Apr 27, 2026
Contributor
|
@launchdarkly/js-sdk-common size report |
Contributor
|
@launchdarkly/js-client-sdk-common size report |
Contributor
|
@launchdarkly/js-client-sdk size report |
Contributor
|
@launchdarkly/browser size report |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
updatePeerDependencies: truein thenode-workspacerelease-please pluginserver-sdk-ai-langchain,server-sdk-ai-openai,server-sdk-ai-vercel) have their peer dep ranges bumped automatically wheneverserver-sdk-aireleases^0.17.0means>=0.17.0 <0.18.0, so a minor bump to the SDK immediately breaks the peer dep constraintPost-1.0
Once
server-sdk-aireaches 1.0, flipupdatePeerDependenciesback tofalse. At that point^1.0.0covers all1.x.xreleases and provider packages won't need a peer dep bump with every SDK minor/patch release.Test plan
🤖 Generated with Claude Code
Note
Low Risk
Low risk config-only change that affects release automation by updating peer dependency ranges during workspace version bumps.
Overview
Enables
updatePeerDependenciesfor thenode-workspacerelease-pleaseplugin so release PRs automatically bump workspace package peer dependency ranges when related packages are released (notably helpful for 0.x versions where^ranges are narrow).Reviewed by Cursor Bugbot for commit 84c1bcb. Bugbot is set up for automated code reviews on this repo. Configure here.