Repository navigation
@vercel/flags-core@1.8.1
·
47 commits
to main
since this release
Patch Changes
-
#486
c9d2811Thanks @dferber90! - Add APIs for reporting flag exposures and override values.- The
experimental_reportExposuresclient option for supplying an exposure
reporter. - The
experimental_reportOverrideclient method for reporting values set by
the Flags SDK override cookie. - The
experimental_exposureLoggingoption onevaluate()and
bulkEvaluate()for disabling exposure reporting for an individual call. - Experiment assignment metadata on
EvaluationResult.experiment. - The
experimental_EvaluationOptions,
experimental_ExperimentAssignment,experimental_Exposure, and
experimental_ReportExposurestypes.
These APIs are not supported for general use yet. Do not use them unless
Vercel has explicitly enabled them for you. - The
-
#494
e0eebe6Thanks @luismeyer! - Request an uncompressed/v1/streambody when running on Bun.Bun's
fetchnegotiates brotli or gzip by default, but its streaming decoder withholds small decoded output until more compressed input arrives. The stream's first datafile is followed by silence until the next ping, so on Bun the initial datafile never surfaced, init timed out, and every flag fell back to its default. SendingAccept-Encoding: identityon Bun avoids the decoder entirely; other runtimes are unchanged.