Skip to content

Commit

Permalink
fix changeset format (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
dferber90 authored Jan 24, 2025
1 parent 2713ea7 commit 2ea15c6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .changeset/few-wombats-reply.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@
'@vercel/flags': patch
---

Handle `undefined` values

- fix: Fall back to `defaultValue` when a feature flag returns `undefined`
- fix: Throw error when a flag resolves to `undefined` and no `defaultValue` is present
- fix: Export `Identify` and `Decide` types

The value `undefined` can not be serialized so feature flags should never resolve to `undefined`. Use `null` instead.

Fix exports

- fix: Export `Identify` and `Decide` types

0 comments on commit 2ea15c6

Please sign in to comment.