sczerwinski / android-hilt

Extensions for Dagger Hilt
https://czerwinski.it/projects/android-hilt/
Apache License 2.0
47 stars 1 forks source link

Bump the hilt group with 4 updates #334

Closed dependabot[bot] closed 7 months ago

dependabot[bot] commented 11 months ago

Bumps the hilt group with 4 updates: com.google.dagger:hilt-android-gradle-plugin, com.google.dagger:hilt-core, com.google.dagger:hilt-android and com.google.dagger:hilt-android-testing.

Updates com.google.dagger:hilt-android-gradle-plugin from 2.45 to 2.49

Release notes

Sourced from com.google.dagger:hilt-android-gradle-plugin's releases.

Dagger 2.49

Dagger

New features:

  • Fixed #4044: Add support for KSP with dagger.android (832717767).

Potential breaking changes:

  • Dagger’s generated component no longer contains deprecated no-op module setter methods for modules that have only static/abstract @Provides/@Binds methods (ed47d4b88).

    Note: If you hit this issue, the fix is to remove the call to the setter method in your code. For example:

    MyComponent component =
        DaggerMyComponent.builder()
    -        .moduleWithOnlyStaticOrAbstractMethods(new ModuleWithOnlyStaticOrAbstractMethods())
            .build();
    

    These setter methods were already no-ops (i.e. Dagger just ignored them), so removing it should not cause any functional changes.

Bug fixes:

  • Fixed #4046, #4140: Fixes Unexpected element error in when calculating nullability (4593c0a)
  • Fixed #4096: Fix type names for inline types on the KSP side (aosp/2789273)
  • Build-time performance improvements (85e9ff1) and (d9d0a8e).
  • Fixed #4060: Updated KSP to 1.9.20-1.0.14 which should contain the fix for a number of incremental processing issues related to KSP (692015f).

Hilt

New features:

  • Fixed google/dagger#2287, #3523: Add support for using @AssistedInject with @HiltViewModel. (8327177). For more details visit https://dagger.dev/hilt/view-model#assisted-injection.
  • Hilt now provides @ActivityRetainedSavedState SavedStateHandle from ActivityRetainedComponent (1cac33b). Note: This feature relies on a somewhat experimental implementation in order to provide this binding lazily while also avoiding leaking the activity. The laziness is a requirement to not restrict activity injection and also to avoid bloating the saved state when unused. While we predict this should be safe to rely on, if issues are discovered with this implementation, it is possible that a future release may have to remove this binding.

Bug fixes:

  • Fixed b/307592550: Fixes FileNotFoundException in AGP 8.3 (6018cd2) and (f946e34).
  • Fixed #4130: Fix HiltGradlePlugin not working in KMP's androidMain directory (f0c2510).

Dagger 2.48.1

Bug Fixes

Fixes #4063, #4054: [KSP]: Fixes some incremental processing issues with KSP (c8a568956) Fixes #4046: [KSP] Fixes "Unexpected element" in XProcessing library (https://github.com/androidx/androidx/commit/bdc1bb06d4f5dbd574bb66cef674ba31846eb4d3) Fixes #4059: [KSP] Align behavior of generic inline types in KSP with KAPT in XProcessing library (https://github.com/androidx/androidx/commit/b0fa9cf493458a1f3b35a1d68298552e3eaae678) Fixes #3980: Fixes Lint crash with AGP 8.1.0. (e651294c2)

... (truncated)

Commits
  • d763c2c 2.49 release
  • a6e65fa Update Dagger's GitHub Actions to move the remaining emulator test to run in ...
  • b074037 Update annotation-experimental dependency to latest version.
  • e0b9b8e Update release script to include changes to artifact-android-local-tests.
  • 692015f Upgrade Dagger's dependencies of kotlin to 1.9.20 and ksp to 1.9.20-1.0.14.
  • cd70dea make ActivityRetainedSaveState an opt-in API.
  • 4dcebb5 Increase time out for Android Emulator Test on API 30.
  • 0896fbe Internal changes
  • 7121b67 Internal change.
  • 4c75892 Update ASM to 9.6 to support newer Java versions
  • Additional commits viewable in compare view


Updates com.google.dagger:hilt-core from 2.45 to 2.49

Release notes

Sourced from com.google.dagger:hilt-core's releases.

Dagger 2.49

Dagger

New features:

  • Fixed #4044: Add support for KSP with dagger.android (832717767).

Potential breaking changes:

  • Dagger’s generated component no longer contains deprecated no-op module setter methods for modules that have only static/abstract @Provides/@Binds methods (ed47d4b88).

    Note: If you hit this issue, the fix is to remove the call to the setter method in your code. For example:

    MyComponent component =
        DaggerMyComponent.builder()
    -        .moduleWithOnlyStaticOrAbstractMethods(new ModuleWithOnlyStaticOrAbstractMethods())
            .build();
    

    These setter methods were already no-ops (i.e. Dagger just ignored them), so removing it should not cause any functional changes.

Bug fixes:

  • Fixed #4046, #4140: Fixes Unexpected element error in when calculating nullability (4593c0a)
  • Fixed #4096: Fix type names for inline types on the KSP side (aosp/2789273)
  • Build-time performance improvements (85e9ff1) and (d9d0a8e).
  • Fixed #4060: Updated KSP to 1.9.20-1.0.14 which should contain the fix for a number of incremental processing issues related to KSP (692015f).

Hilt

New features:

  • Fixed google/dagger#2287, #3523: Add support for using @AssistedInject with @HiltViewModel. (8327177). For more details visit https://dagger.dev/hilt/view-model#assisted-injection.
  • Hilt now provides @ActivityRetainedSavedState SavedStateHandle from ActivityRetainedComponent (1cac33b). Note: This feature relies on a somewhat experimental implementation in order to provide this binding lazily while also avoiding leaking the activity. The laziness is a requirement to not restrict activity injection and also to avoid bloating the saved state when unused. While we predict this should be safe to rely on, if issues are discovered with this implementation, it is possible that a future release may have to remove this binding.

Bug fixes:

  • Fixed b/307592550: Fixes FileNotFoundException in AGP 8.3 (6018cd2) and (f946e34).
  • Fixed #4130: Fix HiltGradlePlugin not working in KMP's androidMain directory (f0c2510).

Dagger 2.48.1

Bug Fixes

Fixes #4063, #4054: [KSP]: Fixes some incremental processing issues with KSP (c8a568956) Fixes #4046: [KSP] Fixes "Unexpected element" in XProcessing library (https://github.com/androidx/androidx/commit/bdc1bb06d4f5dbd574bb66cef674ba31846eb4d3) Fixes #4059: [KSP] Align behavior of generic inline types in KSP with KAPT in XProcessing library (https://github.com/androidx/androidx/commit/b0fa9cf493458a1f3b35a1d68298552e3eaae678) Fixes #3980: Fixes Lint crash with AGP 8.1.0. (e651294c2)

... (truncated)

Commits
  • d763c2c 2.49 release
  • a6e65fa Update Dagger's GitHub Actions to move the remaining emulator test to run in ...
  • b074037 Update annotation-experimental dependency to latest version.
  • e0b9b8e Update release script to include changes to artifact-android-local-tests.
  • 692015f Upgrade Dagger's dependencies of kotlin to 1.9.20 and ksp to 1.9.20-1.0.14.
  • cd70dea make ActivityRetainedSaveState an opt-in API.
  • 4dcebb5 Increase time out for Android Emulator Test on API 30.
  • 0896fbe Internal changes
  • 7121b67 Internal change.
  • 4c75892 Update ASM to 9.6 to support newer Java versions
  • Additional commits viewable in compare view


Updates com.google.dagger:hilt-android from 2.45 to 2.49

Release notes

Sourced from com.google.dagger:hilt-android's releases.

Dagger 2.49

Dagger

New features:

  • Fixed #4044: Add support for KSP with dagger.android (832717767).

Potential breaking changes:

  • Dagger’s generated component no longer contains deprecated no-op module setter methods for modules that have only static/abstract @Provides/@Binds methods (ed47d4b88).

    Note: If you hit this issue, the fix is to remove the call to the setter method in your code. For example:

    MyComponent component =
        DaggerMyComponent.builder()
    -        .moduleWithOnlyStaticOrAbstractMethods(new ModuleWithOnlyStaticOrAbstractMethods())
            .build();
    

    These setter methods were already no-ops (i.e. Dagger just ignored them), so removing it should not cause any functional changes.

Bug fixes:

  • Fixed #4046, #4140: Fixes Unexpected element error in when calculating nullability (4593c0a)
  • Fixed #4096: Fix type names for inline types on the KSP side (aosp/2789273)
  • Build-time performance improvements (85e9ff1) and (d9d0a8e).
  • Fixed #4060: Updated KSP to 1.9.20-1.0.14 which should contain the fix for a number of incremental processing issues related to KSP (692015f).

Hilt

New features:

  • Fixed google/dagger#2287, #3523: Add support for using @AssistedInject with @HiltViewModel. (8327177). For more details visit https://dagger.dev/hilt/view-model#assisted-injection.
  • Hilt now provides @ActivityRetainedSavedState SavedStateHandle from ActivityRetainedComponent (1cac33b). Note: This feature relies on a somewhat experimental implementation in order to provide this binding lazily while also avoiding leaking the activity. The laziness is a requirement to not restrict activity injection and also to avoid bloating the saved state when unused. While we predict this should be safe to rely on, if issues are discovered with this implementation, it is possible that a future release may have to remove this binding.

Bug fixes:

  • Fixed b/307592550: Fixes FileNotFoundException in AGP 8.3 (6018cd2) and (f946e34).
  • Fixed #4130: Fix HiltGradlePlugin not working in KMP's androidMain directory (f0c2510).

Dagger 2.48.1

Bug Fixes

Fixes #4063, #4054: [KSP]: Fixes some incremental processing issues with KSP (c8a568956) Fixes #4046: [KSP] Fixes "Unexpected element" in XProcessing library (https://github.com/androidx/androidx/commit/bdc1bb06d4f5dbd574bb66cef674ba31846eb4d3) Fixes #4059: [KSP] Align behavior of generic inline types in KSP with KAPT in XProcessing library (https://github.com/androidx/androidx/commit/b0fa9cf493458a1f3b35a1d68298552e3eaae678) Fixes #3980: Fixes Lint crash with AGP 8.1.0. (e651294c2)

... (truncated)

Commits
  • d763c2c 2.49 release
  • a6e65fa Update Dagger's GitHub Actions to move the remaining emulator test to run in ...
  • b074037 Update annotation-experimental dependency to latest version.
  • e0b9b8e Update release script to include changes to artifact-android-local-tests.
  • 692015f Upgrade Dagger's dependencies of kotlin to 1.9.20 and ksp to 1.9.20-1.0.14.
  • cd70dea make ActivityRetainedSaveState an opt-in API.
  • 4dcebb5 Increase time out for Android Emulator Test on API 30.
  • 0896fbe Internal changes
  • 7121b67 Internal change.
  • 4c75892 Update ASM to 9.6 to support newer Java versions
  • Additional commits viewable in compare view


Updates com.google.dagger:hilt-android-testing from 2.48 to 2.49

Release notes

Sourced from com.google.dagger:hilt-android-testing's releases.

Dagger 2.49

Dagger

New features:

  • Fixed #4044: Add support for KSP with dagger.android (832717767).

Potential breaking changes:

  • Dagger’s generated component no longer contains deprecated no-op module setter methods for modules that have only static/abstract @Provides/@Binds methods (ed47d4b88).

    Note: If you hit this issue, the fix is to remove the call to the setter method in your code. For example:

    MyComponent component =
        DaggerMyComponent.builder()
    -        .moduleWithOnlyStaticOrAbstractMethods(new ModuleWithOnlyStaticOrAbstractMethods())
            .build();
    

    These setter methods were already no-ops (i.e. Dagger just ignored them), so removing it should not cause any functional changes.

Bug fixes:

  • Fixed #4046, #4140: Fixes Unexpected element error in when calculating nullability (4593c0a)
  • Fixed #4096: Fix type names for inline types on the KSP side (aosp/2789273)
  • Build-time performance improvements (85e9ff1) and (d9d0a8e).
  • Fixed #4060: Updated KSP to 1.9.20-1.0.14 which should contain the fix for a number of incremental processing issues related to KSP (692015f).

Hilt

New features:

  • Fixed google/dagger#2287, #3523: Add support for using @AssistedInject with @HiltViewModel. (8327177). For more details visit https://dagger.dev/hilt/view-model#assisted-injection.
  • Hilt now provides @ActivityRetainedSavedState SavedStateHandle from ActivityRetainedComponent (1cac33b). Note: This feature relies on a somewhat experimental implementation in order to provide this binding lazily while also avoiding leaking the activity. The laziness is a requirement to not restrict activity injection and also to avoid bloating the saved state when unused. While we predict this should be safe to rely on, if issues are discovered with this implementation, it is possible that a future release may have to remove this binding.

Bug fixes:

  • Fixed b/307592550: Fixes FileNotFoundException in AGP 8.3 (6018cd2) and (f946e34).
  • Fixed #4130: Fix HiltGradlePlugin not working in KMP's androidMain directory (f0c2510).

Dagger 2.48.1

Bug Fixes

Fixes #4063, #4054: [KSP]: Fixes some incremental processing issues with KSP (c8a568956) Fixes #4046: [KSP] Fixes "Unexpected element" in XProcessing library (https://github.com/androidx/androidx/commit/bdc1bb06d4f5dbd574bb66cef674ba31846eb4d3) Fixes #4059: [KSP] Align behavior of generic inline types in KSP with KAPT in XProcessing library (https://github.com/androidx/androidx/commit/b0fa9cf493458a1f3b35a1d68298552e3eaae678) Fixes #3980: Fixes Lint crash with AGP 8.1.0. (e651294c2)

... (truncated)

Commits
  • d763c2c 2.49 release
  • a6e65fa Update Dagger's GitHub Actions to move the remaining emulator test to run in ...
  • b074037 Update annotation-experimental dependency to latest version.
  • e0b9b8e Update release script to include changes to artifact-android-local-tests.
  • 692015f Upgrade Dagger's dependencies of kotlin to 1.9.20 and ksp to 1.9.20-1.0.14.
  • cd70dea make ActivityRetainedSaveState an opt-in API.
  • 4dcebb5 Increase time out for Android Emulator Test on API 30.
  • 0896fbe Internal changes
  • 7121b67 Internal change.
  • 4c75892 Update ASM to 9.6 to support newer Java versions
  • 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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
github-actions[bot] commented 11 months ago

Unit Test Results

0 files   -   6  0 suites   - 6   0s :stopwatch: -18s 0 tests  - 12  0 :heavy_check_mark:  - 12  0 :zzz: ±0  0 :x: ±0  0 runs   - 20  0 :heavy_check_mark:  - 20  0 :zzz: ±0  0 :x: ±0 

Results for commit 51cbe712. ± Comparison against base commit 526a1961.

github-actions[bot] commented 11 months ago

Connected Test Results

0 files   -   4  0 suites   - 4   0s :stopwatch: -47s 0 tests  - 11  0 :heavy_check_mark:  - 11  0 :zzz: ±0  0 :x: ±0  0 runs   - 12  0 :heavy_check_mark:  - 12  0 :zzz: ±0  0 :x: ±0 

Results for commit 51cbe712. ± Comparison against base commit 526a1961.

dependabot[bot] commented 7 months ago

Looks like these dependencies are updatable in another way, so this is no longer needed.