Version Packages#417
Merged
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
dferber90
approved these changes
Jun 27, 2026
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.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@flags-sdk/vercel@1.4.3
Patch Changes
f60c99d]:@vercel/flags-core@1.5.2
Patch Changes
#416
f60c99dThanks @dferber90! - Fix datafile serialization across the RSC server/client boundary.Evaluation memoized scaled split weights and compiled regexes by attaching
symbol-keyed properties directly onto objects inside the datafile. While
symbols are invisible to
JSON.stringify, React Server Components serializationwalks objects directly and chokes on these (notably the non-serializable
RegExp), so datafiles could no longer be passed from server to clientcomponents. Memoization now uses module-level
WeakMaps keyed by theoutcome/rhs objects, leaving datafile objects pristine while keeping identical
caching semantics and lifetime.
Note
Low Risk
Release-only version and changelog updates; the underlying fix is an isolated evaluation caching change with no auth or API surface changes in this diff.
Overview
This is a Changesets release PR: it bumps
@vercel/flags-coreto 1.5.2 and@flags-sdk/vercelto 1.4.3, updates both packages’ CHANGELOG entries, and removes the consumed changeset file.The release documents the patch from #416: evaluation memoization for split weights and compiled regexes no longer mutates datafile objects (moved to module-level
WeakMaps), so datafiles can cross the RSC server/client boundary without serialization failures from attachedRegExpvalues. The Vercel adapter change is only a dependency version bump to pick up@vercel/flags-core@1.5.2.Reviewed by Cursor Bugbot for commit 7f1afa7. Bugbot is set up for automated code reviews on this repo. Configure here.