Skip to content

Version Packages (standard) - #636

Merged
dferber90 merged 1 commit into
standardfrom
changeset-release/standard
Nov 26, 2026
Merged

dferber90 merged 1 commit into
standardfrom
changeset-release/standard

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 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 standard, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

standard is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on standard.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

flags@5.0.0-standard.0

Major Changes

  • #639 81b4fdf Thanks @dferber90! - The Flags SDK is framework-neutral. flag(), evaluate(), dedupe(), clearDedupeCacheForCurrentRequest(), precompute(), generatePermutations() and getPrecomputed() come from flags. flags/next and flags/sveltekit are removed.

    A framework gives the SDK the current request through its build plugin, which points the alias flags/framework to the binding of the framework:

    • Next.js: withFlags of @flags-sdk/next/plugin in next.config.ts. Only Turbopack is supported, and Next.js 16 is the minimum.
    • SvelteKit: flags() of @flags-sdk/sveltekit/vite in vite.config.ts. The binding reads the request with getRequestEvent() of $app/server, so SvelteKit 2.20 is the minimum, and createHandle is optional.

    Without a plugin, pass the request as before, e.g. flag(request) in the Pages Router or precompute(flags, request); precompute() now takes an optional request.

    The rules of flags/next apply to all frameworks. For SvelteKit, this changes: a flag returns its defaultValue when decide throws or returns undefined, the cache of a request is per flag and entities, identify runs for each evaluation, reportValue: false is respected, and evaluate() supports bulkDecide of adapters.

    New for framework packages: the types FrameworkBinding and FrameworkRequest, and getEvaluatedFlagValues(request?), the values which a request evaluated.

    Without a secret argument, the helpers encryptFlagValues, decryptFlagValues, encryptOverrides, decryptOverrides, encryptFlagDefinitions, decryptFlagDefinitions, createAccessProof, verifyAccessProof and verifyAccess read FLAGS_SECRET also from the environment of the framework, e.g. $env of SvelteKit during vite dev.

@flags-sdk/next@0.1.0-standard.0

Minor Changes

  • #639 81b4fdf Thanks @dferber90! - The Next.js integration of the Flags SDK v5: withFlags of @flags-sdk/next/plugin connects flags to the request of the App Router (headers() and cookies()), and createFlagsDiscoveryEndpoint comes from @flags-sdk/next. A flag inside "use cache" fails with a clear error.

Patch Changes

  • Updated dependencies [81b4fdf]:
    • flags@5.0.0-standard.0

@flags-sdk/sveltekit@0.1.0-standard.0

Minor Changes

  • #639 81b4fdf Thanks @dferber90! - The SvelteKit integration of the Flags SDK v5: flags() of @flags-sdk/sveltekit/vite connects flags to the request of SvelteKit (getRequestEvent()). createHandle adds the values of the evaluated flags to the page and the endpoint /.well-known/vercel/flags, and createFlagsDiscoveryEndpoint creates the endpoint as a route.

Patch Changes

  • Updated dependencies [81b4fdf]:
    • flags@5.0.0-standard.0

@vercel

vercel Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated
flags-playground Ready Ready Preview, v0 Nov 26, 2026 12:27pm UTC
flags-sdk-dev Ready Ready Preview, v0 Nov 26, 2026 12:27pm UTC
flags-sdk-flagsmith Ready Ready Preview, v0 Nov 26, 2026 12:27pm UTC
flags-sdk-growthbook Ready Ready Preview, v0 Nov 26, 2026 12:27pm UTC
flags-sdk-launchdarkly Ready Ready Preview, v0 Nov 26, 2026 12:27pm UTC
flags-sdk-openfeature Ready Ready Preview, v0 Nov 26, 2026 12:27pm UTC
flags-sdk-posthog Ready Ready Preview, v0 Nov 26, 2026 12:27pm UTC
flags-sdk-reflag Ready Ready Preview, v0 Nov 26, 2026 12:27pm UTC
flags-sdk-snippets Ready Ready Preview, v0 Nov 26, 2026 12:27pm UTC
flags-sdk-statsig Ready Ready Preview, v0 Nov 26, 2026 12:27pm UTC
flags-sdk-sveltekit-snippets Ready Ready Preview, v0 Nov 26, 2026 12:27pm UTC
shirt-shop Ready Ready Preview, v0 Nov 26, 2026 12:27pm UTC
shirt-shop-api Ready Ready Preview, v0 Nov 26, 2026 12:27pm UTC

@github-actions
github-actions Bot force-pushed the changeset-release/standard branch from a458027 to d8cadd9 Compare November 26, 2026 10:40
@github-actions
github-actions Bot force-pushed the changeset-release/standard branch from 73035c4 to 3a29a50 Compare November 26, 2026 11:24

This branch was successfully deployed

14 active deployments
Preview – flags-sdk-dev — f503e3b9 Deployed Nov 26, 2026 by vercel[bot]
Preview – flags-sdk-reflag — f503e3b9 Deployed Nov 26, 2026 by vercel[bot]
Preview – flags-sdk-snippets — f503e3b9 Deployed Nov 26, 2026 by vercel[bot]
Preview – flags-sdk-vercel — f503e3b9 Deployed Nov 26, 2026 by vercel[bot]
Preview – flags-sdk-flagsmith — f503e3b9 Deployed Nov 26, 2026 by vercel[bot]
Preview – flags-sdk-statsig — f503e3b9 Deployed Nov 26, 2026 by vercel[bot]
Preview – flags-sdk-launchdarkly — f503e3b9 Deployed Nov 26, 2026 by vercel[bot]
Preview – flags-sdk-growthbook — f503e3b9 Deployed Nov 26, 2026 by vercel[bot]
Preview – flags-sdk-openfeature — f503e3b9 Deployed Nov 26, 2026 by vercel[bot]
Preview – flags-sdk-posthog — f503e3b9 Deployed Nov 26, 2026 by vercel[bot]
Preview – flags-playground — f503e3b9 Deployed Nov 26, 2026 by vercel[bot]
Preview – shirt-shop-api — f503e3b9 Deployed Nov 26, 2026 by vercel[bot]
Preview – flags-sdk-sveltekit-snippets — f503e3b9 Deployed Nov 26, 2026 by vercel[bot]
Preview – shirt-shop — f503e3b9 Deployed Nov 26, 2026 by vercel[bot]
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