Skip to content

Commit

Permalink
Merge pull request #1449 from rudderlabs/main
Browse files Browse the repository at this point in the history
chore(release): pull main into develop post release v1.75.2
  • Loading branch information
shrouti1507 authored Jun 6, 2024
2 parents ca786b2 + 48cd565 commit 25e67d7
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 22 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.75.2](https://github.com/rudderlabs/rudder-config-schema/compare/v1.75.1...v1.75.2) (2024-06-06)


### Bug Fixes

* facebook custom audience schema issue ([#1447](https://github.com/rudderlabs/rudder-config-schema/issues/1447)) ([a16b9a9](https://github.com/rudderlabs/rudder-config-schema/commit/a16b9a9b8a646d619f4dd31b4b250da21f53daf1))

### [1.75.1](https://github.com/rudderlabs/rudder-config-schema/compare/v1.75.0...v1.75.1) (2024-06-03)


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.75.1",
"version": "1.75.2",
"description": "",
"main": "src/index.ts",
"private": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,6 @@
}
}
},
"audienceId": {
"type": "object",
"properties": {
"cloud": {
"type": "string",
"pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$"
}
}
},
"maxUserCount": {
"type": "string",
"pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$"
Expand Down
16 changes: 6 additions & 10 deletions test/data/validation/destinations/fb_custom_audience.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
],
"isHashRequired": false,
"disableFormat": false,
"audienceId": { "cloud": "aud1" },
"audienceId": "aud1",
"isRaw": true,
"type": "UNKNOWN",
"subType": "ANYTHING",
Expand Down Expand Up @@ -51,7 +51,7 @@
"maxUserCount": "50"
},
"result": false,
"err": ["audienceId must be object", "userSchema.11 must be equal to one of the allowed values"]
"err": ["userSchema.11 must be equal to one of the allowed values"]
},
{
"config": {
Expand All @@ -71,9 +71,7 @@
],
"isHashRequired": "false",
"disableFormat": "false",
"audienceId": {
"cloud": "aud1"
},
"audienceId": "aud1",
"isRaw": "true",
"type": "UNKNOWN",
"subType": "ANYTHING",
Expand Down Expand Up @@ -110,8 +108,7 @@
"subType": "ANYTHING",
"maxUserCount": "50"
},
"result": false,
"err": ["audienceId must be object"]
"result": true
},
{
"config": {
Expand All @@ -132,7 +129,7 @@
],
"isHashRequired": false,
"disableFormat": false,
"audienceId": { "cloud": "aud1" },
"audienceId": "aud1",
"isRaw": true,
"type": "UNKNOWN",
"subType": "ANYTHING",
Expand Down Expand Up @@ -167,8 +164,7 @@
},
"result": false,
"err": [
"accessToken must match pattern \"(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,500})$\"",
"audienceId must be object"
"accessToken must match pattern \"(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,500})$\""
]
},
{
Expand Down

0 comments on commit 25e67d7

Please sign in to comment.