Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump com.google.auto.factory:auto-factory from 1.0.1 to 1.1.0 #592

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 1, 2023

Bumps com.google.auto.factory:auto-factory from 1.0.1 to 1.1.0.

Release notes

Sourced from com.google.auto.factory:auto-factory's releases.

AutoService 1.1.0

  • AutoService now verifies by default that the annotated class does indeed implement the interface in @AutoServce. Previously this only happened when compiling with -Averify=true. The verification can be disabled either by compiling with -Averify=false or by adding @SuppressWarnings("AutoService") to the annotated class. (965e89328)
  • The @AutoService annotation can no longer be applied to an interface or abstract class. This new verification can also be disabled in the same way. (591731c32)

AutoFactory 1.1.0

  • AutoFactory now recognizes and generates both javax.inject and jakarta.inject. If jakarta.inject is on the classpath then it will be used, and otherwise javax.inject. A new compiler option -Acom.google.auto.factory.InjectApi can be set to either javax or jakarta to force the use of one or the other. (67772b26d)
  • There is now a way to add annotations to generated AutoFactory classes. See the javadoc for @AutoFactory.AnnotationsToApply. (b2a1c0885)
  • The exception message for a null value now indicates not only which number argument it is but also how many arguments there are in total. This may lead to a small increase in code size. (ab6c7bfb6)
  • AutoFactory now correctly handles the case where a parameter annotation has @Target with both PARAMETER and TYPE_USE. (9d455fa17)
  • When a requested supertype of the generated factory class has a type parameter, the generated class now always has the same parameter. (206b67396)
  • Better error message when detecting duplicate parameters (59ec5e659)

AutoService 1.0.2

Updating Maven dependencies only. No functional changes.

Commits
  • 1cf1f9f Update readme documentation to reflect the AutoValue release.
  • 11be938 [release] Prepare to release AutoValue 1.1.
  • e72ded3 Merge pull request #235 from google/moe_writing_branch_from_061401e8f8d2b201f...
  • acc0ea3 Update the readme for Auto-Common to more accurately reflect the state of the...
  • b1aca4d Fix a bug that causing invalid code generated when using multiple AutoFactori...
  • 2f7ceda Fixed BasicAnnotationProcessorTest.
  • 6634209 In @​AutoValue builders, allow a property whose type is e.g. ImmutableList<Str...
  • d87666c @​AutoValue.Builder API is no longer provisional.
  • 5839c28 Merge pull request #232 from google/release
  • 60a1da1 Merge pull request #231 from google/release_tools
  • Additional commits viewable in compare view

Dependabot compatibility score

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 will merge this PR once CI passes on it, as requested by @ascopes.


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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps [com.google.auto.factory:auto-factory](https://github.com/google/auto) from 1.0.1 to 1.1.0.
- [Release notes](https://github.com/google/auto/releases)
- [Commits](google/auto@auto-common-1.0.1...auto-value-1.1)

---
updated-dependencies:
- dependency-name: com.google.auto.factory:auto-factory
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added housekeeping java Changes to Java code maven Changes within Maven manifests labels Dec 1, 2023
@ascopes
Copy link
Owner

ascopes commented Dec 1, 2023

@dependabot merge

Copy link

github-actions bot commented Dec 1, 2023

Test Results

  3 288 files    3 288 suites   2s ⏱️
31 251 tests 30 893 ✔️ 235 💤 123
31 576 runs  31 218 ✔️ 235 💤 123

For more details on these failures, see this check.

Results for commit 11a9391.

Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 1, 2023

One of your CI runs failed on this pull request, so Dependabot won't merge it.

Dependabot will still automatically merge this pull request if you amend it and your tests pass.

Copy link

codecov bot commented Dec 1, 2023

Codecov Report

Merging #592 (11a9391) into main (c55506e) will not change coverage.
Report is 12 commits behind head on main.
The diff coverage is n/a.

❗ Current head 11a9391 differs from pull request most recent head e23480e. Consider uploading reports for the commit e23480e to get more accurate results

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #592   +/-   ##
=======================================
  Coverage   88.34%   88.34%           
=======================================
  Files          95       95           
  Lines        2952     2952           
  Branches      237      237           
=======================================
  Hits         2608     2608           
  Misses        296      296           
  Partials       48       48           

@ascopes
Copy link
Owner

ascopes commented Dec 2, 2023

The test needs adjusting to pull in the Jakarta Inject dependencies instead of Javax Inject ones.

@ascopes ascopes merged commit aba32bb into main Dec 2, 2023
17 checks passed
@ascopes ascopes deleted the dependabot/maven/main/com.google.auto.factory-auto-factory-1.1.0 branch December 2, 2023 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
java Changes to Java code maven Changes within Maven manifests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant