Skip to content

Commit 457a2fe

Browse files
Prepare release 1.7.1
1 parent 009ec77 commit 457a2fe

9 files changed

Lines changed: 45 additions & 62 deletions

File tree

‎.github/pull_request_template.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# JS Browser SDK
1+
# JavaScript Browser SDK
22

33
## What did you accomplish?
44

55
## How do we test the changes introduced in this PR?
66

7-
## Extra Notes
7+
## Extra Notes

‎.github/workflows/sonar-scan.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
-Dsonar.links.scm="https://github.com/splitio/${{ github.event.repository.name }}"
5050
5151
- name: SonarQube Scan (Pull Request)
52-
if: github.event_name == 'pull_request'
52+
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
5353
uses: SonarSource/sonarqube-scan-action@v6
5454
env:
5555
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}

‎CHANGES.txt‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
1.7.1 (June 25, 2026)
2+
- Updated TypeScript declaration to use `namespace` instead of `module` for compatibility with TypeScript 7 (Related to issue https://github.com/splitio/javascript-client/issues/920).
3+
- Updated @splitsoftware/splitio-commons package to version 2.12.1, which:
4+
- updates internal modules to handle `null` values from `/splitChanges` response.
5+
- updates some dependencies for vulnerability fixes.
6+
17
1.7.0 (January 28, 2026)
28
- Updated @splitsoftware/splitio-commons package to version 2.11.0, which:
39
- Added functionality to provide metadata alongside SDK update and READY events. Read more in our docs.

‎package-lock.json‎

Lines changed: 30 additions & 54 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-browserjs",
3-
"version": "1.7.0",
3+
"version": "1.7.1",
44
"description": "Split SDK for JavaScript on Browser",
55
"main": "cjs/index.js",
66
"module": "esm/index.js",
@@ -59,7 +59,7 @@
5959
"bugs": "https://github.com/splitio/javascript-browser-client/issues",
6060
"homepage": "https://github.com/splitio/javascript-browser-client#readme",
6161
"dependencies": {
62-
"@splitsoftware/splitio-commons": "2.11.0",
62+
"@splitsoftware/splitio-commons": "2.12.1",
6363
"tslib": "^2.3.1",
6464
"unfetch": "^4.2.0"
6565
},

‎src/platform/getModules.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export function getModules(settings: ISettings, platform: IPlatform): ISdkFactor
3333

3434
sdkManagerFactory,
3535

36+
// @ts-expect-error - To be fixed in commons
3637
sdkClientMethodFactory: sdkClientMethodCSFactory,
3738

3839
SignalListener: BrowserSignalListener as ISdkFactoryParams['SignalListener'],

‎src/settings/defaults.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type SplitIO from '@splitsoftware/splitio-commons/types/splitio';
22
import { LogLevels, isLogLevelString } from '@splitsoftware/splitio-commons/src/logger/index';
33
import { CONSENT_GRANTED } from '@splitsoftware/splitio-commons/src/utils/constants';
44

5-
const packageVersion = '1.7.0';
5+
const packageVersion = '1.7.1';
66

77
/**
88
* In browser, the default debug level, can be set via the `localStorage.splitio_debug` item.

‎types/full/index.d.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
export = JsSdk;
88

9-
declare module JsSdk {
9+
declare namespace JsSdk {
1010
/**
1111
* Full version of the Split.io SDK factory function.
1212
*

‎types/index.d.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
export = JsSdk;
88

9-
declare module JsSdk {
9+
declare namespace JsSdk {
1010
/**
1111
* Split.io SDK factory function.
1212
*

0 commit comments

Comments
 (0)