From 8cf3479f2899d9dce91f0e7132d1f99cc8bccd88 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Mon, 29 Apr 2024 06:56:29 +0000 Subject: [PATCH 1/6] chore(release): 1.72.0 --- CHANGELOG.md | 19 +++++++++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 22 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5cfdd67df..842ede626 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,25 @@ 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. +## [1.72.0](https://github.com/rudderlabs/rudder-config-schema/compare/v1.71.2...v1.72.0) (2024-04-29) + + +### Features + +* add autoConfig support in FBPixel via toggle ([#1337](https://github.com/rudderlabs/rudder-config-schema/issues/1337)) ([8acbb91](https://github.com/rudderlabs/rudder-config-schema/commit/8acbb91df784cb6f81264b7fb86cf001533da474)) +* add gcm support for active campaign,adj,adobe,adroll,af ([#1314](https://github.com/rudderlabs/rudder-config-schema/issues/1314)) ([a529b03](https://github.com/rudderlabs/rudder-config-schema/commit/a529b03c759861c6dfd5010619828b08973cc7c6)) +* added custom domain input field during ga4 setup ([e4ec3b5](https://github.com/rudderlabs/rudder-config-schema/commit/e4ec3b5c98beb5b8b2f121565f401e8796b8df1f)) +* supporting add to cart for criteo ([#1324](https://github.com/rudderlabs/rudder-config-schema/issues/1324)) ([1c74915](https://github.com/rudderlabs/rudder-config-schema/commit/1c749153fc4105a1a0da0f17ff7d07e26678c3d6)) + + +### Bug Fixes + +* replace schema ref with actual schema ([#1336](https://github.com/rudderlabs/rudder-config-schema/issues/1336)) ([4059fd5](https://github.com/rudderlabs/rudder-config-schema/commit/4059fd5a7ee83c2e09ff63d5deaac4a057c1d9d7)) +* resolving comments ([2e1974b](https://github.com/rudderlabs/rudder-config-schema/commit/2e1974b360f98ca764692a9c7effa04fbbe69a3f)) +* resolving comments ([44cd910](https://github.com/rudderlabs/rudder-config-schema/commit/44cd9109f4e99672fac5cfe5481aa8b210b9919b)) +* some minor fix ([bc9be28](https://github.com/rudderlabs/rudder-config-schema/commit/bc9be2899443d60a0946dd1b47064d63afabf4cc)) +* some minor issues ([e32579f](https://github.com/rudderlabs/rudder-config-schema/commit/e32579f63e601a44a17ee15d32db4bed2c45b33e)) + ### [1.71.2](https://github.com/rudderlabs/rudder-config-schema/compare/v1.71.1...v1.71.2) (2024-04-24) diff --git a/package-lock.json b/package-lock.json index 2b9f118c0..46118fcfb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "rudder-config-schema", - "version": "1.71.2", + "version": "1.72.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "rudder-config-schema", - "version": "1.71.2", + "version": "1.72.0", "license": "MIT", "dependencies": { "ajv": "^8.12.0", diff --git a/package.json b/package.json index 5fda764be..f4d3c2d77 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rudder-config-schema", - "version": "1.71.2", + "version": "1.72.0", "description": "", "main": "src/index.ts", "private": true, From 2ff158638e7996983d1a72c85751e12f98322350 Mon Sep 17 00:00:00 2001 From: shrouti1507 <60211312+shrouti1507@users.noreply.github.com> Date: Tue, 30 Apr 2024 10:44:29 +0530 Subject: [PATCH 2/6] feat: custom property support AWIN (#1342) --- .../destinations/awin/db-config.json | 9 ++++-- .../destinations/awin/schema.json | 16 ++++++++++ .../destinations/awin/ui-config.json | 17 +++++++++++ test/data/validation/destinations/awin.json | 30 +++++++++++++++++++ 4 files changed, 70 insertions(+), 2 deletions(-) diff --git a/src/configurations/destinations/awin/db-config.json b/src/configurations/destinations/awin/db-config.json index ad2078f80..0d1c2b45e 100644 --- a/src/configurations/destinations/awin/db-config.json +++ b/src/configurations/destinations/awin/db-config.json @@ -4,7 +4,7 @@ "config": { "transformAtV1": "processor", "saveDestinationResponse": true, - "includeKeys": ["advertiserId", "eventsToTrack", "oneTrustCookieCategories"], + "includeKeys": ["advertiserId", "eventsToTrack", "customFieldMap", "oneTrustCookieCategories"], "excludeKeys": [], "supportedSourceTypes": [ "android", @@ -34,7 +34,12 @@ "warehouse": ["cloud"] }, "destConfig": { - "defaultConfig": ["advertiserId", "eventsToTrack", "oneTrustCookieCategories"], + "defaultConfig": [ + "advertiserId", + "eventsToTrack", + "customFieldMap", + "oneTrustCookieCategories" + ], "android": ["connectionMode"], "ios": ["connectionMode"], "web": ["connectionMode"], diff --git a/src/configurations/destinations/awin/schema.json b/src/configurations/destinations/awin/schema.json index 95907f795..8af476a01 100644 --- a/src/configurations/destinations/awin/schema.json +++ b/src/configurations/destinations/awin/schema.json @@ -20,6 +20,22 @@ } } }, + "customFieldMap": { + "type": "array", + "items": { + "type": "object", + "properties": { + "from": { + "type": "string", + "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" + }, + "to": { + "type": "string", + "pattern": "^\\s*p\\d+\\s*$" + } + } + } + }, "oneTrustCookieCategories": { "type": "array", "items": { diff --git a/src/configurations/destinations/awin/ui-config.json b/src/configurations/destinations/awin/ui-config.json index be7ee6306..40c015788 100644 --- a/src/configurations/destinations/awin/ui-config.json +++ b/src/configurations/destinations/awin/ui-config.json @@ -35,6 +35,23 @@ } ] }, + { + "title": "Transaction Level Custom Field Mapping", + "fields": [ + { + "type": "dynamicForm", + "label": "Map Rudder payload property to Custom Awin Field", + "labelLeft": "Rudder Payload Field", + "labelRight": "AWIN Custom Field", + "keyLeft": "from", + "keyRight": "to", + "placeholderLeft": "e.g: customProperty1", + "placeholderRight": "p1", + "value": "customFieldMap", + "footerNote": "Map Rudder Properties to AWIN Custom Fields. Here, properties will be fetched from properties object(message.properties). Remember AWIN properties need to be of pattern p1, p2 etc." + } + ] + }, { "title": "Consent Settings", "fields": [ diff --git a/test/data/validation/destinations/awin.json b/test/data/validation/destinations/awin.json index b654856ae..c2c26489e 100644 --- a/test/data/validation/destinations/awin.json +++ b/test/data/validation/destinations/awin.json @@ -12,6 +12,12 @@ { "eventName": "prop3" } + ], + "customFieldMap": [ + { + "from": "Industry", + "to": "p1" + } ] }, "result": true @@ -49,5 +55,29 @@ ] }, "result": true + }, + { + "config": { + "advertiserId": "12345", + "eventsToTrack": [ + { + "eventName": "abc" + }, + { + "eventName": "prop2" + }, + { + "eventName": "prop3" + } + ], + "customFieldMap": [ + { + "from": "Industry", + "to": "ABC" + } + ] + }, + "result": false, + "err": ["customFieldMap.0.to must match pattern \"^\\s*p\\d+\\s*$\""] } ] From 97181e0a9a5b28911d3d8f612a7d5b08ee1978e4 Mon Sep 17 00:00:00 2001 From: Moumita <36885121+MoumitaM@users.noreply.github.com> Date: Tue, 30 Apr 2024 10:50:13 +0530 Subject: [PATCH 3/6] fix: add required parameter in adj schema (#1344) --- src/configurations/destinations/adj/schema.json | 1 + 1 file changed, 1 insertion(+) diff --git a/src/configurations/destinations/adj/schema.json b/src/configurations/destinations/adj/schema.json index c75f18e9a..bc71411e4 100644 --- a/src/configurations/destinations/adj/schema.json +++ b/src/configurations/destinations/adj/schema.json @@ -2,6 +2,7 @@ "configSchema": { "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", + "required": [], "properties": { "consentManagement": { "type": "object", From 26875a522f26f4292a17f92b6c44896a2b53ff0f Mon Sep 17 00:00:00 2001 From: shrouti1507 Date: Tue, 30 Apr 2024 12:50:29 +0530 Subject: [PATCH 4/6] fix: changelog update for awin --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 842ede626..8222c4549 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ All notable changes to this project will be documented in this file. See [standa * add gcm support for active campaign,adj,adobe,adroll,af ([#1314](https://github.com/rudderlabs/rudder-config-schema/issues/1314)) ([a529b03](https://github.com/rudderlabs/rudder-config-schema/commit/a529b03c759861c6dfd5010619828b08973cc7c6)) * added custom domain input field during ga4 setup ([e4ec3b5](https://github.com/rudderlabs/rudder-config-schema/commit/e4ec3b5c98beb5b8b2f121565f401e8796b8df1f)) * supporting add to cart for criteo ([#1324](https://github.com/rudderlabs/rudder-config-schema/issues/1324)) ([1c74915](https://github.com/rudderlabs/rudder-config-schema/commit/1c749153fc4105a1a0da0f17ff7d07e26678c3d6)) +* transaction level custom property support AWIN ([#1342](https://github.com/rudderlabs/rudder-config-schema/issues/1342)) ([2ff1586](https://github.com/rudderlabs/rudder-config-schema/commit/2ff158638e7996983d1a72c85751e12f98322350)) ### Bug Fixes From 5861f199986be39a6bb26bf1f8d26d1fca096c11 Mon Sep 17 00:00:00 2001 From: Alexandros Milaios Date: Tue, 30 Apr 2024 16:48:37 +0300 Subject: [PATCH 5/6] chore: update singer mixpanel image to v8.2.14 (#1345) --- src/configurations/sources/singer_mixpanel/db-config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/configurations/sources/singer_mixpanel/db-config.json b/src/configurations/sources/singer_mixpanel/db-config.json index b1b052733..0729b9785 100644 --- a/src/configurations/sources/singer_mixpanel/db-config.json +++ b/src/configurations/sources/singer_mixpanel/db-config.json @@ -3,7 +3,7 @@ "category": "singer-protocol", "displayName": "Mixpanel", "options": { - "image": "rudderstack/source-mixpanel:v8.1.10" + "image": "rudderstack/source-mixpanel:v8.2.14" }, "type": "cloudSource" } From 7db7d92c4c56119f0240d0b3cc31ed4b01359aa9 Mon Sep 17 00:00:00 2001 From: Sai Sankeerth Date: Tue, 30 Apr 2024 20:55:31 +0530 Subject: [PATCH 6/6] chore: cleaning up commits in changelog Signed-off-by: Sai Sankeerth --- CHANGELOG.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8222c4549..4b621bdce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,10 +17,6 @@ All notable changes to this project will be documented in this file. See [standa ### Bug Fixes * replace schema ref with actual schema ([#1336](https://github.com/rudderlabs/rudder-config-schema/issues/1336)) ([4059fd5](https://github.com/rudderlabs/rudder-config-schema/commit/4059fd5a7ee83c2e09ff63d5deaac4a057c1d9d7)) -* resolving comments ([2e1974b](https://github.com/rudderlabs/rudder-config-schema/commit/2e1974b360f98ca764692a9c7effa04fbbe69a3f)) -* resolving comments ([44cd910](https://github.com/rudderlabs/rudder-config-schema/commit/44cd9109f4e99672fac5cfe5481aa8b210b9919b)) -* some minor fix ([bc9be28](https://github.com/rudderlabs/rudder-config-schema/commit/bc9be2899443d60a0946dd1b47064d63afabf4cc)) -* some minor issues ([e32579f](https://github.com/rudderlabs/rudder-config-schema/commit/e32579f63e601a44a17ee15d32db4bed2c45b33e)) ### [1.71.2](https://github.com/rudderlabs/rudder-config-schema/compare/v1.71.1...v1.71.2) (2024-04-24)