Skip to content

Check compatible SDK ranges in browser release tests - #869

Merged
roncohen merged 1 commit into
mainfrom
fix/browser-release-ranges
Dec 2, 2026
Merged

roncohen merged 1 commit into
mainfrom
fix/browser-release-ranges

Conversation

@roncohen

@roncohen roncohen commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Why

The Browser SDK release tests require dependency ranges to start at the exact workspace version. This blocks valid releases when an existing range already accepts the new version. For example, the OpenFeature Browser provider's ^2.0.0 range accepts Browser SDK 2.1.0, so Changesets leaves it unchanged.

What changed

  • Check that the ranges declared by OpenFeature, React, Vue, and React Native accept the matching workspace v2 SDK and exclude v1. Keep the existing workspace resolution checks.
  • No published dependency ranges or SDK runtime behavior change.

Verification

  • Passed the Browser SDK and flag-evaluation suites and yarn test:release.
  • Regenerated the release manifests with yarn version-packages. Browser SDK 2.1.0 and Node SDK 2.0.1 were generated, and both test suites passed on those manifests with OpenFeature still declaring ^2.0.0.

@roncohen
roncohen enabled auto-merge December 2, 2026 20:24

@reflag-review reflag-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: low

no actionable findings

@roncohen
roncohen added this pull request to the merge queue Dec 2, 2026
Merged via the queue into main with commit 063618e Dec 2, 2026
9 of 10 checks passed
@roncohen
roncohen deleted the fix/browser-release-ranges branch December 2, 2026 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant