Skip to content
This repository has been archived by the owner on Dec 30, 2020. It is now read-only.

Releases: babylonhealth/orbit-mvi

Removed autodispose

14 Nov 13:27
0ed267e
Compare
Choose a tag to compare
  • Removed dependency on autodispose, now using Android Lifecycle Observer to unsubscribe the view models
  • Added initial state seeding to BaseOrbitContainer to enable #18 and have better support for unit testing.

DSL version 2

12 Nov 10:45
2c1a440
Compare
Choose a tag to compare

This release focuses on further simplifying, improving and stabilising the DSL. The DSL can now be considered stable and we will avoid making as many breaking changes between releases going forward.

  • #20 Added javadoc to the DSL
  • #24 ignoringEvents DSL function removed
  • #25 Added many unit tests for core functionality and corner cases
  • #28 Added a readme documentation for lifecycle events
  • #31 Allowed posting side effects conditionally

DSL improvements:

  • postSideEffect and sideEffect were merged into one. Use sideEffect { post(something) } to post events to the side effect relay.
  • ignoringEvents is removed as it's unnecessary
  • withReducer renamed to reduce
  • loopBack, reduce no longer terminate the flow chain.
  • It is now allowed to chain as many operators on a flow as you wish.
  • Many changes to the naming of receiver fields to make them more consistent
  • Added TransformerReceiver, the event observable is no longer exposed as this in transform. Use eventObservable instead.
  • ActionState has been removed
  • Current state is now available in every DSL lambda by calling getCurrentState() In a reducer this is guaranteed to always return the same instance, in other operators it's not.
  • Side effect caching is now configurable within a middleware.

Bug fixes:

  • Side effect caching worked only for one subscriber

DSL improvements 2

31 Oct 09:22
a150a65
Compare
Choose a tag to compare

Removed the need to provide an observable of actions to simplify the setup.

DSL improvements

23 Oct 17:53
Compare
Choose a tag to compare

Various quality-of-life improvements to the DSL and documentation updates.

This release makes a lot of small improvements to make the library easier and more sensible to consume, off the back of our recent public release we looked at this from an external point of view.

Public release

18 Oct 15:10
3b53684
Compare
Choose a tag to compare

First public release of the MVI library we've been using for 2,5 years at babylon.