10000 Releases · orbit-mvi/orbit-mvi · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Releases: orbit-mvi/orbit-mvi

10.0.0

23 May 09:17
e8c6142
Compare
Choose a tag to compare

New features

  • Support for all Kotlin Multiplatform platforms.
  • ViewModel Multiplatform and Compose Multiplatform support, with a new Compose Multiplatform sample app.
  • expectStateOn to better support sealed class state testing

API changes

orbit-core

  • [Breaking] blockingIntent is now an extension function.

orbit-compose

  • [Breaking] Removed deprecated collectState from ContainerHostExtensionsKt

orbit-test

  • Initial state is now automatically asserted in tests, deprecating expectInitialState(). TestSettings.autoCheckInitialState can be used to override this behaviour.
  • expectStateOn added.

orbit-viewmodel

  • Added kotlinx serializable for savedstatehandle support

What's Changed

Full Changelog: 9.0.0...10.0.0

9.0.0

05 Jul 09:12
3ce4534
Compare
Choose a tag to compare

What's Changed

Full Changelog: 8.0.0...9.0.0

Breaking changes

Syntax extension functions have been pulled up to reduce internal complexity and open up new functionality, such as reified types on runOn.

Migration guide

API Pre-9.0.0 9.0.0 Action to take
class SimpleSyntax org.orbitmvi.orbit.syntax.simple.SimpleSyntax Renamed to org.orbitmvi.orbit.syntax.Syntax Search and replace imports and usages
class SimpleContext org.orbitmvi.orbit.syntax.simple.SimpleContext Renamed to org.orbitmvi.orbit.syntax.IntentContext Search and replace imports and usages
extension function ContainerHost.intent org.orbitmvi.orbit.syntax.simple.intent Moved into ContainerHost interface Remove import
extension function ContainerHost.blockingIntent org.orbitmvi.orbit.syntax.simple.blockingIntent Moved into ContainerHost interface Remove import
extension function ContainerHost.subIntent org.orbitmvi.orbit.syntax.simple.subIntent Moved into ContainerHost interface Remove import
extension function SimpleSyntax.postSideEffect org.orbitmvi.orbit.syntax.simple.postSideEffect Moved into Syntax class Remove import
extension function SimpleSyntax.reduce org.orbitmvi.orbit.syntax.simple.reduce Moved into Syntax class Remove import
extension function SimpleSyntax.repeatOnSubscription org.orbitmvi.orbit.syntax.simple.repeatOnSubscription Moved into Syntax class Remove import
extension function SimpleSyntax.runOn org.orbitmvi.orbit.syntax.simple.runOn Moved into Syntax class Remove import
extension function SimpleSyntax.runOn runOn(ExampleState.Ready::class) Uses reified type parameter now runOn<ExampleState.Ready> Search and replace

8.0.0

23 May 08:28
0d7a4ae
Compare
Choose a tag to compare

What's Changed

Breaking changes

The old testing framework has been deprecated for a long while. The time has come to prune it from the library.

In case your project is still using old style tests, use https://github.com/orbit-mvi/orbit-mvi/tree/7.2.0 until your tests are migrated to the new test style.

Alternatively, you can copy the testing classes from https://github.com/orbit-mvi/orbit-mvi/tree/7.2.0 into your project to unlock the upgrade to 8.0.0 and beyond. Please note no support will be provided for the old testing framework.

Full Changelog: 7.2.0...8.0.0

7.1.1

22 May 09:22
Compare
Choose a tag to compare

What's Changed

  • Fix state is not saved to SavedStateHandle by @ycuwq #216

New Contributors

Full Changelog: 7.1.0...7.1.1

7.2.0

22 May 11:43
831c5d1
Compare
Choose a tag to compare

What's Changed

Full Changelog: 7.1.0...7.2.0

7.1.0

23 Apr 11:35
261212f
Compare
Choose a tag to compare

What's Changed

Full Changelog: 7.0.1...7.1.0

7.0.1

26 Mar 09:02
Compare
Choose a tag to compare

What's Changed

  • Exposed option to alter side effect buffer size

Full Changelog: 7.0.0...7.0.1

7.0.0

18 Mar 15:05
2243f8f
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 6.1.1...7.0.0

6.1.1

29 Feb 17:25
39fd55b
Compare
Choose a tag to compare

What's Changed

  • Fix compose extensions capturing lambda parameters forever by @Rosomack in #208

Full Changelog: 6.1.0...6.1.1

6.1.0

19 Sep 10:35
6016249
Compare
Choose a tag to compare

This is a maintenance release. We've made some (non-breaking) changes to the new tests API to clean it up a little.

What's Changed

New Contributors

Full Changelog: 6.0.0...6.1.0-SNAPSHOT

0