Change8

@cloudflare/workers-utils@0.16.0

📦 cloudflare-workersView on GitHub →
3 features

Summary

This release introduces support for Cloudflare Flagship feature flag bindings, enabling Workers to evaluate feature flags directly. Configuration is managed via `wrangler.json`.

Migration Steps

  1. Configure Flagship bindings in `wrangler.json` using a `flagship` array containing `binding` and `app_id` entries to use the new feature flag support.

✨ New Features

  • Adds end-to-end support for the Flagship feature flag binding, allowing Workers to evaluate feature flags from Cloudflare's Flagship service.
  • Flagship binding configuration now supports setting a binding name and an application ID in `wrangler.json` via a `flagship` array.
  • In local development, Flagship bindings return default values unless `"remote": true` is specified in the binding configuration to evaluate against the live Flagship service.