Releases: google/error-prone
Releases · google/error-prone
Error Prone 2.13.0
- Handle all annotations with the simple name
Generated
in-XepDisableWarningsInGeneratedCode
(#3094) - Reconcile
BugChecker#isSuppressed
with suppression handling inErrorProneScanner
(#3094) - Fix a bug in
enclosingPackage
(8fa64d4) - Improve performance of fix application (186334b)
- Implicitly treat
@AutoBuilder
setter methods as@CanIgnoreReturnValue
. - Remove some obsolete checks (
PublicConstructorForAbstractClass
,HashCodeToString
)
Error Prone 2.12.1
-
This release adds an infrastructure optimization to
AppliedFix
source code processing.
Error Prone 2.12.0
New checks
BoxedPrimitiveEquality
DoubleBraceInitialization
IgnoredPureGetter
LockOnBoxedPrimitive
IncorrectMainMethod
LongDoubleConversion
RobolectricShadowDirectlyOn
StaticAssignmentOfThrowable
UnnecessaryLongToIntConversion
Varifier
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
AutoValueBuilderDefaultsInConstructor
FloggerLogString
UnicodeDirectionalityCharacters
UnicodeInCode
AlreadyChecked
BugPatternNaming
MissingImplementsComparable
NegativeCharLiteral
PreferredInterfaceType
StronglyTypeByteString
UsingJsr305CheckReturnValue
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
AlwaysThrows
StackTraceElementGetClass
BareDotMetacharacter
DistinctVarargsChecker
MalformedInlineTag
MemoizeConstantVisitorStateLookups
UnicodeEscape
FieldMissingNullable
Java8ApiChecker
ParameterMissingNullable
TooManyParameters
TryWithResourcesVariable
UnnecessaryFinal
VoidMissingNullable
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.
Error Prone 2.7.0
Changes
- Initial support for running on JDK 17 EA builds. Supports for Java 17 languages features is incomplete; bug reports for issues with Java 17 are welcome.
@InlineMe
is a deprecation mechanism that allows automated tools to cleanup existing callers: http://errorprone.info/docs/inlineme
New checks:
Closed issues: #2257, #2260, #2282, #2301, #2322, #2323, #2324