Skip to content

Commit 7c4fc2d

Browse files
Polishing
1 parent d97a03f commit 7c4fc2d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
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/cache_expiration' || github.ref == 'refs/heads/master') }}
61+
if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/development' || 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/cache_expiration' }}
72+
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/development' }}
7373
strategy:
7474
matrix:
7575
environment:

CHANGES.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
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.
2+
- Added two new configuration options for the SDK's `LOCALSTORAGE` storage type to control the behavior of the persisted rollout plan cache in the browser:
3+
- `storage.expirationDays` to specify the validity period of the rollout plan cache in days.
4+
- `storage.clearOnInit` to clear the rollout plan cache on SDK initialization.
5+
- Updated @splitsoftware/splitio-commons package to version 2.1.0.
56

67
11.0.3 (December 4, 2024)
78
- 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).

src/__tests__/browserSuites/ready-from-cache.spec.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,6 @@ export default function (fetchMock, assert) {
848848

849849
await splitio.destroy();
850850

851-
852851
// Start again with cached data and lastClear item older than 24 hours -> cache cleanup
853852
console.log.resetHistory();
854853
localStorage.setItem('readyFromCache_10.SPLITIO.lastClear', Date.now() - 25 * 60 * 60 * 1000); // 25 hours ago

0 commit comments

Comments
 (0)