Skip to content

Commit 98a966c

Browse files
Update JS-commons
1 parent 6f130c9 commit 98a966c

File tree

6 files changed

+15
-14
lines changed

6 files changed

+15
-14
lines changed

CHANGES.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
10.26.0 (April XX, 2024)
1+
10.26.0 (May 3, 2024)
22
- Updated @splitsoftware/splitio-commons package to version 1.14.0 that includes minor updates:
3-
- Added support for Semver matchers.
3+
- Added support for targeting rules based on semantic versions (https://semver.org/).
4+
- Added special impression label "targeting rule type unsupported by sdk" when the matcher type is not supported by the SDK, which returns 'control' treatment.
45
- Updated Split API client to include the flags spec version query parameter for the `splitChanges` and `auth` endpoints.
56

67
10.25.2 (March 26, 2024)

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@splitsoftware/splitio",
3-
"version": "10.25.3-rc.2",
3+
"version": "10.25.3-rc.3",
44
"description": "Split SDK",
55
"files": [
66
"README.md",
@@ -40,7 +40,7 @@
4040
"node": ">=6"
4141
},
4242
"dependencies": {
43-
"@splitsoftware/splitio-commons": "1.13.2-rc.7",
43+
"@splitsoftware/splitio-commons": "1.13.2-rc.10",
4444
"@types/google.analytics": "0.0.40",
4545
"@types/ioredis": "^4.28.0",
4646
"bloom-filters": "^3.0.0",

src/__tests__/browserSuites/evaluations-semver.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export default async function (fetchMock, assert) {
9797
validateImpressionData('semver_greater_or_equalto', 6, 3, 'greater than or equal to semver');
9898
validateImpressionData('semver_less_or_equalto', 6, 4, 'less than or equal to semver');
9999
validateImpressionData('semver_between', 6, 3, 'between semver');
100-
validateImpressionData('flag_with_unsupported_matcher', 1, 1, 'unsupported matcher type', 'control');
100+
validateImpressionData('flag_with_unsupported_matcher', 1, 1, 'targeting rule type unsupported by sdk', 'control');
101101

102102
POSTED_IMPRESSIONS_COUNT = payload.reduce((acc, curr) => acc + curr.i.length, 0);
103103

src/__tests__/nodeSuites/evaluations-semver.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export default async function (fetchMock, assert) {
9191
validateImpressionData('semver_greater_or_equalto', 6, 3, 'greater than or equal to semver');
9292
validateImpressionData('semver_less_or_equalto', 6, 4, 'less than or equal to semver');
9393
validateImpressionData('semver_between', 6, 3, 'between semver');
94-
validateImpressionData('flag_with_unsupported_matcher', 1, 1, 'unsupported matcher type', 'control');
94+
validateImpressionData('flag_with_unsupported_matcher', 1, 1, 'targeting rule type unsupported by sdk', 'control');
9595

9696
POSTED_IMPRESSIONS_COUNT = payload.reduce((acc, curr) => acc + curr.i.length, 0);
9797

src/settings/defaults/version.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const packageVersion = '10.25.3-rc.2';
1+
export const packageVersion = '10.25.3-rc.3';

0 commit comments

Comments
 (0)