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 release/v1.90.0 into main #1653

Merged
merged 16 commits into from
Sep 4, 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
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

- name: Get changed files
id: changed_files
uses: tj-actions/changed-files@v42
uses: tj-actions/changed-files@v45
with:
sha: ${{ github.event.pull_request.head.sha }}

Expand Down
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@

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.90.0](https://github.com/rudderlabs/rudder-config-schema/compare/v1.89.0...v1.90.0) (2024-09-02)


### Features

* onboarding lytics bulk upload ([#1611](https://github.com/rudderlabs/rudder-config-schema/issues/1611)) ([d5d6d9c](https://github.com/rudderlabs/rudder-config-schema/commit/d5d6d9cd3157739e9073329b3225424d2d6165e4))
* update webhook v2 ui label ([#1652](https://github.com/rudderlabs/rudder-config-schema/issues/1652)) ([a7dc8d7](https://github.com/rudderlabs/rudder-config-schema/commit/a7dc8d7976a0ea2bb9b6cd5af82524e382ad8685))
* webhook v2 ([#1610](https://github.com/rudderlabs/rudder-config-schema/issues/1610)) ([856736a](https://github.com/rudderlabs/rudder-config-schema/commit/856736a3d674af59e59c487997ae86af40624fe0))


### Bug Fixes

* npm vulnerabilities ([593de69](https://github.com/rudderlabs/rudder-config-schema/commit/593de692ea2ccfcf54c70a935ac02cd15f2c10c3))

## [1.89.0](https://github.com/rudderlabs/rudder-config-schema/compare/v1.88.0...v1.89.0) (2024-08-27)


Expand Down
879 changes: 334 additions & 545 deletions package-lock.json

Large diffs are not rendered by default.

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.89.0",
"version": "1.90.0",
"description": "",
"main": "src/index.ts",
"private": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "FB_CUSTOM_AUDIENCE",
"displayName": "Facebook Custom Audience",
"config": {
"features": ["vdm-next"],
"supportsBlankAudienceCreation": true,
"disableJsonMapper": true,
"supportsVisualMapper": true,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"name": "LYTICS_BULK_UPLOAD",
"displayName": "Lytics Bulk Upload",
"config": {
"transformAtV1": "none",
"saveDestinationResponse": true,
"includeKeys": ["oneTrustCookieCategories"],
"excludeKeys": [],
"supportedSourceTypes": ["warehouse"],
"supportedMessageTypes": { "cloud": ["track"] },
"syncBehaviours": ["upsert"],
"disableJsonMapper": false,
"supportedConnectionModes": {
"warehouse": ["cloud"]
},
"destConfig": {
"defaultConfig": [
"lyticsApiKey",
"lyticsAccountId",
"lyticsStreamName",
"timestampField",
"streamTraitsMapping",
"oneTrustCookieCategories"
],
"cloud": ["connectionMode"],
"warehouse": ["connectionMode"]
}
},
"options": { "isBeta": true }
}
61 changes: 61 additions & 0 deletions src/configurations/destinations/lytics_bulk_upload/schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"configSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"required": ["lyticsAccountId", "lyticsApiKey"],
"properties": {
"lyticsAccountId": {
"type": "string",
"pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[0-9]+$"
},
"lyticsApiKey": {
"type": "string",
"pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$"
},
"lyticsStreamName": {
"type": "string",
"pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$"
},
"timestampField": {
"type": "string",
"pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$"
},
"streamTraitsMapping": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rudderProperty": {
"type": "string",
"pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$"
},
"lyticsProperty": {
"type": "string",
"pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$"
}
}
}
},
"oneTrustCookieCategories": {
"type": "array",
"items": {
"type": "object",
"properties": {
"oneTrustCookieCategory": {
"type": "string",
"pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$"
}
}
}
},
"connectionMode": {
"type": "object",
"properties": {
"shopify": { "type": "string", "enum": ["cloud"] },
"cloud": { "type": "string", "enum": ["cloud"] },
"warehouse": { "type": "string", "enum": ["cloud"] }
}
}
}
}
}
203 changes: 203 additions & 0 deletions src/configurations/destinations/lytics_bulk_upload/ui-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,203 @@
{
"uiConfig": {
"baseTemplate": [
{
"title": "Initial setup",
"note": "Review how this destination is set up",
"sections": [
{
"groups": [
{
"title": "Connection settings",
"note": "Update your connection settings here",
"icon": "settings",
"fields": [
{
"type": "textInput",
"label": "Lytics Account Id",
"configKey": "lyticsAccountId",
"regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^[0-9]+$",
"regexErrorMessage": "Invalid Lytics Account Id",
"placeholder": "e.g. 5XX4",
"secret": true,
"footerNote": "Your Lytics Account Id (account identifier)"
},
{
"type": "textInput",
"label": "Lytics API Key",
"configKey": "lyticsApiKey",
"regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{1,100})$",
"regexErrorMessage": "Invalid API Key",
"placeholder": "e.g. 343XXX598",
"secret": true,
"footerNote": "Your Customer Id"
}
]
}
]
},
{
"groups": [
{
"title": "Connection mode",
"note": [
"Update how you want to route events from your source to destination. ",
{
"text": "Get help deciding",
"link": "https://www.rudderstack.com/docs/destinations/rudderstack-connection-modes/"
}
],
"icon": "sliders",
"fields": []
}
]
}
]
},
{
"title": "Configuration settings",
"note": "Manage the settings for your destination",
"sections": [
{
"title": "Destination settings",
"note": "Configure advanced destination-specific settings here",
"icon": "settings",
"groups": [
{
"title": "Lytics Stream Settings",
"fields": [
{
"type": "autoComplete",
"label": "Choose your account Specific Stream Name",
"regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$",
"regexErrorMessage": "Invalid Stream Name",
"configKey": "lyticsStreamName",
"apiName": "getStreams"
}
]
}
]
},
{
"title": "Other settings",
"note": "Configure advanced RudderStack features here",
"icon": "otherSettings",
"groups": [
{
"title": "OneTrust consent settings",
"note": [
"Enter your OneTrust consent category IDs if you have them configured. The support for category names is deprecated. We recommend using the category IDs instead of the names as IDs are unique and less likely to change over time, making them a more reliable choice.",
{
"text": "Learn more ",
"link": "https://www.rudderstack.com/docs/sources/event-streams/sdks/consent-manager/onetrust/"
},
"about RudderStack's OneTrust Consent Management feature."
],
"fields": [
{
"type": "tagInput",
"label": "Consent categories",
"note": "Input your OneTrust category IDs by pressing 'Enter' after each entry.",
"configKey": "oneTrustCookieCategories",
"tagKey": "oneTrustCookieCategory",
"placeholder": "e.g: C0001",
"default": [
{
"oneTrustCookieCategory": ""
}
]
}
]
}
]
}
]
},
{
"title": "Stream Wise Property Mapping",
"note": "Map RudderStack Event Properties to Lytics Stream-based Properties. This mapping will referenced from message.properties",
"hideEditIcon": true,
"sections": [
{
"groups": [
{
"title": "RudderStack Event Properties to Lytics Stream-based Properties Mapping",
"fields": [
{
"type": "redirect",
"redirectGroupKey": "streamTraitsMapping",
"label": "Stream-based Property Mapping",
"note": "Map RudderStack events properties to the above chosen Lytics Stream Properties"
}
]
}
]
}
]
},
{
"title": "Timestamp Property Mapping",
"note": "Declare the property to be considered as Timestamp in Lytics",
"sections": [
{
"groups": [
{
"title": "Choose Already Existing Stream-based Properties or Add your own Property name",
"fields": [
{
"type": "autoComplete",
"label": "Choose the field that can be used as timestamp",
"regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$",
"regexErrorMessage": "Invalid Property Name",
"configKey": "timestampField",
"apiName": "customProperty"
}
]
}
]
}
]
}
],
"sdkTemplate": {
"title": "Web SDK settings",
"note": "not visible in the ui",
"fields": []
},
"redirectGroups": {
"streamTraitsMapping": {
"fields": [
{
"type": "dynamicCustomForm",
"label": "Map Rudderstack event properties to Lytics stream-based properties. This is a 1:1 mapping.",
"configKey": "streamTraitsMapping",
"rowFields": [
{
"type": "mappingRow",
"columns": [
{
"type": "textInput",
"configKey": "rudderProperty",
"regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$",
"regexErrorMessage": "Invalid Event Property",
"label": "RudderStack Event Property",
"placeholder": "e.g city"
},
{
"type": "autoComplete",
"configKey": "lyticsProperty",
"regex": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$",
"regexErrorMessage": "Invalid Custom Property",
"label": "Lytics property name",
"placeholder": "e.g companyCity",
"apiName": "customProperty"
}
]
}
]
}
]
}
}
}
}
Loading
Loading