All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- No new features!
- No changed features!
- No deprecated features!
- No removed features!
- No fixed issues!
- No security issues fixed!
4.1.0 - 2024-06-27
- KSP support is now stable and no longer experimental. You can now use KSP by following the instructions in the README.
- Update the project to use KTS scripts, convention plugins, version catalogs and other modern Gradle and Android features.
4.0.0 - 2023-10-31
- BREAKING CHANGE: Mini has been updated to use Java 17 instead of Java 8.
- BREAKING CHANGE: Mini states must now implement
mini.State
. - Update all project dependencies.
- Update documentation.
3.1.0 - 2022-09-18
- Add EXPERIMENTAL support for Kotlin Symbol Processing (KSP). Be mindful of the gotchas. You can use KAPT as usual or use KSP by doing the following:
Groovy
Add this to your main build.gradle
:
buildscript {
ext {
ksp_version = "1.7.0-1.0.6"
}
dependencies {
classpath "com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin:$ksp_version"
}
}
And this to your module's build.gradle
apply plugin: "com.google.devtools.ksp"
ksp "com.github.hyperdevs-team.mini-kotlin:mini-processor:$mini_version"
Kotlin
Add this to your main build.gradle.kts
:
buildscript {
dependencies {
val kspVersion = "1.7.0-1.0.6"
classpath("com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin:${kspVersion}")
}
}
And this to your module's build.gradle.kts
plugins {
id "com.google.devtools.ksp"
}
ksp("com.github.hyperdevs-team.mini-kotlin:mini-processor:${miniVersion}")
- Update all project dependencies.
- Update documentation.
3.0.0 - 2021-06-10
- BREAKING CHANGE: Remove RX packages, moved API to full coroutines.
- Add support for injecting view models scoped to the navigation component's graph in Jetpack Compose.
2.0.0 - 2021-05-01
- Change repo ownership to hyperdevs-team. Thanks bq for all the work!
- Change package names from
com.bq.*
tocom.hyperdevs.*
1.4.0 - 2020-12-15
- Upgrade Kotlin to 1.4.21 and Kodein to 7.1.0, apart from other Android dependencies.
1.3.3 - 2020-08-13
- Add proguard rules for most modules that need them.
1.3.2 - 2020-05-27
- Add
allTerminal
,onAllTerminal
andfirstExceptionOrNull
functions to lists ofResource
s.
1.3.1 - 2020-04-22
- Upgrade Kotlin to 1.3.72 and Kodein to 6.5.5, apart from other Android dependencies.
1.3.0 - 2020-03-13
- Add support for incremental annotation processing.
- Fix sources not getting attached to some packages, now they should be visible from Android Studio.
1.2.0 - 2020-02-19
- Add
sharedActivityViewModel
to Kodein extensions to support shared Activity view models.
- Fix
ConcurrentModificationException
s in store subscriptions' iteration by adding safe iteration over them.
- Rename
toggleAbility
totoggleEnabled
as the name was confusing. - Upgraded project dependencies.
IMPORTANT: as a result of upgrading dependencies, you may need to target Java 8.
1.1.2 - 2020-02-07
- Add new utilities in
KodeinAndroidUtils
to injectViewModelProvider.Factory
instances and retrieveViewModel
s withby viewModel(params)
.
1.1.1 - 2020-02-03
- Add new
View
extensions to change view and view lists visibility status and enabled/disabled status.
1.1.0 - 2020-01-28
- Add
TypedTask
class in order to store simple metadata inside aTask
.
1.0.9 - 2020-01-09
- Add support for custom backpressure strategies when calling
Store.flowable
. The default strategy isBackpressureStrategy.BUFFER
.
- Fix
Store.flowable
not unsubscribing correctly when disposed.
1.0.8 - 2019-12-19
- Fix logger not rendering correctly in logcat. Thanks @danielceinos!
1.0.7 - 2019-12-04
- Make
Resource.empty
an object instead of a class.
1.0.6 - 2019-11-20
- Fix
Resource
andTask
toString
functions.
1.0.5 - 2019-11-20
- Fix
Task
toString
function.
1.0.4 - 2019-11-14
- Add
equals
andhashCode
toResource
class to ease comparisons.
1.0.3 - 2019-11-04
- Fix
getOrNull
not returning a value if said value is set-up inResource.loading
1.0.2 - 2019-10-28
Resource.isTerminal
method to check if a Resource is in a terminal state (success
orfailure
)
1.0.1 - 2019-10-23
mini-testing
package adds testing utilities for the library.
1.0.0 - 2019-10-07
- Initial architecture release.