1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
Unleash is the open source feature toggle service.
Go to file
2021-01-25 07:53:53 +01:00
.github Add pull_request and remove pull_request_target 2021-01-07 14:42:31 +01:00
bin fix: use airbnb lint rules directly (#583) 2020-04-14 22:29:11 +02:00
docs Support deprecating and reactivating strategies 2021-01-21 15:53:24 +01:00
examples fix: add TTL to sessions 2020-10-02 16:32:05 +02:00
lib fix: remove fields from /api/client/features respnse (#692) 2021-01-22 13:09:26 +01:00
migrations Support deprecating and reactivating strategies 2021-01-21 15:53:24 +01:00
scripts fix: remove pg_virtualenv scripts 2021-01-19 09:43:19 +01:00
test fix: remove fields from /api/client/features respnse (#692) 2021-01-22 13:09:26 +01:00
website fix: website: reqquire immer 8.0.1 or higher 2021-01-25 07:53:53 +01:00
.editorconfig
.eslintignore
.eslintrc fix: eslint ignorePatterns for OAS 2020-12-04 09:33:50 +01:00
.gitignore
app.json fix: Heroku Postgres add-on version change (#631) 2020-09-18 10:10:35 +02:00
CHANGELOG.md fix: remove fields from /api/client/features respnse (#692) 2021-01-22 13:09:26 +01:00
CODE_OF_CONDUCT.md
LICENSE fix: license year and company 2020-05-12 22:41:36 +02:00
migrator.js fix: use airbnb lint rules directly (#583) 2020-04-14 22:29:11 +02:00
package.json 3.10.1 2021-01-22 13:14:35 +01:00
README.md chore(docs): Add NestJS client library reference 2020-12-24 15:22:05 +01:00
server-dev.js feat: First draft of admin Open API specification (OAS) (#652) 2020-12-03 21:09:16 +01:00
server.js
yarn.lock Bumped unleash-frontend to 3.10.0 2021-01-22 10:22:58 +01:00

Unleash

Build & Tests Coverage Status Deploy

Unleash is a open source feature flag & toggle system, that gives you a great overview over all feature toggles across all your applications and services. It comes with official client implementations for Java, Node.js, Go, Ruby, Python and .NET Core.

Unleash-enterprise 🔗

Unleash is also available in an enterprise edition, which builds on top of the open-source version, with additional features. Go to unleash-hosted.com to learn more about the enterprise offering.

What is a feature toggle?

The main motivation for doing feature toggling is to decouple the process for deploying code to production and releasing new features. This helps reducing risk, and allow us to easily manage which features to enable

Feature toggles decouple deployment of code from release of new features

This repo contains the unleash-server, which contains the admin UI and a place to ask for the status of features. In order to make use of unleash you will also need a client implementation.

Unleash UI

Online demo version available on heroku.

Activation strategies

It's fine to have a system for turning stuff on and off. But some times we want more granular control, we want to decide who to the toggle should be enabled for. This is where activation strategies comes in to the picture. Activation strategies take arbitrary config and allows us to enable a toggle in various ways.

Common activation strategies includes:

  • Active For users with a specified userId
  • GradualRollout to X-percent of our users
  • Active for our beta users
  • Active only for application instances running on host x.

Read more about activation strategies in docs/activation-strategies.md

Variants

Sometimes you need more control than just a boolean flag. Variants provides this and can be used in combination of feature toggles and allow you to return multiple variants from a feature toggle, if it is enabled.

Client implementations

We have official SDK's for Java, Node.js, Go, Ruby and Python. And we will be happy to add implementations in other languages written by you! These libraries makes it very easy to use Unleash in you application.

Official client SDK's:

Clients written by awesome enthusiasts: 🔥

The Client API

The client SDKs provides a simple abstraction making it easy to check feature toggles in your application. The code snippet below shows how you would use Unleash in Java.

if (unleash.isEnabled("AwesomeFeature")) {
  //do some magic
} else {
  //do old boring stuff
}

Running Unleash Service

Run it yourself

Unleash is open source and you are free to run your own instance. Please refer to the getting-started-guide to learn how to run the Unleash Service.

We have made a separate project which runs Unleash inside docker. Please see unleash-docker for details

Unleash as a Service (SaaS)

After numerous request we have created a separate company, Unleash-hosted, which offer Unleash as a Service. Unleash-hosted allows you to focus on you core business and have someone else taking care of hosting and maintaining Unleash.

Go to unleash-hosted.com to learn more about this offering and start using Unleash today. This service also includes official support.

Developer Guide

If you want to contribute to this project you are encouraged to send issue request, or provide pull-requests. Please read the unleash developer guide to learn more on how you can contribute.

I Need help

Other resources