Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(release): pull release/3.67.0-SDK-2726 into main #1960

Merged
merged 16 commits into from
Dec 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 24 additions & 21 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rudderstack/analytics-js-monorepo",
"version": "3.66.0",
"version": "3.67.0",
"private": true,
"description": "Monorepo for RudderStack Analytics JS SDK",
"workspaces": [
Expand Down
2 changes: 1 addition & 1 deletion packages/analytics-js-common/.size-limit.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ module.exports = [
{
name: 'Common - No bundling',
path: 'dist/npm/**/*.js',
limit: '16.5 KiB',
limit: '17.2 KiB',
},
];
7 changes: 7 additions & 0 deletions packages/analytics-js-common/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).

## [3.14.13](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/[email protected]...@rudderstack/[email protected]) (2024-12-06)


### Bug Fixes

* integration constants file type ([#1958](https://github.com/rudderlabs/rudder-sdk-js/issues/1958)) ([e0f6ff2](https://github.com/rudderlabs/rudder-sdk-js/commit/e0f6ff28f3b02d56e862e01d308653e2178eec43))

## [3.14.12](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/[email protected]...@rudderstack/[email protected]) (2024-11-22)


Expand Down
4 changes: 2 additions & 2 deletions packages/analytics-js-common/CHANGELOG_LATEST.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## [3.14.12](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/[email protected].11...@rudderstack/[email protected].12) (2024-11-22)
## [3.14.13](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/[email protected].12...@rudderstack/[email protected].13) (2024-12-06)


### Bug Fixes

* revert temp utility ([2f60cae](https://github.com/rudderlabs/rudder-sdk-js/commit/2f60caeea0dc9944bf9434d5981952c8e85eef38))
* integration constants file type ([#1958](https://github.com/rudderlabs/rudder-sdk-js/issues/1958)) ([e0f6ff2](https://github.com/rudderlabs/rudder-sdk-js/commit/e0f6ff28f3b02d56e862e01d308653e2178eec43))

2 changes: 1 addition & 1 deletion packages/analytics-js-common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rudderstack/analytics-js-common",
"version": "3.14.12",
"version": "3.14.13",
"private": true,
"description": "RudderStack JavaScript SDK common code",
"module": "dist/npm/index.js",
Expand Down
6 changes: 3 additions & 3 deletions packages/analytics-js-common/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@
"github": {
"executor": "@jscutlery/semver:github",
"options": {
"tag": "@rudderstack/[email protected].12",
"title": "@rudderstack/[email protected].12",
"discussion-category": "@rudderstack/[email protected].12",
"tag": "@rudderstack/[email protected].13",
"title": "@rudderstack/[email protected].13",
"discussion-category": "@rudderstack/[email protected].13",
"notesFile": "./packages/analytics-js-common/CHANGELOG_LATEST.md"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const DISPLAY_NAME = 'XPixel';
const DISPLAY_NAME_TO_DIR_NAME_MAP = { [DISPLAY_NAME]: DIR_NAME };
const CNameMapping = {
[NAME]: NAME,
XPIXEL: NAME,
XPixel: NAME,
Xpixel: NAME,
xpixel: NAME,
Expand Down
5 changes: 5 additions & 0 deletions packages/analytics-js-cookies/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).

## [0.4.16](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/[email protected]...@rudderstack/[email protected]) (2024-12-06)

### Dependency Updates

* `@rudderstack/analytics-js-common` updated to version `3.14.13`
## [0.4.15](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/[email protected]...@rudderstack/[email protected]) (2024-11-22)

### Dependency Updates
Expand Down
4 changes: 2 additions & 2 deletions packages/analytics-js-cookies/CHANGELOG_LATEST.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## [0.4.15](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/[email protected].14...@rudderstack/[email protected].15) (2024-11-22)
## [0.4.16](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/[email protected].15...@rudderstack/[email protected].16) (2024-12-06)

### Dependency Updates

* `@rudderstack/analytics-js-common` updated to version `3.14.12`
* `@rudderstack/analytics-js-common` updated to version `3.14.13`
2 changes: 1 addition & 1 deletion packages/analytics-js-cookies/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rudderstack/analytics-js-cookies",
"version": "0.4.15",
"version": "0.4.16",
"description": "RudderStack JavaScript SDK Cookies Utilities",
"main": "dist/npm/modern/cjs/index.cjs",
"module": "dist/npm/modern/esm/index.mjs",
Expand Down
6 changes: 3 additions & 3 deletions packages/analytics-js-cookies/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@
"github": {
"executor": "@jscutlery/semver:github",
"options": {
"tag": "@rudderstack/[email protected].15",
"title": "@rudderstack/[email protected].15",
"discussion-category": "@rudderstack/[email protected].15",
"tag": "@rudderstack/[email protected].16",
"title": "@rudderstack/[email protected].16",
"discussion-category": "@rudderstack/[email protected].16",
"notesFile": "./packages/analytics-js-cookies/CHANGELOG_LATEST.md"
}
}
Expand Down
10 changes: 10 additions & 0 deletions packages/analytics-js-integrations/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).

## [3.11.12](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/[email protected]...@rudderstack/[email protected]) (2024-12-06)

### Dependency Updates

* `@rudderstack/analytics-js-common` updated to version `3.14.13`

### Bug Fixes

* microsoft clarity identify error handling ([#1948](https://github.com/rudderlabs/rudder-sdk-js/issues/1948)) ([33ac767](https://github.com/rudderlabs/rudder-sdk-js/commit/33ac7677c8717ac3ce45d34b7efae720b95b1432))

## [3.11.11](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/[email protected]...@rudderstack/[email protected]) (2024-11-22)

### Dependency Updates
Expand Down
9 changes: 7 additions & 2 deletions packages/analytics-js-integrations/CHANGELOG_LATEST.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
## [3.11.11](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/[email protected].10...@rudderstack/[email protected].11) (2024-11-22)
## [3.11.12](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/[email protected].11...@rudderstack/[email protected].12) (2024-12-06)

### Dependency Updates

* `@rudderstack/analytics-js-common` updated to version `3.14.12`
* `@rudderstack/analytics-js-common` updated to version `3.14.13`

### Bug Fixes

* microsoft clarity identify error handling ([#1948](https://github.com/rudderlabs/rudder-sdk-js/issues/1948)) ([33ac767](https://github.com/rudderlabs/rudder-sdk-js/commit/33ac7677c8717ac3ce45d34b7efae720b95b1432))

7 changes: 3 additions & 4 deletions packages/analytics-js-integrations/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rudderstack/analytics-js-integrations",
"version": "3.11.11",
"version": "3.11.12",
"private": true,
"description": "RudderStack JavaScript SDK device mode integrations",
"main": "dist/npm/modern/cjs/index.js",
Expand Down Expand Up @@ -74,12 +74,11 @@
"serve": "npx serve ./dist -p 3005 --cors",
"package": "exit 0",
"release": "exit 0",
"build:integration": "rollup -c --environment PROD_DEBUG,ENV:prod,UGLIFY,INTG_NAME:AdobeAnalytics",
"build:integration:dev": "rollup -c --environment PROD_DEBUG,INTG_NAME:AdobeAnalytics",
"build:integration": "rollup -c --environment PROD_DEBUG,ENV:prod,UGLIFY",
"build:integration:modern": "BROWSERSLIST_ENV=modern rollup -c --environment PROD_DEBUG,ENV:prod,UGLIFY",
"build:integration:bundle-size": "VISUALIZER=true npm run build:integration",
"build:integration:cli": "rollup -c --environment VERSION:$npm_package_version,PROD_DEBUG,ENV:prod,UGLIFY,INTG_NAME:$npm_config_intg",
"build:integration:bundle-size:cli": "rollup -c --environment VERSION:$npm_package_version,VISUALIZER:true,PROD_DEBUG,ENV:prod,UGLIFY,INTG_NAME:$npm_config_intg",
"build:integration:dev:cli": "rollup -c --environment PROD_DEBUG,INTG_NAME:$npm_config_intg",
"build:integration:all": "node -r esm ./scripts/integrationBuildScript.js",
"build:integration:all:modern": "BROWSERSLIST_ENV=modern npm run build:integration:all",
"build:integration:all:bundle-size": "VISUALIZER=true npm run build:integration:all",
Expand Down
6 changes: 3 additions & 3 deletions packages/analytics-js-integrations/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@
"github": {
"executor": "@jscutlery/semver:github",
"options": {
"tag": "@rudderstack/[email protected].11",
"title": "@rudderstack/[email protected].11",
"discussion-category": "@rudderstack/[email protected].11",
"tag": "@rudderstack/[email protected].12",
"title": "@rudderstack/[email protected].12",
"discussion-category": "@rudderstack/[email protected].12",
"notesFile": "./packages/analytics-js-integrations/CHANGELOG_LATEST.md"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,17 @@
if (context?.traits?.customPageId) {
customPageId = context.traits.customPageId;
}
window.clarity('identify', userId, sessionId, customPageId);
if (context?.traits) {
const { traits } = context;
const keys = Object.keys(traits);
keys.forEach(key => {
window.clarity('set', key, traits[key]);
});
}
window.clarity('identify', userId, sessionId, customPageId).then(() => {

Check warning on line 58 in packages/analytics-js-integrations/src/integrations/MicrosoftClarity/browser.js

View check run for this annotation

Codecov / codecov/patch

packages/analytics-js-integrations/src/integrations/MicrosoftClarity/browser.js#L58

Added line #L58 was not covered by tests
if (context?.traits) {
const { traits } = context;
const keys = Object.keys(traits);
keys.forEach(key => {
window.clarity('set', key, traits[key]);

Check warning on line 63 in packages/analytics-js-integrations/src/integrations/MicrosoftClarity/browser.js

View check run for this annotation

Codecov / codecov/patch

packages/analytics-js-integrations/src/integrations/MicrosoftClarity/browser.js#L60-L63

Added lines #L60 - L63 were not covered by tests
});
}
}).catch(error => {
logger.error('Error in identify call', error);

Check warning on line 67 in packages/analytics-js-integrations/src/integrations/MicrosoftClarity/browser.js

View check run for this annotation

Codecov / codecov/patch

packages/analytics-js-integrations/src/integrations/MicrosoftClarity/browser.js#L67

Added line #L67 was not covered by tests
});
}
}

Expand Down
6 changes: 6 additions & 0 deletions packages/analytics-js-plugins/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).

## [3.6.18](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/[email protected]...@rudderstack/[email protected]) (2024-12-06)

### Dependency Updates

* `@rudderstack/analytics-js-common` updated to version `3.14.13`
* `@rudderstack/analytics-js` updated to version `3.11.14`
## [3.6.17](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/[email protected]...@rudderstack/[email protected]) (2024-11-30)

### Dependency Updates
Expand Down
6 changes: 3 additions & 3 deletions packages/analytics-js-plugins/CHANGELOG_LATEST.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## [3.6.17](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/[email protected].16...@rudderstack/[email protected].17) (2024-11-30)
## [3.6.18](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/[email protected].17...@rudderstack/[email protected].18) (2024-12-06)

### Dependency Updates

* `@rudderstack/analytics-js` updated to version `3.11.13`
* `@rudderstack/analytics-js-cookies` updated to version `0.4.15`
* `@rudderstack/analytics-js-common` updated to version `3.14.13`
* `@rudderstack/analytics-js` updated to version `3.11.14`
2 changes: 1 addition & 1 deletion packages/analytics-js-plugins/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rudderstack/analytics-js-plugins",
"version": "3.6.17",
"version": "3.6.18",
"private": true,
"description": "RudderStack JavaScript SDK plugins",
"main": "dist/npm/modern/cjs/index.cjs",
Expand Down
6 changes: 3 additions & 3 deletions packages/analytics-js-plugins/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@
"github": {
"executor": "@jscutlery/semver:github",
"options": {
"tag": "@rudderstack/[email protected].17",
"title": "@rudderstack/[email protected].17",
"discussion-category": "@rudderstack/[email protected].17",
"tag": "@rudderstack/[email protected].18",
"title": "@rudderstack/[email protected].18",
"discussion-category": "@rudderstack/[email protected].18",
"notesFile": "./packages/analytics-js-plugins/CHANGELOG_LATEST.md"
}
}
Expand Down
Loading
Loading