From 6c10873048ea1ba3f8f57976130b11584ced0b36 Mon Sep 17 00:00:00 2001 From: Emiliano Sanchez Date: Fri, 22 Mar 2024 15:24:52 -0300 Subject: [PATCH 1/3] Add tslib as a dependency explicitly --- CHANGES.txt | 5 ++++- README.md | 2 ++ package-lock.json | 23 +++++++++++++---------- package.json | 7 ++++--- 4 files changed, 23 insertions(+), 14 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index 6260881..f395494 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,4 +1,7 @@ -1.11.0 (January 16, 2023) +1.11.1 (XXX XX, 2024) + - Bugfixing - Added tslib as an explicit dependency to avoid issues with some package managers that don't install it automatically as a transitive dependency from @splitsoftware/splitio-commons (Related to issue https://github.com/splitio/javascript-client/issues/795). + +1.11.0 (January 16, 2024) - Added new `SplitFactoryProvider` component as a replacement for the now deprecated `SplitFactory` component. - Bugfixing: The new component is a revised version of `SplitFactory` that properly handles SDK side effects (i.e., factory creation and destruction) within the React component lifecycle, - resolving memory leak issues in React development mode, strict mode and server-side rendering (Related to issues #11 and #109), diff --git a/README.md b/README.md index 53c4b7f..3937848 100644 --- a/README.md +++ b/README.md @@ -79,6 +79,7 @@ Split has built and maintains SDKs for: * .NET [Github](https://github.com/splitio/dotnet-client) [Docs](https://help.split.io/hc/en-us/articles/360020240172--NET-SDK) * Android [Github](https://github.com/splitio/android-client) [Docs](https://help.split.io/hc/en-us/articles/360020343291-Android-SDK) * Angular [Github](https://github.com/splitio/angular-sdk-plugin) [Docs](https://help.split.io/hc/en-us/articles/6495326064397-Angular-utilities) +* Flutter [Github](https://github.com/splitio/flutter-sdk-plugin) [Docs](https://help.split.io/hc/en-us/articles/8096158017165-Flutter-plugin) * GO [Github](https://github.com/splitio/go-client) [Docs](https://help.split.io/hc/en-us/articles/360020093652-Go-SDK) * iOS [Github](https://github.com/splitio/ios-client) [Docs](https://help.split.io/hc/en-us/articles/360020401491-iOS-SDK) * Java [Github](https://github.com/splitio/java-client) [Docs](https://help.split.io/hc/en-us/articles/360020405151-Java-SDK) @@ -86,6 +87,7 @@ Split has built and maintains SDKs for: * JavaScript for Browser [Github](https://github.com/splitio/javascript-browser-client) [Docs](https://help.split.io/hc/en-us/articles/360058730852-Browser-SDK) * Node [Github](https://github.com/splitio/javascript-client) [Docs](https://help.split.io/hc/en-us/articles/360020564931-Node-js-SDK) * PHP [Github](https://github.com/splitio/php-client) [Docs](https://help.split.io/hc/en-us/articles/360020350372-PHP-SDK) +* PHP thin-client [Github](https://github.com/splitio/php-thin-client) [Docs](https://help.split.io/hc/en-us/articles/18305128673933-PHP-Thin-Client-SDK) * Python [Github](https://github.com/splitio/python-client) [Docs](https://help.split.io/hc/en-us/articles/360020359652-Python-SDK) * React [Github](https://github.com/splitio/react-client) [Docs](https://help.split.io/hc/en-us/articles/360038825091-React-SDK) * React Native [Github](https://github.com/splitio/react-native-client) [Docs](https://help.split.io/hc/en-us/articles/4406066357901-React-Native-SDK) diff --git a/package-lock.json b/package-lock.json index 377cab9..faf6971 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,17 +1,18 @@ { "name": "@splitsoftware/splitio-react", - "version": "1.11.0", + "version": "1.11.1-rc.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@splitsoftware/splitio-react", - "version": "1.11.0", + "version": "1.11.1-rc.0", "license": "Apache-2.0", "dependencies": { - "@splitsoftware/splitio": "10.25.1", + "@splitsoftware/splitio": "10.25.2-rc.0", "memoize-one": "^5.1.1", - "shallowequal": "^1.1.0" + "shallowequal": "^1.1.0", + "tslib": "^2.3.1" }, "devDependencies": { "@testing-library/jest-dom": "^5.16.5", @@ -1547,9 +1548,9 @@ } }, "node_modules/@splitsoftware/splitio": { - "version": "10.25.1", - "resolved": "https://registry.npmjs.org/@splitsoftware/splitio/-/splitio-10.25.1.tgz", - "integrity": "sha512-QmCOI2VNhjIMieibtMcc595oyQB5sgrYKSqw7wxKtwMX0VtuPbZ3Lw8fwd0nH2WSKq3Pcjyu3nVSYQRp1bGEvA==", + "version": "10.25.2-rc.0", + "resolved": "https://registry.npmjs.org/@splitsoftware/splitio/-/splitio-10.25.2-rc.0.tgz", + "integrity": "sha512-1itbXQJLqCyUprTsbsYTHVonivyeB42t+viKPGWDbV9kiws0Sl9wF9ESLpV1xfqt9m0NstwJ/uQEcdQr6jqVpQ==", "dependencies": { "@splitsoftware/splitio-commons": "1.13.1", "@types/google.analytics": "0.0.40", @@ -1558,6 +1559,7 @@ "ioredis": "^4.28.0", "js-yaml": "^3.13.1", "node-fetch": "^2.7.0", + "tslib": "^2.3.1", "unfetch": "^4.2.0" }, "engines": { @@ -12089,9 +12091,9 @@ } }, "@splitsoftware/splitio": { - "version": "10.25.1", - "resolved": "https://registry.npmjs.org/@splitsoftware/splitio/-/splitio-10.25.1.tgz", - "integrity": "sha512-QmCOI2VNhjIMieibtMcc595oyQB5sgrYKSqw7wxKtwMX0VtuPbZ3Lw8fwd0nH2WSKq3Pcjyu3nVSYQRp1bGEvA==", + "version": "10.25.2-rc.0", + "resolved": "https://registry.npmjs.org/@splitsoftware/splitio/-/splitio-10.25.2-rc.0.tgz", + "integrity": "sha512-1itbXQJLqCyUprTsbsYTHVonivyeB42t+viKPGWDbV9kiws0Sl9wF9ESLpV1xfqt9m0NstwJ/uQEcdQr6jqVpQ==", "requires": { "@splitsoftware/splitio-commons": "1.13.1", "@types/google.analytics": "0.0.40", @@ -12101,6 +12103,7 @@ "ioredis": "^4.28.0", "js-yaml": "^3.13.1", "node-fetch": "^2.7.0", + "tslib": "^2.3.1", "unfetch": "^4.2.0" } }, diff --git a/package.json b/package.json index e12faf4..5f291c9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@splitsoftware/splitio-react", - "version": "1.11.0", + "version": "1.11.1-rc.0", "description": "A React library to easily integrate and use Split JS SDK", "main": "lib/index.js", "module": "es/index.js", @@ -63,9 +63,10 @@ }, "homepage": "https://github.com/splitio/react-client#readme", "dependencies": { - "@splitsoftware/splitio": "10.25.1", + "@splitsoftware/splitio": "10.25.2-rc.0", "memoize-one": "^5.1.1", - "shallowequal": "^1.1.0" + "shallowequal": "^1.1.0", + "tslib": "^2.3.1" }, "devDependencies": { "@testing-library/jest-dom": "^5.16.5", From 136814d4e35c5c21e620c3eb68f0766edd7e36ab Mon Sep 17 00:00:00 2001 From: Emiliano Sanchez Date: Mon, 25 Mar 2024 16:36:51 -0300 Subject: [PATCH 2/3] ci-cd update for UMD build --- .github/workflows/ci-cd.yml | 4 ++-- CHANGES.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 3870a1f..386b114 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -77,7 +77,7 @@ jobs: -Dsonar.pullrequest.base=${{ github.event.pull_request.base.ref }} - name: Store assets - if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/development') + if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/release_v1.11.1') uses: actions/upload-artifact@v3 with: name: assets @@ -88,7 +88,7 @@ jobs: name: Upload assets runs-on: ubuntu-latest needs: build - if: github.event_name == 'push' && github.ref == 'refs/heads/development' + if: github.event_name == 'push' && github.ref == 'refs/heads/release_v1.11.1' strategy: matrix: environment: diff --git a/CHANGES.txt b/CHANGES.txt index f395494..941d295 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,5 +1,5 @@ -1.11.1 (XXX XX, 2024) - - Bugfixing - Added tslib as an explicit dependency to avoid issues with some package managers that don't install it automatically as a transitive dependency from @splitsoftware/splitio-commons (Related to issue https://github.com/splitio/javascript-client/issues/795). +1.11.1 (March 26, 2024) + - Bugfixing - Added tslib as an explicit dependency to avoid issues with some package managers that don't resolve it automatically as a transitive dependency from @splitsoftware/splitio-commons (Related to issue https://github.com/splitio/javascript-client/issues/795). 1.11.0 (January 16, 2024) - Added new `SplitFactoryProvider` component as a replacement for the now deprecated `SplitFactory` component. From 825a50285981074b6c32f9f04dccb3cfe805a02e Mon Sep 17 00:00:00 2001 From: Emiliano Sanchez Date: Tue, 26 Mar 2024 13:08:12 -0300 Subject: [PATCH 3/3] prepare stable version --- .github/workflows/ci-cd.yml | 4 ++-- package-lock.json | 18 +++++++++--------- package.json | 4 ++-- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 386b114..3870a1f 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -77,7 +77,7 @@ jobs: -Dsonar.pullrequest.base=${{ github.event.pull_request.base.ref }} - name: Store assets - if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/release_v1.11.1') + if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/development') uses: actions/upload-artifact@v3 with: name: assets @@ -88,7 +88,7 @@ jobs: name: Upload assets runs-on: ubuntu-latest needs: build - if: github.event_name == 'push' && github.ref == 'refs/heads/release_v1.11.1' + if: github.event_name == 'push' && github.ref == 'refs/heads/development' strategy: matrix: environment: diff --git a/package-lock.json b/package-lock.json index faf6971..c39002d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,15 +1,15 @@ { "name": "@splitsoftware/splitio-react", - "version": "1.11.1-rc.0", + "version": "1.11.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@splitsoftware/splitio-react", - "version": "1.11.1-rc.0", + "version": "1.11.1", "license": "Apache-2.0", "dependencies": { - "@splitsoftware/splitio": "10.25.2-rc.0", + "@splitsoftware/splitio": "10.25.2", "memoize-one": "^5.1.1", "shallowequal": "^1.1.0", "tslib": "^2.3.1" @@ -1548,9 +1548,9 @@ } }, "node_modules/@splitsoftware/splitio": { - "version": "10.25.2-rc.0", - "resolved": "https://registry.npmjs.org/@splitsoftware/splitio/-/splitio-10.25.2-rc.0.tgz", - "integrity": "sha512-1itbXQJLqCyUprTsbsYTHVonivyeB42t+viKPGWDbV9kiws0Sl9wF9ESLpV1xfqt9m0NstwJ/uQEcdQr6jqVpQ==", + "version": "10.25.2", + "resolved": "https://registry.npmjs.org/@splitsoftware/splitio/-/splitio-10.25.2.tgz", + "integrity": "sha512-lX06PSoA+hcw66c889RxK9t9cd8evguBFk+x1pw2L4J/58+7XHxp/z1Nnbtb3AOw8s/sX4h87qlTiZqMGPmcmA==", "dependencies": { "@splitsoftware/splitio-commons": "1.13.1", "@types/google.analytics": "0.0.40", @@ -12091,9 +12091,9 @@ } }, "@splitsoftware/splitio": { - "version": "10.25.2-rc.0", - "resolved": "https://registry.npmjs.org/@splitsoftware/splitio/-/splitio-10.25.2-rc.0.tgz", - "integrity": "sha512-1itbXQJLqCyUprTsbsYTHVonivyeB42t+viKPGWDbV9kiws0Sl9wF9ESLpV1xfqt9m0NstwJ/uQEcdQr6jqVpQ==", + "version": "10.25.2", + "resolved": "https://registry.npmjs.org/@splitsoftware/splitio/-/splitio-10.25.2.tgz", + "integrity": "sha512-lX06PSoA+hcw66c889RxK9t9cd8evguBFk+x1pw2L4J/58+7XHxp/z1Nnbtb3AOw8s/sX4h87qlTiZqMGPmcmA==", "requires": { "@splitsoftware/splitio-commons": "1.13.1", "@types/google.analytics": "0.0.40", diff --git a/package.json b/package.json index 5f291c9..a8dcb9c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@splitsoftware/splitio-react", - "version": "1.11.1-rc.0", + "version": "1.11.1", "description": "A React library to easily integrate and use Split JS SDK", "main": "lib/index.js", "module": "es/index.js", @@ -63,7 +63,7 @@ }, "homepage": "https://github.com/splitio/react-client#readme", "dependencies": { - "@splitsoftware/splitio": "10.25.2-rc.0", + "@splitsoftware/splitio": "10.25.2", "memoize-one": "^5.1.1", "shallowequal": "^1.1.0", "tslib": "^2.3.1"