Releases: PicnicSupermarket/error-prone-support
Releases · PicnicSupermarket/error-prone-support
v0.2.0
What's Changed
🚀 New Error Prone checks and Refaster templates
- Rewrite another
ThrowableAssertAlternative#withMessage(String, Object...)
expression by @ivan-fedorov in #190 - Introduce
NestedOptionals
check by @Venorcis in #202 - Introduce
ImmutablesSortedSetComparator
check by @ferdinand-swoboda in #102 - Require static import of
com.google.errorprone.matchers.Matchers
methods by @oxkitsune in #201 - Introduce
NonEmptyMono
check by @cernat-catalin in #200 - Prefer
String#valueOf
overObjects#toString
by @Stephan202 in #192
✨ Improvements
- Exempt
@RequestAttribute
fromRequestMappingAnnotation
check by @ddeya in #189 - Drop various vacuous null checks by @Stephan202 in #191
- Don't enforce sorting of Spring resource locations by @Ptijohn in #204
- Fix several
RxJava2Adapter
Refaster templates by @Stephan202 in #205
📚 Documentation, test and build improvements
- Enable Error Prone's
VoidMissingNullable
check by @Stephan202 in #180 - Improve
StreamMapToOptionalGet
Refaster template documentation by @rickie in #203 - Enable
nohttp-checkstyle
by @Stephan202 in #206 - Drop unnecessary dependency declarations by @Stephan202 in #208
- Introduce
release.yml
to improve GitHub release notes generation by @rickie in #213
📈 Dependency upgrades
- Upgrade Project Reactor 2020.0.21 -> 2020.0.22 by @Picnic-Bot in #187
- Upgrade maven-javadoc-plugin 3.4.0 -> 3.4.1 by @Picnic-Bot in #195
- Upgrade Mockito 4.6.1 -> 4.7.0 by @Picnic-Bot in #196
- Upgrade org.apache.maven:maven-plugin-api 3.6.3 -> 3.8.6 by @Picnic-Bot in #184
- Upgrade Spring Boot 2.7.2 -> 2.7.3 by @Picnic-Bot in #207
- Upgrade pitest-maven-plugin 1.9.4 -> 1.9.5 by @Picnic-Bot in #211
- Upgrade Immutables 2.9.0 -> 2.9.1 by @Picnic-Bot in #210
New Contributors
- @ddeya made their first contribution in #189
- @Venorcis made their first contribution in #202
- @ferdinand-swoboda made their first contribution in #102
- @Ptijohn made their first contribution in #204
- @cernat-catalin made their first contribution in #200
Full Changelog: v0.1.0...v0.2.0
v0.1.0
What's Changed
- Introduce JUnit Arguments Refaster Rule by @werli in #3
- Add .gitignore by @rickie in #7
- Introduce a check for test method names by @anicolasgar in #6
- Add a few Collection templates by @rickie in #8
- Remove deprecated field from bugpatterns and fix typo by @rickie in #12
- Add Error Prone check for controller method argument annotations by @werli in #4
- Add a BugPattern to sort annotations lexicographically by @rickie in #11
- BugPattern that flags likely missing Refaster annotations by @rickie in #13
- Add
AmbiguousJsonCreatorCheck
by @hisener in #2 - Introduce
TimeZoneUsageCheck
by @anna8712 in #9 - Add validation for
Ordering.explicit()
to contain all enum values by @ivan-fedorov in #14 - Bump some version codes by @rickie in #15
- Add a Refaster template to refactor
BodyFromValue
toBodyValue
by @rickie in #16 - Add Refaster template for
Flux#concat
for a single Mono or Flux by @werli in #20 - Add Refaster template for StepVerifier#create to use Fluent API by @rickie in #18
- StaticImport: Add WebEnvironment enum by @rickie in #19
- StaticImportCheck: Add extra test cases by @rickie in #21
ImmutableSetMultiMapTemplates
: Don't modify the identifier of the lambda by @rickie in #24StaticImportCheck
support exemption of methods by @rickie in #22- Introduce
ScheduledTransactionTraceCheck
by @Stephan202 in #31 - Introduce
FluxFlatMapUsageCheck
by @rickie in #26 - AssertJ: add missing
ImportPolicy
to after template by @rickie in #32 - Introduce
IdentityConversionCheck
by @rickie in #27 - Remove XXX from list in README by @rickie in #29
TimeTemplates
: IntroduceDuration.ofX
templates by @Badbond in #41- StaticImport: add
com.google.errorprone.BugPattern.{LinkType,SeverityLevel,StandardTags}
by @rickie in #34 StaticImport
: Addjava.util.regex.Pattern
as candidate by @rickie in #36- Drop rules from
AssertJBigDecimalTemplates
by @rickie in #30 - Assorted
ZoneOffset
improvements by @rickie in #38 - PrimitiveComparison: Retain type arguments if present by @rickie in #39
- StaticImport: Add
java.util.UUID#randomUUID
as candidate by @Badbond in #42 - Introduce assorted AssertJ templates by @rickie in #37
StaticImportCheck
use static imports forImportPolicy
usages by @Badbond in #45- Introduce
RequestParamAnnotationCheck
for invalid types by @hpnog in #33 - Introduce
ImmutableCollection
templates by @mussatto in #40 StreamTemplates
Add template to prefer joining without delimiter by @Badbond in #44- StaticImportCheck: Add
java.util.Collections
candidates by @rickie in #23 JUnitMethodDeclarationCheck
: emit warning instead ofSuggestedFix
if method name clashes by @rickie in #35- Upgrade com.fasterxml.jackson:jackson-bom 2.13.0 -> 2.13.2.20220328 by @Picnic-Bot in #47
- Upgrade com.uber.nullaway:nullaway 0.9.2 -> 0.9.6 by @Picnic-Bot in #50
- Upgrade com.google.auto:auto-common 1.2 -> 1.2.1 by @Picnic-Bot in #49
- Upgrade com.github.ekryd.sortpom:sortpom-maven-plugin 3.0.0 -> 3.0.1 by @Picnic-Bot in #48
- Upgrade org.hamcrest:hamcrest-library 1.3 -> 2.2 by @Picnic-Bot in #70
- Upgrade com.palantir.assertj-automation:assertj-error-prone 0.3.0 -> 0.6.0 by @Picnic-Bot in #57
- Upgrade org.codehaus.mojo:buildnumber-maven-plugin 1.4 -> 3.0.0 by @Picnic-Bot in #69
- Upgrade com.puppycrawl.tools:checkstyle 9.1 -> 10.1 by @Picnic-Bot in #67
- Upgrade org.assertj:assertj-core 3.21.0 -> 3.22.0 by @Picnic-Bot in #66
- Upgrade org.apache.maven.plugins:maven-site-plugin 3.9.1 -> 3.12.0 by @Picnic-Bot in #65
- Upgrade org.apache.maven.plugins:maven-javadoc-plugin 3.3.1 -> 3.4.0 by @Picnic-Bot in #64
- Upgrade org.apache.maven.plugins:maven-dependency-plugin 3.1.2 -> 3.3.0 by @Picnic-Bot in #63
- Upgrade org.apache.maven.plugins:maven-compiler-plugin 3.8.1 -> 3.10.1 by @Picnic-Bot in #62
- Upgrade org.apache.maven.plugins:maven-clean-plugin 3.1.0 -> 3.2.0 by @Picnic-Bot in #61
- Upgrade io.swagger.core.v3:swagger-annotations 2.1.11 -> 2.2.0 by @Picnic-Bot in #60
- Upgrade de.thetaphi:forbiddenapis 3.2 -> 3.3 by @Picnic-Bot in #59
- Upgrade org.jacoco:jacoco-maven-plugin 0.8.7 -> 0.8.8 by @Picnic-Bot in #56
- Upgrade org.aspectj:aspectjweaver 1.9.7 -> 1.9.9.1 by @Picnic-Bot in #55
- Upgrade org.apache.maven.plugins:maven-jar-plugin 3.2.0 -> 3.2.2 by @Picnic-Bot in #54
- Upgrade io.swagger:swagger-annotations 1.6.3 -> 1.6.6 by @Picnic-Bot in #52
- Upgrade io.projectreactor:reactor-bom 2020.0.13 -> 2020.0.18 by @Picnic-Bot in #51
- Upgrade version.mockito 4.0.0 -> 4.5.1 by @Picnic-Bot in #84
- Upgrade com.puppycrawl.tools:checkstyle 10.1 -> 10.2 by @Picnic-Bot in #80
- Upgrade com.newrelic.agent.java:newrelic-api 7.4.3 -> 7.6.0 by @Picnic-Bot in #79
- Upgrade com.coveo:fmt-maven-plugin 2.12 -> 2.13 by @Picnic-Bot in #75
- Upgrade version.auto-value 1.8.2 -> 1.9 by @Picnic-Bot in #83
- Upgrade org.slf4j:slf4j-api 1.7.32 -> 1.7.36 by @Picnic-Bot in #73
- Upgrade org.junit:junit-bom 5.8.1 -> 5.8.2 by @Picnic-Bot in #71
- Upgrade org.pitest:pitest-maven 1.7.3 -> 1.7.5 by @Picnic-Bot in #72
- Upgrade org.codehaus.mojo:extra-enforcer-rules 1.4 -> 1.5.1 by @Picnic-Bot in #88
- Upgrade org.codehaus.mojo:versions-maven-plugin 2.8.1 -> 2.10.0 by @Picnic-Bot in #89
- Upgrade org.checkerframework:checker-qual 3.19.0 -> 3.21.4 by @Picnic-Bot in #87
- Upgrade org.springframework:spring-framework-bom 5.3.13 -> 5.3.19 by @Picnic-Bot in #74
- Upgrade org.gaul:modernizer-maven-plugin 2.3.0 -> 2.4.0 by @Picnic-Bot in #90
- Apply assorted Maven parent improvements by @stephan2...