Skip to content

0.9.2

Choose a tag to compare

@ZacSweers ZacSweers released this 18 Dec 23:46
· 1236 commits to main since this release

New

  • [Gradle DSL + FIR] Configurable nonPublicContributionSeverity diagnostic that allows for configuring non-public contributions to warn or error. See its kdoc for full details.

Enhancements

  • [IR] Avoid deeply nested IR call chains for generated SetFactory/MapFactory multibindings that can cause StackOverflowErrors in large graphs at compile-time.
  • [IR] Short-circuit visitCall expressions in Metro IR transformation.
  • [IR] Include fully qualified names of scopes when reporting incompatible scope binding errors.

Fixes

  • [IR] Don't apply replaces effect from excluded contributions in cross-module scenarios.
  • [IR] Fix binding replacements getting dropped in classes with multiple contributions in graph extensions.
  • [IR] Fix dynamic graph bindings not being propagated to graph extensions.
  • [IR] Fix detection of internal contributions from non-friend compilations in IR contribution merging.
  • [IR] Fix detection of internal contributions from friend compilations in IR contribution merging. Not a typo, turns out both scenarios were misbehaving in different ways.

Contributors

Special thanks to the following contributors for contributing to this release!

What's Changed

  • Fix excluded replaces effect in cross-module scenarios by @mateherber-jt in #1546
  • Update dependency org.jetbrains.androidx.lifecycle:lifecycle-viewmodel-navigation3 to v2.10.0-alpha07 by @renovate[bot] in #1542
  • Update ksp monorepo to v2.3.4 by @renovate[bot] in #1547
  • Avoid deeply nested IR calls by @vRallev in #1551
  • Update poko to v0.21.0 by @renovate[bot] in #1548
  • Update kct to v0.12.0 by @renovate[bot] in #1552
  • Fix binding replacements getting dropped in classes with multiple contributions in graph extensions by @JoelWilcox in #1550
  • Update dependency androidx.activity:activity-compose to v1.12.2 by @renovate[bot] in #1555
  • Propagate dynamic bindings to extensions by @ZacSweers in #1557
  • Fix detection of internal contributions in IR by @ansman in #1554
  • Update dependency mkdocs-material to v9.7.1 by @renovate[bot] in #1559
  • Add "Fast" to key features by @jingibus in #1561
  • Update dependency com.facebook:ktfmt to v0.60 by @renovate[bot] in #1558
  • Add non-public contribution severity options by @ZacSweers in #1562
  • Optimize visitCall expressions to short-circuit by @ZacSweers in #1563
  • Add multibinding factory support to project gen by @ZacSweers in #1564
  • Disambiguate scope clashes with identical toStrings by @jingibus in #1565

Full Changelog: 0.9.1...0.9.2