Commit 19df533
Version Packages (#561)
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.
# Releases
## @reflag/node-sdk@1.4.0
### Minor Changes
- dca2bd7: Introduce flag fallback providers
Add support for `flagsFallbackProvider`, a reliability feature that lets
the Node SDK persist the latest successfully fetched flag definitions to
fallback storage such as a local file, S3, Redis, or a custom backend.
Reflag servers remain the primary source of truth. On startup, the SDK
still tries to fetch a live snapshot first. If that initial fetch fails,
it can load the last saved snapshot from the fallback provider so new
processes can still initialize in the exceedingly rare case that Reflag
has an outage.
After successfully fetching updated flag definitions, the SDK saves the
latest definitions back through the provider to keep the fallback
snapshot up to date.
This improves service startup reliability and outage recovery without
changing normal flag evaluation behavior.
## @reflag/openfeature-node-provider@1.0.3
### Patch Changes
- Updated dependencies [dca2bd7]
- @reflag/node-sdk@1.4.0
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ron Cohen <ron@reflag.com>1 parent c8690af commit 19df533
6 files changed
Lines changed: 26 additions & 18 deletions
File tree
- .changeset
- packages
- node-sdk
- openfeature-node-provider
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
3 | 17 | | |
4 | 18 | | |
5 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
3 | 10 | | |
4 | 11 | | |
5 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6732 | 6732 | | |
6733 | 6733 | | |
6734 | 6734 | | |
6735 | | - | |
| 6735 | + | |
6736 | 6736 | | |
6737 | 6737 | | |
6738 | 6738 | | |
| |||
6787 | 6787 | | |
6788 | 6788 | | |
6789 | 6789 | | |
6790 | | - | |
| 6790 | + | |
6791 | 6791 | | |
6792 | 6792 | | |
6793 | 6793 | | |
| |||
0 commit comments