Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions .changeset/array-contains-membership.md

This file was deleted.

10 changes: 10 additions & 0 deletions packages/flag-evaluation/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @reflag/flag-evaluation

## 1.1.1

### Patch Changes

- 80f2e8f: Fix `CONTAINS` and `NOT_CONTAINS` for array-valued context. `CONTAINS` now checks for an exact, case-sensitive array element; `NOT_CONTAINS` checks its absence. Both use the first comparison value, while `ANY_OF` and `NOT_ANY_OF` continue to support multiple comparison values. Empty arrays do not contain any value.

Support `IS` for arrays containing exactly one element equal to the comparison value; `IS_NOT` matches all other present arrays, including empty arrays and arrays with duplicate matching elements. Missing fields still fail closed. Scalar equality is unchanged.

Scalar strings retain case-insensitive substring matching. Supported array equality and membership checks no longer produce `UNSUPPORTED_ARRAY_OPERATOR` warnings in Node SDK flag targeting or config evaluation.

## 1.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/flag-evaluation/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@reflag/flag-evaluation",
"version": "1.1.0",
"version": "1.1.1",
"license": "MIT",
"repository": {
"type": "git",
Expand Down
13 changes: 13 additions & 0 deletions packages/node-sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# @reflag/node-sdk

## 1.7.3

### Patch Changes

- 80f2e8f: Fix `CONTAINS` and `NOT_CONTAINS` for array-valued context. `CONTAINS` now checks for an exact, case-sensitive array element; `NOT_CONTAINS` checks its absence. Both use the first comparison value, while `ANY_OF` and `NOT_ANY_OF` continue to support multiple comparison values. Empty arrays do not contain any value.

Support `IS` for arrays containing exactly one element equal to the comparison value; `IS_NOT` matches all other present arrays, including empty arrays and arrays with duplicate matching elements. Missing fields still fail closed. Scalar equality is unchanged.

Scalar strings retain case-insensitive substring matching. Supported array equality and membership checks no longer produce `UNSUPPORTED_ARRAY_OPERATOR` warnings in Node SDK flag targeting or config evaluation.

- Updated dependencies [80f2e8f]
- @reflag/flag-evaluation@1.1.1

## 1.7.2

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/node-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@reflag/node-sdk",
"version": "1.7.2",
"version": "1.7.3",
"license": "MIT",
"repository": {
"type": "git",
Expand Down Expand Up @@ -34,7 +34,7 @@
"@aws-sdk/client-s3": "^3.888.0",
"@googleapis/storage": "21.2.0",
"@redis/client": "^5.11.0",
"@reflag/flag-evaluation": "1.1.0"
"@reflag/flag-evaluation": "1.1.1"
},
"devDependencies": {
"@babel/core": "~7.29.6",
Expand Down
7 changes: 7 additions & 0 deletions packages/openfeature-node-provider/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @reflag/openfeature-node-provider

## 1.2.4

### Patch Changes

- Updated dependencies [80f2e8f]
- @reflag/node-sdk@1.7.3

## 1.2.3

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/openfeature-node-provider/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@reflag/openfeature-node-provider",
"version": "1.2.3",
"version": "1.2.4",
"license": "MIT",
"repository": {
"type": "git",
Expand Down Expand Up @@ -36,7 +36,7 @@
"fmt:fix": "oxfmt --write ."
},
"dependencies": {
"@reflag/node-sdk": "1.7.2"
"@reflag/node-sdk": "1.7.3"
},
"devDependencies": {
"@babel/core": "~7.29.6",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6948,7 +6948,7 @@ __metadata:
languageName: unknown
linkType: soft

"@reflag/flag-evaluation@npm:1.1.0, @reflag/flag-evaluation@workspace:packages/flag-evaluation":
"@reflag/flag-evaluation@npm:1.1.1, @reflag/flag-evaluation@workspace:packages/flag-evaluation":
version: 0.0.0-use.local
resolution: "@reflag/flag-evaluation@workspace:packages/flag-evaluation"
dependencies:
Expand Down Expand Up @@ -6990,15 +6990,15 @@ __metadata:
languageName: unknown
linkType: soft

"@reflag/node-sdk@npm:1.7.2, @reflag/node-sdk@workspace:*, @reflag/node-sdk@workspace:^, @reflag/node-sdk@workspace:packages/node-sdk":
"@reflag/node-sdk@npm:1.7.3, @reflag/node-sdk@workspace:*, @reflag/node-sdk@workspace:^, @reflag/node-sdk@workspace:packages/node-sdk":
version: 0.0.0-use.local
resolution: "@reflag/node-sdk@workspace:packages/node-sdk"
dependencies:
"@aws-sdk/client-s3": "npm:^3.888.0"
"@babel/core": "npm:~7.29.6"
"@googleapis/storage": "npm:21.2.0"
"@redis/client": "npm:^5.11.0"
"@reflag/flag-evaluation": "npm:1.1.0"
"@reflag/flag-evaluation": "npm:1.1.1"
"@reflag/tsconfig": "npm:~0.0.2"
"@types/node": "npm:^22.12.0"
"@vitest/coverage-v8": "npm:~1.6.0"
Expand Down Expand Up @@ -7038,7 +7038,7 @@ __metadata:
"@babel/core": "npm:~7.29.6"
"@openfeature/core": "npm:^1.5.0"
"@openfeature/server-sdk": "npm:>=1.16.1"
"@reflag/node-sdk": "npm:1.7.2"
"@reflag/node-sdk": "npm:1.7.3"
"@reflag/tsconfig": "npm:~0.0.2"
"@types/node": "npm:^22.12.0"
flush-promises: "npm:~1.0.2"
Expand Down
Loading