-
Notifications
You must be signed in to change notification settings - Fork 39
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
Upgrade Error Prone 2.10.0 -> 2.14.0 and errorprone-slf4j 0.1.4 -> 0.1.12 #76
Conversation
Suggested commit message:
|
This PR is blocked on #83. |
eb459bd
to
27ca6cc
Compare
27ca6cc
to
f87f2ac
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rebased and added a comment. Due to a compatibility issue this PR also needs to include the upgrade from #53.
Updated suggested commit message:
Upgrade Error Prone 2.10.0 -> 2.14.0 (#76)
This also requires the upgrade of errorprone-slf4j 0.1.4 -> 0.1.12.
See:
- https://github.com/google/error-prone/releases/tag/v2.11.0
- https://github.com/google/error-prone/releases/tag/v2.12.0
- https://github.com/google/error-prone/releases/tag/v2.12.1
- https://github.com/google/error-prone/releases/tag/v2.13.0
- https://github.com/google/error-prone/releases/tag/v2.13.1
- https://github.com/google/error-prone/releases/tag/v2.14.0
- https://github.com/google/error-prone/compare/v2.10.0...v2.14.0
- https://github.com/PicnicSupermarket/error-prone/compare/v2.10.0-picnic-3...v2.14.0-picnic-2
- https://github.com/KengoTODA/errorprone-slf4j/releases/tag/v0.1.5
- https://github.com/KengoTODA/errorprone-slf4j/releases/tag/v0.1.6
- https://github.com/KengoTODA/errorprone-slf4j/releases/tag/v0.1.7
- https://github.com/KengoTODA/errorprone-slf4j/releases/tag/v0.1.8
- https://github.com/KengoTODA/errorprone-slf4j/releases/tag/v0.1.9
- https://github.com/KengoTODA/errorprone-slf4j/releases/tag/v0.1.10
- https://github.com/KengoTODA/errorprone-slf4j/releases/tag/v0.1.11
- https://github.com/KengoTODA/errorprone-slf4j/releases/tag/v0.1.12
- https://github.com/KengoTODA/errorprone-slf4j/compare/v0.1.4...v0.1.12
This upgrade does come with a caveat: due to PicnicSupermarket/error-prone@614b292 the Refaster templates compiled by stock Error Prone and Picnic's fork are no longer compatible.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some context.
pom.xml
Outdated
<version.error-prone-orig>2.10.0</version.error-prone-orig> | ||
<version.error-prone-slf4j>0.1.4</version.error-prone-slf4j> | ||
<version.error-prone-orig>2.13.1</version.error-prone-orig> | ||
<version.error-prone-slf4j>0.1.11</version.error-prone-slf4j> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #53 (comment).
<!-- XXX: Enable this check. --> | ||
-Xep:BugPatternNaming:OFF |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I filed #86 for this, as (a) it introduces quite a lot of changes and (b) it requires more thinking.
f87f2ac
to
fb4c29e
Compare
Rebased, added a commit and updated the suggested commit message. |
Okay, so the reason that the most recent commit doesn't work is as follows. Haven't thought of a good solution yet. |
4b51792
to
4dcec2a
Compare
I reverted the The more I think of it, the more I feel we need to come up with a solution in which (Still don't have a good idea on how to take things from here. Starting to get an inkling of some solution directions, but all have uncertainties and each requires quite a bit of work to (in)validate. TBD.) |
4dcec2a
to
5887bbf
Compare
Rebased and resolved conflicts. |
5887bbf
to
5bb5066
Compare
Rebased. |
Updated the suggested commit message. Not sure how we should do the commit message. In #120 we used a different format (just copied the example over):
I think it is more accurate as to what we are actually updating. However, the current format is "closer" to what we the important part of the update is. WDYT? |
This reverts commit 4b51792.
568bde6
to
9704cb2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rebased and tweaked the original suggested commit message. The most important update here is the non-fork upgrade, so would focus on that.
I'll merge once built, so that we can also prepare some other things for the upcoming release.
This PR contains the following updates:
2.10.0
->2.13.1
Release Notes
google/error-prone
v2.13.1
Compare Source
What's Changed
UnnecessaryBoxedVariable
in https://github.com/google/error-prone/pull/3118Full Changelog: google/error-prone@v2.13.0...v2.13.1
v2.13.0
Compare Source
Generated
in-XepDisableWarningsInGeneratedCode
(#3094)BugChecker#isSuppressed
with suppression handling inErrorProneScanner
(#3094)enclosingPackage
(8fa64d4
)186334b
)@AutoBuilder
setter methods as@CanIgnoreReturnValue
.PublicConstructorForAbstractClass
,HashCodeToString
)Release Diff: v2.12.1...v2.13.0.
v2.12.1
Compare Source
This release adds an infrastructure optimization to
AppliedFix
source code processing.Release Diff: v2.12.0...v2.12.1.
v2.12.0
Compare Source
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: google/error-prone@v2.11.0...v2.12.0
v2.11.0
Compare Source
Error Prone now requires JDK 11 or newer (https://github.com/google/error-prone/issues/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: google/error-prone@v2.10.0...v2.11.0