diff --git a/package-lock.json b/package-lock.json index bd42fe94d..34aa44684 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@rudderstack/analytics-js-monorepo", - "version": "3.59.0", + "version": "3.60.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@rudderstack/analytics-js-monorepo", - "version": "3.59.0", + "version": "3.60.0", "hasInstallScript": true, "license": "Elastic-2.0", "workspaces": [ @@ -25284,7 +25284,7 @@ }, "packages/analytics-js": { "name": "@rudderstack/analytics-js", - "version": "3.11.7", + "version": "3.11.8", "license": "Elastic-2.0", "dependencies": { "@preact/signals-core": "1.8.0", @@ -25298,7 +25298,7 @@ }, "packages/analytics-js-common": { "name": "@rudderstack/analytics-js-common", - "version": "3.14.6", + "version": "3.14.7", "license": "Elastic-2.0", "dependencies": { "@lukeed/uuid": "2.0.1", @@ -25315,7 +25315,7 @@ }, "packages/analytics-js-cookies": { "name": "@rudderstack/analytics-js-cookies", - "version": "0.4.9", + "version": "0.4.10", "license": "Elastic-2.0", "dependencies": { "@rudderstack/analytics-js-common": "*" @@ -25324,7 +25324,7 @@ }, "packages/analytics-js-integrations": { "name": "@rudderstack/analytics-js-integrations", - "version": "3.11.5", + "version": "3.11.6", "license": "Elastic-2.0", "dependencies": { "@lukeed/uuid": "2.0.1", @@ -25344,7 +25344,7 @@ }, "packages/analytics-js-plugins": { "name": "@rudderstack/analytics-js-plugins", - "version": "3.6.10", + "version": "3.6.11", "license": "Elastic-2.0", "dependencies": { "@rudderstack/analytics-js-common": "*", @@ -25358,7 +25358,7 @@ }, "packages/analytics-js-service-worker": { "name": "@rudderstack/analytics-js-service-worker", - "version": "3.2.9", + "version": "3.2.10", "license": "Elastic-2.0", "dependencies": { "@lukeed/uuid": "2.0.1", @@ -25379,7 +25379,7 @@ }, "packages/analytics-v1.1": { "name": "rudder-sdk-js", - "version": "2.48.34", + "version": "2.48.35", "license": "Elastic-2.0", "dependencies": { "@rudderstack/analytics-js-common": "*" @@ -25388,7 +25388,7 @@ }, "packages/loading-scripts": { "name": "@rudderstack/analytics-js-loading-scripts", - "version": "3.0.50", + "version": "3.0.51", "license": "Elastic-2.0", "dependencies": { "@rudderstack/analytics-js": "*" @@ -25397,7 +25397,7 @@ }, "packages/sanity-suite": { "name": "@rudderstack/analytics-js-sanity-suite", - "version": "3.1.41", + "version": "3.1.42", "license": "Elastic-2.0", "dependencies": { "@rudderstack/analytics-js": "*", diff --git a/package.json b/package.json index c2aa50926..315e1850d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@rudderstack/analytics-js-monorepo", - "version": "3.59.0", + "version": "3.60.0", "private": true, "description": "Monorepo for RudderStack Analytics JS SDK", "workspaces": [ diff --git a/packages/analytics-js-common/CHANGELOG.md b/packages/analytics-js-common/CHANGELOG.md index 740ad96e2..b6dda3fee 100644 --- a/packages/analytics-js-common/CHANGELOG.md +++ b/packages/analytics-js-common/CHANGELOG.md @@ -2,6 +2,13 @@ This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver). +## [3.14.7](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/analytics-js-common@3.14.6...@rudderstack/analytics-js-common@3.14.7) (2024-11-21) + + +### Bug Fixes + +* restore event api overloads changes ([ebb1f7c](https://github.com/rudderlabs/rudder-sdk-js/commit/ebb1f7ca924972993e2da25036ae994f24c229dd)) + ## [3.14.6](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/analytics-js-common@3.14.5...@rudderstack/analytics-js-common@3.14.6) (2024-11-21) diff --git a/packages/analytics-js-common/CHANGELOG_LATEST.md b/packages/analytics-js-common/CHANGELOG_LATEST.md index aaf0530db..10d9efa3d 100644 --- a/packages/analytics-js-common/CHANGELOG_LATEST.md +++ b/packages/analytics-js-common/CHANGELOG_LATEST.md @@ -1,7 +1,7 @@ -## [3.14.6](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/analytics-js-common@3.14.5...@rudderstack/analytics-js-common@3.14.6) (2024-11-21) +## [3.14.7](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/analytics-js-common@3.14.6...@rudderstack/analytics-js-common@3.14.7) (2024-11-21) ### Bug Fixes -* use utility in a different method ([4b9e0cc](https://github.com/rudderlabs/rudder-sdk-js/commit/4b9e0ccd85ef33c00e41072a10a7e27b479c3c43)) +* restore event api overloads changes ([ebb1f7c](https://github.com/rudderlabs/rudder-sdk-js/commit/ebb1f7ca924972993e2da25036ae994f24c229dd)) diff --git a/packages/analytics-js-common/package.json b/packages/analytics-js-common/package.json index ed1db0497..e3b6f6867 100644 --- a/packages/analytics-js-common/package.json +++ b/packages/analytics-js-common/package.json @@ -1,6 +1,6 @@ { "name": "@rudderstack/analytics-js-common", - "version": "3.14.6", + "version": "3.14.7", "private": true, "description": "RudderStack JavaScript SDK common code", "module": "dist/npm/index.js", diff --git a/packages/analytics-js-common/project.json b/packages/analytics-js-common/project.json index f94661c88..9137452a4 100644 --- a/packages/analytics-js-common/project.json +++ b/packages/analytics-js-common/project.json @@ -51,9 +51,9 @@ "github": { "executor": "@jscutlery/semver:github", "options": { - "tag": "@rudderstack/analytics-js-common@3.14.6", - "title": "@rudderstack/analytics-js-common@3.14.6", - "discussion-category": "@rudderstack/analytics-js-common@3.14.6", + "tag": "@rudderstack/analytics-js-common@3.14.7", + "title": "@rudderstack/analytics-js-common@3.14.7", + "discussion-category": "@rudderstack/analytics-js-common@3.14.7", "notesFile": "./packages/analytics-js-common/CHANGELOG_LATEST.md" } } diff --git a/packages/analytics-js-common/src/utilities/eventMethodOverloads.ts b/packages/analytics-js-common/src/utilities/eventMethodOverloads.ts index 4a7f06381..33e885792 100644 --- a/packages/analytics-js-common/src/utilities/eventMethodOverloads.ts +++ b/packages/analytics-js-common/src/utilities/eventMethodOverloads.ts @@ -2,7 +2,7 @@ import { clone } from 'ramda'; import type { ApiObject } from '../types/ApiObject'; import type { ApiCallback, ApiOptions } from '../types/EventApi'; import type { Nullable } from '../types/Nullable'; -import { isObjectLiteralAndNotNull, mergeDeepRight } from './object'; +import { getSanitizedValue, isObjectLiteralAndNotNull, mergeDeepRight } from './object'; import { isDefined, isDefinedAndNotNull, isFunction, isNull, isString } from './checks'; import { tryStringify } from './string'; import type { IdentifyTraits } from '../types/traits'; @@ -56,64 +56,70 @@ const pageArgumentsToCallOptions = ( options?: Nullable | ApiCallback, callback?: ApiCallback, ): PageCallOptions => { + const sanitizedCategory = getSanitizedValue(category); + const sanitizedName = getSanitizedValue(name); + const sanitizedProperties = getSanitizedValue(properties); + const sanitizedOptions = getSanitizedValue(options); + const sanitizedCallback = getSanitizedValue(callback); + const payload: PageCallOptions = { - category: category as string, - name: name as string, - properties: properties as Nullable, - options: options as Nullable, + category: sanitizedCategory as string, + name: sanitizedName as string, + properties: sanitizedProperties as Nullable, + options: sanitizedOptions as Nullable, callback: undefined, }; - if (isFunction(callback)) { - payload.callback = callback; + if (isFunction(sanitizedCallback)) { + payload.callback = sanitizedCallback; } - if (isFunction(options)) { - payload.category = category as string; - payload.name = name as string; - payload.properties = properties as Nullable; + if (isFunction(sanitizedOptions)) { + payload.category = sanitizedCategory as string; + payload.name = sanitizedName as string; + payload.properties = sanitizedProperties as Nullable; payload.options = undefined; - payload.callback = options; + payload.callback = sanitizedOptions; } - if (isFunction(properties)) { - payload.category = category as string; - payload.name = name as string; + if (isFunction(sanitizedProperties)) { + payload.category = sanitizedCategory as string; + payload.name = sanitizedName as string; payload.properties = undefined; payload.options = undefined; - payload.callback = properties; + payload.callback = sanitizedProperties; } - if (isFunction(name)) { - payload.category = category as string; + if (isFunction(sanitizedName)) { + payload.category = sanitizedCategory as string; payload.name = undefined; payload.properties = undefined; payload.options = undefined; - payload.callback = name; + payload.callback = sanitizedName; } - if (isFunction(category)) { + if (isFunction(sanitizedCategory)) { payload.category = undefined; payload.name = undefined; payload.properties = undefined; payload.options = undefined; - payload.callback = category; + payload.callback = sanitizedCategory; } - if (isObjectLiteralAndNotNull(category)) { + if (isObjectLiteralAndNotNull(sanitizedCategory)) { payload.name = undefined; payload.category = undefined; - payload.properties = category as Nullable; - if (!isFunction(name)) { - payload.options = name as Nullable; + payload.properties = sanitizedCategory as Nullable; + if (!isFunction(sanitizedName)) { + payload.options = sanitizedName as Nullable; } else { payload.options = undefined; } - } else if (isObjectLiteralAndNotNull(name)) { + } else if (isObjectLiteralAndNotNull(sanitizedName)) { payload.name = undefined; - payload.properties = name as Nullable; - if (!isFunction(properties)) { - payload.options = properties as Nullable; + payload.properties = sanitizedName as Nullable; + if (!isFunction(sanitizedProperties)) { + payload.options = sanitizedProperties as Nullable; } else { payload.options = undefined; } @@ -121,9 +127,9 @@ const pageArgumentsToCallOptions = ( // if the category argument alone is provided b/w category and name, // use it as name and set category to undefined - if (isString(category) && !isString(name)) { + if (isString(sanitizedCategory) && !isString(sanitizedName)) { payload.category = undefined; - payload.name = category; + payload.name = sanitizedCategory; } // Rest of the code is just to clean up undefined values @@ -171,27 +177,32 @@ const trackArgumentsToCallOptions = ( options?: Nullable | ApiCallback, callback?: ApiCallback, ): TrackCallOptions => { + const sanitizedEvent = getSanitizedValue(event); + const sanitizedProperties = getSanitizedValue(properties); + const sanitizedOptions = getSanitizedValue(options); + const sanitizedCallback = getSanitizedValue(callback); + const payload: TrackCallOptions = { - name: event, - properties: properties as Nullable, - options: options as Nullable, + name: sanitizedEvent, + properties: sanitizedProperties as Nullable, + options: sanitizedOptions as Nullable, callback: undefined, }; - if (isFunction(callback)) { - payload.callback = callback; + if (isFunction(sanitizedCallback)) { + payload.callback = sanitizedCallback; } - if (isFunction(options)) { - payload.properties = properties as Nullable; + if (isFunction(sanitizedOptions)) { + payload.properties = sanitizedProperties as Nullable; payload.options = undefined; - payload.callback = options; + payload.callback = sanitizedOptions; } - if (isFunction(properties)) { + if (isFunction(sanitizedProperties)) { payload.properties = undefined; payload.options = undefined; - payload.callback = properties; + payload.callback = sanitizedProperties; } // Rest of the code is just to clean up undefined values @@ -217,38 +228,43 @@ const identifyArgumentsToCallOptions = ( options?: Nullable | ApiCallback, callback?: ApiCallback, ): IdentifyCallOptions => { + const sanitizedUserId = getSanitizedValue(userId); + const sanitizedTraits = getSanitizedValue(traits); + const sanitizedOptions = getSanitizedValue(options); + const sanitizedCallback = getSanitizedValue(callback); + const payload: IdentifyCallOptions = { - userId: userId as string, - traits: traits as Nullable, - options: options as Nullable, + userId: sanitizedUserId as string, + traits: sanitizedTraits as Nullable, + options: sanitizedOptions as Nullable, callback: undefined, }; - if (isFunction(callback)) { - payload.callback = callback; + if (isFunction(sanitizedCallback)) { + payload.callback = sanitizedCallback; } - if (isFunction(options)) { - payload.userId = userId as string; - payload.traits = traits as Nullable; + if (isFunction(sanitizedOptions)) { + payload.userId = sanitizedUserId as string; + payload.traits = sanitizedTraits as Nullable; payload.options = undefined; - payload.callback = options; + payload.callback = sanitizedOptions; } - if (isFunction(traits)) { - payload.userId = userId as string; + if (isFunction(sanitizedTraits)) { + payload.userId = sanitizedUserId as string; payload.traits = undefined; payload.options = undefined; - payload.callback = traits; + payload.callback = sanitizedTraits; } - if (isObjectLiteralAndNotNull(userId) || isNull(userId)) { + if (isObjectLiteralAndNotNull(sanitizedUserId) || isNull(sanitizedUserId)) { // Explicitly set null to prevent resetting the existing value // in the Analytics class payload.userId = null; - payload.traits = userId as Nullable; - if (!isFunction(traits)) { - payload.options = traits as Nullable; + payload.traits = sanitizedUserId as Nullable; + if (!isFunction(sanitizedTraits)) { + payload.options = sanitizedTraits as Nullable; } else { payload.options = undefined; } @@ -283,33 +299,38 @@ const aliasArgumentsToCallOptions = ( options?: Nullable | ApiCallback, callback?: ApiCallback, ): AliasCallOptions => { + const sanitizedTo = getSanitizedValue(to); + const sanitizedFrom = getSanitizedValue(from); + const sanitizedOptions = getSanitizedValue(options); + const sanitizedCallback = getSanitizedValue(callback); + const payload: AliasCallOptions = { - to, - from: from as string, - options: options as Nullable, + to: sanitizedTo, + from: sanitizedFrom as string, + options: sanitizedOptions as Nullable, callback: undefined, }; - if (isFunction(callback)) { - payload.callback = callback; + if (isFunction(sanitizedCallback)) { + payload.callback = sanitizedCallback; } - if (isFunction(options)) { - payload.to = to; - payload.from = from as string; + if (isFunction(sanitizedOptions)) { + payload.to = sanitizedTo; + payload.from = sanitizedFrom as string; payload.options = undefined; - payload.callback = options; + payload.callback = sanitizedOptions; } - if (isFunction(from)) { - payload.to = to; + if (isFunction(sanitizedFrom)) { + payload.to = sanitizedTo; payload.from = undefined; payload.options = undefined; - payload.callback = from; - } else if (isObjectLiteralAndNotNull(from) || isNull(from)) { - payload.to = to; + payload.callback = sanitizedFrom; + } else if (isObjectLiteralAndNotNull(sanitizedFrom) || isNull(sanitizedFrom)) { + payload.to = sanitizedTo; payload.from = undefined; - payload.options = from as Nullable; + payload.options = sanitizedFrom as Nullable; } // Rest of the code is just to clean up undefined values @@ -343,38 +364,43 @@ const groupArgumentsToCallOptions = ( options?: Nullable | ApiCallback, callback?: ApiCallback, ): GroupCallOptions => { + const sanitizedGroupId = getSanitizedValue(groupId); + const sanitizedTraits = getSanitizedValue(traits); + const sanitizedOptions = getSanitizedValue(options); + const sanitizedCallback = getSanitizedValue(callback); + const payload: GroupCallOptions = { - groupId: groupId as string, - traits: traits as Nullable, - options: options as Nullable, + groupId: sanitizedGroupId as string, + traits: sanitizedTraits as Nullable, + options: sanitizedOptions as Nullable, callback: undefined, }; - if (isFunction(callback)) { - payload.callback = callback; + if (isFunction(sanitizedCallback)) { + payload.callback = sanitizedCallback; } - if (isFunction(options)) { - payload.groupId = groupId as string; - payload.traits = traits as Nullable; + if (isFunction(sanitizedOptions)) { + payload.groupId = sanitizedGroupId as string; + payload.traits = sanitizedTraits as Nullable; payload.options = undefined; - payload.callback = options; + payload.callback = sanitizedOptions; } - if (isFunction(traits)) { - payload.groupId = groupId as string; + if (isFunction(sanitizedTraits)) { + payload.groupId = sanitizedGroupId as string; payload.traits = undefined; payload.options = undefined; - payload.callback = traits; + payload.callback = sanitizedTraits; } - if (isObjectLiteralAndNotNull(groupId) || isNull(groupId)) { + if (isObjectLiteralAndNotNull(sanitizedGroupId) || isNull(sanitizedGroupId)) { // Explicitly set null to prevent resetting the existing value // in the Analytics class payload.groupId = null; - payload.traits = groupId as Nullable; - if (!isFunction(traits)) { - payload.options = traits as Nullable; + payload.traits = sanitizedGroupId as Nullable; + if (!isFunction(sanitizedTraits)) { + payload.options = sanitizedTraits as Nullable; } else { payload.options = undefined; } diff --git a/packages/analytics-js-common/src/utilities/http.ts b/packages/analytics-js-common/src/utilities/http.ts index e378b42ac..6b1621502 100644 --- a/packages/analytics-js-common/src/utilities/http.ts +++ b/packages/analytics-js-common/src/utilities/http.ts @@ -1,10 +1,9 @@ import type { ResponseDetails } from '../types/HttpClient'; -import { getSanitizedValue } from './object'; const isErrRetryable = (details?: ResponseDetails) => { let isRetryableNWFailure = false; if (details?.error && details?.xhr) { - const xhrStatus = getSanitizedValue(details.xhr).status; + const xhrStatus = details.xhr.status; // same as in v1.1 isRetryableNWFailure = xhrStatus === 429 || (xhrStatus >= 500 && xhrStatus < 600); } diff --git a/packages/analytics-js-cookies/CHANGELOG.md b/packages/analytics-js-cookies/CHANGELOG.md index e8d004921..b680d9a5f 100644 --- a/packages/analytics-js-cookies/CHANGELOG.md +++ b/packages/analytics-js-cookies/CHANGELOG.md @@ -2,6 +2,11 @@ This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver). +## [0.4.10](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/analytics-js-cookies@0.4.9...@rudderstack/analytics-js-cookies@0.4.10) (2024-11-21) + +### Dependency Updates + +* `@rudderstack/analytics-js-common` updated to version `3.14.7` ## [0.4.9](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/analytics-js-cookies@0.4.8...@rudderstack/analytics-js-cookies@0.4.9) (2024-11-21) ### Dependency Updates diff --git a/packages/analytics-js-cookies/CHANGELOG_LATEST.md b/packages/analytics-js-cookies/CHANGELOG_LATEST.md index 4c3cde52d..c09ad5055 100644 --- a/packages/analytics-js-cookies/CHANGELOG_LATEST.md +++ b/packages/analytics-js-cookies/CHANGELOG_LATEST.md @@ -1,5 +1,5 @@ -## [0.4.9](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/analytics-js-cookies@0.4.8...@rudderstack/analytics-js-cookies@0.4.9) (2024-11-21) +## [0.4.10](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/analytics-js-cookies@0.4.9...@rudderstack/analytics-js-cookies@0.4.10) (2024-11-21) ### Dependency Updates -* `@rudderstack/analytics-js-common` updated to version `3.14.6` +* `@rudderstack/analytics-js-common` updated to version `3.14.7` diff --git a/packages/analytics-js-cookies/package.json b/packages/analytics-js-cookies/package.json index a76c6602e..18a41226e 100644 --- a/packages/analytics-js-cookies/package.json +++ b/packages/analytics-js-cookies/package.json @@ -1,6 +1,6 @@ { "name": "@rudderstack/analytics-js-cookies", - "version": "0.4.9", + "version": "0.4.10", "description": "RudderStack JavaScript SDK Cookies Utilities", "main": "dist/npm/modern/cjs/index.cjs", "module": "dist/npm/modern/esm/index.mjs", diff --git a/packages/analytics-js-cookies/project.json b/packages/analytics-js-cookies/project.json index 10415708b..b1fd9dd74 100644 --- a/packages/analytics-js-cookies/project.json +++ b/packages/analytics-js-cookies/project.json @@ -51,9 +51,9 @@ "github": { "executor": "@jscutlery/semver:github", "options": { - "tag": "@rudderstack/analytics-js-cookies@0.4.9", - "title": "@rudderstack/analytics-js-cookies@0.4.9", - "discussion-category": "@rudderstack/analytics-js-cookies@0.4.9", + "tag": "@rudderstack/analytics-js-cookies@0.4.10", + "title": "@rudderstack/analytics-js-cookies@0.4.10", + "discussion-category": "@rudderstack/analytics-js-cookies@0.4.10", "notesFile": "./packages/analytics-js-cookies/CHANGELOG_LATEST.md" } } diff --git a/packages/analytics-js-integrations/CHANGELOG.md b/packages/analytics-js-integrations/CHANGELOG.md index b94da1e29..044c7175e 100644 --- a/packages/analytics-js-integrations/CHANGELOG.md +++ b/packages/analytics-js-integrations/CHANGELOG.md @@ -2,6 +2,11 @@ This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver). +## [3.11.6](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/analytics-js-integrations@3.11.5...@rudderstack/analytics-js-integrations@3.11.6) (2024-11-21) + +### Dependency Updates + +* `@rudderstack/analytics-js-common` updated to version `3.14.7` ## [3.11.5](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/analytics-js-integrations@3.11.4...@rudderstack/analytics-js-integrations@3.11.5) (2024-11-21) ### Dependency Updates diff --git a/packages/analytics-js-integrations/CHANGELOG_LATEST.md b/packages/analytics-js-integrations/CHANGELOG_LATEST.md index c1a074ab9..d640423c0 100644 --- a/packages/analytics-js-integrations/CHANGELOG_LATEST.md +++ b/packages/analytics-js-integrations/CHANGELOG_LATEST.md @@ -1,5 +1,5 @@ -## [3.11.5](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/analytics-js-integrations@3.11.4...@rudderstack/analytics-js-integrations@3.11.5) (2024-11-21) +## [3.11.6](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/analytics-js-integrations@3.11.5...@rudderstack/analytics-js-integrations@3.11.6) (2024-11-21) ### Dependency Updates -* `@rudderstack/analytics-js-common` updated to version `3.14.6` +* `@rudderstack/analytics-js-common` updated to version `3.14.7` diff --git a/packages/analytics-js-integrations/package.json b/packages/analytics-js-integrations/package.json index d38f182e3..a0aac53c3 100644 --- a/packages/analytics-js-integrations/package.json +++ b/packages/analytics-js-integrations/package.json @@ -1,6 +1,6 @@ { "name": "@rudderstack/analytics-js-integrations", - "version": "3.11.5", + "version": "3.11.6", "private": true, "description": "RudderStack JavaScript SDK device mode integrations", "main": "dist/npm/modern/cjs/index.js", diff --git a/packages/analytics-js-integrations/project.json b/packages/analytics-js-integrations/project.json index 4e3ec93b7..e6d968fb1 100644 --- a/packages/analytics-js-integrations/project.json +++ b/packages/analytics-js-integrations/project.json @@ -51,9 +51,9 @@ "github": { "executor": "@jscutlery/semver:github", "options": { - "tag": "@rudderstack/analytics-js-integrations@3.11.5", - "title": "@rudderstack/analytics-js-integrations@3.11.5", - "discussion-category": "@rudderstack/analytics-js-integrations@3.11.5", + "tag": "@rudderstack/analytics-js-integrations@3.11.6", + "title": "@rudderstack/analytics-js-integrations@3.11.6", + "discussion-category": "@rudderstack/analytics-js-integrations@3.11.6", "notesFile": "./packages/analytics-js-integrations/CHANGELOG_LATEST.md" } } diff --git a/packages/analytics-js-plugins/CHANGELOG.md b/packages/analytics-js-plugins/CHANGELOG.md index 07bc4ba6e..7c50c9c0c 100644 --- a/packages/analytics-js-plugins/CHANGELOG.md +++ b/packages/analytics-js-plugins/CHANGELOG.md @@ -2,6 +2,13 @@ This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver). +## [3.6.11](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/analytics-js-plugins@3.6.10...@rudderstack/analytics-js-plugins@3.6.11) (2024-11-21) + +### Dependency Updates + +* `@rudderstack/analytics-js-common` updated to version `3.14.7` +* `@rudderstack/analytics-js` updated to version `3.11.7` +* `@rudderstack/analytics-js-cookies` updated to version `0.4.9` ## [3.6.10](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/analytics-js-plugins@3.6.9...@rudderstack/analytics-js-plugins@3.6.10) (2024-11-21) ### Dependency Updates diff --git a/packages/analytics-js-plugins/CHANGELOG_LATEST.md b/packages/analytics-js-plugins/CHANGELOG_LATEST.md index ea75b6067..f78809a35 100644 --- a/packages/analytics-js-plugins/CHANGELOG_LATEST.md +++ b/packages/analytics-js-plugins/CHANGELOG_LATEST.md @@ -1,7 +1,7 @@ -## [3.6.10](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/analytics-js-plugins@3.6.9...@rudderstack/analytics-js-plugins@3.6.10) (2024-11-21) +## [3.6.11](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/analytics-js-plugins@3.6.10...@rudderstack/analytics-js-plugins@3.6.11) (2024-11-21) ### Dependency Updates -* `@rudderstack/analytics-js-common` updated to version `3.14.6` -* `@rudderstack/analytics-js` updated to version `3.11.6` -* `@rudderstack/analytics-js-cookies` updated to version `0.4.8` +* `@rudderstack/analytics-js-common` updated to version `3.14.7` +* `@rudderstack/analytics-js` updated to version `3.11.7` +* `@rudderstack/analytics-js-cookies` updated to version `0.4.9` diff --git a/packages/analytics-js-plugins/package.json b/packages/analytics-js-plugins/package.json index d4a8322be..235ef9356 100644 --- a/packages/analytics-js-plugins/package.json +++ b/packages/analytics-js-plugins/package.json @@ -1,6 +1,6 @@ { "name": "@rudderstack/analytics-js-plugins", - "version": "3.6.10", + "version": "3.6.11", "private": true, "description": "RudderStack JavaScript SDK plugins", "main": "dist/npm/modern/cjs/index.cjs", diff --git a/packages/analytics-js-plugins/project.json b/packages/analytics-js-plugins/project.json index a4023ecbd..3d4cc2fcb 100644 --- a/packages/analytics-js-plugins/project.json +++ b/packages/analytics-js-plugins/project.json @@ -51,9 +51,9 @@ "github": { "executor": "@jscutlery/semver:github", "options": { - "tag": "@rudderstack/analytics-js-plugins@3.6.10", - "title": "@rudderstack/analytics-js-plugins@3.6.10", - "discussion-category": "@rudderstack/analytics-js-plugins@3.6.10", + "tag": "@rudderstack/analytics-js-plugins@3.6.11", + "title": "@rudderstack/analytics-js-plugins@3.6.11", + "discussion-category": "@rudderstack/analytics-js-plugins@3.6.11", "notesFile": "./packages/analytics-js-plugins/CHANGELOG_LATEST.md" } } diff --git a/packages/analytics-js-service-worker/CHANGELOG.md b/packages/analytics-js-service-worker/CHANGELOG.md index 18993251b..b3f30779a 100644 --- a/packages/analytics-js-service-worker/CHANGELOG.md +++ b/packages/analytics-js-service-worker/CHANGELOG.md @@ -2,6 +2,11 @@ This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver). +## [3.2.10](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/analytics-js-service-worker@3.2.9...@rudderstack/analytics-js-service-worker@3.2.10) (2024-11-21) + +### Dependency Updates + +* `@rudderstack/analytics-js-common` updated to version `3.14.7` ## [3.2.9](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/analytics-js-service-worker@3.2.8...@rudderstack/analytics-js-service-worker@3.2.9) (2024-11-21) ### Dependency Updates diff --git a/packages/analytics-js-service-worker/CHANGELOG_LATEST.md b/packages/analytics-js-service-worker/CHANGELOG_LATEST.md index 3b11f7034..b38ae44f1 100644 --- a/packages/analytics-js-service-worker/CHANGELOG_LATEST.md +++ b/packages/analytics-js-service-worker/CHANGELOG_LATEST.md @@ -1,5 +1,5 @@ -## [3.2.9](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/analytics-js-service-worker@3.2.8...@rudderstack/analytics-js-service-worker@3.2.9) (2024-11-21) +## [3.2.10](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/analytics-js-service-worker@3.2.9...@rudderstack/analytics-js-service-worker@3.2.10) (2024-11-21) ### Dependency Updates -* `@rudderstack/analytics-js-common` updated to version `3.14.6` +* `@rudderstack/analytics-js-common` updated to version `3.14.7` diff --git a/packages/analytics-js-service-worker/package.json b/packages/analytics-js-service-worker/package.json index b2d6a24c1..959ee36f4 100644 --- a/packages/analytics-js-service-worker/package.json +++ b/packages/analytics-js-service-worker/package.json @@ -1,6 +1,6 @@ { "name": "@rudderstack/analytics-js-service-worker", - "version": "3.2.9", + "version": "3.2.10", "description": "RudderStack JavaScript Service Worker SDK", "main": "dist/npm/modern/cjs/index.cjs", "module": "dist/npm/modern/esm/index.mjs", diff --git a/packages/analytics-js-service-worker/project.json b/packages/analytics-js-service-worker/project.json index 61656b479..58045e99b 100644 --- a/packages/analytics-js-service-worker/project.json +++ b/packages/analytics-js-service-worker/project.json @@ -51,9 +51,9 @@ "github": { "executor": "@jscutlery/semver:github", "options": { - "tag": "@rudderstack/analytics-js-service-worker@3.2.9", - "title": "rudderstack/analytics-js-service-worker@3.2.9", - "discussion-category": "rudderstack/analytics-js-service-worker@3.2.9", + "tag": "@rudderstack/analytics-js-service-worker@3.2.10", + "title": "rudderstack/analytics-js-service-worker@3.2.10", + "discussion-category": "rudderstack/analytics-js-service-worker@3.2.10", "notesFile": "./packages/analytics-js-service-worker/CHANGELOG_LATEST.md" } } diff --git a/packages/analytics-js/CHANGELOG.md b/packages/analytics-js/CHANGELOG.md index da39527ae..464a8ea11 100644 --- a/packages/analytics-js/CHANGELOG.md +++ b/packages/analytics-js/CHANGELOG.md @@ -2,6 +2,13 @@ This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver). +## [3.11.8](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/analytics-js@3.11.7...@rudderstack/analytics-js@3.11.8) (2024-11-21) + +### Dependency Updates + +* `@rudderstack/analytics-js-cookies` updated to version `0.4.10` +* `@rudderstack/analytics-js-common` updated to version `3.14.7` +* `@rudderstack/analytics-js-plugins` updated to version `3.6.11` ## [3.11.7](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/analytics-js@3.11.6...@rudderstack/analytics-js@3.11.7) (2024-11-21) ### Dependency Updates diff --git a/packages/analytics-js/CHANGELOG_LATEST.md b/packages/analytics-js/CHANGELOG_LATEST.md index dea5c1876..364e4db6f 100644 --- a/packages/analytics-js/CHANGELOG_LATEST.md +++ b/packages/analytics-js/CHANGELOG_LATEST.md @@ -1,12 +1,7 @@ -## [3.11.7](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/analytics-js@3.11.6...@rudderstack/analytics-js@3.11.7) (2024-11-21) +## [3.11.8](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/analytics-js@3.11.7...@rudderstack/analytics-js@3.11.8) (2024-11-21) ### Dependency Updates -* `@rudderstack/analytics-js-cookies` updated to version `0.4.9` -* `@rudderstack/analytics-js-common` updated to version `3.14.6` -* `@rudderstack/analytics-js-plugins` updated to version `3.6.10` - -### Bug Fixes - -* utility import ([d86f545](https://github.com/rudderlabs/rudder-sdk-js/commit/d86f54536c5f4cb206c2fd676d3b49dd29e62bcf)) - +* `@rudderstack/analytics-js-cookies` updated to version `0.4.10` +* `@rudderstack/analytics-js-common` updated to version `3.14.7` +* `@rudderstack/analytics-js-plugins` updated to version `3.6.11` diff --git a/packages/analytics-js/package.json b/packages/analytics-js/package.json index 2b96015c6..7e58bb7ab 100644 --- a/packages/analytics-js/package.json +++ b/packages/analytics-js/package.json @@ -1,6 +1,6 @@ { "name": "@rudderstack/analytics-js", - "version": "3.11.7", + "version": "3.11.8", "description": "RudderStack JavaScript SDK", "main": "dist/npm/modern/cjs/index.cjs", "module": "dist/npm/modern/esm/index.mjs", diff --git a/packages/analytics-js/project.json b/packages/analytics-js/project.json index 4adbdfadc..3d4dc26dc 100644 --- a/packages/analytics-js/project.json +++ b/packages/analytics-js/project.json @@ -59,9 +59,9 @@ "github": { "executor": "@jscutlery/semver:github", "options": { - "tag": "@rudderstack/analytics-js@3.11.7", - "title": "@rudderstack/analytics-js@3.11.7", - "discussion-category": "@rudderstack/analytics-js@3.11.7", + "tag": "@rudderstack/analytics-js@3.11.8", + "title": "@rudderstack/analytics-js@3.11.8", + "discussion-category": "@rudderstack/analytics-js@3.11.8", "notesFile": "./packages/analytics-js/CHANGELOG_LATEST.md" } } diff --git a/packages/analytics-v1.1/CHANGELOG.md b/packages/analytics-v1.1/CHANGELOG.md index 092725c04..06a3f197c 100644 --- a/packages/analytics-v1.1/CHANGELOG.md +++ b/packages/analytics-v1.1/CHANGELOG.md @@ -2,6 +2,11 @@ This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver). +## [2.48.35](https://github.com/rudderlabs/rudder-sdk-js/compare/rudder-sdk-js@2.48.34...rudder-sdk-js@2.48.35) (2024-11-21) + +### Dependency Updates + +* `@rudderstack/analytics-js-common` updated to version `3.14.7` ## [2.48.34](https://github.com/rudderlabs/rudder-sdk-js/compare/rudder-sdk-js@2.48.33...rudder-sdk-js@2.48.34) (2024-11-21) ### Dependency Updates diff --git a/packages/analytics-v1.1/CHANGELOG_LATEST.md b/packages/analytics-v1.1/CHANGELOG_LATEST.md index 9afc3a90f..0b1cc3cf9 100644 --- a/packages/analytics-v1.1/CHANGELOG_LATEST.md +++ b/packages/analytics-v1.1/CHANGELOG_LATEST.md @@ -1,5 +1,5 @@ -## [2.48.34](https://github.com/rudderlabs/rudder-sdk-js/compare/rudder-sdk-js@2.48.33...rudder-sdk-js@2.48.34) (2024-11-21) +## [2.48.35](https://github.com/rudderlabs/rudder-sdk-js/compare/rudder-sdk-js@2.48.34...rudder-sdk-js@2.48.35) (2024-11-21) ### Dependency Updates -* `@rudderstack/analytics-js-common` updated to version `3.14.6` +* `@rudderstack/analytics-js-common` updated to version `3.14.7` diff --git a/packages/analytics-v1.1/package.json b/packages/analytics-v1.1/package.json index 463643e24..ef5305f8f 100644 --- a/packages/analytics-v1.1/package.json +++ b/packages/analytics-v1.1/package.json @@ -1,6 +1,6 @@ { "name": "rudder-sdk-js", - "version": "2.48.34", + "version": "2.48.35", "description": "RudderStack JavaScript SDK", "main": "dist/npm/index.js", "module": "dist/npm/index.es.js", diff --git a/packages/analytics-v1.1/project.json b/packages/analytics-v1.1/project.json index 807a98551..563e9a3d7 100644 --- a/packages/analytics-v1.1/project.json +++ b/packages/analytics-v1.1/project.json @@ -59,9 +59,9 @@ "github": { "executor": "@jscutlery/semver:github", "options": { - "tag": "rudder-sdk-js@2.48.34", - "title": "rudder-sdk-js@2.48.34", - "discussion-category": "rudder-sdk-js@2.48.34", + "tag": "rudder-sdk-js@2.48.35", + "title": "rudder-sdk-js@2.48.35", + "discussion-category": "rudder-sdk-js@2.48.35", "notesFile": "./packages/analytics-v1.1/CHANGELOG_LATEST.md" } } diff --git a/packages/loading-scripts/CHANGELOG.md b/packages/loading-scripts/CHANGELOG.md index 9dd07282e..dca548090 100644 --- a/packages/loading-scripts/CHANGELOG.md +++ b/packages/loading-scripts/CHANGELOG.md @@ -2,6 +2,11 @@ This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver). +## [3.0.51](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/analytics-js-loading-scripts@3.0.50...@rudderstack/analytics-js-loading-scripts@3.0.51) (2024-11-21) + +### Dependency Updates + +* `@rudderstack/analytics-js` updated to version `3.11.8` ## [3.0.50](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/analytics-js-loading-scripts@3.0.49...@rudderstack/analytics-js-loading-scripts@3.0.50) (2024-11-21) ### Dependency Updates diff --git a/packages/loading-scripts/CHANGELOG_LATEST.md b/packages/loading-scripts/CHANGELOG_LATEST.md index 36549dda9..d13acdb9b 100644 --- a/packages/loading-scripts/CHANGELOG_LATEST.md +++ b/packages/loading-scripts/CHANGELOG_LATEST.md @@ -1,5 +1,5 @@ -## [3.0.50](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/analytics-js-loading-scripts@3.0.49...@rudderstack/analytics-js-loading-scripts@3.0.50) (2024-11-21) +## [3.0.51](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/analytics-js-loading-scripts@3.0.50...@rudderstack/analytics-js-loading-scripts@3.0.51) (2024-11-21) ### Dependency Updates -* `@rudderstack/analytics-js` updated to version `3.11.7` +* `@rudderstack/analytics-js` updated to version `3.11.8` diff --git a/packages/loading-scripts/package.json b/packages/loading-scripts/package.json index 3f17da6d9..bb86ef621 100644 --- a/packages/loading-scripts/package.json +++ b/packages/loading-scripts/package.json @@ -1,6 +1,6 @@ { "name": "@rudderstack/analytics-js-loading-scripts", - "version": "3.0.50", + "version": "3.0.51", "private": true, "description": "Loading script for RudderStack JavaScript SDK", "main": "./src/index.js", diff --git a/packages/loading-scripts/project.json b/packages/loading-scripts/project.json index 959420cba..427cbc7b6 100644 --- a/packages/loading-scripts/project.json +++ b/packages/loading-scripts/project.json @@ -51,9 +51,9 @@ "github": { "executor": "@jscutlery/semver:github", "options": { - "tag": "@rudderstack/analytics-js-loading-scripts@3.0.50", - "title": "@rudderstack/analytics-js-loading-scripts@3.0.50", - "discussion-category": "@rudderstack/analytics-js-loading-scripts@3.0.50", + "tag": "@rudderstack/analytics-js-loading-scripts@3.0.51", + "title": "@rudderstack/analytics-js-loading-scripts@3.0.51", + "discussion-category": "@rudderstack/analytics-js-loading-scripts@3.0.51", "notesFile": "./packages/loading-scripts/CHANGELOG_LATEST.md" } } diff --git a/packages/sanity-suite/CHANGELOG.md b/packages/sanity-suite/CHANGELOG.md index 2e4783c1d..588f0432f 100644 --- a/packages/sanity-suite/CHANGELOG.md +++ b/packages/sanity-suite/CHANGELOG.md @@ -2,6 +2,11 @@ This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver). +## [3.1.42](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/analytics-js-sanity-suite@3.1.41...@rudderstack/analytics-js-sanity-suite@3.1.42) (2024-11-21) + +### Dependency Updates + +* `@rudderstack/analytics-js` updated to version `3.11.8` ## [3.1.41](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/analytics-js-sanity-suite@3.1.40...@rudderstack/analytics-js-sanity-suite@3.1.41) (2024-11-21) ### Dependency Updates diff --git a/packages/sanity-suite/package.json b/packages/sanity-suite/package.json index 91e326643..2282a7307 100644 --- a/packages/sanity-suite/package.json +++ b/packages/sanity-suite/package.json @@ -1,6 +1,6 @@ { "name": "@rudderstack/analytics-js-sanity-suite", - "version": "3.1.41", + "version": "3.1.42", "private": true, "description": "Sanity suite for testing JS SDK package", "main": "./dist/v3/cdn/testBook.js", diff --git a/sonar-project.properties b/sonar-project.properties index 1f2b3480a..f18f93062 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -6,7 +6,7 @@ sonar.qualitygate.wait=false sonar.projectKey=rudderlabs_rudder-sdk-js sonar.organization=rudderlabs sonar.projectName=rudder-sdk-js -sonar.projectVersion=3.59.0 +sonar.projectVersion=3.60.0 # Meta-data for the project sonar.links.scm=https://github.com/rudderlabs/rudder-sdk-js