Skip to content

Version Packages#417

Merged
dferber90 merged 1 commit into
mainfrom
changeset-release/main
Jun 27, 2026
Merged

Version Packages#417
dferber90 merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

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

  • Updated dependencies [f60c99d]:
    • @vercel/flags-core@1.5.2

@vercel/flags-core@1.5.2

Patch Changes

  • #416 f60c99d Thanks @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 serialization
    walks objects directly and chokes on these (notably the non-serializable
    RegExp), so datafiles could no longer be passed from server to client
    components. Memoization now uses module-level WeakMaps keyed by the
    outcome/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-core to 1.5.2 and @flags-sdk/vercel to 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 attached RegExp values. 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.

@vercel

vercel Bot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
flags-playground Ready Ready Preview, Comment, Open in v0 Jun 26, 2026 2:47pm
flags-sdk-dev Ready Ready Preview, Comment, Open in v0 Jun 26, 2026 2:47pm
flags-sdk-snippets Ready Ready Preview, Comment, Open in v0 Jun 26, 2026 2:47pm
flags-sdk-sveltekit-snippets Ready Ready Preview, Comment, Open in v0 Jun 26, 2026 2:47pm
shirt-shop Ready Ready Preview, ✅ 1 resolved, Open in v0 Jun 26, 2026 2:47pm
shirt-shop-api Ready Ready Preview, Comment, Open in v0 Jun 26, 2026 2:47pm

@dferber90 dferber90 enabled auto-merge (squash) June 27, 2026 06:51
@dferber90 dferber90 merged commit 66c4809 into main Jun 27, 2026
19 checks passed
@dferber90 dferber90 deleted the changeset-release/main branch June 27, 2026 06: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