Skip to content

Releases: MiSikora/laboratory

1.1.0

13 Jun 21:17
Compare
Choose a tag to compare

Changed

  • Upgrade to Kotlin 1.8.21.
  • Upgrade to Coroutines 1.6.4.
  • Upgrade to Gradle 8.1.1.
  • Upgrade to Wire 4.7.0.
  • Upgrade to KotlinPoet 1.14.2.
  • Upgrade to Hyperion 0.9.37.
  • Upgrade to AppCompat 1.6.1.
  • Upgrade to ViewModel-ktx 2.6.1.
  • Upgrade to Fragment-ktx 1.5.7.
  • Upgrade to RecyclerView 1.3.0.
  • Upgrade to Material 1.9.0.
  • Upgrade target and source compatibilities versions to Java 17.
  • Change compile and target SDK to 33.

1.0.3

01 Oct 10:29
Compare
Choose a tag to compare

Fixed

  • Generating feature flags and related classes to empty Kotlin source sets in Kotlin 1.7.20.

1.0.2

29 Sep 22:03
Compare
Choose a tag to compare

Fixed

  • Fixed IllegalArgumentException: Did not find Kotlin source set after upgrading to Kotlin 1.7.20.

1.0.1

29 Sep 21:57
Compare
Choose a tag to compare

Added

Removed

  • CoreKtx dependency.

1.0.0

06 Feb 19:26
Compare
Choose a tag to compare

Added

  • setOptions(options) overload which accepts collection instead of varargs.

Removed

  • ConstraintLayout dependency.
  • DynamicAnimation dependency.

1.0.0-rc2

28 Dec 18:16
Compare
Choose a tag to compare

Changed

  • SharedPreferencesFeatureStorage no longer marked as experimental due to coroutines.
  • Upgrade to Kotlin 1.6.10.
  • Upgrade to Coroutines 1.6.0.
  • Upgrade to Wire 4.0.1.

Fixed

  • Handle usage of deprecated features in a generated OptionFactory.

Removed

  • Builders for generator models. Models are now created via constructors and throw if data is invalid.
  • GenerationFailure interface.
  • Arrow dependency.

1.0.0-rc1

22 Dec 18:41
Compare
Choose a tag to compare

Added

  • Multi-module setup no longer includes other modules implicitly. Instead each module needs to be included via dependency function in Gradle.
    laboratory {
      featureFactory()
    
      // Before, these were included implicitly.
      dependency(project(":module-a"))
      dependency(project(":module-b"))
    }

Changed

  • Upgrade Android target and compile SDK to 31.
  • Upgrade to LifecycleViewmodelKtx 2.4.0.
  • Upgrade to KotlinPoet 1.10.2.
  • Upgrade to Wire 4.0.0.
  • Upgrade to Kotlin 1.6.0.
  • Upgrade to ConstraintLayout 2.1.2.
  • Upgrade to FragmentKtx 1.4.0.
  • Upgrade to AppCompat 1.4.0.

Removed

  • Groovy DSL introduced in 0.9.0 for adding feature flags.
  • projectFilter properties from Gradle plugin. Use explicit dependencies instead.
  • Deprecated API.

Fixed

  • Overrides of sources in DefaultOptionFactory are now respected by Laboratory - #220.

0.14.0

11 Oct 18:21
Compare
Choose a tag to compare

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.

0.13.1

27 Jun 09:41
Compare
Choose a tag to compare

Changed

  • Upgrade to Kotlin 1.5.20.
  • Upgrade to RecyclerView 1.2.1.
  • Upgrade to FragmentKtx 1.3.5.
  • Upgrade to DataStore 1.0.0-beta02.
  • Upgrade to KotlinPoet 1.9.0.
  • Upgrade to CoreKtx 1.5.0.
  • Upgrade to AppCompat 1.3.0.

0.13.0

17 May 15:17
Compare
Choose a tag to compare

Changed

  • Drop deprecated @JvmDefault and switch to JVM default modes.
  • Upgrade to Kotlin 1.5.0.
  • Upgrade to Coroutines 1.5.0.
  • Upgrade to AGP 4.2.1.
  • Upgrade to KotlinPoet 1.8.0.
  • Upgrade to RecyclerView 1.2.0.
  • Upgrade to Hyperion 0.9.32.
  • Upgrade to FragmentKtx 1.3.3.
  • Upgrade to DataStore 1.0.0-beta01.