Skip to content

Commit d97a03f

Browse files
Prepare rc and update changelog entry
1 parent 2dd7820 commit d97a03f

File tree

6 files changed

+22
-15
lines changed

6 files changed

+22
-15
lines changed

.github/workflows/ci-cd.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
run: BUILD_BRANCH=$(echo "${GITHUB_REF#refs/heads/}") npm run build
5959

6060
- name: Store assets
61-
if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/development' || github.ref == 'refs/heads/master') }}
61+
if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/cache_expiration' || github.ref == 'refs/heads/master') }}
6262
uses: actions/upload-artifact@v3
6363
with:
6464
name: assets
@@ -69,7 +69,7 @@ jobs:
6969
name: Upload assets
7070
runs-on: ubuntu-20.04
7171
needs: build
72-
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/development' }}
72+
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/cache_expiration' }}
7373
strategy:
7474
matrix:
7575
environment:

CHANGES.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
11.1.0 (January XX, 2025)
2+
- Added two new configuration options for the SDK storage in browsers when using storage type `LOCALSTORAGE`:
3+
- `storage.expirationDays` to specify the validity period of the rollout cache.
4+
- `storage.clearOnInit` to clear the rollout cache on SDK initialization.
5+
16
11.0.3 (December 4, 2024)
27
- Bugfixing - Updated @splitsoftware/splitio-commons package to version 2.0.2 that sanitizes the `SplitSDKMachineName` header value to avoid exceptions on HTTP/S requests when it contains non ISO-8859-1 characters (Related to issue https://github.com/splitio/javascript-client/issues/847).
38

package-lock.json

Lines changed: 9 additions & 9 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": "11.0.3",
3+
"version": "11.1.0-rc.0",
44
"description": "Split SDK",
55
"files": [
66
"README.md",
@@ -38,7 +38,7 @@
3838
"node": ">=14.0.0"
3939
},
4040
"dependencies": {
41-
"@splitsoftware/splitio-commons": "2.0.2",
41+
"@splitsoftware/splitio-commons": "2.1.0-rc.0",
4242
"bloom-filters": "^3.0.4",
4343
"ioredis": "^4.28.0",
4444
"js-yaml": "^3.13.1",

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 = '11.0.3';
1+
export const packageVersion = '11.1.0-rc.0';

ts-tests/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,9 @@ let fullBrowserSettings: SplitIO.IBrowserSettings = {
530530
features: mockedFeaturesMap,
531531
storage: {
532532
type: 'LOCALSTORAGE',
533-
prefix: 'PREFIX'
533+
prefix: 'PREFIX',
534+
expirationDays: 1,
535+
clearOnInit: true
534536
},
535537
impressionListener: impressionListener,
536538
debug: true,

0 commit comments

Comments
 (0)