Skip to content

Releases: PicnicSupermarket/error-prone-support

v0.8.0

27 Jan 12:44
Compare
Choose a tag to compare

What's Changed

🚀 New Refaster rules

✨ Improvements

  • Inline most {BugCheckerRefactoring,Compilation}TestHelper fields by @rickie in #442

📚 Documentation, test and build improvements

  • Enable Checkstyle's JavadocStyle module by @rickie in #451
  • Document MonoFlatMapToFlux Refaster rule limitation by @Stephan202 in #473

📈 Dependency upgrades

Full Changelog: v0.7.0...v0.8.0

v0.7.0

06 Jan 11:20
Compare
Choose a tag to compare

What's Changed

🚀 New Error Prone checks and Refaster rules

  • Introduce JUnitToAssertJRules Refaster rule collection by @giall in #417
  • Introduce/extend RequireNonNullElse{,Get} Refaster rules by @benhalasi in #425

✨ Improvements

  • Have IdentityConversion flag com.google.errorprone.matchers.Matchers#{allOf,anyOf} by @EvgheniiShipilov in #420
  • Have RequestParamType ignore parameter types with custom deserialization support by @chamil-prabodha in #426

🐛 Bug fixes

📚 Documentation, test and build improvements

  • Disable failing JDK 20-ea build for now by @Stephan202 in #419
  • Update website styling and add Google site verification by @Badbond in #408
  • Show original Cody in README and on website home page by @jarmilakaiser in #438
  • Update year to 2023 in footer_custom.html and LICENSE.md by @rickie in #446
  • Add @OnlineDocumentation to TestNGToAssertJRules by @rickie in #447
  • Have apply-error-prone-suggestions.sh download JitPack-hosted artifacts by @Stephan202 in #441

📈 Dependency upgrades

New Contributors

Full Changelog: v0.6.0...v0.7.0

v0.6.0

12 Dec 09:25
Compare
Choose a tag to compare

What's Changed

🚀 New Error Prone checks and Refaster rules

  • Introduce IsInstanceLambdaUsage check by @Ptijohn in #323
  • Introduce Refaster rules to streamline java.time type creation by @CoolTomatos in #322
  • Introduce Optional{Filter,Map} Refaster rules by @werli in #327
  • Improve and extend Refaster Map rules by @Stephan202 in #337
  • Introduce MapIsEmpty Refaster rule by @mlrprananta in #339
  • Extend MonoFlux Refaster rule by @werli in #358
  • Introduce {Mono,Flux}DefaultIfEmpty Refaster rules by @giall in #370
  • Introduce some Refaster rules that avoid nested Publishers by @werli in #374
  • Introduce JUnitClassModifiers check by @oxkitsune in #214
  • Introduce StringCaseLocaleUsage check by @mlrprananta in #376
  • Introduce Mono{Empty,Just,JustOrEmpty} Refaster rules by @werli in #385
  • Introduce MonoFromOptionalSwitchIfEmpty and OptionalMapMonoJust Refaster rules by @werli in #384
  • Introduce CollectionForEach Refaster rule by @amestoyg in #390
  • Introduce additional Refaster rules to ComparatorRules by @Stephan202 in #388
  • Prefer BigDecimal.valueOf(double) over new BigDecimal(double) by @Venorcis in #394
  • Introduce Flux and Stream Refaster rules to suggest filtering before sorting by @CoolTomatos in #393
  • Introduce MonoIdentity and MonoThen Refaster rules by @pacbeckh in #405

✨ Improvements

🐛 Bug fixes

  • Prevent ReverseOrder Refaster rule from introducing a static import by @Stephan202 in #397
  • Improve IsInstanceLambdaUsage check by @Ptijohn in #401
  • Fix suggestions emitted by the StringCaseLocaleUsage check by @rickie in #400

📚 Documentation, test and build improvements

  • Configure documentation URL for StringJoin check by @gtoison in #331
  • Add Reproducible Builds badge to README by @hboutemy in #333
  • Have Renovate file ruby/setup-ruby upgrade PRs at most once a month by @rickie in #357
  • Drop unused Palantir {assertj,baseline}-error-prone dependencies by @rickie in #367
  • Report mutation test coverage of proposed changes by @Stephan202 in #346
  • Improve mutation testing setup by @Stephan202 in #383
  • Downgrade actions/setup-java v3.7.0 -> v3.6.0 by @rickie in #392
  • Drop indentation in feature request issue template by @rickie in #403
  • Show Christmas Cody in README and on website home page by @jarmilakaiser in #404

📈 Dependency upgrades

New Contributors

Full Changelog: https://github.com/PicnicSupermarket/error-p...

Read more

v0.5.0

01 Nov 11:59
Compare
Choose a tag to compare

What's Changed

🚀 New Error Prone checks and Refaster rules

  • Introduce Guava Preconditions Refaster rules by @werli in #292
  • Introduce Reactor ContextEmpty Refaster rule by @werli in #306
  • Prefer Flux#take(long, boolean) over Flux#take(long) to limit upstream generation by @eric-picnic in #314
  • Introduce {Mono,Flux}#zipWith{,Iterable} Refaster rules by @werli in #293
  • Introduce {Mono,Flux}Map{,NotNull} Refaster rules by @cernat-catalin in #142
  • Introduce assorted Reactor error handling Refaster rules by @Ptijohn in #318

✨ Improvements

📚 Documentation, test and build improvements

  • Fix and simplify documented example compiler output by @japborst in #297
  • Don't update project.build.outputTimestamp on mvn versions:set by @Stephan202 in #310
  • Build and test on additional platforms and against additional JDKs by @rickie in #301
  • Improve build and deployment concurrency handling by @Stephan202 in #284

📈 Dependency upgrades

New Contributors

Full Changelog: v0.4.0...v0.5.0

v0.4.0

13 Oct 08:11
Compare
Choose a tag to compare

What's Changed

🚀 New Error Prone checks and Refaster rules

  • Have RefasterTemplateCollection verify template test class names by @Stephan202 in #233
  • Suggest canonical modifier usage for Refaster template definitions by @Stephan202 in #254
  • Introduce Comparators{Min,Max} Refaster templates by @nadirbelarouci in #270
  • Introduce StringJoin check by @Stephan202 in #194
  • Introduce {Mono,Flux}OnErrorComplete Refaster rules by @chamil-prabodha in #273
  • Prefer flatMapIterable(identity()) over flatMap(i -> FluxfromIterable(i)) by @Ptijohn in #279

✨ Improvements

  • Drop unnecessary BugCheckerRefactoringTestHelper file path prefixes by @rickie in #248
  • Rename package tech.picnic.errorprone.refaster.{util => matchers} by @rickie in #267
  • Update BugPattern#{link,linkType.CUSTOM} to link to our website by @rickie in #251
  • Set up documentation website generation and deployment by @japborst in #253
  • Rename Slf4JLogStatementTest to Slf4jLogStatementTest by @Badbond in #289
  • Emit website link along with Refaster refactor suggestions by @Stephan202 in #255

🐛 Bug fixes

  • Fix LexicographicalAnnotationAttributeListing string sorting by @Ptijohn in #281

📚 Documentation, test and build improvements

  • Fix typos and grammar in error-prone-contrib/README.md by @svavahb in #250
  • Update XXX comments to reference google/error-prone#2706 by @rickie in #249
  • Generate reproducible build output by @Stephan202 in #243
  • Set project home page to https://error-prone.picnic.tech by @rickie in #258
  • Introduce GitHub issue template for reporting a bug by @japborst in #223
  • Replace occurrences of which with that in defining clauses by @rickie in #259
  • Introduce GitHub issue template for feature requests by @rickie in #244
  • Apply small README improvements by @sandermak in #266
  • Fix typos and grammar in pom.xml by @rickie in #268
  • Fix default branch reference in GitHub Actions workflow definitions by @japborst in #278
  • Reference blog post in README by @sandermak in #282
  • Have website use theme variables instead of custom SASS overrides by @japborst in #285
  • Unify local and GitHub Actions website generation flow by @japborst in #274
  • Accommodate rapid website development on the website branch by @rickie in #287
  • Consistently prefer "Refaster rule" over "Refaster template" by @rickie in #286

📈 Dependency upgrades

New Contributors

Full Changelog: v0.3.0...v0.4.0

v0.3.0

20 Sep 12:53
Compare
Choose a tag to compare

What's Changed

🚀 New Error Prone checks and Refaster templates

  • Prefer simple null reference check over calling Objects#{isNull,nonNull} by @jeandersonbc in #228
  • Prefer Mono#fromSupplier over Mono#fromCallable where possible by @Stephan202 in #232
  • Introduce IsCharacter matcher and assorted test improvements by @rickie in #237
  • Introduce Refaster templates for AbstractComparableAsserts by @CoolTomatos in #225
  • Introduce OptionalIdentity Refaster template by @svavahb in #245

✨ Improvements

  • Drop the dependency on com.google.errorprone:javac by @Stephan202 in #197
  • Have RequestMappingAnnotation recognize @RequestPart parameters by @Venorcis in #227
  • Improve the RedundantStringConversion check by @Stephan202 in #193

📚 Documentation, test and build improvements

📈 Dependency upgrades

New Contributors

Full Changelog: v0.2.0...v0.3.0

v0.2.0

23 Aug 12:52
Compare
Choose a tag to compare

What's Changed

🚀 New Error Prone checks and Refaster templates

✨ Improvements

  • Exempt @RequestAttribute from RequestMappingAnnotation 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

New Contributors

Full Changelog: v0.1.0...v0.2.0

v0.1.0

23 Aug 12:52
Compare
Choose a tag to compare

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 @stephan2...
Read more