Releases: google/error-prone
Releases · google/error-prone
Error Prone 2.13.1
What's Changed
- Fix a crash in
UnnecessaryBoxedVariablein #3118 - Include the unicode character in the diagnostic message in #3119
Full Changelog: v2.13.0...v2.13.1
Error Prone 2.13.0
- Handle all annotations with the simple name
Generatedin-XepDisableWarningsInGeneratedCode(#3094) - Reconcile
BugChecker#isSuppressedwith suppression handling inErrorProneScanner(#3094) - Fix a bug in
enclosingPackage(8fa64d4) - Improve performance of fix application (186334b)
- Implicitly treat
@AutoBuildersetter methods as@CanIgnoreReturnValue. - Remove some obsolete checks (
PublicConstructorForAbstractClass,HashCodeToString)
Error Prone 2.12.1
-
This release adds an infrastructure optimization to
AppliedFixsource code processing.
Error Prone 2.12.0
New checks
BoxedPrimitiveEqualityDoubleBraceInitializationIgnoredPureGetterLockOnBoxedPrimitiveIncorrectMainMethodLongDoubleConversionRobolectricShadowDirectlyOnStaticAssignmentOfThrowableUnnecessaryLongToIntConversionVarifier
Fixed issues: #58, #65, #1327, #1654, #2858, #2867, #2916, #2951, #2954, #3006, #3008
Full Changelog: v2.11.0...v2.12.0
Error Prone 2.11.0
Error Prone now requires JDK 11 or newer (#2730).
New checks
AutoValueBuilderDefaultsInConstructorFloggerLogStringUnicodeDirectionalityCharactersUnicodeInCodeAlreadyCheckedBugPatternNamingMissingImplementsComparableNegativeCharLiteralPreferredInterfaceTypeStronglyTypeByteStringUsingJsr305CheckReturnValue
Fixed issues: #2641, #2705, #2776, #2798, #2799, #2819, #2820, #2831, #2833, #2834, #2835, #2861, #2873, #2889, #2892, #2901
Full Changelog: v2.10.0...v2.11.0
Error Prone 2.10.0
New checks
AlwaysThrowsStackTraceElementGetClassBareDotMetacharacterDistinctVarargsCheckerMalformedInlineTagMemoizeConstantVisitorStateLookupsUnicodeEscapeFieldMissingNullableJava8ApiCheckerParameterMissingNullableTooManyParametersTryWithResourcesVariableUnnecessaryFinalVoidMissingNullable
Full Changelog: v2.9.0...v2.10.0
Error Prone 2.9.0
Error Prone 2.8.1
This release adds a new check (LoopOverCharArray), and a handful of other small improvements (v2.8.0...v2.8.1).
Error Prone 2.8.0
Error Prone 2.7.1
Everything in Error Prone 2.7.0, plus an additional fix for JDK 17.