Skip to content

Latest commit

 

History

History
85 lines (56 loc) · 2.51 KB

CHANGELOG.md

File metadata and controls

85 lines (56 loc) · 2.51 KB

Changelog

0.3.1

2022-11-07

  • Enhancement: Add back the onRootPop() parameter in rememberCircuitNavigator() but use LocalOnBackPressedDispatcherOwner for backpress handling by default.

0.3.0

2022-11-01

  • New: The Overlay API is now extracted to a separate, optional circuit-overlay artifact.
  • New: The circuit-core artifact now packages in baseline profiles.
  • Enhancement: Simplify backstack root pop handling. There is no more onRootPop() option in rememberCircuitNavigator(), instead you should install your own BackHandler() prior to rendering your circuit content to customize back behavior when the circuit Navigator is at root.
  • Fix: circuit-codegen-annotations is now a multiplatform project and doesn't accidentally impose the compose-desktop dependency.

We've also updated a number of docs around code gen, overlays, and interop (including a new interop sample).

0.2.2

2022-10-27

  • Enhancement: Code gen now supports non-assisted constructor-injected types.
  • Enhancement: Code gen checks that functions and classes are visible to generated factories.

0.2.1

2022-10-27

  • Fix: Code gen didn't properly handle instantiating simple class types.

0.2.0

2022-10-26

  • New: Code gen artifact. This targets specifically using Dagger + Anvil and will generate Presenter and Ui.Factory implementations for you. See CircuitInject for more details.

    ksp("com.slack.circuit:circuit-codegen:x.y.z")
    implementation("com.slack.circuit:circuit-codegen-annotations:x.y.z")
  • New: There is now an EventListener API for instrumenting state changes for a given Screen. See its docs for more details.

  • Fix: Rework rememberRetained implementation and support for multiple variables. Previously it only worked with one variable.

  • Fix: Clean up some unnecessary transitive dependencies in misc artifacts.

Dependency updates

androidx.activity 1.6.1
androidx.compose 1.3.0
Molecule 0.5.0

0.1.2

2022-10-12

  • Update to compose-jb 1.2.0.
  • Update to Turbine 0.12.0.
  • Fix: Accidentally running molecule twice in Presenter.test().

0.1.1

2022-10-10

  • Fix: Accidentally bundling more Compose UI dependencies than necessary.

0.1.0

2022-10-10

Initial release, see the docs: https://slackhq.github.io/circuit/.

Note that this library is still under active development and not recommended for production use. We'll do a more formal announcement when that time comes!