Skip to content

Commit

Permalink
Merge branch 'develop' into feat.ac-hybrid-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ujjwal-ab authored Aug 10, 2023
2 parents 1ea4cb3 + 159d01f commit ad7a29b
Show file tree
Hide file tree
Showing 258 changed files with 2,132 additions and 1,011 deletions.
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,36 @@

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.44.1](https://github.com/rudderlabs/rudder-config-schema/compare/v1.44.0...v1.44.1) (2023-08-08)


### Bug Fixes

* remove validation for sendPageAsTrack & additionalPageInfo fields ([#816](https://github.com/rudderlabs/rudder-config-schema/issues/816)) ([ceac681](https://github.com/rudderlabs/rudder-config-schema/commit/ceac681f34dc74ea148cd67c702ae2e5cd0bfddc))

## [1.44.0](https://github.com/rudderlabs/rudder-config-schema/compare/v1.43.2...v1.44.0) (2023-08-07)


### Features

* create config generator script for os contribution ([#742](https://github.com/rudderlabs/rudder-config-schema/issues/742)) ([4d65441](https://github.com/rudderlabs/rudder-config-schema/commit/4d6544160dd14fdcb17806ba8f619d54e87a0fd0))
* customerio option to send page name ([#789](https://github.com/rudderlabs/rudder-config-schema/issues/789)) ([c68062b](https://github.com/rudderlabs/rudder-config-schema/commit/c68062b3e72594b9b878324a6ef749114adacc15))
* enhancement adding purchase event for track call ([#810](https://github.com/rudderlabs/rudder-config-schema/issues/810)) ([51b77b7](https://github.com/rudderlabs/rudder-config-schema/commit/51b77b79f196854acf3455b83c6a010ccf8aec5a))
* new source type shopify changes ([#729](https://github.com/rudderlabs/rudder-config-schema/issues/729)) ([c0475c3](https://github.com/rudderlabs/rudder-config-schema/commit/c0475c3f0d3c29dc8d1c3d8394ed9f4f4e7061ae))
* update klaviyo ui to new UI layout ([#493](https://github.com/rudderlabs/rudder-config-schema/issues/493)) ([97b6b8f](https://github.com/rudderlabs/rudder-config-schema/commit/97b6b8fd7e48cc8ea92d0a618075dd5e4fd91828))


### Bug Fixes

* include sendPageNameInSDK in includeKeys array ([#809](https://github.com/rudderlabs/rudder-config-schema/issues/809)) ([a7b3159](https://github.com/rudderlabs/rudder-config-schema/commit/a7b3159c55f8016a1cf6ebefb75f4896907f686a))

### [1.43.2](https://github.com/rudderlabs/rudder-config-schema/compare/v1.43.1...v1.43.2) (2023-08-01)


### Bug Fixes

* **ga4:** firebaseAppId config field issue ([3d1bccc](https://github.com/rudderlabs/rudder-config-schema/commit/3d1bccc3a06d70c5052347c51e4bb34865529727))

### [1.43.1](https://github.com/rudderlabs/rudder-config-schema/compare/v1.43.0...v1.43.1) (2023-07-28)

## [1.43.0](https://github.com/rudderlabs/rudder-config-schema/compare/v1.42.2...v1.43.0) (2023-07-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.43.1",
"version": "1.44.1",
"description": "",
"main": "src/index.ts",
"private": true,
Expand Down
5 changes: 4 additions & 1 deletion scripts/schemaGenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

CONFIG_DIR = 'src/configurations'

EXCLUDED_DEST = ['postgres']

class FieldTypeEnum(Enum):
STRING = "string"
OBJECT = "object"
Expand Down Expand Up @@ -1002,7 +1004,8 @@ def get_schema_diff(name, selector):
uiConfig = file_content.get("uiConfig")
schema = file_content.get("configSchema")
dbConfig = file_content.get("config")
validate_config_consistency(name, selector, uiConfig, dbConfig, schema)
if name not in EXCLUDED_DEST:
validate_config_consistency(name, selector, uiConfig, dbConfig, schema)


if __name__ == '__main__':
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"warehouse",
"reactnative",
"flutter",
"cordova"
"cordova",
"shopify"
],
"supportedMessageTypes": ["identify", "page", "screen", "track"],
"supportedConnectionModes": {
Expand Down
25 changes: 18 additions & 7 deletions src/configurations/destinations/adj/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,12 @@
"warehouse",
"reactnative",
"flutter",
"cordova"
"cordova",
"shopify"
],
"supportedMessageTypes": [
"track"
],
"supportedMessageTypes": ["track"],
"destConfig": {
"defaultConfig": [
"appToken",
Expand All @@ -38,11 +41,19 @@
"partnerParamsKeys",
"oneTrustCookieCategories"
],
"android": ["useNativeSDK"],
"ios": ["useNativeSDK"],
"flutter": ["useNativeSDK"],
"unity": ["useNativeSDK"]
"android": [
"useNativeSDK"
],
"ios": [
"useNativeSDK"
],
"flutter": [
"useNativeSDK"
],
"unity": [
"useNativeSDK"
]
},
"secretKeys": []
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
"warehouse",
"reactnative",
"flutter",
"cordova"
"cordova",
"shopify"
],
"supportedConnectionModes": {
"web": ["cloud", "device"],
Expand Down
3 changes: 2 additions & 1 deletion src/configurations/destinations/af/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"warehouse",
"reactnative",
"flutter",
"cordova"
"cordova",
"shopify"
],
"supportedMessageTypes": ["track", "screen", "page"],
"destConfig": {
Expand Down
3 changes: 2 additions & 1 deletion src/configurations/destinations/airship/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"reactnative",
"flutter",
"cordova",
"warehouse"
"warehouse",
"shopify"
],
"supportedMessageTypes": ["identify", "track", "group"],
"destConfig": {
Expand Down
3 changes: 2 additions & 1 deletion src/configurations/destinations/algolia/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"reactnative",
"flutter",
"cordova",
"warehouse"
"warehouse",
"shopify"
],
"supportedMessageTypes": ["track"],
"destConfig": {
Expand Down
3 changes: 2 additions & 1 deletion src/configurations/destinations/am/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@
"warehouse",
"reactnative",
"flutter",
"cordova"
"cordova",
"shopify"
],
"supportedMessageTypes": ["alias", "group", "identify", "page", "screen", "track"],
"supportedConnectionModes": {
Expand Down
3 changes: 2 additions & 1 deletion src/configurations/destinations/appcues/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"warehouse",
"reactnative",
"flutter",
"cordova"
"cordova",
"shopify"
],
"supportedMessageTypes": ["identify", "page", "screen", "track"],
"destConfig": {
Expand Down
3 changes: 2 additions & 1 deletion src/configurations/destinations/attentive_tag/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"warehouse",
"reactnative",
"flutter",
"cordova"
"cordova",
"shopify"
],
"supportedMessageTypes": ["identify", "track"],
"destConfig": { "defaultConfig": ["apiKey", "signUpSourceId", "oneTrustCookieCategories"] },
Expand Down
3 changes: 2 additions & 1 deletion src/configurations/destinations/attribution/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"reactnative",
"warehouse",
"flutter",
"cordova"
"cordova",
"shopify"
],
"supportedMessageTypes": ["alias", "group", "identify", "page", "screen", "track"],
"destConfig": { "defaultConfig": ["writeKey", "oneTrustCookieCategories"], "web": [] },
Expand Down
3 changes: 2 additions & 1 deletion src/configurations/destinations/autopilot/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"warehouse",
"reactnative",
"flutter",
"cordova"
"cordova",
"shopify"
],
"supportedMessageTypes": ["identify", "track"],
"destConfig": { "defaultConfig": ["apiKey", "triggerId", "oneTrustCookieCategories"] },
Expand Down
3 changes: 2 additions & 1 deletion src/configurations/destinations/awin/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"reactnative",
"flutter",
"cordova",
"warehouse"
"warehouse",
"shopify"
],
"supportedMessageTypes": ["track"],
"destConfig": {
Expand Down
3 changes: 2 additions & 1 deletion src/configurations/destinations/azure_blob/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"warehouse",
"reactnative",
"flutter",
"cordova"
"cordova",
"shopify"
],
"destConfig": {
"defaultConfig": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"reactnative",
"cloudSource",
"flutter",
"cordova"
"cordova",
"shopify"
],
"destConfig": {
"defaultConfig": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"warehouse",
"reactnative",
"flutter",
"cordova"
"cordova",
"shopify"
],
"destConfig": {
"defaultConfig": [
Expand Down
3 changes: 2 additions & 1 deletion src/configurations/destinations/azure_synapse/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"reactnative",
"cloudSource",
"flutter",
"cordova"
"cordova",
"shopify"
],
"destConfig": {
"defaultConfig": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"saveDestinationResponse": true,
"includeKeys": ["oneTrustCookieCategories"],
"excludeKeys": [],
"supportedSourceTypes": ["cloud", "warehouse"],
"supportedSourceTypes": ["cloud", "warehouse", "shopify"],
"supportedMessageTypes": ["audiencelist"],
"syncBehaviours": [
"mirror"
Expand Down
31 changes: 25 additions & 6 deletions src/configurations/destinations/blueshift/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,32 @@
"transformAt": "router",
"transformAtV1": "router",
"saveDestinationResponse": true,
"includeKeys": ["oneTrustCookieCategories"],
"includeKeys": [
"oneTrustCookieCategories"
],
"excludeKeys": [],
"supportedSourceTypes": ["web", "cloud", "mobile"],
"supportedMessageTypes": ["identify", "track", "group"],
"supportedSourceTypes": [
"web",
"cloud",
"mobile",
"shopify"
],
"supportedMessageTypes": [
"identify",
"track",
"group"
],
"destConfig": {
"defaultConfig": ["eventApiKey", "usersApiKey", "dataCenter", "oneTrustCookieCategories"]
"defaultConfig": [
"eventApiKey",
"usersApiKey",
"dataCenter",
"oneTrustCookieCategories"
]
},
"secretKeys": ["eventApiKey", "usersApiKey"]
"secretKeys": [
"eventApiKey",
"usersApiKey"
]
}
}
}
3 changes: 2 additions & 1 deletion src/configurations/destinations/bq/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"reactnative",
"cloudSource",
"flutter",
"cordova"
"cordova",
"shopify"
],
"destConfig": {
"defaultConfig": [
Expand Down
3 changes: 2 additions & 1 deletion src/configurations/destinations/bqstream/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"reactnative",
"flutter",
"cordova",
"warehouse"
"warehouse",
"shopify"
],
"destConfig": {
"defaultConfig": [
Expand Down
3 changes: 2 additions & 1 deletion src/configurations/destinations/branch/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"warehouse",
"reactnative",
"flutter",
"cordova"
"cordova",
"shopify"
],
"supportedMessageTypes": ["identify", "track"],
"destConfig": {
Expand Down
3 changes: 2 additions & 1 deletion src/configurations/destinations/braze/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
"warehouse",
"reactnative",
"flutter",
"cordova"
"cordova",
"shopify"
],
"supportedConnectionModes": {
"android": ["cloud", "device", "hybrid"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"warehouse",
"reactnative",
"flutter",
"cordova"
"cordova",
"shopify"
],
"destConfig": {
"defaultConfig": [
Expand Down
3 changes: 2 additions & 1 deletion src/configurations/destinations/candu/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"reactnative",
"flutter",
"cordova",
"warehouse"
"warehouse",
"shopify"
],
"supportedMessageTypes": ["identify", "track"],
"destConfig": { "defaultConfig": ["apiKey", "oneTrustCookieCategories"] },
Expand Down
3 changes: 2 additions & 1 deletion src/configurations/destinations/canny/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"reactnative",
"flutter",
"cordova",
"warehouse"
"warehouse",
"shopify"
],
"supportedMessageTypes": ["identify", "track"],
"destConfig": { "defaultConfig": ["apiKey", "eventsToEvents", "oneTrustCookieCategories"] },
Expand Down
3 changes: 2 additions & 1 deletion src/configurations/destinations/clevertap/db-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"warehouse",
"reactnative",
"flutter",
"cordova"
"cordova",
"shopify"
],
"supportedMessageTypes": ["identify", "page", "screen", "track", "alias"],
"destConfig": {
Expand Down
Loading

0 comments on commit ad7a29b

Please sign in to comment.