PicnicSupermarket / error-prone-support

Error Prone extensions: extra bug checkers and a large battery of Refaster rules.
https://error-prone.picnic.tech
MIT License
188 stars 36 forks source link

Upgrade AutoValue 1.10.4 -> 1.11.0 #1203

Closed Picnic-DevPla-Bot closed 2 months ago

Picnic-DevPla-Bot commented 2 months ago

This PR contains the following updates:

Package Type Update Change
AutoValue (source) minor 1.10.4 -> 1.11.0
AutoValue (source) compile minor 1.10.4 -> 1.11.0

Release Notes

google/auto (AutoValue) ### [`v1.11.0`](https://togithub.com/google/auto/releases/tag/auto-value-1.11.0): AutoValue 1.11.0 ##### What's Changed - AutoValue (including AutoBuilder) no longer bundles the Kotlin metadata API. This may require adding an explicit dependency on `org.jetbrains.kotlinx:kotlinx-metadata-jvm:0.9.0` or `org.jetbrains.kotlin:kotlin-metadata-jvm:2.0.0` to client code that uses AutoBuilder to build Kotlin classes. The metadata API has changed from `kotlinx.metadata` to `kotlin.metadata`, but AutoBuilder uses reflection to function with either. ([`260b61e`](https://togithub.com/google/auto/commit/260b61ec7)) - Support for generating Java 7 code has been removed from AutoValue, AutoAnnotation, and AutoBuilder. You must be on at least Java 8, or an Android version with desugaring that allows it to pass for Java 8. 1.10.4 is the last AutoValue version with support for Java 7. ([`b9142b7`](https://togithub.com/google/auto/commit/b9142b7cd)) - AutoBuilder now reports an error if it encounters a `@Nullable` primitive parameter. Primitive types cannot be `null`, and should not be annotated for nullness. ([`7cbdeb4`](https://togithub.com/google/auto/commit/7cbdeb43b)) - Annotations on type parameters, like `abstract @​Nullable T foo()`, are now better propagated to fields and constructor parameters. ([`92d881e`](https://togithub.com/google/auto/commit/92d881ed9)) - The generated `toBuilder()` method now says `new AutoValue_Foo.Builder(this)` rather than just `new Builder(this)`, to do the right thing if an extension generates its own subclass of `Builder`. ([`324470b`](https://togithub.com/google/auto/commit/324470ba2)) - The "copy constructor" in a generated `Builder` is no longer private. ([`6730615`](https://togithub.com/google/auto/commit/6730615c9)) - Added support for extending AutoValue.Builder with abstract methods. ([`7d4b020`](https://togithub.com/google/auto/commit/7d4b020dd)) - The annotation processors now support all kinds of resource URLs when loading template resources. This change only affects the case where the AutoValue (etc) processors are being invoked in an unusual environment, for example from a GraalVM app. It does not affect code that is merely being compiled for such an environment. ([`80b0ada`](https://togithub.com/google/auto/commit/80b0ada75)) **Full Changelog**: https://github.com/google/auto/compare/auto-value-1.10.4...auto-value-1.11.0

Picnic-DevPla-Bot commented 2 months ago

Suggested commit message:

Upgrade AutoValue 1.10.4 -> 1.11.0 (#1203)

See:
- https://github.com/google/auto/releases/tag/auto-value-1.11.0
- https://github.com/google/auto/compare/auto-value-1.10.4...auto-value-1.11.0
github-actions[bot] commented 2 months ago

Looks good. No mutations were possible for these changes. Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud