Skip to content

Releases: v1rus-dev/SimpleMVI

SimpleMVI 0.3.0

26 Apr 18:51

Choose a tag to compare

🚀 SimpleMVI 0.3.0 — First Stable Release

SimpleMVI is a small Kotlin Multiplatform library for explicit MVI-style state containers — no reducers, no action pipelines, no middleware, no store framework required.


📦 What's Included

simple-mvi-core

  • StateUi, IntentUi, and EffectUi marker contracts
  • SimpleMVI<State, Intent, Effect> interface
  • mvi(...) store factory
  • Observable UI state through StateFlow
  • One-time UI effects through a separate effects flow
  • updateState, emitEffect, and tryEmitEffect
  • Configurable effect buffering with extraBufferCapacity and BufferOverflow
    simple-mvi-compose
  • MviViewModel for Compose and Compose Multiplatform screens
  • sendEffect(...) helper inside ViewModels
  • CollectEffectsUiEvent(...) for lifecycle-aware one-time effect collection
    simple-mvi-android
  • SavedStateHandle.getOrPut(...) helper for route arguments and small saved values

🌍 Supported Platforms

  • Android
  • iOS
  • Compose Multiplatform

⚙️ Installation

dependencies {
    implementation("io.github.v1rus-dev:simple-mvi-core:0.3.0")
    implementation("io.github.v1rus-dev:simple-mvi-compose:0.3.0")
    implementation("io.github.v1rus-dev:simple-mvi-android:0.3.0")
}

SimpleMVI 0.2.0

25 Apr 21:38

Choose a tag to compare

SimpleMVI 0.2.0 Pre-release
Pre-release

SimpleMVI 0.2.0 updates the public package namespace and Maven coordinates before the library stabilizes.

What's changed

  • Changed Kotlin package namespace from yegor.cheprasov.simplemvi to io.github.v1rusdev.simplemvi.
  • Kept Maven group under the verified Maven Central namespace: io.github.v1rus-dev.
  • Renamed the Android helper artifact to avoid conflicts with Kotlin Multiplatform Android publications.
  • Updated README installation snippets and imports.
  • Improved Maven Central publishing metadata and CI configuration.

Modules

  • io.github.v1rus-dev:simple-mvi-core:0.2.0
  • io.github.v1rus-dev:simple-mvi-compose:0.2.0
  • io.github.v1rus-dev:simple-mvi-android:0.2.0

New imports

import io.github.v1rusdev.simplemvi.core.*
import io.github.v1rusdev.simplemvi.compose.*
import io.github.v1rusdev.simplemvi.compose.android.*

SimpleMVI 0.1.0

25 Apr 21:21

Choose a tag to compare

SimpleMVI 0.1.0 Pre-release
Pre-release

Initial development release of SimpleMVI.

What's included

  • Core MVI contracts for State, Intent, and Effect.
  • Lightweight SimpleMVI state container with StateFlow-based UI state.
  • One-time UI effects via Flow.
  • Compose Multiplatform ViewModel base class.
  • Lifecycle-aware Compose effect collection helper.
  • Android SavedStateHandle helper.

Modules

  • io.github.v1rus-dev:simple-mvi-core:0.1.0
  • io.github.v1rus-dev:simple-mvi-compose:0.1.0
  • io.github.v1rus-dev:simple-mvi-compose-android:0.1.0

This is an early release while the API and examples are still being finalized.