Skip to content

v0.1.0

Compare
Choose a tag to compare
@Stephan202 Stephan202 released this 23 Aug 12:52
· 984 commits to master since this release

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 to BodyValue 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 #24
  • StaticImportCheck 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: Introduce Duration.ofX templates by @Badbond in #41
  • StaticImport: add com.google.errorprone.BugPattern.{LinkType,SeverityLevel,StandardTags} by @rickie in #34
  • StaticImport: Add java.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 for ImportPolicy 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 of SuggestedFix 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 @Stephan202 in #85
  • RequestMappingAnnotation: exempt ServerWebExchange by @rickie in #91
  • Upgrade org.checkerframework:checker-qual 3.21.4 -> 3.22.0 by @Picnic-Bot in #95
  • Upgrade com.newrelic.agent.java:newrelic-api 7.6.0 -> 7.7.0 by @Picnic-Bot in #96
  • Upgrade org.pitest:pitest-maven 1.7.5 -> 1.7.6 by @Picnic-Bot in #94
  • Upgrade com.uber.nullaway:nullaway 0.9.6 -> 0.9.7 by @Picnic-Bot in #97
  • Upgrade io.projectreactor:reactor-bom 2020.0.18 -> 2020.0.19 by @Picnic-Bot in #98
  • Upgrade org.springframework:spring-framework-bom 5.3.19 -> 5.3.20 by @Picnic-Bot in #99
  • Upgrade com.fasterxml.jackson:jackson-bom 2.13.2.20220328 -> 2.13.3 by @Picnic-Bot in #100
  • Ignore abstract classes in JUnit method declaration check by @pimtegelaar in #93
  • Upgrade org.codehaus.mojo:versions-maven-plugin 2.10.0 -> 2.11.0 by @Picnic-Bot in #107
  • Upgrade org.pitest:pitest-maven 1.7.6 -> 1.8.0 by @Picnic-Bot in #108
  • add refaster rule for LastStep.verifyError & assertThat by @davimi in #103
  • Drop unnecessary dependency declarations by @Stephan202 in #106
  • Rename refaster-resource-compiler to refaster-compiler by @rickie in #110
  • Introduce AssertJ exception assertions Refaster templates by @pimtegelaar in #92
  • Enforce Refaster test code formatting by @Stephan202 in #105
  • Add withMessage + String.format Refaster template by @davimi in #101
  • Upgrade Mockito 4.5.1 -> 4.6.0 by @Picnic-Bot in #114
  • Upgrade sortpom-maven-plugin 3.0.1 -> 3.1.3 by @Picnic-Bot in #112
  • Upgrade com.puppycrawl.tools:checkstyle 10.2 -> 10.3 by @Picnic-Bot in #115
  • Improve Refaster tests inconsistencies by @rickie in #109
  • Upgrade org.assertj:assertj-core 3.22.0 -> 3.23.1 by @Picnic-Bot in #116
  • Move files and resources to .refastertemplates packages by @rickie in #113
  • Enable Checkstyle's LocalVariableName check by @rickie in #111
  • Upgrade Mockito 4.6.0 -> 4.6.1 by @Picnic-Bot in #118
  • Upgrade Checker Framework Annotations 3.22.0 -> 3.22.1 by @Picnic-Bot in #117
  • Upgrade com.google.truth:truth 1.0.1 -> 1.1.3 by @Picnic-Bot in #78
  • Upgrade Error Prone fork v2.10.0-picnic-1 -> v2.10.0-picnic-3 by @rickie in #120
  • Fix copy-paste error in ReactorTemplates Javadoc by @rickie in #123
  • Upgrade org.pitest:pitest-junit5-plugin 0.15 -> 0.16 by @Picnic-Bot in #124
  • Upgrade fmt-maven-plugin 2.18 -> 2.19 by @Picnic-Bot in #132
  • Introduce .renovaterc.json by @rickie in #125
  • Upgrade org.checkerframework:checker-qual 3.22.1 -> 3.22.2 by @Picnic-Bot in #131
  • Upgrade com.palantir.baseline:baseline-error-prone 4.42.0 -> 4.145.0 by @Picnic-Bot in #58
  • Upgrade org.pitest:pitest-maven 1.8.0 -> 1.8.1 by @Picnic-Bot in #138
  • Upgrade io.projectreactor:reactor-bom 2020.0.19 -> 2020.0.20 by @Picnic-Bot in #130
  • Upgrade com.newrelic.agent.java:newrelic-api 7.7.0 -> 7.8.0 by @Picnic-Bot in #140
  • Upgrade io.swagger.core.v3:swagger-annotations 2.2.0 -> 2.2.1 by @Picnic-Bot in #137
  • Upgrade Spring 5.3.20 -> 5.3.21 by @Picnic-Bot in #139
  • Upgrade Spring Boot 2.5.6 -> 2.5.14 by @Picnic-Bot in #134
  • Introduce CollectorMutability check by @oxkitsune in #135
  • Add refaster template to rewrite WebClient#uri(<uriBuilder>) to drop the uriBuilder usage by @oxkitsune in #128
  • Add refaster template to rewrite WebClient#method(HttpMethod) to direct http method by @oxkitsune in #129
  • Upgrade org.apache.maven.plugins:maven-enforcer-plugin 3.0.0 -> 3.1.0 by @Picnic-Bot in #126
  • Upgrade pitest-maven-plugin 1.8.1 -> 1.9.0 and pitest-junit5-plugin 0.16 -> 1.0.0 by @Picnic-Bot in #143
  • Drop public modifier from BugPattern tests by @rickie in #136
  • Upgrade NullAway 0.9.7 -> 0.9.8 by @Picnic-Bot in #145
  • Prefer {Mono,Flux}#cast over {Mono,Flux}#map performing a cast by @oxkitsune in #127
  • Upgrade com.puppycrawl.tools:checkstyle 10.3 -> 10.3.1 by @Picnic-Bot in #148
  • Enable Checkstyle to disallow empty lines at the start and the end of blocks by @rickie in #141
  • Upgrade Spring Boot 2.5.14 -> 2.7.1 by @Picnic-Bot in #81
  • Add BugPattern to rewrite assertThat(...).isEqualTo(null) to assertThat(...).isNull() by @oxkitsune in #133
  • Fix build-time Refaster template loading by @Stephan202 in #121
  • Apply Checkstyle to Refaster test resources by @Stephan202 in #146
  • Upgrade pitest-maven-plugin 1.9.0 -> 1.9.2 by @Picnic-Bot in #151
  • Upgrade extra-enforcer-rules 1.5.1 -> 1.6.0 by @Picnic-Bot in #152
  • Clarify MapToNullable Refaster template by @Badbond in #150
  • Upgrade org.checkerframework:checker-qual 3.22.2 -> 3.23.0 by @Picnic-Bot in #153
  • Upgrade io.projectreactor:reactor-bom 2020.0.20 -> 2020.0.21 by @Picnic-Bot in #154
  • Upgrade org.springframework:spring-framework-bom 5.3.21 -> 5.3.22 by @Picnic-Bot in #155
  • Upgrade com.github.ekryd.sortpom:sortpom-maven-plugin 3.1.3 -> 3.2.0 by @Picnic-Bot in #157
  • Upgrade org.apache.maven.plugins:maven-deploy-plugin 2.8.2 -> 3.0.0 by @Picnic-Bot in #160
  • Upgrade org.apache.maven.plugins:maven-install-plugin 2.5.2 -> 3.0.0 by @Picnic-Bot in #161
  • Upgrade io.swagger.core.v3:swagger-annotations 2.2.1 -> 2.2.2 by @Picnic-Bot in #162
  • Upgrade org.springframework.boot:spring-boot-test 2.7.1 -> 2.7.2 by @Picnic-Bot in #163
  • Upgrade Error Prone 2.10.0 -> 2.14.0 and errorprone-slf4j 0.1.4 -> 0.1.12 by @Picnic-Bot in #76
  • Upgrade com.google.guava:guava-bom 31.0.1-jre -> 31.1-jre by @Picnic-Bot in #77
  • Upgrade extra-enforcer-rules 1.6.0 -> 1.6.1 by @Picnic-Bot in #165
  • Upgrade maven-install-plugin 3.0.0 -> 3.0.1 by @Picnic-Bot in #164
  • Upgrade org.apache.maven.plugins:maven-resources-plugin 3.2.0 -> 3.3.0 by @Picnic-Bot in #166
  • Upgrade JUnit Jupiter 5.8.2 -> 5.9.0 by @Picnic-Bot in #167
  • Upgrade com.newrelic.agent.java:newrelic-api 7.8.0 -> 7.9.0 by @Picnic-Bot in #168
  • Implement workaround for MCOMPILER-503 by @rickie in #149
  • Upgrade Checkstyle 10.3.1 -> 10.3.2 by @Picnic-Bot in #173
  • Introduce apply-error-prone-suggestions.sh by @Stephan202 in #171
  • Introduce ErrorProneTestHelperSourceFormat check by @Stephan202 in #147
  • Upgrade Checker Framework Annotations 3.23.0 -> 3.24.0 by @Picnic-Bot in #174
  • Upgrade pitest-maven-plugin 1.9.2 -> 1.9.3 by @Picnic-Bot in #159
  • Upgrade NullAway 0.9.8 -> 0.9.9 by @Picnic-Bot in #175
  • Upgrade org.apache.maven.plugins:maven-site-plugin 3.12.0 -> 3.12.1 by @Picnic-Bot in #177
  • Upgrade org.pitest:pitest-maven 1.9.3 -> 1.9.4 by @Picnic-Bot in #178
  • Upgrade jp.skypencil.errorprone.slf4j:errorprone-slf4j 0.1.12 -> 0.1.13 by @Picnic-Bot in #53
  • Enable the BugPatternNaming check by @Stephan202 in #86
  • Migrate from Travis CI to GitHub Actions by @rickie in #158
  • Speed up the build by @Stephan202 in #169
  • Manage version of org.apache.maven:maven-plugin-api by @Stephan202 in #183
  • Introduce run-mutation-tests.sh by @Stephan202 in #170
  • Restrict Collection#removeAll rewrite to Sets by @rickie in #186
  • Rewrite calls to withMessage(String, Object...) by @rickie in #185
  • Introduce validator for Refaster template collections and tests by @rickie in #43

New Contributors

Full Changelog: https://github.com/PicnicSupermarket/error-prone-support/commits/v0.1.0