From b4e1ddb391e4e1351fd49099b1b246240bb99241 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Sikora?= Date: Thu, 8 Oct 2020 00:59:25 +0200 Subject: [PATCH] Prepare for release 0.3.0 --- CHANGELOG.md | 11 +++++++++++ README.md | 14 +++++++------- gradle.properties | 2 +- 3 files changed, 19 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e7185ffff..f788d557f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,17 @@ Change Log ========== +Version 0.3.0 *(2020-10-08)* +---------------------------- + +* `factory()` extension is renamed to `featureFactory()` +* Feature flags can have different sources that can be toggled at runtime. +* `feature()` extension enabled setting feature sources with `withSource()` and `withFallbackSource()` functions. +* Gradle plugin has a new `sourcedStorage()` extension. It is responsible for generating a customized `FeatureStorage` based on all available feature sources. +* Gradle plugin has a new `featureSourceFactory()` extension. It works similarly to `featureFactory()` extension except that it collects only feature sources. +* `LaboratoryActivity` is now configured with `configure()` function instead of `initialize()`. +* `LaboratoryActivity` displays features on tabs. This allows to display features and features separately. + Version 0.2.1 *(2020-10-02)* ---------------------------- diff --git a/README.md b/README.md index 5097fd550..93ab581ef 100644 --- a/README.md +++ b/README.md @@ -37,13 +37,13 @@ By default, if a feature is not set, the first enum value that has has `isFallba | Artifact | Description | | ----------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | -| `io.mehow.laboratory:laboratory:0.2.1` | Core of the library. Defines classes and interfaces that you should interact with. It also provides a `Laboratory.inMemory()` method for tests. | -| `io.mehow.laboratory:laboratory-shared-preferences:0.2.1` | Provides implementation of `FeatureStorage` based on `SharedPreferences` and adds R8 rules for features. | -| `io.mehow.laboratory:laboratory-data-store:0.2.1` | Provides implementation of `FeatureStorage` based on Jetpack `DataStore` and adds R8 rules for features. | -| `io.mehow.laboratory:laboratory-inspector:0.2.1` | QA module that allows to preview all features and change them at runtime from one place. | -| `io.mehow.laboratory:laboratory-hyperion-plugin:0.2.1` | QA module that integrates `laboratory-inspector` with the [Hyperion](https://github.com/willowtreeapps/Hyperion-Android). | -| `io.mehow.laboratory:laboratory-gradle-plugin:0.2.1` | Gradle plugin for feature management. It is highly recommended to be used when `laboratory-inspector` is availalbe in the application. | -| `io.mehow.laboratory:laboratory-generator:0.2.1` | Generates feature flags and feature flag factory classes. | +| `io.mehow.laboratory:laboratory:0.3.0` | Core of the library. Defines classes and interfaces that you should interact with. It also provides a `Laboratory.inMemory()` method for tests. | +| `io.mehow.laboratory:laboratory-shared-preferences:0.3.0` | Provides implementation of `FeatureStorage` based on `SharedPreferences` and adds R8 rules for features. | +| `io.mehow.laboratory:laboratory-data-store:0.3.0` | Provides implementation of `FeatureStorage` based on Jetpack `DataStore` and adds R8 rules for features. | +| `io.mehow.laboratory:laboratory-inspector:0.3.0` | QA module that allows to preview all features and change them at runtime from one place. | +| `io.mehow.laboratory:laboratory-hyperion-plugin:0.3.0` | QA module that integrates `laboratory-inspector` with the [Hyperion](https://github.com/willowtreeapps/Hyperion-Android). | +| `io.mehow.laboratory:laboratory-gradle-plugin:0.3.0` | Gradle plugin for feature management. It is highly recommended to be used when `laboratory-inspector` is availalbe in the application. | +| `io.mehow.laboratory:laboratory-generator:0.3.0` | Generates feature flags and feature flag factory classes. | ## QA support diff --git a/gradle.properties b/gradle.properties index 11dcd299b..3185966d9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ GROUP=io.mehow.laboratory -VERSION_NAME=0.2.2-SNAPSHOT +VERSION_NAME=0.3.0 POM_DESCRIPTION=Library for feature flags management.