From 07ae1c48b7074d187b25a14c7863cdb5b4aa9922 Mon Sep 17 00:00:00 2001 From: Sankeerth Date: Wed, 8 May 2024 18:02:27 +0530 Subject: [PATCH 1/2] feat: add json module support in Redis (#1353) --- .../destinations/redis/db-config.json | 3 ++- src/configurations/destinations/redis/schema.json | 1 + .../destinations/redis/ui-config.json | 14 ++++++++++++++ 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/src/configurations/destinations/redis/db-config.json b/src/configurations/destinations/redis/db-config.json index 3771f9a53..4e4a2a416 100644 --- a/src/configurations/destinations/redis/db-config.json +++ b/src/configurations/destinations/redis/db-config.json @@ -45,7 +45,8 @@ "caCertificate", "clusterMode", "oneTrustCookieCategories", - "ketchConsentPurposes" + "ketchConsentPurposes", + "useJSONModule" ], "android": ["consentManagement", "connectionMode"], "ios": ["consentManagement", "connectionMode"], diff --git a/src/configurations/destinations/redis/schema.json b/src/configurations/destinations/redis/schema.json index 4186e11f3..5d9184619 100644 --- a/src/configurations/destinations/redis/schema.json +++ b/src/configurations/destinations/redis/schema.json @@ -11,6 +11,7 @@ "password": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|.*" }, "clusterMode": { "type": "boolean", "default": true }, "secure": { "type": "boolean", "default": false }, + "useJSONModule": { "type": "boolean", "default": false }, "prefix": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" diff --git a/src/configurations/destinations/redis/ui-config.json b/src/configurations/destinations/redis/ui-config.json index 1ca979064..947164a6c 100644 --- a/src/configurations/destinations/redis/ui-config.json +++ b/src/configurations/destinations/redis/ui-config.json @@ -46,6 +46,20 @@ "value": "secure", "default": false }, + { + "type": "checkbox", + "label": "Store data using the JSON module", + "value": "useJSONModule", + "default": false, + "preRequisites": { + "featureFlags": [ + { + "value": true, + "configKey": "AMP_use-json-module" + } + ] + } + }, { "type": "checkbox", "preRequisiteField": { From 3960e3f94988a87e53683b8ad0813d245bee561e Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Wed, 8 May 2024 12:33:32 +0000 Subject: [PATCH 2/2] chore(release): 1.73.0 --- 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 4b621bdce..ab2efd1f3 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.73.0](https://github.com/rudderlabs/rudder-config-schema/compare/v1.72.0...v1.73.0) (2024-05-08) + + +### Features + +* add json module support in Redis ([#1353](https://github.com/rudderlabs/rudder-config-schema/issues/1353)) ([07ae1c4](https://github.com/rudderlabs/rudder-config-schema/commit/07ae1c48b7074d187b25a14c7863cdb5b4aa9922)) + ## [1.72.0](https://github.com/rudderlabs/rudder-config-schema/compare/v1.71.2...v1.72.0) (2024-04-29) diff --git a/package-lock.json b/package-lock.json index 46118fcfb..d8abca87d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "rudder-config-schema", - "version": "1.72.0", + "version": "1.73.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "rudder-config-schema", - "version": "1.72.0", + "version": "1.73.0", "license": "MIT", "dependencies": { "ajv": "^8.12.0", diff --git a/package.json b/package.json index f4d3c2d77..8f01cd890 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rudder-config-schema", - "version": "1.72.0", + "version": "1.73.0", "description": "", "main": "src/index.ts", "private": true,