We plant trees! 馃尦

Gergely Sinka

Gergely Sinka

"Not all code paths return a value." - VS

Inspired by Treelon Musk we decided to do our part in the fight against deforestation and climate change. In Nov 2019 we partnered with a non-profit organization

MyForest to support local forests by planting trees after every purchase of the ConfigCat service and whenever someone gives feedback.

MyForest

ConfigCat's fair pricing policy

Peter Csajtai

Peter Csajtai

Sometimes you just need to make your own dependency injection framework.

The main idea about our pricing is that our prices are fixed, deterministic and there are no hidden fees. Also we offer a forever free plan without requiring any commitment or credit card information. All features are available in all plans - even the free - helping the evaluation process of our customers.

Pricing

How to push feature flag changes to clients right when they happen?

Gergely Sinka

Gergely Sinka

"Not all code paths return a value." - VS

There is a way to stream feature flag and configuration changes to the clients right when they happen. In some cases ConfigCat's pull based architecture does not completely satisfies the requirements when microservices need the latest values instantly, or mobile apps where polling sometimes is a battery consuming anti-pattern.

TL;DR#

Your application subscribes to a PubNub channel to get updates about changes. And use

ConfigCat Webhooks to notify PubNub when a feature flag value gets updated.Sample application in Node.js.![push-noti](/assets/push-noti.png)

Semantic version based user targeting is now available

Gergely Sinka

Gergely Sinka

"Not all code paths return a value." - VS

Satisfying the feature request of our customers from the mobile app development industry, ConfigCat now supports semantic version (SemVer) based user targeting. Typical use case where app builders wish to enable or disable features based on the iOS or Android version on the device their app is running on. For example deciding if 2.3.40 is less than or equals 2.30.4 sometimes not that straightforward by only using the traditional < > = comparators.

semver-menu

Holiday Coding Challenge!

Gergely Sinka

Gergely Sinka

"Not all code paths return a value." - VS

Show us your most innovative idea in using feature flags with ConfigCat and we鈥檒l send you a pack of gifts including your choice of video or music streaming worth $100, or books worth $150 + a pack of ConfigCat and GitHub swag + a commercial ConfigCat subscription.

Switches for future 鈥 feature flags in product development

How using feature flags makes your product development successful and safe?

By the given example you can follow the process from idea to satisfied customers

Software (or even hardware) development could be a real challenge. Not just because it needs all your attention and a lot of time to do but you cannot be sure (even if you made research on the market) that your customers would like the new feature or product.

That is the reason why product development is not just a part of a job, but it is an independent work. It needs specialists, managers, tactics, and tools too. Having a good idea is far too little to give off the perfect software product鈥-鈥妝ou are going to need the best people and the best tools for that.

Announcing ConfigCat Ruby SDK. Yaaaaaay!

Endre Toth

Endre Toth

Large scale enterprise development expert. The father of our SDKs and infrastructure.

We'd like to make ConfigCat avaliable for as many users as possible. Our SDKs are avalible in multiple languages. But still lots of our users missed Ruby support in ConfigCat:

"Does configcat have Ruby sdk??"

"So I am sad you don鈥檛 have a ruby client I can see."

"Are you plannig to support ruby?"

Finally we decided to create a standalone Ruby SDK.
Ruby is an interpreted language. It's very similar to Python and we already have an SDK written in Python. Taking advantage of this, the first idea was that we simply convert our Python code to Ruby and everything will be just fine.

Beginners guide":" Targeting, Segmentation, and Canary Releases

Zoltan David

Zoltan David

One with a vision, answers and a master plan.

You created a new software feature, put it behind a feature flag, and deployed it to production. Now, you want to enable this new feature to some of your users, so you get early feedback, before releasing the new feature to your whole userbase.

But whom to release the new feature first? How to choose the first user segment? And how to target them with feature flag rules?

Lets see some typical real world examples how big companies do it.

Release based on Company, or Email address#

A great first step is to enable the new feature to your colleagues, while keeping it hidden from the rest of the world. This enables you to get early feedback from users inside of your company. You'd be surprised how much bug they'll catch on the first day!

Here is how you can segment and target your colleagues with one simple rule in ConfigCat:

Dogfooding: releasing your software&#39;s new feature to the users from your own company

The example above assumes that everyone in your organization has an email address in the form of jane.doe@mycompany.com, or mike@mycompany.com.

Note how we used the Email property, and the CONTAINS operator to target only those users who work for your company.

This is what needs to be done in your application at the code level:

var user = new User("<userid>") { Email = "jane.doe@mycompany.com" };
var god_mode_enabled = client.GetValue("god_mode_enabled", false, user);

Please note, how we used the god_mode_enabled key and the user object here to check whether God Mode is enabled for jane.doe@mycompany.com.

The example above is in C#, but you can do the same in Java, JS, Python, Go, Ruby, Swift, Kotlin, PHP etc. See examples in other languages.

Release on a Country basis#

Another typical strategy is to release new features to users from a specific country only. This strategy enables you to

Resellers guide":" How to buy a ConfigCat subscription for someone else

Zoltan David

Zoltan David

One with a vision, answers and a master plan.

TL;DR#

If you're a software reseller you are allowed to buy a ConfigCat subscription for your client. You are allowed to resell one subscription to one client only. Of course, you are allowed to resell more subscriptions to the same client.

Here is how to do it.

Step-by-step guide#

  1. register at https//app.configcat.com
  2. go to https://app.configcat.com/plans
  3. click the "change plan" button under the desired plan and follow the instructions
  4. go to https://app.configcat.com/invite
  5. invite your client to the "Administrator" group

If you run into any problem, just drop us an email at support@configcat.com.

Lesser known but cool features in ConfigCat":" Two-Factor Authentication (2FA)

Gergely Sinka

Gergely Sinka

"Not all code paths return a value." - VS

What is 2FA?#

2FA is a way of granting access to users only after presenting two separate pieces of evidence (factors). One of these factors is usually a password which the user should know and the other factor something they have or even something they are. This way you can be sure that only knowing your password won't be enough for an attacker to gain access to your account.

How does 2FA work in ConfigCat?#

In our case the first factor is password you use to login to ConfigCat Dashboard. The second factor is a 6-digit number generated via an Authenticator App.