Skip to content

Commit

Permalink
Update JS-commons
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilianoSanchez committed May 3, 2024
1 parent 6f130c9 commit 98a966c
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 14 deletions.
5 changes: 3 additions & 2 deletions CHANGES.txt
@@ -1,6 +1,7 @@
10.26.0 (April XX, 2024)
10.26.0 (May 3, 2024)
- Updated @splitsoftware/splitio-commons package to version 1.14.0 that includes minor updates:
- Added support for Semver matchers.
- Added support for targeting rules based on semantic versions (https://semver.org/).
- Added special impression label "targeting rule type unsupported by sdk" when the matcher type is not supported by the SDK, which returns 'control' treatment.
- Updated Split API client to include the flags spec version query parameter for the `splitChanges` and `auth` endpoints.

10.25.2 (March 26, 2024)
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "@splitsoftware/splitio",
"version": "10.25.3-rc.2",
"version": "10.25.3-rc.3",
"description": "Split SDK",
"files": [
"README.md",
Expand Down Expand Up @@ -40,7 +40,7 @@
"node": ">=6"
},
"dependencies": {
"@splitsoftware/splitio-commons": "1.13.2-rc.7",
"@splitsoftware/splitio-commons": "1.13.2-rc.10",
"@types/google.analytics": "0.0.40",
"@types/ioredis": "^4.28.0",
"bloom-filters": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/browserSuites/evaluations-semver.spec.js
Expand Up @@ -97,7 +97,7 @@ export default async function (fetchMock, assert) {
validateImpressionData('semver_greater_or_equalto', 6, 3, 'greater than or equal to semver');
validateImpressionData('semver_less_or_equalto', 6, 4, 'less than or equal to semver');
validateImpressionData('semver_between', 6, 3, 'between semver');
validateImpressionData('flag_with_unsupported_matcher', 1, 1, 'unsupported matcher type', 'control');
validateImpressionData('flag_with_unsupported_matcher', 1, 1, 'targeting rule type unsupported by sdk', 'control');

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

Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/nodeSuites/evaluations-semver.spec.js
Expand Up @@ -91,7 +91,7 @@ export default async function (fetchMock, assert) {
validateImpressionData('semver_greater_or_equalto', 6, 3, 'greater than or equal to semver');
validateImpressionData('semver_less_or_equalto', 6, 4, 'less than or equal to semver');
validateImpressionData('semver_between', 6, 3, 'between semver');
validateImpressionData('flag_with_unsupported_matcher', 1, 1, 'unsupported matcher type', 'control');
validateImpressionData('flag_with_unsupported_matcher', 1, 1, 'targeting rule type unsupported by sdk', 'control');

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

Expand Down
2 changes: 1 addition & 1 deletion src/settings/defaults/version.js
@@ -1 +1 @@
export const packageVersion = '10.25.3-rc.2';
export const packageVersion = '10.25.3-rc.3';

0 comments on commit 98a966c

Please sign in to comment.