Skip to content

Version Packages#333

Open
github-actions[bot] wants to merge 1 commit intomainfrom
changeset-release/main
Open

Version Packages#333
github-actions[bot] wants to merge 1 commit intomainfrom
changeset-release/main

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Mar 13, 2026

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.1.0

Minor Changes

  • 64619d7: Allow specifying entities type when creating clients

    You can now create clients while specifying the entities type:

    type Entities = { user: { id: string; name?: string } };
    const client = createClient<Entities>("");
    client.evaluate("flagKey", undefined, { user: { id: "" } }); // uses Entities type for context

    You can still narrow the entities type when evaluating flags:

    client.evaluate<{ user: { id: string; name: string } }>(
      "flagKey",
      false,
      { user: { id: "", name: "" } } // uses custom entities type
    );

Patch Changes

  • Updated dependencies [64619d7]
  • Updated dependencies [4a5f56a]
    • @vercel/flags-core@1.2.0

@vercel/flags-core@1.2.0

Minor Changes

  • 64619d7: Allow specifying entities type when creating clients

    You can now create clients while specifying the entities type:

    type Entities = { user: { id: string; name?: string } };
    const client = createClient<Entities>("");
    client.evaluate("flagKey", undefined, { user: { id: "" } }); // uses Entities type for context

    You can still narrow the entities type when evaluating flags:

    client.evaluate<{ user: { id: string; name: string } }>(
      "flagKey",
      false,
      { user: { id: "", name: "" } } // uses custom entities type
    );

Patch Changes

  • 4a5f56a: Skip sending config read events for dev and custom backends

@vercel
Copy link
Contributor

vercel bot commented Mar 13, 2026

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

Project Deployment Actions Updated (UTC)
flags-sdk-dev Ready Ready Preview, Comment, Open in v0 Mar 13, 2026 9:11am
flags-sdk-next-15 Ready Ready Preview, Comment, Open in v0 Mar 13, 2026 9:11am
flags-sdk-next-16 Ready Ready Preview, Comment, Open in v0 Mar 13, 2026 9:11am
flags-sdk-snippets Ready Ready Preview, Comment, Open in v0 Mar 13, 2026 9:11am
flags-sdk-sveltekit-snippets Ready Ready Preview, Comment, Open in v0 Mar 13, 2026 9:11am
shirt-shop Ready Ready Preview, ✅ 1 resolved, Open in v0 Mar 13, 2026 9:11am
shirt-shop-api Ready Ready Preview, Comment, Open in v0 Mar 13, 2026 9:11am

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.

0 participants