New Dynamic Flags combine the benefits of Feature Flags and Remote Config
We just launched our latest platform upgrade, Dynamic Flags. We’re super excited about this release as it’s a core addition to the Flagsmith platform. At a high-level, Dynamic Flags enables you to be a lot more expressive with your feature flags and lays the foundations for our upcoming major feature release: Multivariate Flags!
When we first started working on Flagsmith in 2017, we wanted to be able to control more than just boolean flags, and so we built the platform with the ability to manage other primitives too: Strings, Integers, and Floats. We called these flags “Remote Config”.
Up until now, flags had to be one or the other; either Booleans or Remote Config values. With Dynamic Flags, you can leverage both of these concepts together in a single flag. Basically, we merged Booleans and Remote Config together. We call this Dynamic Flags.
Let’s demonstrate this via some code. We can now write something like this:
Note that we are using the same single feature flag here both to control whether the font size is overridden at all (the boolean) and if so what the font size should be (the config value).
Let’s jump into a couple of examples.
- You want to be able to control whether a feature is enabled within your product. If the feature is disabled, you also want to be able to control a message to your users with an explanation as to why the feature is missing. Prior to Dynamic Flags, you would have needed to create two flags to achieve this; one to control the feature boolean and the other to manage to message text. With Dynamic Flags, you can manage the feature showing, and the message text directly with one flag.
- You’re building an ecommerce store, and want to be able to control flash sales on your site. Feature flags are a perfect use case for this. With Dynamic Flags, you can use the boolean to control whether the flash sale is running, but you could also control the % discount your customers receive within the same flag, as an Integer value.
Dynamic Flags also work perfectly with Segments, so you can override both the boolean and the config value on a per Segment basis too.
This change was pretty seamless; the SDK clients and SDK REST endpoints don't need to be upgraded. You can simply call `hasFeatureFlag(“flag_name”)` as well as `getFeatureFlagValue(“flag_name”)`.
This has also cleared up our UI a fair amount - you no longer have to worry about what type of flag you want to create up front. Hopefully this allows you to reduce the number of flags within your platform by combining relevant flags that you had in pairs.

Flagsmith co-founder. Besides Flagsmith, Ben has founded several other companies and he currently serves on the Governance Board of OpenFeature, a CNCF Sandbox Project. He's an advocate for open standards and open source and also hosts “The Craft of Open Source" podcast, where he interviews creators and maintainers from the open-source community.

A Conversation with Komerční Banka's Chief Software Architect


GitOps for Feature Flags Using Terraform and Terrateam


Why It’s Time to Test in Production (+ How to Do It Safely)


How We Improved Our Docker Image Security Using Chainguard's Wolfi


6 Best Enterprise-Grade Split Alternatives & Competitors


How to Roll out Pricing Changes With Zero Customer Complaints


How to Use Feature Flags for Trunk-Based Development


7 Best LaunchDarkly Alternatives & Competitors


How Global Banks Use Feature Flags to Stay Competitive


How To Guide: Flagsmith Grafana Integration


New in Flagsmith: 2024 Feature Roundup


Don’t Let a Flawed Release Take Your Company Down


How to Guide: Flagsmith GitHub Integration


6 Best Firebase Remote Config Alternatives & Competitors


How to Transition to Modern Feature Management in Banking


5 Feature Flag Management Pitfalls To Avoid To Keep Your Flags in Check

.png)
The Best Thing about Founding a Remote-First Company? Pickled Onion Monster Munch and The Beautiful Game

.png)
Flagsmith Jira Integration Guide: A Comprehensive How-to Guide

.png)
Guide: How to Create Observability-Driven Development with Feature Flags

.png)
Build vs. Buy for Feature Flags: My Experience as a CTO with a 20+ Engineer Team


Announcing the Flagsmith Referral Programme

.png)
How We Measure Feature Flags’ Success


Customer Story: Serenis

.png)
Announcing the Flagsmith Jira Integration


Spring Boot Feature Flags: A Step-by-Step Implementation Guide with a Working Java Spring Boot Application


Employees on Bootstrapping


Our POV: When Bootstrapping Works (and When It Doesn't)

How to Onboard Feature Flag Management Tools

When is it time to move to feature flag software?

Why We Bootstrap

The Enshittification of Basically all Digital Design. But in this Case, Specifically, the Slack Redesign.

Ruby Feature Flags: A Step-by-Step Guide to Implementing Feature Flags in a Ruby on Rails Application

Unlocking Efficiency: Transitioning to Modern CI Processes


Customer Story: Vontobel

It's Time to Move to Modern Observability Tools and Progressive Delivery: Insights from Dynatrace

Moving to Modern Software Development and Continuous Integration for Banks: Insights from Romano Roth (Zühlke)

Developer-Led Podcast: Bootstrapping a Commerical Open Source Company to $1M ARR

Open Source Startup Podcast: Why Feature Flagging Should be Open Source with Ben Rometsch

Get The Analytics You Need: A/B Testing with Feature Flags and Your Existing Stack

Open-Source in Banking: Rob Moffat from FINOS Talks Barriers, Benefits, and Pushing the Battleship to Adoption


Customer Story: Rain (VP of Platform Engineering)

Customer Story: Rain (Tech Lead)


PHP Feature Flags: A Step-by-Step Guide in a Working Laravel Application


What is Canary Deployment? When and How To Use It


Node.js Feature Flags: a Step-by-Step Implementation Guide with an Express.js Example


Integrate Heap with Flagsmith


Security Benefits of Self-Hosting Feature Flags On-Prem | Flagsmith


Best Practices to Achieve Automated Testing & Zero Downtime Deployments

Deployment is not a release; a step-by-step guide with feature flags


Feature Flags vs Remote Configuration: What’s the Difference?


Get the most out of your Feature Flags with these best practices

Customer Story: Palo Alto Software


What I’ve learned creating a React Native performance monitor

.png)
How to Setup Feature Flags in Android using Kotlin

Customer Story: Smartex

Our First Remote Company Off-Site: What Worked, What Didn’t, and What We’ll Do Differently Next Time

A Decision Continuum: Deciding Between Feature Flagging Software vs. an In-House Solution

Customer Story: Rabbit Care

Customer Story: alt.bank

The actual infrastructure costs of running a global Edge API (part 2)

Integrating your Flagsmith Project with Datadog: A Step-By-Step Guide with Real-Time Metrics

Python Feature Flags & Toggles: A Step-by-Step Setup Guide in a Flask Application


Java Feature Flags & Toggles: A Step-by-Step Guide with a Working Java Application

Adventures in Terraform: How and why we built our Terraform Provider


Angular Feature Flags: a Step-by-Step Guide with a Working Application


Golang Feature Flags: A Step-by-Step Implementation Guide with a Working application


Elixir feature flags: a step-by-step guide with an Elixir example

How Banks Implement Feature Flags - Interview with KB Bank | Flagsmith

.NET feature flag: a step-by-step guide with Xamarin example

Our scariest release to date!

The actual infrastructure costs of running SaaS at scale (billions of requests/month)


How To Use Swift Feature Flags: iOS App with code examples


Our CI/CD and release management process at Flagsmith


How eFuse Uses Flagsmith for A/B & Multivariate Testing

Flagsmith Submits OpenFeature as CNCF Sandbox Project | Flagsmith


Using Flutter Feature Flags to Release Features Without Risk | Flagsmith


How to Use JavaScript Feature Flags & Toggles to Deploy Safely [React.js Example]


6 Metrics to Monitor When Rolling Out a New Feature Flag


How Inflow Improves Conversions Through A/B Testing with Flagsmith and Mixpanel

5 learnings going from open source project to commercial open source business

Feature Flags Best Practices: The Complete Guide

Decoupling Deployment from Release with Feature Flags

Use feature flags to release code safely in any git branching strategy

Feature Flag Analytics for users of Flagsmith and Amplitude

How to Enhance Phased Rollouts with Feature Flags

React Native Remote Config: A Step-by-Step Implementation Guide

Decouple deployment from release to achieve continuous delivery with Feature Flags


Integrate New Relic with Flagsmith


Flagsmith & AppDynamics Enable Advanced Performance Analysis

Introducing Multivariate Feature Flags to enable seamless AB Testing and Canary Deployments


Monolith vs. Microservice architecture: Embracing the Monolith safely with feature flags

Flagsmith Release! v2.4.0

Self Hosting all the things

Is it time to delete your staging environment?

My Mac Setup - 2020/21: Getting close to OS nirvana

.webp)