All Topics
All Topics
Technology
Technology
AI
AI
Business
Business
Entertainment
Entertainment
News
News
Programming
Programming
Security
Security
Science
Science
Design
Design
Environment
Environment
Finance
Finance
Crypto
Crypto
Politics
Politics
Sports
Sports
Education
Education
Gaming
Gaming
Art
Art
Music
Music
Health
Health
Books
Books
Food
Food
Travel
Travel
Personal
Personal
Bluesky
Twitter

Flagship - Flagship now in public beta

1mo ago

Source

CloudflareFlagship - Flagship now in public betacloudflare.com
Snippet from the RSS feed
Flagship is now in public beta. Evaluate feature flags directly from Cloudflare Workers with no outbound HTTP calls, using globally distributed flag configuration backed by Workers KV and Durable Objects. Flagship supports typed flag values, targeting rules, percentage rollouts, audit history, and OpenFeature-compatible SDKs. Evaluate a flag from a Worker in a few lines of code: JavaScript export default { async fetch ( request , env ) { const showNewCheckout = await env . FLAGS . getBooleanValue ( "new-checkout" , false , ) ; return new Response ( showNewCheckout ? "New checkout" : "Standard checkout" ) ; }, }; TypeScript export default { async fetch ( request : Request , env : Env ) : Promise < Response > { const showNewCheckout = await env . FLAGS . getBooleanValue ( "new-checkout" , false) ; return new Response ( showNewCheckout ? "New checkout" : "Standard checkout" , ) ; }, } satisfies ExportedHandler < Env >; Start creating flags from the Cloudflare dashboard today. Refer to the Flagship documentation to get started.

You might also wanna read

Comments

Sign in to join the conversation.

No comments yet. Be the first.