Skip to content

Commit

Permalink
Update Dagger to v0.10.0 (#57)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[se.ansman.dagger.auto:compiler](https://togithub.com/ansman/auto-dagger)
| `0.9.1` -> `0.10.0` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/se.ansman.dagger.auto:compiler/0.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/se.ansman.dagger.auto:compiler/0.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/se.ansman.dagger.auto:compiler/0.9.1/0.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/se.ansman.dagger.auto:compiler/0.9.1/0.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[se.ansman.dagger.auto:android](https://togithub.com/ansman/auto-dagger)
| `0.9.1` -> `0.10.0` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/se.ansman.dagger.auto:android/0.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/se.ansman.dagger.auto:android/0.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/se.ansman.dagger.auto:android/0.9.1/0.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/se.ansman.dagger.auto:android/0.9.1/0.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>ansman/auto-dagger (se.ansman.dagger.auto:compiler)</summary>

###
[`v0.10.0`](https://togithub.com/ansman/auto-dagger/releases/tag/0.10.0)

[Compare
Source](https://togithub.com/ansman/auto-dagger/compare/0.9.1...0.10.0)

##### Changes

##### ⚠️ **Breaking:** Rename of `BindGenericAs` entries ⚠️

`BindGenericAs.Type` has been renamed to `BindGenericAs.ExactType` and
`BindGenericAs.TypeAndWildcard` has been renamed to
`BindGenericAs.ExactTypeAndWildcard`.

These names are much clearer as `Type` wasn't really indicative of what
it did.

##### `BindGenericAs.Default`

There is now a new annotation called `@BindGenericAs.Default` which can
be placed on the target type to set the default value for
`BindGenericAs`.

As a quick example:

```kotlin
@&#8203;BindGenericAs.Default(BindGenericAs.Wildcard)
interface Resource<T>

// This will be bound as Resource<*> since the default has been set to wildcard for Resource.
@&#8203;AutoBindIntoSet
class SomeResource @&#8203;Inject constructor() : Resource<Something>
```

See [the
documentation](https://auto-dagger.ansman.se/0.10.0/usage/auto-bind/#generics)
for more information.

##### Details

- Remove the deprecated typealiases by
[@&#8203;ansman](https://togithub.com/ansman) in
[https://github.com/ansman/auto-dagger/pull/85](https://togithub.com/ansman/auto-dagger/pull/85)
- Bump androidx.lifecycle:lifecycle-viewmodel from 2.6.1 to 2.6.2 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/ansman/auto-dagger/pull/87](https://togithub.com/ansman/auto-dagger/pull/87)
- Add a way to change the default `BindGenericAs`. by
[@&#8203;ansman](https://togithub.com/ansman) in
[https://github.com/ansman/auto-dagger/pull/90](https://togithub.com/ansman/auto-dagger/pull/90)

**Full Changelog**:
ansman/auto-dagger@0.9.1...0.10.0

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, 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 [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/sindrenm/android-project-template).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4wLjMiLCJ1cGRhdGVkSW5WZXIiOiIzNy4wLjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->
  • Loading branch information
renovate[bot] authored Oct 1, 2023
2 parents 2f1aa30 + 002d852 commit c051215
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 @@ -7,7 +7,7 @@ androidx-lifecycle = "2.6.2"
androidx-navigation = "2.7.3"
arrow = "1.2.1"
dagger = "2.48"
dagger-auto = "0.9.1"
dagger-auto = "0.10.0"
kotlin = "1.9.10"
kotlinx-coroutines = "1.7.3"

Expand Down

0 comments on commit c051215

Please sign in to comment.