From a2f34c51cefec7a1c53a915d1215aab487358dd2 Mon Sep 17 00:00:00 2001 From: Lajos Szoke Date: Tue, 14 Jul 2026 09:30:42 +0200 Subject: [PATCH 1/7] json validation --- website/docs/main-concepts.mdx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/website/docs/main-concepts.mdx b/website/docs/main-concepts.mdx index 242dcee2..4577e010 100644 --- a/website/docs/main-concepts.mdx +++ b/website/docs/main-concepts.mdx @@ -44,6 +44,11 @@ ConfigCat supports two value-modes for feature flags: Learn more about [predefined variations](/advanced/predefined-variations), including when to use this value-mode, how to convert between the two value-modes, and best practices. ::: +### JSON validation for text settings + +You can enable JSON validation for text settings to ensure their values are always valid JSON. When this option is turned on, ConfigCat enforces JSON validity for the setting's value. +Your application will get a string value. You will need to parse it into JSON if necessary. + ## Config A _Config_ is a collection of _Settings_. _Configs_ help you organize settings around topics, or around your software components. A _Config_ is like an online version of a traditional config file. From 4e2fd470bb4237e600f110dd54bc33f1355c71cf Mon Sep 17 00:00:00 2001 From: Lajos Szoke Date: Tue, 14 Jul 2026 10:01:42 +0200 Subject: [PATCH 2/7] better place for json validation --- website/docs/main-concepts.mdx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/website/docs/main-concepts.mdx b/website/docs/main-concepts.mdx index 4577e010..4648fc23 100644 --- a/website/docs/main-concepts.mdx +++ b/website/docs/main-concepts.mdx @@ -28,6 +28,11 @@ A _Feature Flag_ is a _Setting_ of type Bool. | Whole Number | Integer | Any whole number within the range of `Int32`. | | Decimal Number | Double | Any decimal number within the range of `double`. | +#### JSON validation for text settings + +You can enable JSON validation for text settings to ensure their values are always valid JSON. When this option is turned on, ConfigCat enforces JSON validity for the setting's value. +Your application will get a string value. You will need to parse it into JSON if necessary. + ### Free-form values vs predefined variations ConfigCat supports two value-modes for feature flags: @@ -44,11 +49,6 @@ ConfigCat supports two value-modes for feature flags: Learn more about [predefined variations](/advanced/predefined-variations), including when to use this value-mode, how to convert between the two value-modes, and best practices. ::: -### JSON validation for text settings - -You can enable JSON validation for text settings to ensure their values are always valid JSON. When this option is turned on, ConfigCat enforces JSON validity for the setting's value. -Your application will get a string value. You will need to parse it into JSON if necessary. - ## Config A _Config_ is a collection of _Settings_. _Configs_ help you organize settings around topics, or around your software components. A _Config_ is like an online version of a traditional config file. From e4733e7dc6cbd599fa1bca0e59f28aeb9465091b Mon Sep 17 00:00:00 2001 From: Lajos Szoke Date: Tue, 14 Jul 2026 10:22:17 +0200 Subject: [PATCH 3/7] news --- website/docs/news.mdx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/website/docs/news.mdx b/website/docs/news.mdx index 568868b5..db8d7737 100644 --- a/website/docs/news.mdx +++ b/website/docs/news.mdx @@ -11,6 +11,18 @@ Here, you'll find all the latest updates, enhancements, and new features we've a {/* This page must be in sync with the news page on the Dashboard: https://github.com/configcat/app/blob/master/src/app/home-module/news/news.component.html */} +## JSON validation for text settings + +#### Jul 17, 2026 + +You can now enable **JSON validation** for text settings, so values must always be valid JSON. + +This can be turned on not only for newly created settings, but for existing flags/settings as well on the edit feature flag dialog. + +When enabled, ConfigCat validates the value before saving to help prevent invalid JSON from being published. + +--- + ## Feature Flags for Startups: Meet the ConfigCat Startup Program #### Jun 17, 2026 From 54768095438f832666be60067382c5a88a6360bb Mon Sep 17 00:00:00 2001 From: Lajos Szoke <63732287+laliconfigcat@users.noreply.github.com> Date: Tue, 14 Jul 2026 11:11:02 +0200 Subject: [PATCH 4/7] Update website/docs/main-concepts.mdx Co-authored-by: adams85 <31276480+adams85@users.noreply.github.com> --- website/docs/main-concepts.mdx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/website/docs/main-concepts.mdx b/website/docs/main-concepts.mdx index 4648fc23..fe320e21 100644 --- a/website/docs/main-concepts.mdx +++ b/website/docs/main-concepts.mdx @@ -30,8 +30,9 @@ A _Feature Flag_ is a _Setting_ of type Bool. #### JSON validation for text settings -You can enable JSON validation for text settings to ensure their values are always valid JSON. When this option is turned on, ConfigCat enforces JSON validity for the setting's value. -Your application will get a string value. You will need to parse it into JSON if necessary. +For text settings, there is an additional option to require valid JSON values. When turned on, ConfigCat will only allow valid JSON values to be entered. + +However, please note that this means validation only. Your application will still get a string value, and you will need to parse it into JSON manually if necessary. ### Free-form values vs predefined variations From 965d3fb6744e84c55331a754e47c3d0610da4059 Mon Sep 17 00:00:00 2001 From: Lajos Szoke Date: Tue, 14 Jul 2026 11:35:29 +0200 Subject: [PATCH 5/7] news --- website/docs/news.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/docs/news.mdx b/website/docs/news.mdx index db8d7737..2ebc2d93 100644 --- a/website/docs/news.mdx +++ b/website/docs/news.mdx @@ -15,11 +15,11 @@ Here, you'll find all the latest updates, enhancements, and new features we've a #### Jul 17, 2026 -You can now enable **JSON validation** for text settings, so values must always be valid JSON. +We implemented a new option for text settings that allows you to **require valid JSON values**. -This can be turned on not only for newly created settings, but for existing flags/settings as well on the edit feature flag dialog. +This can be turned on for newly created text settings, and for existing ones as well, in the **Edit feature flag** dialog. -When enabled, ConfigCat validates the value before saving to help prevent invalid JSON from being published. +When enabled, ConfigCat validates setting values before saving, ensuring that no invalid JSON is published. --- From 5b2b7a5f4400928aa409091c669c761a6ab18311 Mon Sep 17 00:00:00 2001 From: Lajos Szoke <63732287+laliconfigcat@users.noreply.github.com> Date: Tue, 14 Jul 2026 11:45:31 +0200 Subject: [PATCH 6/7] Update website/docs/main-concepts.mdx Co-authored-by: adams85 <31276480+adams85@users.noreply.github.com> --- website/docs/main-concepts.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/main-concepts.mdx b/website/docs/main-concepts.mdx index fe320e21..2813ac35 100644 --- a/website/docs/main-concepts.mdx +++ b/website/docs/main-concepts.mdx @@ -30,7 +30,7 @@ A _Feature Flag_ is a _Setting_ of type Bool. #### JSON validation for text settings -For text settings, there is an additional option to require valid JSON values. When turned on, ConfigCat will only allow valid JSON values to be entered. +For text settings, there is an additional option to require setting values to be valid JSON. When turned on, ConfigCat will only allow valid JSON values to be entered. However, please note that this means validation only. Your application will still get a string value, and you will need to parse it into JSON manually if necessary. From 402da87f1c73872c5f492b3f82e6cd0c2f495669 Mon Sep 17 00:00:00 2001 From: Lajos Szoke Date: Wed, 15 Jul 2026 13:14:42 +0200 Subject: [PATCH 7/7] news date --- website/docs/news.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/news.mdx b/website/docs/news.mdx index 2ebc2d93..77ba5c1a 100644 --- a/website/docs/news.mdx +++ b/website/docs/news.mdx @@ -13,7 +13,7 @@ Here, you'll find all the latest updates, enhancements, and new features we've a ## JSON validation for text settings -#### Jul 17, 2026 +#### Jul 15, 2026 We implemented a new option for text settings that allows you to **require valid JSON values**.