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 main into develop post release v1.72.0 #1346

Merged
merged 7 commits into from
May 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,22 @@

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))
* 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

* 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))

### [1.71.2](https://github.com/rudderlabs/rudder-config-schema/compare/v1.71.1...v1.71.2) (2024-04-24)


Expand Down
4 changes: 2 additions & 2 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": "rudder-config-schema",
"version": "1.71.2",
"version": "1.72.0",
"description": "",
"main": "src/index.ts",
"private": true,
Expand Down
1 change: 1 addition & 0 deletions src/configurations/destinations/adj/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"configSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"required": [],
"properties": {
"consentManagement": {
"type": "object",
Expand Down
9 changes: 7 additions & 2 deletions src/configurations/destinations/awin/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"config": {
"transformAtV1": "processor",
"saveDestinationResponse": true,
"includeKeys": ["advertiserId", "eventsToTrack", "oneTrustCookieCategories"],
"includeKeys": ["advertiserId", "eventsToTrack", "customFieldMap", "oneTrustCookieCategories"],
"excludeKeys": [],
"supportedSourceTypes": [
"android",
Expand Down Expand Up @@ -34,7 +34,12 @@
"warehouse": ["cloud"]
},
"destConfig": {
"defaultConfig": ["advertiserId", "eventsToTrack", "oneTrustCookieCategories"],
"defaultConfig": [
"advertiserId",
"eventsToTrack",
"customFieldMap",
"oneTrustCookieCategories"
],
"android": ["connectionMode"],
"ios": ["connectionMode"],
"web": ["connectionMode"],
Expand Down
16 changes: 16 additions & 0 deletions src/configurations/destinations/awin/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
17 changes: 17 additions & 0 deletions src/configurations/destinations/awin/ui-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
30 changes: 30 additions & 0 deletions test/data/validation/destinations/awin.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@
{
"eventName": "prop3"
}
],
"customFieldMap": [
{
"from": "Industry",
"to": "p1"
}
]
},
"result": true
Expand Down Expand Up @@ -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*$\""]
}
]
Loading