Skip to content

Version Packages#377

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

Version Packages#377
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented May 6, 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

@vercel/flags-core@1.5.0

Minor Changes

  • #371 bd4d01a Thanks @vincent-derks! - Add jitter to ingest retries and the batch-flush window.

    The usage tracker now uses AWS-style "Full Jitter" exponential backoff between
    retry attempts (replacing the previous deterministic 100/200ms schedule) and
    randomizes the 5s batch-flush window by ±20% to desynchronize concurrent
    processes. When all retry attempts are exhausted the SDK now logs a structured
    warning so consumers can alert on dropped batches.

Patch Changes

  • #382 4d90e91 Thanks @dferber90! - Speed up flag evaluation on the hot path.

    • handleOutcome no longer recomputes scaledWeights on every split-outcome evaluation; the per-outcome scaled weights are cached on first call.
    • matchConditions no longer recompiles RegExp on every REGEX / NOT_REGEX condition; the compiled regex is cached on first call.
    • Controller.read() and getDatafile() no longer re-destructure and re-spread the in-memory datafile on every call; the result is cached and rebuilt only when stream/poll replaces the underlying data.

    In micro-benchmarks the pure evaluate() path is ~22% faster for split outcomes and ~32% faster for regex conditions. The full client.evaluate() path is 14–22% faster across all scenarios.

@flags-sdk/vercel@1.3.1

Patch Changes

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 6, 2026

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 May 18, 2026 10:22am
flags-sdk-dev Ready Ready Preview, Comment, Open in v0 May 18, 2026 10:22am
flags-sdk-next-15 Ready Ready Preview, Comment, Open in v0 May 18, 2026 10:22am
flags-sdk-next-16 Ready Ready Preview, Comment, Open in v0 May 18, 2026 10:22am
flags-sdk-snippets Ready Ready Preview, Comment, Open in v0 May 18, 2026 10:22am
flags-sdk-sveltekit-snippets Ready Ready Preview, Comment, Open in v0 May 18, 2026 10:22am
shirt-shop Ready Ready Preview, ✅ 1 resolved, Open in v0 May 18, 2026 10:22am
shirt-shop-api Ready Ready Preview, Comment, Open in v0 May 18, 2026 10:22am

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