Skip to content

Commit

Permalink
Releasing v2.4.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelWilcox committed Dec 16, 2022
1 parent 84ba1e5 commit 53a6a8f
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ jobs :
ORG_GRADLE_PROJECT_mavenCentralPassword : ${{ secrets.SONATYPE_NEXUS_PASSWORD }}

- name : Publish Snapshots 1.8
run : ./gradlew clean publish --no-build-cache --no-daemon --stacktrace --no-parallel -Psquare.kotlinVersion=1.8.0-RC -PVERSION_NAME=2.4.3-1-8-SNAPSHOT && cd gradle-plugin && ./gradlew clean publish --no-build-cache --no-daemon --stacktrace -Psquare.kotlinVersion=1.8.0-RC -PVERSION_NAME=2.4.3-1-8-SNAPSHOT && cd ..
run : ./gradlew clean publish --no-build-cache --no-daemon --stacktrace --no-parallel -Psquare.kotlinVersion=1.8.0-RC -PVERSION_NAME=2.4.3-1-8-0-RC-SNAPSHOT && cd gradle-plugin && ./gradlew clean publish --no-build-cache --no-daemon --stacktrace -Psquare.kotlinVersion=1.8.0-RC -PVERSION_NAME=2.4.3-1-8-0-RC-SNAPSHOT && cd ..
env :
ORG_GRADLE_PROJECT_mavenCentralUsername : ${{ secrets.SONATYPE_NEXUS_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword : ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs :
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword : ''

- name : Publish Release 1.8
run : ./gradlew clean publish --no-build-cache --no-daemon --stacktrace --no-parallel -Psquare.kotlinVersion=1.8.0-RC -PVERSION_NAME=2.4.3-1-8 && cd gradle-plugin && ./gradlew clean publish --no-build-cache --no-daemon --stacktrace -Psquare.kotlinVersion=1.8.0-RC -PVERSION_NAME=2.4.3-1-8 && cd ..
run : ./gradlew clean publish --no-build-cache --no-daemon --stacktrace --no-parallel -Psquare.kotlinVersion=1.8.0-RC -PVERSION_NAME=2.4.3-1-8-0-RC && cd gradle-plugin && ./gradlew clean publish --no-build-cache --no-daemon --stacktrace -Psquare.kotlinVersion=1.8.0-RC -PVERSION_NAME=2.4.3-1-8-0-RC && cd ..
env :
ORG_GRADLE_PROJECT_mavenCentralUsername : ${{ secrets.SONATYPE_NEXUS_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword : ${{ secrets.SONATYPE_NEXUS_PASSWORD }}
Expand Down
22 changes: 21 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,25 @@

### Custom Code Generator

## [2.4.3] - 2022-12-16

### Added
- Add support for generating MapKeyCreator classes when generating Dagger factories, see #651.
- `@Binds` methods are now validated for correctness when generating Dagger factories, see #649.

### Changed
- Upgrade Kotlin to `1.7.20` and Gradle to `7.5.1`, see #643.
- For Kotlin `1.8.x` releases, we now use a fork of `kotlin-compile-testing`: `dev.zacsweers.kctfork:core:0.1.0-1.8.0-Beta01`.
- Use Anvil version `2.4.3-1-8-0-RC` if you want to test Kotlin `1.8.0-RC`. Until Anvil has fully adopted Kotlin `1.8` we'll publish additional versions that are required due to compiler API incompatibilities.

### Fixed
- Fix resolving types whose packages are wrapped in backticks, see #665.
- Fix resolving types when paired with qualifiers, see #664.
- Fix inconsistency between Dagger and Anvil for generated factory names involving a dash-separated module name, see #653.
- Fix resolving types whose names are wrapped in backticks, see #641.
- Update outdated documentation on incremental compilation limitations, see #637.


## [2.4.2] - 2022-08-23

### Removed
Expand Down Expand Up @@ -524,7 +543,8 @@
[Unreleased]: https://github.com/square/anvil/compare/v2.4.2...HEAD
[Unreleased]: https://github.com/square/anvil/compare/v2.4.3...HEAD
[2.4.3]: https://github.com/square/anvil/releases/tag/v2.4.3
[2.4.2]: https://github.com/square/anvil/releases/tag/v2.4.2
[2.4.1]: https://github.com/square/anvil/releases/tag/v2.4.1
[2.4.0]: https://github.com/square/anvil/releases/tag/v2.4.0
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

# TODO: Make sure you bump the version in `releases.yaml` and `ci.yaml` as well until we move to Kotlin 1.8.
VERSION_NAME=2.4.3-SNAPSHOT
VERSION_NAME=2.4.3

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 53a6a8f

Please sign in to comment.