Skip to content

Commit

Permalink
chore(release): pull release/3.45.0-SDK-2539 into main (#1898)
Browse files Browse the repository at this point in the history
  • Loading branch information
MoumitaM authored Oct 22, 2024
2 parents 3cae743 + df7faf7 commit 13b50df
Show file tree
Hide file tree
Showing 66 changed files with 1,223 additions and 148 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:

env:
NODE_OPTIONS: "--no-warnings"
BASE_REF: ${{ github.event.pull_request.base.sha || 'HEAD' }}

jobs:
bundle-size-checks:
Expand Down Expand Up @@ -64,15 +65,11 @@ jobs:
npm run check:duplicates
- name: Build the project
env:
BASE_REF: ${{ github.event.pull_request.base.sha }}
run: |
npm run build:ci
npm run build:modern:ci
- name: Execute package linting checks
env:
BASE_REF: ${{ github.event.pull_request.base.sha }}
run: |
npm run check:pub:ci
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/unit-tests-and-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:

env:
NODE_OPTIONS: "--no-warnings"
BASE_REF: ${{ github.event.pull_request.base.sha || 'HEAD' }}

jobs:
test:
Expand All @@ -35,9 +36,14 @@ jobs:
run: |
npm run setup:ci
- name: Check for affected projects
id: check_affected
run: |
AFFECTED_PROJECTS=$(npx nx show projects --affected --base=$BASE_REF | tr '\n' ',')
echo "Affected projects: $AFFECTED_PROJECTS"
echo "affected_projects=$AFFECTED_PROJECTS" >> $GITHUB_OUTPUT
- name: Execute unit tests
env:
BASE_REF: ${{ github.event.pull_request.base.sha || 'HEAD' }}
run: |
npm run test:ci
Expand All @@ -49,8 +55,6 @@ jobs:
files: ./packages/analytics-js/reports/coverage/clover.xml,./packages/analytics-js-common/reports/coverage/clover.xml,./packages/analytics-js-integrations/reports/coverage/clover.xml,./packages/analytics-js-plugins/reports/coverage/clover.xml,./packages/analytics-js-service-worker/reports/coverage/clover.xml,./packages/analytics-v1.1/reports/coverage/clover.xml,./packages/analytics-js-cookies/reports/coverage/clover.xml

- name: Execute linting check
env:
BASE_REF: ${{ github.event.pull_request.base.sha || 'HEAD' }}
run: |
npm run check:lint:ci
Expand Down
13 changes: 11 additions & 2 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
* @rudderlabs/js-sdk
/packages/analytics-js-integrations/ @rudderlabs/js-sdk-dm-intg-eng
/packages/analytics-js-common/src/constants/integrations @rudderlabs/js-sdk-dm-intg-eng

/packages/analytics-js-integrations/src/ @rudderlabs/js-sdk-dm-intg-eng
/packages/analytics-js-integrations/__fixtures__/ @rudderlabs/js-sdk-dm-intg-eng
/packages/analytics-js-integrations/__tests__/ @rudderlabs/js-sdk-dm-intg-eng
/packages/analytics-js-integrations/__mocks__/ @rudderlabs/js-sdk-dm-intg-eng
/packages/analytics-js-integrations/README.md @rudderlabs/js-sdk-dm-intg-eng
/packages/analytics-js-integrations/.size-limit.js @rudderlabs/js-sdk-dm-intg-eng

/packages/analytics-js-common/src/constants/integrations/ @rudderlabs/js-sdk-dm-intg-eng
/assets/integrations/AdobeAnalytics/ @rudderlabs/js-sdk-dm-intg-eng
/examples/integrations/ @rudderlabs/js-sdk-dm-intg-eng
41 changes: 30 additions & 11 deletions package-lock.json

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

3 changes: 2 additions & 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.44.0",
"version": "3.45.0",
"private": true,
"description": "Monorepo for RudderStack Analytics JS SDK",
"workspaces": [
Expand Down Expand Up @@ -144,6 +144,7 @@
"commitizen": "4.3.1",
"commitlint": "19.5.0",
"core-js": "3.38.1",
"cross-env": "7.0.3",
"dotenv": "16.4.5",
"each": "2.7.0",
"eslint": "8.57.0",
Expand Down
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.10.0](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/[email protected]...@rudderstack/[email protected]) (2024-10-21)


### Features

* iubenda consent manager plugin ([#1809](https://github.com/rudderlabs/rudder-sdk-js/issues/1809)) ([7ea300c](https://github.com/rudderlabs/rudder-sdk-js/commit/7ea300c61ead9cc094c3f1985e0ef3165b0fcb59))

## [3.9.5](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/[email protected]...@rudderstack/[email protected]) (2024-10-18)


Expand Down
6 changes: 3 additions & 3 deletions packages/analytics-js-common/CHANGELOG_LATEST.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## [3.9.5](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/[email protected].4...@rudderstack/analytics-js-common@3.9.5) (2024-10-18)
## [3.10.0](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/[email protected].5...@rudderstack/analytics-js-common@3.10.0) (2024-10-21)


### Bug Fixes
### Features

* add xpixel missing name mapping ([#1895](https://github.com/rudderlabs/rudder-sdk-js/issues/1895)) ([0800f36](https://github.com/rudderlabs/rudder-sdk-js/commit/0800f361b6a9b9866ba47d9a393cf7c2063b3815))
* iubenda consent manager plugin ([#1809](https://github.com/rudderlabs/rudder-sdk-js/issues/1809)) ([7ea300c](https://github.com/rudderlabs/rudder-sdk-js/commit/7ea300c61ead9cc094c3f1985e0ef3165b0fcb59))

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.9.5",
"version": "3.10.0",
"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/analytics-js-common@3.9.5",
"title": "@rudderstack/analytics-js-common@3.9.5",
"discussion-category": "@rudderstack/analytics-js-common@3.9.5",
"tag": "@rudderstack/analytics-js-common@3.10.0",
"title": "@rudderstack/analytics-js-common@3.10.0",
"discussion-category": "@rudderstack/analytics-js-common@3.10.0",
"notesFile": "./packages/analytics-js-common/CHANGELOG_LATEST.md"
}
}
Expand Down
6 changes: 5 additions & 1 deletion packages/analytics-js-common/src/types/Consent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export type ConsentManagementProviderMetadata = {
resolutionStrategy: ConsentResolutionStrategy;
};

export type ConsentManagementProvider = 'oneTrust' | 'ketch' | 'custom';
export type ConsentManagementProvider = 'iubenda' | 'oneTrust' | 'ketch' | 'custom';

export type ConsentResolutionStrategy = 'and' | 'or';

Expand All @@ -45,3 +45,7 @@ export type ConsentsInfo = {
export type KetchConsentPurpose = {
purpose: string;
};

export type IubendaConsentPurpose = {
purpose: string;
};
2 changes: 2 additions & 0 deletions packages/analytics-js-common/src/types/Destination.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import type { Conversion, EventFilteringOption, EventMapping } from './LoadOptio
import type {
OneTrustCookieCategory,
KetchConsentPurpose,
IubendaConsentPurpose,
ConsentManagementProvider,
} from './Consent';

Expand Down Expand Up @@ -35,6 +36,7 @@ export type ConsentManagementProviderConfig = {
export type DestinationConfig = {
blacklistedEvents: DestinationEvent[];
whitelistedEvents: DestinationEvent[];
iubendaConsentPurposes?: IubendaConsentPurpose[];
oneTrustCookieCategories?: OneTrustCookieCategory[];
ketchConsentPurposes?: KetchConsentPurpose[];
consentManagement?: ConsentManagementProviderConfig[];
Expand Down
1 change: 1 addition & 0 deletions packages/analytics-js-common/src/types/PluginsManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export type PluginName =
| 'ErrorReporting'
| 'ExternalAnonymousId'
| 'GoogleLinker'
| 'IubendaConsentManager'
| 'KetchConsentManager'
| 'NativeDestinationQueue'
| 'OneTrustConsentManager'
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.3.12](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/[email protected]...@rudderstack/[email protected]) (2024-10-21)

### Dependency Updates

* `@rudderstack/analytics-js-common` updated to version `3.10.0`
## [0.3.11](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/[email protected]...@rudderstack/[email protected]) (2024-10-18)

### 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.3.11](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/[email protected].10...@rudderstack/[email protected].11) (2024-10-18)
## [0.3.12](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/[email protected].11...@rudderstack/[email protected].12) (2024-10-21)

### Dependency Updates

* `@rudderstack/analytics-js-common` updated to version `3.9.5`
* `@rudderstack/analytics-js-common` updated to version `3.10.0`
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.3.11",
"version": "0.3.12",
"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].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-cookies/CHANGELOG_LATEST.md"
}
}
Expand Down
5 changes: 5 additions & 0 deletions packages/analytics-js-integrations/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.9.3](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/[email protected]...@rudderstack/[email protected]) (2024-10-21)

### Dependency Updates

* `@rudderstack/analytics-js-common` updated to version `3.10.0`
## [3.9.2](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/[email protected]...@rudderstack/[email protected]) (2024-10-18)

### Dependency Updates
Expand Down
4 changes: 2 additions & 2 deletions packages/analytics-js-integrations/CHANGELOG_LATEST.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## [3.9.2](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/[email protected].1...@rudderstack/[email protected].2) (2024-10-18)
## [3.9.3](https://github.com/rudderlabs/rudder-sdk-js/compare/@rudderstack/[email protected].2...@rudderstack/[email protected].3) (2024-10-21)

### Dependency Updates

* `@rudderstack/analytics-js-common` updated to version `3.9.5`
* `@rudderstack/analytics-js-common` updated to version `3.10.0`
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.9.2",
"version": "3.9.3",
"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/[email protected].2",
"title": "@rudderstack/[email protected].2",
"discussion-category": "@rudderstack/[email protected].2",
"tag": "@rudderstack/[email protected].3",
"title": "@rudderstack/[email protected].3",
"discussion-category": "@rudderstack/[email protected].3",
"notesFile": "./packages/analytics-js-integrations/CHANGELOG_LATEST.md"
}
}
Expand Down
Loading

0 comments on commit 13b50df

Please sign in to comment.