chore(deps): update dependency com.google.errorprone:error_prone_core to v2.49.0 (release/5.0.x)#5177
Closed
renovate[bot] wants to merge 1 commit into
Closed
Conversation
renovate
Bot
force-pushed
the
renovate/release/5.0.x-error-prone-monorepo
branch
4 times, most recently
from
March 9, 2026 09:41
60fe4b1 to
69ba1bd
Compare
renovate
Bot
force-pushed
the
renovate/release/5.0.x-error-prone-monorepo
branch
3 times, most recently
from
March 16, 2026 05:40
e30dec6 to
6a46f7a
Compare
renovate
Bot
force-pushed
the
renovate/release/5.0.x-error-prone-monorepo
branch
2 times, most recently
from
March 30, 2026 04:57
0504a85 to
a7b3522
Compare
renovate
Bot
force-pushed
the
renovate/release/5.0.x-error-prone-monorepo
branch
2 times, most recently
from
April 6, 2026 09:07
f1fc803 to
404878b
Compare
renovate
Bot
force-pushed
the
renovate/release/5.0.x-error-prone-monorepo
branch
from
April 7, 2026 13:14
404878b to
019f672
Compare
renovate
Bot
force-pushed
the
renovate/release/5.0.x-error-prone-monorepo
branch
2 times, most recently
from
April 20, 2026 09:49
1fb332c to
26bd3c9
Compare
renovate
Bot
force-pushed
the
renovate/release/5.0.x-error-prone-monorepo
branch
from
May 4, 2026 05:13
26bd3c9 to
8073ad8
Compare
renovate
Bot
force-pushed
the
renovate/release/5.0.x-error-prone-monorepo
branch
2 times, most recently
from
May 18, 2026 04:31
8604f17 to
0490831
Compare
renovate
Bot
force-pushed
the
renovate/release/5.0.x-error-prone-monorepo
branch
2 times, most recently
from
May 23, 2026 21:11
8f66b70 to
59cc4b2
Compare
renovate
Bot
force-pushed
the
renovate/release/5.0.x-error-prone-monorepo
branch
from
May 23, 2026 21:13
59cc4b2 to
84ed6e7
Compare
Contributor
Author
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update ( If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.42.0→2.49.0Release Notes
google/error-prone (com.google.errorprone:error_prone_core)
v2.49.0: Error Prone 2.49.0This release includes several changes to
MatcherAPIs, and removed some deprecated or problematic APIs:MethodMatchers.withSignatureAPI, which relies on fragiletoStringbehaviour. Alternatives for matching on method signatures with varargs and type parameters were added ina98a1c5.variableType(Matcher)API.Matchers.variableType(Matcher)usesVariableTree#getTypeto match variable types, which own't work for lambda parameters with inferred types after JDK-8268850. The recommended replacement isvariableType(TypePredicate).enclosingPackagereturn an optional. Module elements are not enclosed by a package, checks usingenclosingPackageshouldn't assume an enclosing package exists when processing arbitrary elements.FieldMatchersAPI, similar toMethodMatchers(1dd9c3a).New checks:
AssertThrowsBlockToExpression: Discourage unnecessary block lambdas inassertThrows.AssertThrowsMinimizer: Suggest minimizing the amount of logic inassertThrows.MemorySegmentReferenceEquality: Discourage using reference equality forMemorySegments.PreferThrowsTag: Recommends using@throwsinstead of the legacy@exceptionjavadoc tag.RecordAccessorInCompactConstructor: detect record accessors inside the compact canonical ctors, which read uninitialized fields.Closed issues: #2283, #3503, #5210, #5289, #5548, #5548, #5554, #5609, #5614, #5656
Full changelog: google/error-prone@v2.48.0...v2.49.0
v2.48.0: Error Prone 2.48.0Changes:
@-files) (8e84edf)New checks:
AvoidValueSetterUnnecessarySemicolonClosed issues: #5529, #5537, #5522, #5521
Full changelog: google/error-prone@v2.47.0...v2.48.0
v2.47.0: Error Prone 2.47.0New checks:
InterruptedInCatchBlock: Detect accidental calls toThread.interrupted()inside ofcatch(InterruptedException e)blocks.RefactorSwitch: Refactorings to simplify arrow switchesUnnamedVariable: Rename unused variables to_Closed issues: #1811, #4168, #5459, #5460
Full changelog: google/error-prone@v2.46.0...v2.47.0
v2.46.0: Error Prone 2.46.0Changes:
-XDaddTypeAnnotationsToSymbol=trueis now required for Error Prone invocations on JDK 21, to enable the javac fix for JDK-8225377: type annotations are not visible to javac plugins across compilation boundaries. See #5426 for details.valueattribute from@IncompatibleModifiersand@RequiredModifiers(#2122)EndPosTable,DiagnosticPosition) (5440bb4,06c2905,f3915ec)New checks:
DuplicateAssertion: detect duplicated assertion lines where the argument toassertThatis pureIfChainToSwitch: suggest converting chains of if-statements into arrow switchesScannerUseDelimiter: discourageScanner.useDelimiter("\\A")AddNullMarkedToClass: refactoring to add@NullMarkedannotation to top level classesFull changelog: google/error-prone@v2.45.0...v2.46.0
v2.45.0: Error Prone 2.45.0Changes:
New checks:
AssertSameIncompatible: Detect calls toassertSameand similar assertions, where the calls are guaranteed to either succeed or fail.FormatStringShouldUsePlaceholders: Suggests using a format string instead of string concatenation operations on format methodsClosed issues: #5335
Full changelog: google/error-prone@v2.44.0...v2.45.0
v2.44.0: Error Prone 2.44.0Changes
LabelledBreakTargetis now an errorClosed issues: #5218, #5278
Full changelog: google/error-prone@v2.43.0...v2.44.0
v2.43.0: Error Prone 2.43.0The minimum supported JDK version to run Error Prone is now JDK 21 (#4867).
Changes:
-XepPatchChecksnow skips disabled checks (#4943)AndroidJdkLibsCheckerhas been removed, the recommended replacement for Android code is Android Lint's NewApi checkNew checks:
NullNeedsCastForVarargs: Detect calls that incorrectly passes anullarray instead of anullelement.RedundantNullCheck: detect checks on expressions that are non-null.Closed issues: #4943, #5102, #5107, #5121, #5158, #5217, #5239
Full changelog: google/error-prone@v2.42.0...v2.43.0
Configuration
📅 Schedule: (UTC)
* 0-3 * * 1)* 0-3 * * 1)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.