fix(deps): update dependency @vercel/flags to v3 #125
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^2.6.3→^3.0.0Release Notes
vercel/flags (@vercel/flags)
v3.1.1Compare Source
Patch Changes
6955b68: emit reduced console info when falling back to defaultValue during developmentcf532da: Update package.json and tsup.config.js for flags packagev3.1.0Compare Source
Minor Changes
76feb16: AddmergeProviderDatafunction to@vercel/flags.This function allows merging ProviderData from multiple sources.
This is handy when you declare feature flags in code, and want to extend those definitions with data loaded from your feature flag provider.
Patch Changes
2713ea7: HandleundefinedvaluesdefaultValuewhen a feature flag returnsundefinedundefinedand nodefaultValueis presentThe value
undefinedcan not be serialized so feature flags should never resolve toundefined. Usenullinstead.Fix exports
IdentifyandDecidetypesv3.0.2Compare Source
Patch Changes
708d5e2: generatePermutations: infer options of boolean flagsv3.0.1Compare Source
Patch Changes
7e21d4f: add metadata to package.jsonv3.0.0Major Changes
db89f0d: - BREAKING CHANGE removed allunstable_prefixes, e.g.unstable_flagis nowflaggetPrecomputationContext, usededupeinstead (see below)@vercel/flags/providers/launchdarkly→@flags-sdk/launchdarkly@vercel/flags/providers/statsig→@flags-sdk/statsig@vercel/flags/providers/split→@flags-sdk/split@vercel/flags/providers/hypertune→@flags-sdk/hypertune@vercel/flags/providers/optimizely→@flags-sdk/optimizely@vercel/flags/providers/happykit→@flags-sdk/happykit.run({})behaviorSee flags-sdk.com for the latest APIs.
db89f0d: remove unstable_ prefixesMinor Changes
db89f0d: @vercel/flags/next: Added adedupefunctiondedupeis a middleware-friendly version ofReact.cache. It allows ensuring a function only ever runs once per request.This function is useful when you want to deduplicate work within each feature flag's
decidefunction. For example if multiple flags need to check auth you can dedupe the auth function so it only runs once per request.dedupeis also useful to optimistically generate a random visitor id to be set in a cookie, while also allowing each feature flag to access the id. You can call a dedupe'd function to generate the random id within your Edge Middleware and also within your feature flag'sdecidefunctions. The function will return a consistent id.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.