Skip to content

Commit

Permalink
Prepare for release 0.4.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacSweers committed Nov 2, 2024
1 parent a3c0a37 commit 4e156fd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
15 changes: 12 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,21 @@
**Unreleased**
--------------

- **Enhancement**: Improve error messaging for error types used as annotation arguments.
- **Enhancement**: Initial support for jakarta.inject annotations. Note that Dagger itself appears to only partially support these at the moment. Generated code is identical, but jakarta `@Inject`/`@Qualifier`/`@Scope` annotations should be recognized now.
- **Enhancement**: `annotations` and `annotations-optional` are now Kotlin multiplatfom libraries.
0.4.0
-----

_2024-11-02_

**Note**: Up to this point, this library has largely attempted to preserve the pre-K2 Anvil impl and compatibility to ease adoption. This release marks a shift in that approach. New features will be implemented now (beyond just KSP support) and eventually K1 support will be dropped.

- **New**: Experimental support for jakarta.inject annotations. Note that Dagger itself appears to only partially support these at the moment. Generated code is identical, but jakarta `@Inject`/`@Qualifier`/`@Scope` annotations should be recognized now.
- **Enhancement**: The `annotations` and `annotations-optional` artifacts are now Kotlin multiplatform libraries. This allows for easier integration with multiplatform projects and/or adoption of kotlin-inject.
- **Enhancement**: `@SingleIn` and `@ForScope` can now be used with jakarta.inject and kotlin-inject.
- **Enhancement**: Improve error messaging for error types used as annotation arguments.
- Update Dagger to `2.52`.

Special thanks to [@mrmans0n](https://github.com/mrmans0n) and [@gabrielittner](https://github.com/gabrielittner) for contributing to this release!

0.3.3
-----

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=dev.zacsweers.anvil

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

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 4e156fd

Please sign in to comment.