From af1aa7e56606a411f02022ca7745191205fb4864 Mon Sep 17 00:00:00 2001 From: shrouti1507 <60211312+shrouti1507@users.noreply.github.com> Date: Sat, 28 Oct 2023 19:34:47 +0530 Subject: [PATCH 1/2] fix: pinterest deduplicate UI issue (#1020) --- src/configurations/destinations/pinterest_tag/schema.json | 2 +- src/configurations/destinations/pinterest_tag/ui-config.json | 2 +- test/data/validation/destinations/pinterest_tag.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/configurations/destinations/pinterest_tag/schema.json b/src/configurations/destinations/pinterest_tag/schema.json index 3f4520516..85d5150aa 100644 --- a/src/configurations/destinations/pinterest_tag/schema.json +++ b/src/configurations/destinations/pinterest_tag/schema.json @@ -7,7 +7,7 @@ "tagId": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[0-9]*$" }, "appId": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[0-9]*$" }, "apiVersion": { "type": "string", "enum": ["legacyApi", "newApi"], "default": "legacyApi" }, - "deduplicationKey": { "type": "string", "pattern":"(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$"}, + "deduplicationKey": { "type": "string", "pattern":"(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$"}, "sendingUnHashedData": { "type": "boolean", "default": true }, "enhancedMatch": { "type": "boolean", "default": true }, "sendExternalId": { "type": "boolean", "default": false }, diff --git a/src/configurations/destinations/pinterest_tag/ui-config.json b/src/configurations/destinations/pinterest_tag/ui-config.json index b72786391..cf72e5068 100644 --- a/src/configurations/destinations/pinterest_tag/ui-config.json +++ b/src/configurations/destinations/pinterest_tag/ui-config.json @@ -108,7 +108,7 @@ "type": "textInput", "label": "Deduplication Key", "value": "deduplicationKey", - "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$", + "regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$", "required": false, "placeholder": "e.g: messageId", "footerNote": "By default, RudderStack will send messageId as the event_id field. You can utilize this input, to specify another field value sent via payload, to be used instead" diff --git a/test/data/validation/destinations/pinterest_tag.json b/test/data/validation/destinations/pinterest_tag.json index e9ef11428..142ee5c7b 100644 --- a/test/data/validation/destinations/pinterest_tag.json +++ b/test/data/validation/destinations/pinterest_tag.json @@ -131,7 +131,7 @@ }, "result": false, "err": [ - "deduplicationKey must match pattern \"(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$\"" + "deduplicationKey must match pattern \"(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$\"" ] }, { From bdc20857593aa81a407a318f227847dbbf637160 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Sat, 28 Oct 2023 14:06:09 +0000 Subject: [PATCH 2/2] chore(release): 1.56.2 --- CHANGELOG.md | 7 +++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a9c0ce606..d88ebeade 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ 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.56.2](https://github.com/rudderlabs/rudder-config-schema/compare/v1.56.1...v1.56.2) (2023-10-28) + + +### Bug Fixes + +* pinterest deduplicate UI issue ([#1020](https://github.com/rudderlabs/rudder-config-schema/issues/1020)) ([af1aa7e](https://github.com/rudderlabs/rudder-config-schema/commit/af1aa7e56606a411f02022ca7745191205fb4864)) + ### [1.56.1](https://github.com/rudderlabs/rudder-config-schema/compare/v1.56.0...v1.56.1) (2023-10-25) diff --git a/package-lock.json b/package-lock.json index 2d667c082..0f3613141 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "rudder-config-schema", - "version": "1.56.1", + "version": "1.56.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "rudder-config-schema", - "version": "1.56.1", + "version": "1.56.2", "license": "MIT", "dependencies": { "ajv": "^8.12.0", diff --git a/package.json b/package.json index c8a7ebb1a..0aad012b3 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rudder-config-schema", - "version": "1.56.1", + "version": "1.56.2", "description": "", "main": "src/index.ts", "private": true,