@vercel/flags-core 1.9.0-ea4d7de-20260922121332 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,10 +1,26 @@
1
1
  # @vercel/flags-core
2
2
 
3
- ## 1.9.0-ea4d7de-20260922121332
3
+ ## 1.9.0
4
4
 
5
5
  ### Minor Changes
6
6
 
7
- - [#498](https://github.com/vercel/flags/pull/498) [`da0b044`](https://github.com/vercel/flags/commit/da0b044c2f2efb1c61900c43f21fa21813a3ef20) Thanks [@luismeyer](https://github.com/luismeyer)! - Add a header-driven `vercel` client mode that uses timestamps from the `x-vercel-flags-config-versions` or `flags-config-versions` request header instead of streaming or polling. The `vercel` option defaults to `process.env.VERCEL === '1'` and can be explicitly enabled or disabled. Vercel mode loads provided or bundled definitions during initialization, uses cached data when no usable header is available, and fetches on the first read if the cache is empty. Disabling both streaming and polling preserves offline behavior. Reuse fresh definitions, refresh in the background for up to `staleWhileRevalidateMs` (10 seconds by default) since the cached configuration was last successfully fetched or confirmed by a matching request header at the highest observed version, and block for a refresh when that freshness expires or is unknown. Set `staleWhileRevalidateMs` to `0` to disable stale serving. Datafiles expose an optional `fetchedAt` timestamp that survives serialization and reuse. Bundled and provided definitions preserve valid timestamps; definitions without one start with unknown age. Deduplicate concurrent refreshes, allow retries after fetch failures, and discard late responses after shutdown.
7
+ - [#517](https://github.com/vercel/flags/pull/517) [`d03e4f6`](https://github.com/vercel/flags/commit/d03e4f63ed645339c6a3a312f26ee77eb4cf03ef) Thanks [@vincent-derks](https://github.com/vincent-derks)! - Accept `flags:projectId=<id>` connection strings.
8
+
9
+ - [#537](https://github.com/vercel/flags/pull/537) [`c49aab6`](https://github.com/vercel/flags/commit/c49aab65a8d5f4327552c18179b3f8d761b0f53e) Thanks [@dferber90](https://github.com/dferber90)! - Allow progressive rollouts to end at a configurable percentage using `finalPromille` (for example, `50_000` for 50%). Rollouts without this field continue to end at 100%.
10
+
11
+ ### Patch Changes
12
+
13
+ - [#396](https://github.com/vercel/flags/pull/396) [`c3026fe`](https://github.com/vercel/flags/commit/c3026fe78b527f8c4300f444751ef4f9325db50e) Thanks [@Nexory](https://github.com/Nexory)! - fix(typed-emitter): clean up empty Set from Map on last off() call
14
+
15
+ ## 1.8.3
16
+
17
+ ### Patch Changes
18
+
19
+ - [#507](https://github.com/vercel/flags/pull/507) [`c43b9d9`](https://github.com/vercel/flags/commit/c43b9d9076009a6a70ca2de55020ebcb15b1a4cc) Thanks [@luismeyer](https://github.com/luismeyer)! - Retry transient datafile fetch failures across polling, build loading, and offline fallback reads. Fetches use up to three attempts within a shared ten-second deadline that includes authentication, backoff, and body parsing. Shutdown also cancels retries during polling initialization.
20
+
21
+ - [#533](https://github.com/vercel/flags/pull/533) [`7027cb2`](https://github.com/vercel/flags/commit/7027cb271183566ee224c6a96d36cb12ce7cf2fa) Thanks [@dferber90](https://github.com/dferber90)! - Strip all occurrences of the `g` and `y` flags from regex conditions so cached regular expressions produce consistent results across users and repeated evaluations, including when both flags are present.
22
+
23
+ ## 1.8.2
8
24
 
9
25
  ### Patch Changes
10
26
 
@@ -13,6 +29,8 @@
13
29
  `client.shutdown()`. The Next.js conditional export uses `after` from
14
30
  `next/server` by default.
15
31
 
32
+ - [#490](https://github.com/vercel/flags/pull/490) [`186ea50`](https://github.com/vercel/flags/commit/186ea5092b22cd3eadf136824ecb2d7293a047fd) Thanks [@AndyBitz](https://github.com/AndyBitz)! - Use the runtime-provided ingest transport when available
33
+
16
34
  ## 1.8.1
17
35
 
18
36
  ### Patch Changes