Skip to content

Commit 5cd064a

Browse files
Merge branch 'cache_expiration' into SDKS-9171_sdk_ready_from_cache
2 parents 957cbdc + e6f768f commit 5cd064a

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

.github/workflows/ci-cd.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
run: redis-cli ping
3535

3636
- name: Setup Node.js
37-
uses: actions/setup-node@v3
37+
uses: actions/setup-node@v4
3838
with:
3939
node-version: 'lts/*'
4040
cache: 'npm'
@@ -58,8 +58,8 @@ 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/SDKS-9171_sdk_ready_from_cache' || github.ref == 'refs/heads/master') }}
62-
uses: actions/upload-artifact@v3
61+
if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/development' || github.ref == 'refs/heads/master') }}
62+
uses: actions/upload-artifact@v4
6363
with:
6464
name: assets
6565
path: umd/
@@ -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/SDKS-9171_sdk_ready_from_cache' }}
72+
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/development' }}
7373
strategy:
7474
matrix:
7575
environment:
@@ -81,7 +81,7 @@ jobs:
8181

8282
steps:
8383
- name: Download assets
84-
uses: actions/download-artifact@v3
84+
uses: actions/download-artifact@v4
8585
with:
8686
name: assets
8787
path: umd
@@ -91,7 +91,7 @@ jobs:
9191
working-directory: umd
9292

9393
- name: Configure AWS credentials
94-
uses: aws-actions/configure-aws-credentials@v1-node16
94+
uses: aws-actions/configure-aws-credentials@v4
9595
with:
9696
role-to-assume: arn:aws:iam::${{ matrix.account_id }}:role/gha-public-assets-role
9797
aws-region: us-east-1
@@ -120,7 +120,7 @@ jobs:
120120

121121
steps:
122122
- name: Download assets
123-
uses: actions/download-artifact@v3
123+
uses: actions/download-artifact@v4
124124
with:
125125
name: assets
126126
path: umd
@@ -130,7 +130,7 @@ jobs:
130130
working-directory: umd
131131

132132
- name: Configure AWS credentials
133-
uses: aws-actions/configure-aws-credentials@v1-node16
133+
uses: aws-actions/configure-aws-credentials@v4
134134
with:
135135
role-to-assume: arn:aws:iam::${{ matrix.account_id }}:role/gha-public-assets-role
136136
aws-region: us-east-1

CHANGES.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
- Updated SDK_READY_FROM_CACHE event when using the `LOCALSTORAGE` storage type to be emitted alongside the SDK_READY event if it has not already been emitted.
66
- Updated @splitsoftware/splitio-commons package to version 2.1.0.
77

8+
11.0.4 (January 9, 2025)
9+
- Bugfixing - Updated @splitsoftware/splitio-commons package to version 2.0.3, which properly handles rejected promises when using targeting rules with segment matchers in consumer modes (e.g., Redis and Pluggable storages).
10+
811
11.0.3 (December 4, 2024)
912
- 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).
1013

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright © 2024 Split Software, Inc.
1+
Copyright © 2025 Split Software, Inc.
22

33
Licensed under the Apache License, Version 2.0 (the "License");
44
you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)