v2.5.0-beta04
Pre-release
Pre-release
github-actions
released this
14 Mar 22:43
·
125 commits
to main
since this release
Changed
- Interface merging is now done in the IR backend, improving performance and future compatibility with K2.
- Update Dagger to
2.51
. @ContributesBinding
and@ContributesMultibinding
have been completely reworked to a new implementation that generates one binding dagger module for each contributed binding. While not an ABI-breaking change, this does change the generated code and requires users to re-run Anvil's code gen over any projects contributing bindings in order to be merged with the new implementation.
Fixed
- Code generated because of a
@Contributes___
annotation in a dependency module is now correctly deleted when there is a relevant change in the dependency module. - Nested interfaces and modules can now be contributed to enclosing classes.