chore(release): version SDK packages - #31
Merged
Merged
Conversation
github-actions
Bot
requested review from
a team,
akshitsinha,
palashgo and
roerohan
as code owners
August 10, 2026 10:40
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
August 10, 2026 10:50
33c9289 to
6c97ede
Compare
akshitsinha
approved these changes
Aug 10, 2026
roerohan
approved these changes
Aug 10, 2026
commit: |
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
@cloudflare/flagship@0.5.0
Minor Changes
#30
6f75421Thanks @akshitsinha! - Add an injectablefetchtransport and callerAbortSignalpropagation toFlagshipClientFlagshipProviderOptions.fetch?: typeof globalThis.fetchsets the transport for a client. It defaults toglobalThis.fetch, resolved at call time, and the SDK never assigns to the global — so routing evaluations through a Workers service binding or stubbing the transport in tests no longer requires mutatingglobalThis.fetchand exposing unrelated traffic in the same isolate.evaluate(flagKey, context, { fetch?, signal? })adds per-call overrides.signalis merged with the request timeout and withfetchOptions.signal(previously silently discarded), so a caller abort now aborts the in-flight HTTP request instead of only abandoning the promise. An already-aborted signal rejects without issuing a request.FlagshipErrorCode.ABORTEDdistinguishes caller cancellation fromTIMEOUT_ERROR. Caller aborts interrupt in-flight requests and retry delays and are never retried; timeout aborts are still retried as before.FlagshipError.retryablereports whether a failure was transient.408,425,429,5xx, connection failures, timeouts, and malformed bodies are retryable; other non-2xx responses (400,401,403,404,422, …) and caller aborts are terminal. This lets consumers implement fail-closed-without-caching instead of guessing fromNETWORK_ERRORalone.FlagshipServerProviderandFlagshipClientProvideraccept and forwardfetchin HTTP mode; combining it withbindingthrows like the other HTTP-only options.Behaviour changes for existing callers, who are otherwise unaffected:
400and404was retried. Definitively terminal statuses such as401,403, and422are now propagated immediately.timeout.@cloudflare/flagship-go@0.5.0
@cloudflare/flagship-python@0.5.0