Releases: slackhq/circuit
0.2.0
Highlights
-
New: Code gen artifact. This targets specifically using Dagger + Anvil and will generate
Presenter
andUi.Factory
implementations for you. SeeCircuitInject
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 givenScreen
. 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
What's Changed
- Update dependency org.jline:jline to v3.21.0 by @slack-oss-bot in #207
- Fix snapshots publishing by @ZacSweers in #209
- Update dependency app.cash.molecule:molecule-runtime to v0.5.0 by @slack-oss-bot in #211
- Update dependency com.android.tools.build:gradle to v7.3.1 by @slack-oss-bot in #210
- Integrate dependencyGuard by @ZacSweers in #208
- Integrate Paparazzi by @ZacSweers in #204
- Update dependency mkdocs to v1.4.1 by @slack-oss-bot in #213
- Fix circuit-core coordinates by @ZacSweers in #215
- Update dependency com.github.ben-manes.versions to v0.43.0 by @slack-oss-bot in #218
- Consolidate FakeImageLoader impls by @ZacSweers in #217
- Integrate Detekt + compose detekt rules + kotlinx immutable by @ZacSweers in #216
- Enable build scans on builds by @ZacSweers in #220
- Update plugin com.gradle.enterprise to v3.11.2 by @slack-oss-bot in #222
- EventListener part 2 by @ZacSweers in #223
- Add initial tests for rememberRetained by @ZacSweers in #224
- Update dependency mkdocs-material-extensions to v1.1 by @slack-oss-bot in #231
- Update dependency mkdocs-material to v8.5.7 by @slack-oss-bot in #230
- Update dependency pymdown-extensions to v9.7 by @slack-oss-bot in #232
- Use enterAlwaysScrollBehavior in scaffold by @ZacSweers in #228
- Add leakcanary to instrumentation tests by @ZacSweers in #229
- Add test for clearing unclaimed values by @ZacSweers in #226
- Code Gen for Ui and Presenter Factories by @iamritav in #235
- Update compose to v1.3.0 by @slack-oss-bot in #234
- Update androidx-activity to v1.6.1 by @slack-oss-bot in #233
- Update dependency com.google.android.material:compose-theme-adapter to v1.1.21 by @slack-oss-bot in #238
- Update dependency androidx.compose.material3:material3 to v1.0.0 by @slack-oss-bot in #237
- Support assisted injections + consolidate and clean up APIs by @ZacSweers in #236
Full Changelog: 0.1.2...0.2.0
0.1.2
0.1.1
- Fix: Accidentally bundling more Compose UI dependencies than necessary.
What's Changed
- Fixup spotless config + correctly format build files by @ZacSweers in #193
- Fix compose bundle dependencies by @ZacSweers in #196
Full Changelog: 0.1.0...0.1.1
0.1.0
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!