Skip to content

Commit 810bb77

Browse files
Version Packages
1 parent 80f2e8f commit 810bb77

8 files changed

Lines changed: 39 additions & 19 deletions

File tree

‎.changeset/array-contains-membership.md‎

Lines changed: 0 additions & 10 deletions
This file was deleted.

‎packages/flag-evaluation/CHANGELOG.md‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# @reflag/flag-evaluation
22

3+
## 1.1.1
4+
5+
### Patch Changes
6+
7+
- 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.
8+
9+
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.
10+
11+
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.
12+
313
## 1.1.0
414

515
### Minor Changes

‎packages/flag-evaluation/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@reflag/flag-evaluation",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"license": "MIT",
55
"repository": {
66
"type": "git",

‎packages/node-sdk/CHANGELOG.md‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# @reflag/node-sdk
22

3+
## 1.7.3
4+
5+
### Patch Changes
6+
7+
- 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.
8+
9+
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.
10+
11+
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.
12+
13+
- Updated dependencies [80f2e8f]
14+
- @reflag/flag-evaluation@1.1.1
15+
316
## 1.7.2
417

518
### Patch Changes

‎packages/node-sdk/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@reflag/node-sdk",
3-
"version": "1.7.2",
3+
"version": "1.7.3",
44
"license": "MIT",
55
"repository": {
66
"type": "git",
@@ -34,7 +34,7 @@
3434
"@aws-sdk/client-s3": "^3.888.0",
3535
"@googleapis/storage": "21.2.0",
3636
"@redis/client": "^5.11.0",
37-
"@reflag/flag-evaluation": "1.1.0"
37+
"@reflag/flag-evaluation": "1.1.1"
3838
},
3939
"devDependencies": {
4040
"@babel/core": "~7.29.6",

‎packages/openfeature-node-provider/CHANGELOG.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @reflag/openfeature-node-provider
22

3+
## 1.2.4
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [80f2e8f]
8+
- @reflag/node-sdk@1.7.3
9+
310
## 1.2.3
411

512
### Patch Changes

‎packages/openfeature-node-provider/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@reflag/openfeature-node-provider",
3-
"version": "1.2.3",
3+
"version": "1.2.4",
44
"license": "MIT",
55
"repository": {
66
"type": "git",
@@ -36,7 +36,7 @@
3636
"fmt:fix": "oxfmt --write ."
3737
},
3838
"dependencies": {
39-
"@reflag/node-sdk": "1.7.2"
39+
"@reflag/node-sdk": "1.7.3"
4040
},
4141
"devDependencies": {
4242
"@babel/core": "~7.29.6",

‎yarn.lock‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6948,7 +6948,7 @@ __metadata:
69486948
languageName: unknown
69496949
linkType: soft
69506950

6951-
"@reflag/flag-evaluation@npm:1.1.0, @reflag/flag-evaluation@workspace:packages/flag-evaluation":
6951+
"@reflag/flag-evaluation@npm:1.1.1, @reflag/flag-evaluation@workspace:packages/flag-evaluation":
69526952
version: 0.0.0-use.local
69536953
resolution: "@reflag/flag-evaluation@workspace:packages/flag-evaluation"
69546954
dependencies:
@@ -6990,15 +6990,15 @@ __metadata:
69906990
languageName: unknown
69916991
linkType: soft
69926992

6993-
"@reflag/node-sdk@npm:1.7.2, @reflag/node-sdk@workspace:*, @reflag/node-sdk@workspace:^, @reflag/node-sdk@workspace:packages/node-sdk":
6993+
"@reflag/node-sdk@npm:1.7.3, @reflag/node-sdk@workspace:*, @reflag/node-sdk@workspace:^, @reflag/node-sdk@workspace:packages/node-sdk":
69946994
version: 0.0.0-use.local
69956995
resolution: "@reflag/node-sdk@workspace:packages/node-sdk"
69966996
dependencies:
69976997
"@aws-sdk/client-s3": "npm:^3.888.0"
69986998
"@babel/core": "npm:~7.29.6"
69996999
"@googleapis/storage": "npm:21.2.0"
70007000
"@redis/client": "npm:^5.11.0"
7001-
"@reflag/flag-evaluation": "npm:1.1.0"
7001+
"@reflag/flag-evaluation": "npm:1.1.1"
70027002
"@reflag/tsconfig": "npm:~0.0.2"
70037003
"@types/node": "npm:^22.12.0"
70047004
"@vitest/coverage-v8": "npm:~1.6.0"
@@ -7038,7 +7038,7 @@ __metadata:
70387038
"@babel/core": "npm:~7.29.6"
70397039
"@openfeature/core": "npm:^1.5.0"
70407040
"@openfeature/server-sdk": "npm:>=1.16.1"
7041-
"@reflag/node-sdk": "npm:1.7.2"
7041+
"@reflag/node-sdk": "npm:1.7.3"
70427042
"@reflag/tsconfig": "npm:~0.0.2"
70437043
"@types/node": "npm:^22.12.0"
70447044
flush-promises: "npm:~1.0.2"

0 commit comments

Comments
 (0)