Skip to content

Commit 3023470

Browse files
Merge pull request #144 from splitio/development
Release v1.2.0
2 parents bad1b41 + 5859276 commit 3023470

18 files changed

+333
-502
lines changed

.github/workflows/ci-cd.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ permissions:
1919
jobs:
2020
build:
2121
name: Build
22-
# @TODO rollback to ubuntu-latest eventually. ATM, `npm run test-browser` fails when using ubuntu-latest (ubuntu-22.04) with "ERROR [launcher]: Cannot start ChromeHeadless"
23-
runs-on: ubuntu-20.04
22+
runs-on: ubuntu-latest
2423
steps:
2524
- name: Checkout code
2625
uses: actions/checkout@v4
@@ -56,7 +55,7 @@ jobs:
5655

5756
upload-stage:
5857
name: Upload assets
59-
runs-on: ubuntu-20.04
58+
runs-on: ubuntu-latest
6059
needs: build
6160
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/development' }}
6261
strategy:
@@ -99,7 +98,7 @@ jobs:
9998

10099
upload-prod:
101100
name: Upload assets
102-
runs-on: ubuntu-20.04
101+
runs-on: ubuntu-latest
103102
needs: build
104103
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
105104
strategy:

.github/workflows/sonar-scan.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
jobs:
1313
build:
1414
name: Build
15-
runs-on: ubuntu-20.04
15+
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout code
1818
uses: actions/checkout@v4

.github/workflows/update-license-year.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permissions:
1010

1111
jobs:
1212
test:
13-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout
1616
uses: actions/checkout@v4

CHANGES.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
1.2.0 (March 31, 2025)
2+
- Added a new optional argument to the client `getTreatment` methods to allow passing additional evaluation options, such as a map of properties to append to the generated impressions sent to Split backend. Read more in our docs.
3+
- Added two new configuration options for the SDK's `InLocalStorage` module to control the behavior of the persisted rollout plan cache in the browser:
4+
- `expirationDays` to specify the validity period of the rollout plan cache in days.
5+
- `clearOnInit` to clear the rollout plan cache on SDK initialization.
6+
- Updated SDK_READY_FROM_CACHE event when using `InLocalStorage` module to be emitted alongside the SDK_READY event if it has not already been emitted.
7+
- Updated @splitsoftware/splitio-commons package to version 2.2.0.
8+
19
1.1.0 (January 17, 2025)
210
- Added support for the new impressions tracking toggle available on feature flags, both respecting the setting and including the new field being returned on `SplitView` type objects. Read more in our docs.
311
- Bugfixing - Updated @splitsoftware/splitio-commons package to version 2.1.0, which properly handles rejected promises when using targeting rules with segment matchers in consumer modes (e.g., Redis and Pluggable storages).

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ Split has built and maintains SDKs for:
6464
* .NET [Github](https://github.com/splitio/dotnet-client) [Docs](https://help.split.io/hc/en-us/articles/360020240172--NET-SDK)
6565
* Android [Github](https://github.com/splitio/android-client) [Docs](https://help.split.io/hc/en-us/articles/360020343291-Android-SDK)
6666
* Angular [Github](https://github.com/splitio/angular-sdk-plugin) [Docs](https://help.split.io/hc/en-us/articles/6495326064397-Angular-utilities)
67+
* Elixir thin-client [Github](https://github.com/splitio/elixir-thin-client) [Docs](https://help.split.io/hc/en-us/articles/26988707417869-Elixir-Thin-Client-SDK)
6768
* Flutter [Github](https://github.com/splitio/flutter-sdk-plugin) [Docs](https://help.split.io/hc/en-us/articles/8096158017165-Flutter-plugin)
6869
* GO [Github](https://github.com/splitio/go-client) [Docs](https://help.split.io/hc/en-us/articles/360020093652-Go-SDK)
6970
* iOS [Github](https://github.com/splitio/ios-client) [Docs](https://help.split.io/hc/en-us/articles/360020401491-iOS-SDK)
@@ -83,4 +84,4 @@ For a comprehensive list of open source projects visit our [Github page](https:/
8384

8485
**Learn more about Split:**
8586

86-
Visit [split.io/product](https://www.split.io/product) for an overview of Split, or visit our documentation at [help.split.io](http://help.split.io) for more detailed information.
87+
Visit [split.io/product](https://www.split.io/product) for an overview of Split, or visit our documentation at [help.split.io](https://help.split.io) for more detailed information.

karma/config.js

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,15 @@ module.exports = {
2424
'tap'
2525
],
2626

27-
// Run on Chrome Headless. Use 'Chrome' instead to run on full browser for debugging
28-
browsers: [
29-
'ChromeHeadless'
30-
],
27+
// Run on Chrome Headless
28+
customLaunchers: {
29+
ChromeHeadlessNoSandbox: {
30+
base: 'ChromeHeadless',
31+
// Flags required to run in ubuntu-22.04 or above (https://chromium.googlesource.com/chromium/src/+/master/docs/linux/suid_sandbox_development.md)
32+
flags: ['--no-sandbox', '--disable-setuid-sandbox']
33+
}
34+
},
35+
browsers: ['ChromeHeadlessNoSandbox'],
3136

3237
// Continuous Integration mode
3338
// if true, it capture browsers, run tests and exit. Set false for debugging

0 commit comments

Comments
 (0)