mutekt

Simplify mutating "immutable" state models (a Kotlin multiplatform library)

APACHE-2.0 License

Stars
253

Bot releases are visible (Hide)

mutekt - v1.0.0-ios Latest Release

Published by github-actions[bot] over 1 year ago

What's New

Added support for the iOS platform (for usage in KMM).


Full Changelog: https://github.com/PatilShreyas/mutekt/compare/v1.0.0...v1.0.0-ios

mutekt - v1.0.1

Published by github-actions[bot] over 1 year ago

What's New

Added support for the iOS platform (for usage in KMM).


Full Changelog: https://github.com/PatilShreyas/mutekt/compare/v1.0.0...v1.0.1

mutekt - v1.0.0

Published by github-actions[bot] over 1 year ago

The first stable release 🎉

What's new

  • [#25] Added a generated function to create an instance of the immutable model.
  • [#26] Added a generated extension function for the Immutable model to be able to convert it into a mutable model

Full Changelog: https://github.com/PatilShreyas/mutekt/compare/v1.0.0-beta01...v1.0.0

mutekt - v1.0.0-beta01

Published by github-actions[bot] over 1 year ago

What's new

  • Added Kotlin Multiplatform support (Thanks to @DVDAndroid for contribution)

Full Changelog: https://github.com/PatilShreyas/mutekt/compare/v1.0.0-alpha03...v1.0.0-beta01

mutekt - v1.0.0-alpha01

Published by github-actions[bot] about 2 years ago

mutekt - v1.0.0-alpha03

Published by PatilShreyas about 2 years ago

What's Changed

  • [#9] Added support for updating multiple state fields atomically with Mutekt-generated mutable model. Just use update{} on the instance of mutable model.

Example:

val state = MutableNotesState(...)

state.update {
  isLoading = false
  notes = listOf("Lorem Ipsum")
}

Full Changelog: https://github.com/PatilShreyas/mutekt/compare/v1.0.0-alpha02...v1.0.0-alpha03

mutekt - v1.0.0-alpha02

Published by github-actions[bot] about 2 years ago

The first public alpha release of Mutekt.