Skip to content

Commit

Permalink
chore(release): pull main into develop post release v3.54.0 (#1934)
Browse files Browse the repository at this point in the history
  • Loading branch information
saikumarrs authored Nov 21, 2024
2 parents 3e59599 + 9d33769 commit 7a77300
Show file tree
Hide file tree
Showing 24 changed files with 138 additions and 41 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ permissions:

env:
NODE_OPTIONS: "--no-warnings"
CACHE_CONTROL: "\"no-store\""
CACHE_CONTROL: "\"max-age=3600\"" # "\"no-store\""

jobs:
deploy:
Expand Down
14 changes: 7 additions & 7 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.53.0",
"version": "3.54.0",
"private": true,
"description": "Monorepo for RudderStack Analytics JS SDK",
"workspaces": [
Expand Down
14 changes: 14 additions & 0 deletions packages/analytics-js-integrations/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@

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

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


### Features

* snap extra parametrs pass ([#1921](https://github.com/rudderlabs/rudder-sdk-js/issues/1921)) ([0998d08](https://github.com/rudderlabs/rudder-sdk-js/commit/0998d081da3cfaaf0e999335384969ab77565230))


### Bug Fixes

* adroll bugsnag issue ([#1929](https://github.com/rudderlabs/rudder-sdk-js/issues/1929)) ([18589f2](https://github.com/rudderlabs/rudder-sdk-js/commit/18589f2367038cc8c144d07f7dc38abbf10c5a08))
* ga4 allow zero ([#1915](https://github.com/rudderlabs/rudder-sdk-js/issues/1915)) ([9ebbab9](https://github.com/rudderlabs/rudder-sdk-js/commit/9ebbab92cfdaf12067138e065d726da312c507a5))
* googleAds bugsnag issue ([#1930](https://github.com/rudderlabs/rudder-sdk-js/issues/1930)) ([4c8a652](https://github.com/rudderlabs/rudder-sdk-js/commit/4c8a652276882ab3dd982976763bff8c58e5db3d))

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

### Dependency Updates
Expand Down
15 changes: 12 additions & 3 deletions packages/analytics-js-integrations/CHANGELOG_LATEST.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
## [3.10.6](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/[email protected].5...@rudderstack/analytics-js-integrations@3.10.6) (2024-11-19)
## [3.11.0](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/[email protected].6...@rudderstack/analytics-js-integrations@3.11.0) (2024-11-21)

### Dependency Updates

* `@rudderstack/analytics-js-common` updated to version `3.14.1`
### Features

* snap extra parametrs pass ([#1921](https://github.com/rudderlabs/rudder-sdk-js/issues/1921)) ([0998d08](https://github.com/rudderlabs/rudder-sdk-js/commit/0998d081da3cfaaf0e999335384969ab77565230))


### Bug Fixes

* adroll bugsnag issue ([#1929](https://github.com/rudderlabs/rudder-sdk-js/issues/1929)) ([18589f2](https://github.com/rudderlabs/rudder-sdk-js/commit/18589f2367038cc8c144d07f7dc38abbf10c5a08))
* ga4 allow zero ([#1915](https://github.com/rudderlabs/rudder-sdk-js/issues/1915)) ([9ebbab9](https://github.com/rudderlabs/rudder-sdk-js/commit/9ebbab92cfdaf12067138e065d726da312c507a5))
* googleAds bugsnag issue ([#1930](https://github.com/rudderlabs/rudder-sdk-js/issues/1930)) ([4c8a652](https://github.com/rudderlabs/rudder-sdk-js/commit/4c8a652276882ab3dd982976763bff8c58e5db3d))

Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ describe('SnapPixel', () => {
email: '[email protected]',
firstName: 'John',
city: 'San Francisco',
age: '16'
},
},
},
Expand All @@ -153,6 +154,50 @@ describe('SnapPixel', () => {
snapPixel.identify(rudderElement);

// Verify only provided parameters are included
expect(window.snaptr.mock.calls[1]).toEqual([
'init',
'12345',
{
user_email: '[email protected]',
firstname: 'John',
geo_city: 'San Francisco',
age: '16'
},
]);
});

it('should skip age if in object format', () => {
const destinationConfig = {
pixelId: '12345',
deduplicationKey: 'email',
hashMethod: false,
enableDeduplication: false,
eventMappingFromConfig: false,
};

const analytics = {
logLevel: 'debug',
getAnonymousId: () => 'ANONYMOUS_ID',
};

const rudderElement = {
message: {
context: {
traits: {
email: '[email protected]',
firstName: 'John',
city: 'San Francisco',
age: {
a: 1,
},
},
},
},
};
const snapPixel = new SnapPixel(destinationConfig, analytics, destinationInfo);
snapPixel.init();
snapPixel.identify(rudderElement);

expect(window.snaptr.mock.calls[1]).toEqual([
'init',
'12345',
Expand Down
2 changes: 1 addition & 1 deletion 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.10.6",
"version": "3.11.0",
"private": true,
"description": "RudderStack JavaScript SDK device mode integrations",
"main": "dist/npm/modern/cjs/index.js",
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/analytics-js-integrations@3.10.6",
"title": "@rudderstack/analytics-js-integrations@3.10.6",
"discussion-category": "@rudderstack/analytics-js-integrations@3.10.6",
"tag": "@rudderstack/analytics-js-integrations@3.11.0",
"title": "@rudderstack/analytics-js-integrations@3.11.0",
"discussion-category": "@rudderstack/analytics-js-integrations@3.11.0",
"notesFile": "./packages/analytics-js-integrations/CHANGELOG_LATEST.md"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
} from '../../utils/commonUtils';
import { ecommEventPayload, eventPayload, getUserEmailAndPhone, sendEvent } from './util';
import { loadNativeSdk } from './nativeSdkLoader';
import { getDefinedTraits } from '@rudderstack/analytics-js-integrations/utils/utils';
import { getDefinedTraits } from '../../utils/utils';

const logger = new Logger(DISPLAY_NAME);

Expand Down Expand Up @@ -117,7 +117,8 @@ class SnapPixel {
if (ipAddress) payload.ip_address = ipAddress;
if (firstName) payload.firstname = firstName;
if (lastName) payload.lastname = lastName;
if (age) payload.age = age;
if (age && (typeof age === 'number' || (!isNaN(Number(age)) && typeof age === 'string')))
payload.age = age;
if (city) payload.geo_city = city;
if (state) payload.geo_region = state;
if (postalCode) payload.geo_postal_code = postalCode;
Expand Down
11 changes: 11 additions & 0 deletions packages/analytics-js-plugins/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

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

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

### Dependency Updates

* `@rudderstack/analytics-js` updated to version `3.11.2`
* `@rudderstack/analytics-js-cookies` updated to version `0.4.4`

### Bug Fixes

* exclude auth token ([15dc64c](https://github.com/rudderlabs/rudder-sdk-js/commit/15dc64ccfbac66fa33046abd88cb72c9b0ccb147))

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

### Dependency Updates
Expand Down
12 changes: 8 additions & 4 deletions packages/analytics-js-plugins/CHANGELOG_LATEST.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
## [3.6.4](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/[email protected].3...@rudderstack/[email protected].4) (2024-11-19)
## [3.6.5](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/[email protected].4...@rudderstack/[email protected].5) (2024-11-21)

### Dependency Updates

* `@rudderstack/analytics-js-common` updated to version `3.14.1`
* `@rudderstack/analytics-js` updated to version `3.11.0`
* `@rudderstack/analytics-js-cookies` updated to version `0.4.3`
* `@rudderstack/analytics-js` updated to version `3.11.2`
* `@rudderstack/analytics-js-cookies` updated to version `0.4.4`

### Bug Fixes

* exclude auth token ([15dc64c](https://github.com/rudderlabs/rudder-sdk-js/commit/15dc64ccfbac66fa33046abd88cb72c9b0ccb147))

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.4",
"version": "3.6.5",
"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].4",
"title": "@rudderstack/[email protected].4",
"discussion-category": "@rudderstack/[email protected].4",
"tag": "@rudderstack/[email protected].5",
"title": "@rudderstack/[email protected].5",
"discussion-category": "@rudderstack/[email protected].5",
"notesFile": "./packages/analytics-js-plugins/CHANGELOG_LATEST.md"
}
}
Expand Down
5 changes: 5 additions & 0 deletions packages/analytics-js/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).

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

### Dependency Updates

* `@rudderstack/analytics-js-plugins` updated to version `3.6.4`
## [3.11.1](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/[email protected]...@rudderstack/[email protected]) (2024-11-19)

### Dependency Updates
Expand Down
4 changes: 1 addition & 3 deletions packages/analytics-js/CHANGELOG_LATEST.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
## [3.11.1](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/[email protected].0...@rudderstack/[email protected].1) (2024-11-19)
## [3.11.2](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/[email protected].1...@rudderstack/[email protected].2) (2024-11-21)

### Dependency Updates

* `@rudderstack/analytics-js-cookies` updated to version `0.4.4`
* `@rudderstack/analytics-js-common` updated to version `3.14.1`
* `@rudderstack/analytics-js-plugins` updated to version `3.6.4`
2 changes: 1 addition & 1 deletion packages/analytics-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rudderstack/analytics-js",
"version": "3.11.1",
"version": "3.11.2",
"description": "RudderStack JavaScript SDK",
"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/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@
"github": {
"executor": "@jscutlery/semver:github",
"options": {
"tag": "@rudderstack/[email protected].1",
"title": "@rudderstack/[email protected].1",
"discussion-category": "@rudderstack/[email protected].1",
"tag": "@rudderstack/[email protected].2",
"title": "@rudderstack/[email protected].2",
"discussion-category": "@rudderstack/[email protected].2",
"notesFile": "./packages/analytics-js/CHANGELOG_LATEST.md"
}
}
Expand Down
5 changes: 5 additions & 0 deletions packages/loading-scripts/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).

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

### Dependency Updates

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

### Dependency Updates
Expand Down
4 changes: 2 additions & 2 deletions packages/loading-scripts/CHANGELOG_LATEST.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## [3.0.44](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/[email protected].43...@rudderstack/[email protected].44) (2024-11-19)
## [3.0.45](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/[email protected].44...@rudderstack/[email protected].45) (2024-11-21)

### Dependency Updates

* `@rudderstack/analytics-js` updated to version `3.11.1`
* `@rudderstack/analytics-js` updated to version `3.11.2`
2 changes: 1 addition & 1 deletion packages/loading-scripts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rudderstack/analytics-js-loading-scripts",
"version": "3.0.44",
"version": "3.0.45",
"private": true,
"description": "Loading script for RudderStack JavaScript SDK",
"main": "./src/index.js",
Expand Down
6 changes: 3 additions & 3 deletions packages/loading-scripts/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].44",
"title": "@rudderstack/[email protected].44",
"discussion-category": "@rudderstack/[email protected].44",
"tag": "@rudderstack/[email protected].45",
"title": "@rudderstack/[email protected].45",
"discussion-category": "@rudderstack/[email protected].45",
"notesFile": "./packages/loading-scripts/CHANGELOG_LATEST.md"
}
}
Expand Down
5 changes: 5 additions & 0 deletions packages/sanity-suite/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).

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

### Dependency Updates

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

### Dependency Updates
Expand Down
2 changes: 1 addition & 1 deletion packages/sanity-suite/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rudderstack/analytics-js-sanity-suite",
"version": "3.1.35",
"version": "3.1.36",
"private": true,
"description": "Sanity suite for testing JS SDK package",
"main": "./dist/v3/cdn/testBook.js",
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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.53.0
sonar.projectVersion=3.54.0

# Meta-data for the project
sonar.links.scm=https://github.com/rudderlabs/rudder-sdk-js
Expand Down

0 comments on commit 7a77300

Please sign in to comment.