Skip to content

0.14.0

Compare
Choose a tag to compare
@github-actions github-actions released this 11 Oct 18:21
· 162 commits to trunk since this release

Added

  • Better integration with remote sources, like Firebase, via OptionFactory interface. It creates feature options based on a feature key and an option name.
  • Code generation of option factory via Gradle plugin.

Changed

  • Make Feature and other related classes covariant.
  • FeatureStorage functions are no longer parameterized over Feature. They accept raw class type instead.
  • Generator and Gradle plugin no longer validate package names, duplicates and other things that are checked by compiler.
  • Model builders accept now ClassName in constructor.
  • Mark SharedPreferencesFeatureStorage with ExperimentalCoroutinesApi annotation.
  • Upgrade to Kotlin 1.5.31.
  • Upgrade to Material 1.4.0.
  • Upgrade to CoreKtx 1.6.0.
  • Upgrade to DataStore 1.0.0.
  • Upgrade to AGP 4.2.2.
  • Upgrade to Hyperion 0.9.34.
  • Upgrade to FragmentKtx 1.3.6.
  • Upgrade to AppCompat 1.3.1.
  • Upgrade to ConstraintLayout 2.1.1.
  • Upgrade to ArrowKt 1.0.0.
  • Upgrade to Coroutines 1.5.2.
  • Upgrade to KotlinPoet 1.10.1.

Deprecated

  • FeatureStorage.Companion.sharedPreferences(Context) function. Use overload that accepts SharedPreferences instead.
  • FeatureStorage.Companion.dataStore(() -> File) function. Use overload that accepts DataStore instead.
  • FeatureStorage.Companion.dataStore(Context, String) function. Use overload that accepts DataStore instead.
  • generate() methods on generation models. Use prepare() and operate on FileSpec directly instead.

Removed

  • Dependency on Kyrie.
  • Dependency on JCenter.