[go: up one dir, main page]

Skip to content

9.0.0

Latest
Compare
Choose a tag to compare
@Rosomack Rosomack released this 05 Jul 09:12
3ce4534

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