Repository navigation
v2.0.0
PulseMVI is now PulseDesktop — a framework for Compose Desktop apps rather than a single MVI
library. 2.0.0 renames the coordinates, so updating from 1.x is a change to your dependency lines and
to one import package.
Migrating from 1.x
The repository moved to kaleidot725/PulseDesktop, which changes the JitPack group, and the artifacts
drop the prefix that repeated the old name.
| 1.x | 2.0.0 | |
|---|---|---|
| Core | com.github.kaleidot725.PulseMVI:pulsemvi |
com.github.kaleidot725.PulseDesktop:mvi |
| Navigation 3 | com.github.kaleidot725.PulseMVI:pulsemvi-navigation3 |
com.github.kaleidot725.PulseDesktop:navigation |
| Navigation 3 package | jp.kaleidot725.pulse.mvi.navigation3 |
jp.kaleidot725.pulse.navigation |
dependencies {
implementation("com.github.kaleidot725.PulseDesktop:mvi:v2.0.0")
implementation("com.github.kaleidot725.PulseDesktop:navigation:v2.0.0")
}The core package jp.kaleidot725.pulse.mvi and every class name — PulseViewModel, PulseContainer,
PulseContent, PulseHost and the rest — are unchanged. Versions already published keep their old
coordinates.
New: the architecture artifact
The conventions PulseDesktop expects are now Konsist assertions your own test suite runs.
testImplementation("com.github.kaleidot725.PulseDesktop:architecture:v2.0.0")| Assertion | Checks |
|---|---|
assertPulseMviConventions() |
state and message types, ViewModel and Container names, the screen / section / component split, and a <Component>_Preview for every component |
assertPulseDomainConventions() |
a repository exposes Flow / StateFlow and returns kotlin-result's Result<V, E> from one-shot calls |
assertPulseModuleConventions() |
modules laid out like Now in Android depend on each other the way Clean Architecture asks; other names through PulseModuleLayout |
assertPulseKoinConventions() |
Koin modules are declared in the app module |
See Architecture checks.
Also
- The demo is a multi-module app — app, feature, and a domain, data and design system under
core—
wired with Koin, keeping its counts in a DataStore, and passing every architecture check - Test coverage is measured with Kover, and the pull request check fails below 95% of lines and
instructions - The documentation presents PulseDesktop as a desktop framework, in English and Japanese
What's Changed
🚀 New Features
- Publish the PulseMVI conventions as Konsist assertions by @kaleidot725 in #26
- Check a multi-module layout with assertPulseModuleConventions by @kaleidot725 in #32
- Check how repositories hand out data with assertPulseDomainConventions by @kaleidot725 in #33
- Require a preview for every component by @kaleidot725 in #34
- Wire the demo with Koin, and keep Koin modules in the app by @kaleidot725 in #36
🛠 Refactoring
- Rename the project to PulseDesktop and the artifacts to mvi, navigation and architecture by @kaleidot725 in #28
🐛 Bug Fixes
- Fix the black text on the dark background in the demo by @kaleidot725 in #35
📝 Documentation
- Give PulseMVI an icon by @kaleidot725 in #20
- Present the three coordination features as a table by @kaleidot725 in #21
- Proofread both locales for rhythm and structure by @kaleidot725 in #22
- Document the Konsist artifact by @kaleidot725 in #27
- Rewrite the README and the documentation for PulseDesktop by @kaleidot725 in #30
- Bring the documentation up to date for 2.0.0 by @kaleidot725 in #37
🧹 Maintenance
- Group documentation PRs in generated release notes by @kaleidot725 in #23
- Measure test coverage with Kover and gate the pull request check by @kaleidot725 in #24
- Split the test fixtures out and name each case after the promise it keeps by @kaleidot725 in #25
Full Changelog: v1.0.0...v2.0.0