Skip to content

Commit

Permalink
Update anvil to v0.4.0 (#1773)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [dev.zacsweers.anvil](https://redirect.github.com/zacsweers/anvil) |
plugin | minor | `0.3.3` -> `0.4.0` |
|
[dev.zacsweers.anvil:annotations-optional](https://redirect.github.com/zacsweers/anvil)
| dependencies | minor | `0.3.3` -> `0.4.0` |
|
[dev.zacsweers.anvil:annotations](https://redirect.github.com/zacsweers/anvil)
| dependencies | minor | `0.3.3` -> `0.4.0` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>zacsweers/anvil (dev.zacsweers.anvil)</summary>

###
[`v0.4.0`](https://redirect.github.com/zacsweers/anvil/blob/HEAD/CHANGELOG.md#040)

[Compare
Source](https://redirect.github.com/zacsweers/anvil/compare/0.3.3...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
[@&#8203;mrmans0n](https://redirect.github.com/mrmans0n) and
[@&#8203;gabrielittner](https://redirect.github.com/gabrielittner) for
contributing to this release!

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xNDIuMiIsInVwZGF0ZWRJblZlciI6IjM4LjE0Mi4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
  • Loading branch information
slack-oss-bot authored Nov 3, 2024
1 parent b6aecac commit 3b99690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ androidx-appcompat = "1.7.0"
androidx-browser = "1.8.0"
androidx-lifecycle = "2.8.7"
agp = "8.7.1"
anvil = "0.3.3"
anvil = "0.4.0"
atomicfu = "0.26.0"
benchmark = "1.3.3"
coil = "2.7.0"
Expand Down

0 comments on commit 3b99690

Please sign in to comment.