Repository navigation
Version Packages - #793
Merged
Merged
Version Packages#793
Conversation
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the release metadata and dependency updates.
No open issues 🎉
What changed in this PR
This Changesets release PR prepares the stable v2 evaluator release and patch releases for the Node SDK and OpenFeature provider. It updates release metadata without changing runtime code.
Changes:
- Bumps the evaluator to
2.0.0, Node SDK to1.8.3, and OpenFeature provider to1.2.8. - Updates the provider’s Node SDK dependency and corresponding lockfile entries.
- Adds release notes and removes the consumed changesets.
| File | Description |
|---|---|
yarn.lock |
Aligns Node SDK dependency entries with 1.8.3. |
packages/openfeature-node-provider/package.json |
Bumps provider version and Node SDK dependency. |
packages/openfeature-node-provider/CHANGELOG.md |
Records the dependency update for 1.2.8. |
packages/node-sdk/package.json |
Bumps Node SDK to 1.8.3. |
packages/node-sdk/CHANGELOG.md |
Documents the legacy evaluator alias pin. |
packages/flag-evaluation/package.json |
Promotes the evaluator prerelease to stable 2.0.0. |
packages/flag-evaluation/CHANGELOG.md |
Documents v2 behavior and breaking API changes. |
.changeset/pin-legacy-node-evaluator.md |
Removes the consumed Node SDK changeset. |
.changeset/multivariate-evaluation.md |
Removes the consumed evaluator changeset. |
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 was opened by the Changesets release 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/flag-evaluation@2.0.0
Major Changes
d7078e0: Introduce a v2-only compiled-variant evaluator:
newEvaluator({ flags, segments })prepares a complete collection and returnsevaluateAll(context)andevaluateFlag(context, flagKey)methods. The batch result contains shared normalized context and per-flag results without repeated context. Single-flag evaluation visits only the requested flag and its dependencies. Unresolved batch entries do not prevent other flags from being evaluated. Remove the v1 value-rule APIs and the one-shotevaluateFlagwrapper.CompiledFlag<T>andEvaluationResult<T>(defaultany).resolved: true | falsedistinguishes a selected value, includingundefined, from failure. Successful results require the variant key and matched rule ID.ANY_OF/NOT_ANY_OFuse cached Set lookups, including under groups and negations; percentage distributions use precomputed bounds and a simple scan.INVALID_COMPARISONerrors for invalid numeric/date comparisons instead of logging context values. Invalid conditions cannot match through negation.The runtime exports are
newEvaluator,flattenContext, andhashInt. Removed APIs includeevaluateFlagRules,newFlagEvaluator,evaluateFlag, the scalarevaluatehelper, and the legacyflattenJSON/unflattenJSONhelpers.@reflag/node-sdk@1.8.3
Patch Changes
@reflag/flag-evaluation-v1npm alias. This preserves its legacy protocol and prevents the evaluator's v2 workspace release from automatically upgrading its dependency before SDK migration.@reflag/openfeature-node-provider@1.2.8
Patch Changes