Skip to content

Releases: uber/RIBs

v0.14.1

05 May 00:16
Compare
Choose a tag to compare

What's Changed

Breaking changes

  • Presenter, Interactor lifecycle are only available on didLoad, didBecomeActive. Attempting to use it before (e.g. constructor) results in a crash.
  • Interactor, RibActivity, Presenter, etc, now expose a lifecycleFlow as API, supporting mocking. LifecycleScopeProvider interface methods are a function of the lifecycleFlow and are now finalized.

PRs

  • [WorkerBinder] Guard against potential Worker.coroutineContext being null while using Mockito by @FranAguilera in #573
  • Open lifecycleFlow, thus enabling it for mocking by @psteiger in #572

Full Changelog: v0.14.0...v0.14.1

v0.14.0

01 May 23:16
Compare
Choose a tag to compare

What's Changed

  • Replacing some Behavior/Publish Relay usage in core artifacts with coroutines by @tyvsmith in #544
  • Fix router navigator events source compatibility by @psteiger in #549
  • Enable strict explicit API mode on rib-base by @psteiger in #548
  • Reduce Rx <-> Coroutines interop and allow unconfined coroutines to run eagerly inside Worker's onStart by @psteiger in #552
  • Redesign RouterAndState to avoid router caching by @SergeySmykovskyi in #550
  • Create README for Compose Demo by @Solace-Studios in #557
  • [Rib Worker] Specify CoroutineDispatcher for onStart/onStop and provide WorkerBinder monitoring option by @FranAguilera in #553
  • Fix: podspec and tutorial1 Podfile version updated by @ebubekirsezer in #534
  • Enable explicit api mode for Kotlin libraries by @davissuber in #561
  • Introduce RibCoroutineWorker by @psteiger in #547
  • Upgrade code formatters versions by @SergeySmykovskyi in #558
  • Use Kotlin contracts to remove var and !! usage in RibCoroutineWorker by @psteiger in #563
  • Provide option to bind multiple Workers at once on specific RibDispatchers by @FranAguilera in #564
  • Bump Kotlin, Gradle, and other dependencies versions. by @psteiger in #567

New Contributors

Full Changelog: v0.13.3...v0.14.0

v0.13.3

23 Mar 20:45
Compare
Choose a tag to compare
  • [Intellij] Plugin 0.1.5
  • [Android] Clear cached CoroutineScope instance once its job completes
  • [Android] Make all TestDispatchers in TestRibDispatchers use the same TestCoroutineScheduler

v0.13.2

28 Oct 22:21
Compare
Choose a tag to compare
  • [Android] Reverting binary breaking change from 0.13.1 on Basic Interactor

v0.13.1

21 Oct 22:12
Compare
Choose a tag to compare
  • [Android] Upgrade to Kotlin 1.7
  • [Android] Add Window Focus Event API
  • [Android] Add open modifier to doOnRemoved()8
  • [Android] Deprecate mockitokotlin2

v0.13.0

24 Apr 22:35
Compare
Choose a tag to compare

Added

  • rib-coroutines and rib-coroutines-test artifacts to enable coroutines interop #460

v0.12.0

24 Apr 22:52
Compare
Choose a tag to compare

Added

  • Jetpack Compose support

v0.10.0

17 Mar 22:32
95c97a0
Compare
Choose a tag to compare

Added

  • Added extra RIB test helper methods (#400)
  • Add new methods of pushing state to StackRouterNavigator (#401)
  • Allow WorkerBinder to bind workers to Presenter lifecycle (#402)
  • Added RibEvents & related classes to support tooling (#402)
  • Added fakes for testing RIB classes (#403)
  • Add RIB support for onUserLeaveHint, onTrimMemory, and onPIPModeChanged (#405)

Changed

  • Add additional Step parameter to Step#onStep (#394)
  • Migrated from AssertJ to Truth unit test assertion APIs (#396)
  • Allow Interactors to have constructors in order to support Motif (#397)
  • Renamed rib-test-utils to rib-test (#400)
  • Upgraded Mockito to v2.27.0 (#400)
  • Renamed ModernRouterNavigator to StackRouterNavigator (#401)
  • Removed Component type parameter from Router (#402)
  • Bump Build Tools and Compile SDK to 30 (#405)
  • Updated Xray for lazy init & naming the Router instead of Builder (#405)
  • Version bumps for dependencies (#406)

Removed

  • Deleted rib-uava artifact (#393)
    • Use com.google.guava:guava:xx-y-android artifact instead
    • Change imports: s/com.uber.rib.core.Optional/com.google.common.base.Optional
  • Deleted tooling/autodispose-error-prone-checker (#398)
  • Deleted duplicate rib-android-test artifact used only for testing RIBs (#404)

Minor fix in Workflow

12 Feb 18:19
92b7478
Compare
Choose a tag to compare

Fix forked Workflow invoking didComplete multiple times

Cocoapods

06 Nov 12:37
Compare
Choose a tag to compare

First release published with Cocoapods.