Skip to content

v3.1.0

Choose a tag to compare

@kaleidot725 kaleidot725 released this 01 Nov 12:51
· 32 commits to main since this release
0111ea1

3.1.0 adds a check to the architecture artifact's MVI conventions: under a feature's root, the only packages are content, section and component. mvi and navigation are unchanged.

dependencies {
    implementation("com.github.kaleidot725.PulseDesktop:mvi:v3.1.0")
    implementation("com.github.kaleidot725.PulseDesktop:navigation:v3.1.0")
    testImplementation("com.github.kaleidot725.PulseDesktop:architecture:v3.1.0")
}

Checks

3.0.0 3.1.0
assertViewsHaveARole assertFeaturePackagesHaveARole — every file in a feature, not only composables, is at its root or under content, section or component

assertPulseMviConventions now runs assertFeaturePackagesHaveARole. assertViewsHaveARole is deprecated and still available. Files generated under build/generated, such as the Res class of Compose resources, are not checked.

Migrating from 3.0.0

  • Move packages of your own under a feature, such as text or resource, into component; a pure helper such as a label read with stringResource belongs there
  • Replace calls to assertViewsHaveARole with assertFeaturePackagesHaveARole

See Architecture checks for the details.