From 14c6cc4cb3020a9bd9eb777bf67db4d211d907e7 Mon Sep 17 00:00:00 2001 From: GitHub actions Date: Tue, 5 Dec 2023 09:24:11 +0000 Subject: [PATCH 1/3] chore(release): 4.0.0 --- CHANGELOG.md | 13 +++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 42dce00..76c1906 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,19 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [4.0.0](https://github.com/rudderlabs/gatsby-plugin-rudderstack/compare/v2.0.0...v4.0.0) (2023-12-05) + + +### ⚠ BREAKING CHANGES + +* modify delayLoad functionality (#17) + +### Features + +* Added option to use new JS SDK ([#10](https://github.com/rudderlabs/gatsby-plugin-rudderstack/issues/10)) ([a2ed4a7](https://github.com/rudderlabs/gatsby-plugin-rudderstack/commit/a2ed4a794130f7a0dd783f42c1107aa44089a45c)) +* modify delayLoad functionality ([#17](https://github.com/rudderlabs/gatsby-plugin-rudderstack/issues/17)) ([65f176d](https://github.com/rudderlabs/gatsby-plugin-rudderstack/commit/65f176dd8e7fff4749b7142ba16d63519651fe45)) +* use JS SDK v3 loading snippet with new useLegacySDK option for v2.x usage ([#26](https://github.com/rudderlabs/gatsby-plugin-rudderstack/issues/26)) ([c05cdbb](https://github.com/rudderlabs/gatsby-plugin-rudderstack/commit/c05cdbb15ef5fb6862d7d9804e980219d7ab6fe3)) + ## 2.0.0 (2022-12-14) diff --git a/package-lock.json b/package-lock.json index a127f70..7bc22e5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "gatsby-plugin-rudderstack", - "version": "3.0.0", + "version": "4.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "gatsby-plugin-rudderstack", - "version": "3.0.0", + "version": "4.0.0", "license": "MIT", "devDependencies": { "@babel/cli": "7.23.4", diff --git a/package.json b/package.json index d0bdabb..d50fed9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-rudderstack", - "version": "3.0.0", + "version": "4.0.0", "description": "Event tracking with RudderStack in your Gatsby frontend.", "main": "gatsby-ssr.js", "scripts": { From 5f7054d67bd2f03078e29fa636c20719c322ddc4 Mon Sep 17 00:00:00 2001 From: George Bardis Date: Tue, 5 Dec 2023 14:03:17 +0200 Subject: [PATCH 2/3] chore: correct version number --- CHANGELOG.md | 6 ++---- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 76c1906..6ec29d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,17 +2,15 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. -## [4.0.0](https://github.com/rudderlabs/gatsby-plugin-rudderstack/compare/v2.0.0...v4.0.0) (2023-12-05) +## [3.0.0](https://github.com/rudderlabs/gatsby-plugin-rudderstack/compare/v2.0.0...v3.0.0) (2023-12-05) ### ⚠ BREAKING CHANGES -* modify delayLoad functionality (#17) +* Default JS SDK version is now v3.x, this version comes with [breaking changes](https://www.rudderstack.com/docs/sources/event-streams/sdks/rudderstack-javascript-sdk/v3/#breaking-changes) and [new features](https://www.rudderstack.com/docs/sources/event-streams/sdks/rudderstack-javascript-sdk/v3/#new-features) ### Features -* Added option to use new JS SDK ([#10](https://github.com/rudderlabs/gatsby-plugin-rudderstack/issues/10)) ([a2ed4a7](https://github.com/rudderlabs/gatsby-plugin-rudderstack/commit/a2ed4a794130f7a0dd783f42c1107aa44089a45c)) -* modify delayLoad functionality ([#17](https://github.com/rudderlabs/gatsby-plugin-rudderstack/issues/17)) ([65f176d](https://github.com/rudderlabs/gatsby-plugin-rudderstack/commit/65f176dd8e7fff4749b7142ba16d63519651fe45)) * use JS SDK v3 loading snippet with new useLegacySDK option for v2.x usage ([#26](https://github.com/rudderlabs/gatsby-plugin-rudderstack/issues/26)) ([c05cdbb](https://github.com/rudderlabs/gatsby-plugin-rudderstack/commit/c05cdbb15ef5fb6862d7d9804e980219d7ab6fe3)) ## 2.0.0 (2022-12-14) diff --git a/package-lock.json b/package-lock.json index 7bc22e5..a127f70 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "gatsby-plugin-rudderstack", - "version": "4.0.0", + "version": "3.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "gatsby-plugin-rudderstack", - "version": "4.0.0", + "version": "3.0.0", "license": "MIT", "devDependencies": { "@babel/cli": "7.23.4", diff --git a/package.json b/package.json index d50fed9..d0bdabb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-rudderstack", - "version": "4.0.0", + "version": "3.0.0", "description": "Event tracking with RudderStack in your Gatsby frontend.", "main": "gatsby-ssr.js", "scripts": { From 5b0679c3a259a7ea1ad9a8853db86fa088a7ecac Mon Sep 17 00:00:00 2001 From: George Bardis Date: Tue, 5 Dec 2023 16:30:58 +0200 Subject: [PATCH 3/3] chore: fix default babel settings --- .babelrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.babelrc b/.babelrc index f06d2fa..f9a76ce 100644 --- a/.babelrc +++ b/.babelrc @@ -1,5 +1,5 @@ { - "presets": ["@babel/preset-env", "@babel/preset-react"], + "presets": ["@babel/preset-env", ["@babel/preset-react", { "runtime": "automatic" }]], "plugins": ["@babel/plugin-proposal-object-rest-spread"], "comments": false }