Skip to content

Commit

Permalink
Releasing v2.5.0-beta05
Browse files Browse the repository at this point in the history
  • Loading branch information
RBusarow committed Apr 9, 2024
1 parent b7233a9 commit 6f5f875
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 5 deletions.
29 changes: 25 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,26 @@

### Other Notes & Contributions

## [2.5.0-beta05] - 2024-04-09

### Added

* Support KSP in BindsMethodValidator by @IlyaGulya ([#831](https://github.com/square/anvil/pull/831))

### Fixed

* fix interface based @ContributesSubcomponent.Factory in KSP by @gabrielittner ([#931](https://github.com/square/anvil/pull/931))
* Fix KSP resolution of Priority ([#933](https://github.com/square/anvil/pull/933))
* Gracefully handle module name resolution in KSP ([#947](https://github.com/square/anvil/pull/947))
* Always generate provider factories for binding modules ([#951](https://github.com/square/anvil/pull/951))
* use the resolved value of `const` arguments in propagated annotation arguments ([#940](https://github.com/square/anvil/pull/940))
* re-run analysis between an incremental sync and code generation ([#943](https://github.com/square/anvil/pull/943))
* delay `@ContributesSubcomponent` generation until the last analysis rounds ([#946](https://github.com/square/anvil/pull/946))

### Dependencies
* Update dependency gradle to v8.7 ([#937](https://github.com/square/anvil/pull/937))
* Update dagger to v2.51.1 ([#944](https://github.com/square/anvil/pull/944))

## [2.5.0-beta04] - 2024-03-14

### Changed
Expand Down Expand Up @@ -203,7 +223,7 @@

### Changed

- **Attention:** This version supports Kotlin `1.7.0` only. For Kotlin `1.6.*` support please use version `2.4.1-1-6` instead. Future Anvil versions will remove support for Kotlin 1.6.
- **Attention:** This version supports Kotlin `1.7.0` only. For Kotlin `1.6.*` support please use version `2.4.1-1-6` instead. Future Anvil versions will remove support for Kotlin 1.6.

### Fixed

Expand All @@ -212,7 +232,7 @@
- Correctly merge bindings from all scopes, if multiple `@Merge*` annotations are used, see #596.

### Custom Code Generator

- Change the method to get all super classes for `ClassReference` to return `TypeReference` instead.
- Avoid a stackoverflow when querying all super types, see #587.
- Create `PropertyReference.Psi` from primary constructor properties to have the same behavior as the descriptor implementation, see #609.
Expand All @@ -232,7 +252,7 @@
- Many of the internals of Anvil were rewritten and the non-stable APIs of the `compiler-utils` artifact have changed. Some highlights:
- Instead of working with PSI or Descriptor APIs directly, you should work with the common `ClassReference` API.
- `ClassReference` is a sealed class and either implemented with PSI or Descriptors, so it's easy to fallback to a specific API and add your own extensions.
- The entry point to iterate through all classes used be `classesAndInnerClass(module)`, use `classAndInnerClassReferences()` instead.
- The entry point to iterate through all classes used be `classesAndInnerClass(module)`, use `classAndInnerClassReferences()` instead.

### Removed

Expand Down Expand Up @@ -686,7 +706,8 @@
[Unreleased]: https://github.com/square/anvil/compare/v2.5.0-beta04...HEAD
[Unreleased]: https://github.com/square/anvil/compare/v2.5.0-beta05...HEAD
[2.5.0-beta05]: https://github.com/square/anvil/releases/tag/v2.5.0-beta05
[2.5.0-beta04]: https://github.com/square/anvil/releases/tag/v2.5.0-beta04
[2.5.0-beta03]: https://github.com/square/anvil/releases/tag/v2.5.0-beta03
[2.5.0-beta02]: https://github.com/square/anvil/releases/tag/v2.5.0-beta02
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
GROUP=com.squareup.anvil

# When updating this, make sure to also update the parallel release versions in release.yml
VERSION_NAME=2.5.0-beta05-SNAPSHOT
VERSION_NAME=2.5.0-beta05

POM_DESCRIPTION=A Kotlin compiler plugin to make dependency injection with Dagger 2 easier by automatically merging Dagger modules and component interfaces.
POM_INCEPTION_YEAR=2020
Expand Down

0 comments on commit 6f5f875

Please sign in to comment.