Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2.1 KiB
@vercel/prepare-flags-definitions
0.4.0
Minor Changes
- #421
d601dbaThanks @luismeyer! - Add fetch retries
0.3.0
Minor Changes
-
#390
7b5ea9aThanks @luismeyer! - Add OIDC authentication support for Vercel Flags clients and generated flag definitions.@vercel/flags-corecan now create clients without an SDK key and authenticate with a Vercel OIDC token, while still supporting SDK keys and connection strings. Bundled definitions can be looked up by SDK key hash or OIDC project ID.@vercel/prepare-flags-definitionsnow collects both SDK keys andVERCEL_OIDC_TOKEN, fetches definitions for each auth entry, deduplicates identical definitions across SDK keys and OIDC project IDs, and writes generated maps keyed by SDK key hash or project ID.@flags-sdk/vercelnow supports provider data lookup for Vercel flag origins that do not include an SDK key, allowing OIDC-backed clients to resolve project metadata.
0.2.1
Patch Changes
-
b755ffe: Fix SDK key detection to avoid false positives with third-party identifiers.The SDK key validation now uses a regex to require the format
vf_server_*orvf_client_*instead of accepting any string starting withvf_. This prevents false positives with third-party service identifiers that happen to start withvf_(e.g., Stripe identity flow IDs likevf_1PyHgVLpWuMxVFx...).
0.2.0
Minor Changes
05a5ebf: accept userAgentSuffix instead of version10c10b6: Return meaningful result fromprepareFlagsDefinitionsindicating whether definitions were created or skipped
0.1.0
Minor Changes
96ba122: Initial release of@vercel/prepare-flags-definitions. Extracts the core flag definitions preparation logic from the Vercel CLI into a standalone, reusable package.