Skip to content
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.

Bump versions.dagger from 2.42 to 2.43 #72

Closed
wants to merge 7 commits into from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jul 22, 2022

Bumps versions.dagger from 2.42 to 2.43.
Updates dagger from 2.42 to 2.43

Release notes

Sourced from dagger's releases.

Dagger 2.43

What’s New In Dagger

Bug Fixes

  • Fixes #3401 where Dagger generated mismatched parameter names in subcomponent factory method implementations when the original factory method is in a separate build unit from the component that implements it.

What’s New In Hilt

Potentially Breaking Changes

  • Hilt now throws if the base activity/fragment class’s getDefaultViewModelProviderFactory() returns null. This is unlikely to happen though unless overridden by the user to return null. (9eee8e47f)
  • As part ViewModel bug fixes, dependencies were updated as below. These libraries require building with SDK 31. To build with SDK 31, AGP users will need to use AGP 7.0+. This will also require using JDK11.
    • androidx.activity and androidx.fragment to 1.5.0
    • androidx.lifecycle to 2.5.0
    • androidx.savedstate to 1.2.0

Bug Fixes

  • Fix #3464 where SPI plugins were not being invoked with Hilt's Gradle Plugin aggregation (enableAggregatingTask) turned on. (b83887624)
  • Fixes #2328 and #3232 where getting multiple instances of @HiltViewModel with different keys would cause a crash.
  • Fixes #2152. hiltNavGraphViewModels is now no longer necessary to use @HiltViewModel with navigation backstack entries as the owner. The default ViewModelProvider.Factory from activities and fragments can be used directly with the backstack entry as the owner. (74ea7653a)
  • Make it so that map keys used with @BindValueIntoMap in Kotlin code do not need to use the @field notation. (e59183324)
Commits
  • 1ef486a 2.43 release
  • b838876 Include annotationProcessor and kapt configurations in hiltJavaCompile task.
  • 9224d1b Update XProcessing jars and use new XAnnotationValue APIs.
  • 74ea765 Updates to ViewModel support to use the new CreationExtras.
  • 7f6e91b Simplify AGPCompatibilityTest to improve Github action speed
  • 34ac91a Replace the old plugin id dagger.hilt.android.plugin with the new one `com....
  • df8b8e2 Use ASM9 when AGP 7.1.0+ is used
  • db6a656 Update Dagger's XProcessing jars.
  • 1763aa3 Fixes mismatched parameter names in subcomponent factory methods.
  • a7f8dac Assert that the KSP processor is generating the proper Dagger component.
  • Additional commits viewable in compare view

Updates dagger-compiler from 2.42 to 2.43

Release notes

Sourced from dagger-compiler's releases.

Dagger 2.43

What’s New In Dagger

Bug Fixes

  • Fixes #3401 where Dagger generated mismatched parameter names in subcomponent factory method implementations when the original factory method is in a separate build unit from the component that implements it.

What’s New In Hilt

Potentially Breaking Changes

  • Hilt now throws if the base activity/fragment class’s getDefaultViewModelProviderFactory() returns null. This is unlikely to happen though unless overridden by the user to return null. (9eee8e47f)
  • As part ViewModel bug fixes, dependencies were updated as below. These libraries require building with SDK 31. To build with SDK 31, AGP users will need to use AGP 7.0+. This will also require using JDK11.
    • androidx.activity and androidx.fragment to 1.5.0
    • androidx.lifecycle to 2.5.0
    • androidx.savedstate to 1.2.0

Bug Fixes

  • Fix #3464 where SPI plugins were not being invoked with Hilt's Gradle Plugin aggregation (enableAggregatingTask) turned on. (b83887624)
  • Fixes #2328 and #3232 where getting multiple instances of @HiltViewModel with different keys would cause a crash.
  • Fixes #2152. hiltNavGraphViewModels is now no longer necessary to use @HiltViewModel with navigation backstack entries as the owner. The default ViewModelProvider.Factory from activities and fragments can be used directly with the backstack entry as the owner. (74ea7653a)
  • Make it so that map keys used with @BindValueIntoMap in Kotlin code do not need to use the @field notation. (e59183324)
Commits
  • 1ef486a 2.43 release
  • b838876 Include annotationProcessor and kapt configurations in hiltJavaCompile task.
  • 9224d1b Update XProcessing jars and use new XAnnotationValue APIs.
  • 74ea765 Updates to ViewModel support to use the new CreationExtras.
  • 7f6e91b Simplify AGPCompatibilityTest to improve Github action speed
  • 34ac91a Replace the old plugin id dagger.hilt.android.plugin with the new one `com....
  • df8b8e2 Use ASM9 when AGP 7.1.0+ is used
  • db6a656 Update Dagger's XProcessing jars.
  • 1763aa3 Fixes mismatched parameter names in subcomponent factory methods.
  • a7f8dac Assert that the KSP processor is generating the proper Dagger component.
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

msfjarvis and others added 7 commits July 5, 2022 19:07
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
I'm not a fan

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Bumps `versions.dagger` from 2.42 to 2.43.

Updates `dagger` from 2.42 to 2.43
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](google/dagger@dagger-2.42...dagger-2.43)

Updates `dagger-compiler` from 2.42 to 2.43
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](google/dagger@dagger-2.42...dagger-2.43)

---
updated-dependencies:
- dependency-name: com.google.dagger:dagger
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: com.google.dagger:dagger-compiler
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jul 22, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Aug 1, 2022

Superseded by #74.

@dependabot dependabot bot closed this Aug 1, 2022
@dependabot dependabot bot deleted the dependabot/gradle/versions.dagger-2.43 branch August 1, 2022 04:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant