Unleash 4.13: Advanced user segments

Unleash 4.13 is here and my, oh my, do we have some good stuff in store for you this time around! We know you’ve been wanting to share user lists and other constraints between flags, and we’ve heard you: segments will help you do just that! There are also some really nice improvements for the user experience, performance improvements in the API, and improved documentation baked in. So strap in and read on, ’cause here we go!

🎯 Segments

One of the most requested features has been the ability to create reusable filters for users. It’s been in development for a while and it’s finally here! Thank you so much to everyone who’s helped us make this feature 🙏

Configure Segment in Unleash Feature Management


A segment is a collection of constraints that can be applied to as many feature flag strategies as you want. Even better, the segment will stay in sync across the strategies. So if you update one of the constraints in the segment, that change will propagate to all strategies that use the segment and they’ll start using the new configuration straight away.

Create a Segment in Unleash Feature Toggle


So if you want a set of flags to only activate for mobile users or users in a specific region or mobile users in a specific region, now you can! And if you need to change the configuration, they’ll all update right away.

As always, refer to the segments reference documentation for more information.

🕵️‍♀️ Superpowered search

On any page with a search bar, ctrl+k (cmd+k for macOS users) will move your focus directly to it. Additionally, on pages where you can search for feature flags, we’ve supercharged the search bar with the option to filter your results by project and state. For instance, you can search for “project:my-project state:active new” and it will show you all the active flags from the “my-project” project that contains the word “new”.

Search Unleash Feature Management


Remembering what filters exist can be tricky, though, so the search bar also helps you by showing available filters and explaining what your search does. Nifty, huh?

🏎️ API speedups

Want your API endpoints to be 2–5x faster? Of course you do! We’ve enabled an optimization to the client SDKs’ features endpoint for all Pro and Enterprise customers by default.

We’ve been using this optimization in our cloud offering for over a year, and we’re very excited to finally be able to share this with you! You don’t need to do anything, just sit back and enjoy the extra velocity.

In the immortal words of everyone’s favorite hedgehog: Gotta go fast! 🦔💨

📚 Event documentation

Ain’t it frustrating when documentation is incomplete or ambiguous? Yeah, we know. We’re working tirelessly on improving that too, and we’ve got a recent improvement to tell you about.

Most actions you perform in Unleash trigger an event of some sort. The events can be viewed either in the admin UI or fetched via the API. However, the documentation for the events API and for the types of events that Unleash emits used to be … lacking. So we redid it from the ground up.

The updated events documentation contains an exhaustive list of all the events that Unleash emits, when they trigger, and what data they contain. That should give you all the information you need to start using any event. If you still find the documentation lacking or have other feedback, you can always reach out to us on Slack!

🧺 … and more!

In addition to the main points in the preceding paragraphs, we also have more features for you. There’s more improved tables and table filtering functionality in the UI, and a new configuration option to clear the local unleash session, but keep cookies and session data on the same domain (see Further customization > session in the configuration docs).

There’s no time like the present: grab the new release, try out some segments and the other new features and let us know what you think!

Want to get started?


Share this article