Skip to content

Bump dagger_version from 2.11 to 2.28 - #23

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/gradle/dagger_version-2.28
Open

Bump dagger_version from 2.11 to 2.28#23
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/gradle/dagger_version-2.28

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 20, 2020

Copy link
Copy Markdown

Bumps dagger_version from 2.11 to 2.28.
Updates dagger from 2.11 to 2.28

Release notes

Sourced from dagger's releases.

Dagger 2.28

What's New

Hilt Alpha Release

Hilt is a new library that layers on top of Dagger and provides a standard way to incorporate Dagger into an Android application. For more information, see https://dagger.dev/hilt.

Lint checks in Dagger for Kotlin (2597f5a6)

Dagger now includes Lint checks for Kotlin users. The checks cover the following cases:

  • Using a redundant field: site target in injected properties
  • Using a redundant @JvmStatic in object modules.
  • Annotating companion objects with @Module (@Module should just be on the enclosing class)

These checks are included by default for users of dagger-android and hilt-android. For Kotlin only projects the checks are available in a new artifact, com.google.dagger:dagger-lint:<version> and can be applied via the lintChecks configuration in Gradle:

apply plugin: "com.android.lint"
dependencies {
lintChecks "com.google.dagger:dagger-lint:<version>"
}

Bug Fixes

  • Fixes #1812: Fix deploy script for Mac by updating bazel-common containing a fix in the jarjar macro. (11c86ec4)
  • Fixes #1693: Gracefully handle @kotlin.Metadata produced by Kotlin compiler versions earlier than 1.3. (477d052c)
  • Fixes #1805: Add custom lint checks to Dagger (2597f5a6)
  • Fixes #1769: Minor fixes to error messages (8e29da20)

Dagger 2.27

What's New

  1. Fix #955: No longer generate MembersInjectors for types without local injection sites. (20f6442f)
  2. Fix #1414: Allow multiple scoped component dependencies (113c498e)
  3. Fix #1734: Add support constructor with content layout id for AndroidX (22b27266)
  4. Fix #1740: Remove a usage of Guava API not available in the '-android' variant in case of processor classpath conflicts. (bfb87d5b)
  5. Fix #1665: Add an explicit check for member injection of Kotlin object classes rather than crashing. (550d6969)
  6. Fix: #1612: Fix duplicate binding errors when a component dependency has the same method defined multiple times via multiple interfaces (0bb69e91)

Experimental Error Message Format

This release includes a flag for using the new experimental error message format. The format and some content of error messages will be changed with this flag in order to improve readability. Please leave feedback on issue #1769. Pending feedback, this format will eventually become the default and replace current error messages.

To opt-in to the new format use -Adagger.experimentalDaggerErrorMessages=enabled.

Currently, this flag:

  • Shortens all class names to the simple class name. A legend is output at the bottom of the errors to map short names to fully qualified names.
  • Reports errors as a single error for each root component.
  • Adds color to error tags to visibly separate individual errors
  • Reduces some extraneous information from some messages.

Dagger 2.26

What's new

Commits
  • d96c543 2.28 release
  • c1ddd0c Update Hilt Gradle plugin to publish sources and javadoc jars.
  • 65be940 Add the <parent> and <scm><tag> to the Hilt Gradle plugin POM
  • 194fbce Add javadoc and java srcs jars for Hilt android compiler and Dagger lint.
  • 41b0b92 internal refactor
  • 3a169af internal refactor
  • 79cabea Update error message when app is not Hilt injected.
  • 9fff4bf Move tests to sharedTest and configure to run with both test and androidTest
  • 34193b7 Better error message if reflection fails to suggest adding hilt compiler buil...
  • e1f4243 Add try-finally around MarkThatRulesRanRule's evaluate() to ensure we clear s...
  • Additional commits viewable in compare view

Updates dagger-compiler from 2.11 to 2.28

Release notes

Sourced from dagger-compiler's releases.

Dagger 2.28

What's New

Hilt Alpha Release

Hilt is a new library that layers on top of Dagger and provides a standard way to incorporate Dagger into an Android application. For more information, see https://dagger.dev/hilt.

Lint checks in Dagger for Kotlin (2597f5a6)

Dagger now includes Lint checks for Kotlin users. The checks cover the following cases:

  • Using a redundant field: site target in injected properties
  • Using a redundant @JvmStatic in object modules.
  • Annotating companion objects with @Module (@Module should just be on the enclosing class)

These checks are included by default for users of dagger-android and hilt-android. For Kotlin only projects the checks are available in a new artifact, com.google.dagger:dagger-lint:<version> and can be applied via the lintChecks configuration in Gradle:

apply plugin: "com.android.lint"
dependencies {
lintChecks "com.google.dagger:dagger-lint:<version>"
}

Bug Fixes

  • Fixes #1812: Fix deploy script for Mac by updating bazel-common containing a fix in the jarjar macro. (11c86ec4)
  • Fixes #1693: Gracefully handle @kotlin.Metadata produced by Kotlin compiler versions earlier than 1.3. (477d052c)
  • Fixes #1805: Add custom lint checks to Dagger (2597f5a6)
  • Fixes #1769: Minor fixes to error messages (8e29da20)

Dagger 2.27

What's New

  1. Fix #955: No longer generate MembersInjectors for types without local injection sites. (20f6442f)
  2. Fix #1414: Allow multiple scoped component dependencies (113c498e)
  3. Fix #1734: Add support constructor with content layout id for AndroidX (22b27266)
  4. Fix #1740: Remove a usage of Guava API not available in the '-android' variant in case of processor classpath conflicts. (bfb87d5b)
  5. Fix #1665: Add an explicit check for member injection of Kotlin object classes rather than crashing. (550d6969)
  6. Fix: #1612: Fix duplicate binding errors when a component dependency has the same method defined multiple times via multiple interfaces (0bb69e91)

Experimental Error Message Format

This release includes a flag for using the new experimental error message format. The format and some content of error messages will be changed with this flag in order to improve readability. Please leave feedback on issue #1769. Pending feedback, this format will eventually become the default and replace current error messages.

To opt-in to the new format use -Adagger.experimentalDaggerErrorMessages=enabled.

Currently, this flag:

  • Shortens all class names to the simple class name. A legend is output at the bottom of the errors to map short names to fully qualified names.
  • Reports errors as a single error for each root component.
  • Adds color to error tags to visibly separate individual errors
  • Reduces some extraneous information from some messages.

Dagger 2.26

What's new

Commits
  • d96c543 2.28 release
  • c1ddd0c Update Hilt Gradle plugin to publish sources and javadoc jars.
  • 65be940 Add the <parent> and <scm><tag> to the Hilt Gradle plugin POM
  • 194fbce Add javadoc and java srcs jars for Hilt android compiler and Dagger lint.
  • 41b0b92 internal refactor
  • 3a169af internal refactor
  • 79cabea Update error message when app is not Hilt injected.
  • 9fff4bf Move tests to sharedTest and configure to run with both test and androidTest
  • 34193b7 Better error message if reflection fails to suggest adding hilt compiler buil...
  • e1f4243 Add try-finally around MarkThatRulesRanRule's evaluate() to ensure we clear s...
  • 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)

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Jun 20, 2020
Bumps `dagger_version` from 2.11 to 2.28.

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

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/gradle/dagger_version-2.28 branch from 3ce9ea1 to f34abbb Compare June 20, 2020 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants