{"id":495,"date":"2026-05-26T00:00:00","date_gmt":"2026-05-26T00:00:00","guid":{"rendered":"https:\/\/wordpress.securinsight.ca\/index.php\/2026\/05\/26\/flagship-flagship-now-in-public-beta\/"},"modified":"2026-05-26T00:00:00","modified_gmt":"2026-05-26T00:00:00","slug":"flagship-flagship-now-in-public-beta","status":"publish","type":"post","link":"https:\/\/wordpress.securinsight.ca\/index.php\/2026\/05\/26\/flagship-flagship-now-in-public-beta\/","title":{"rendered":"Flagship &#8211; Flagship now in public beta"},"content":{"rendered":"<p><strong><a href=\"https:\/\/developers.cloudflare.com\/flagship\/\">Flagship<\/a><\/strong> 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.<\/p>\n<p>Evaluate a flag from a Worker in a few lines of code:<\/p>\n<ul>\n<li>\n<p>JavaScript<\/p>\n<div>\n<div>\n<figure>\n<pre data-language=\"js\"><code class=\"language-js\"><div><div><span>export<\/span><span> <\/span><span>default<\/span><span> <\/span><span>{<\/span><\/div><\/div><div><div><span>  <\/span><span>async<\/span><span> <\/span><span>fetch<\/span><span>(<\/span><span>request<\/span><span>,<\/span><span> <\/span><span>env<\/span><span>)<\/span><span> <\/span><span>{<\/span><\/div><\/div><div><div><span>    <\/span><span>const<\/span><span> <\/span><span>showNewCheckout<\/span><span> <\/span><span>=<\/span><span> <\/span><span>await<\/span><span> <\/span><span>env<\/span><span>.<\/span><span>FLAGS<\/span><span>.<\/span><span>getBooleanValue<\/span><span>(<\/span><\/div><\/div><div><div><span>      <\/span><span>\"new-checkout\"<\/span><span>,<\/span><\/div><\/div><div><div><span><span>      <\/span><\/span><span>false<\/span><span>,<\/span><\/div><\/div><div><div><span><span>    <\/span><\/span><span>)<\/span><span>;<\/span><\/div><\/div><div><div>\n<\/div><\/div><div><div><span>    <\/span><span>return<\/span><span> <\/span><span>new<\/span><span> <\/span><span>Response<\/span><span>(<\/span><span>showNewCheckout<\/span><span> <\/span><span>?<\/span><span> <\/span><span>\"New checkout\"<\/span><span> <\/span><span>:<\/span><span> <\/span><span>\"Standard checkout\"<\/span><span>)<\/span><span>;<\/span><\/div><\/div><div><div><span>  <\/span><span>},<\/span><\/div><\/div><div><div><span>};<\/span><\/div><\/div><\/code><\/pre>\n<div>\n<div><\/div>\n<\/div>\n<div><\/div>\n<\/figure>\n<\/div><\/div>\n<\/li>\n<li>\n<p>TypeScript<\/p>\n<div>\n<div>\n<figure>\n<pre data-language=\"ts\"><code class=\"language-ts\"><div><div><span>export<\/span><span> <\/span><span>default<\/span><span> <\/span><span>{<\/span><\/div><\/div><div><div><span>  <\/span><span>async<\/span><span> <\/span><span>fetch<\/span><span>(<\/span><span>request<\/span><span>:<\/span><span> <\/span><span>Request<\/span><span>,<\/span><span> <\/span><span>env<\/span><span>:<\/span><span> <\/span><span>Env<\/span><span>)<\/span><span>:<\/span><span> <\/span><span>Promise<\/span><span>&lt;<\/span><span>Response<\/span><span>&gt;<\/span><span> <\/span><span>{<\/span><\/div><\/div><div><div><span>    <\/span><span>const<\/span><span> <\/span><span>showNewCheckout<\/span><span> <\/span><span>=<\/span><span> <\/span><span>await<\/span><span> <\/span><span>env<\/span><span>.<\/span><span>FLAGS<\/span><span>.<\/span><span>getBooleanValue<\/span><span>(<\/span><span>\"new-checkout\"<\/span><span>,<\/span><span> false)<\/span><span>;<\/span><\/div><\/div><div><div>\n<\/div><\/div><div><div><span>    <\/span><span>return<\/span><span> <\/span><span>new<\/span><span> <\/span><span>Response<\/span><span>(<\/span><\/div><\/div><div><div><span>      <\/span><span>showNewCheckout<\/span><span> <\/span><span>?<\/span><span> <\/span><span>\"New checkout\"<\/span><span> <\/span><span>:<\/span><span> <\/span><span>\"Standard checkout\"<\/span><span>,<\/span><\/div><\/div><div><div><span><span>    <\/span><\/span><span>)<\/span><span>;<\/span><\/div><\/div><div><div><span>  <\/span><span>},<\/span><\/div><\/div><div><div><span>}<\/span><span> <\/span><span>satisfies<\/span><span> <\/span><span>ExportedHandler<\/span><span>&lt;<\/span><span>Env<\/span><span>&gt;;<\/span><\/div><\/div><\/code><\/pre>\n<div>\n<div><\/div>\n<\/div>\n<\/figure>\n<\/div><\/div>\n<\/li>\n<\/ul>\n<p>Start creating flags from the Cloudflare dashboard today. Refer to the <a href=\"https:\/\/developers.cloudflare.com\/flagship\/get-started\/\">Flagship documentation<\/a> to get started.<\/p>","protected":false},"excerpt":{"rendered":"<p>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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-495","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/wordpress.securinsight.ca\/index.php\/wp-json\/wp\/v2\/posts\/495","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.securinsight.ca\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wordpress.securinsight.ca\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.securinsight.ca\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.securinsight.ca\/index.php\/wp-json\/wp\/v2\/comments?post=495"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.securinsight.ca\/index.php\/wp-json\/wp\/v2\/posts\/495\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.securinsight.ca\/index.php\/wp-json\/wp\/v2\/media?parent=495"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordpress.securinsight.ca\/index.php\/wp-json\/wp\/v2\/categories?post=495"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wordpress.securinsight.ca\/index.php\/wp-json\/wp\/v2\/tags?post=495"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}