From a41567e7fdc10680c5d98592f8d605110a409175 Mon Sep 17 00:00:00 2001 From: kwasniew Date: Tue, 14 May 2024 15:14:49 +0200 Subject: [PATCH] docs: feature toggle variants deprecation notice --- website/docs/reference/feature-toggle-variants.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/website/docs/reference/feature-toggle-variants.md b/website/docs/reference/feature-toggle-variants.md index fbdce80f1c..9dfe8fa20d 100644 --- a/website/docs/reference/feature-toggle-variants.md +++ b/website/docs/reference/feature-toggle-variants.md @@ -1,13 +1,18 @@ --- -title: Feature Toggle Variants +title: Feature Toggle Variants (deprecated) --- :::info Availability **Feature toggle variants** were first introduced in Unleash 3.2. + In Unleash 4.21, variants were updated to be **environment-dependent**, meaning the same feature could have different variant configurations in different environments. +Unleash 6.0 deprecates environment-dependent variants in favor of the [strategy variants](./strategy-variants.md). New Unleash instances and those who never used environment variants will +not show them in the UI. Instances that used environment variants will keep them. + ::: + Every toggle in Unleash can have something called _variants_. Where _feature toggles_ allow you to decide which users get access to a feature, _toggle variants_ allow you to further split those users into segments. Say, for instance, that you're testing out a new feature, such as an alternate sign-up form. The feature toggle would expose the form only to a select group of users. The variants could decide whether the user sees a blue or a green submit button on that form. Variants facilitate A/B testing and experimentation by letting you create controlled and measurable experiments. Check [our blog post on using Unleash for A/B/n experiments](https://www.getunleash.io/blog/a-b-n-experiments-in-3-simple-steps) for some more insights into how you can set it up.