Releases: PicnicSupermarket/error-prone-support
Releases · PicnicSupermarket/error-prone-support
v0.8.0
What's Changed
🚀 New Refaster rules
- Introduce
MapGetOrDefault
Refaster rule by @benhalasi in #439 - Extend
MonoIdentity
Refaster rule by @werli in #465 - Extend
MonoIdentity
Refaster rule by @werli in #470
✨ Improvements
📚 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
- Upgrade swagger-annotations 2.2.7 -> 2.2.8 by @Picnic-Bot in #452
- Upgrade AssertJ 3.24.0 -> 3.24.1 by @Picnic-Bot in #453
- Upgrade JUnit Jupiter 5.9.1 -> 5.9.2 by @Picnic-Bot in #457
- Upgrade Project Reactor 2022.0.1 -> 2022.0.2 by @Picnic-Bot in #456
- Upgrade Error Prone 2.17.0 -> 2.18.0 by @Stephan202 in #455
- Upgrade pitest-junit5-plugin 1.1.1 -> 1.1.2 by @Picnic-Bot in #462
- Upgrade NullAway 0.10.7 -> 0.10.8 by @Picnic-Bot in #464
- Upgrade AssertJ 3.24.1 -> 3.24.2 by @Picnic-Bot in #467
- Upgrade errorprone-slf4j 0.1.17 -> 0.1.18 by @Picnic-Bot in #466
- Upgrade nohttp-checkstyle 0.0.10 -> 0.0.11 by @Picnic-Bot in #458
- Upgrade maven-checkstyle-plugin 3.2.0 -> 3.2.1 by @Picnic-Bot in #459
- Upgrade maven-dependency-plugin 3.4.0 -> 3.5.0 by @Picnic-Bot in #461
- Upgrade Mockito 4.11.0 -> 5.0.0 by @Picnic-Bot in #463
- Upgrade Spring Boot 2.7.7 -> 2.7.8 by @Picnic-Bot in #471
- Upgrade Spring 5.3.24 -> 5.3.25 by @Picnic-Bot in #460
- Upgrade TestNG 7.4.0 -> 7.7.1 by @Picnic-Bot in #469
Full Changelog: v0.7.0...v0.8.0
v0.7.0
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
flagcom.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
- Prevent
NestedOptionals
from throwing an NPE by @gtoison in #412 - Improve
IdentityConversion
check by @Stephan202 in #407 - Improve
JUnitMethodDeclaration
check by @Stephan202 in #406
📚 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
andLICENSE.md
by @rickie in #446 - Add
@OnlineDocumentation
toTestNGToAssertJRules
by @rickie in #447 - Have
apply-error-prone-suggestions.sh
download JitPack-hosted artifacts by @Stephan202 in #441
📈 Dependency upgrades
- Upgrade Error Prone fork v2.16-picnic-1 -> v2.16-picnic-2 by @Stephan202 in #410
- Upgrade SLF4J API 2.0.5 -> 2.0.6 by @Picnic-Bot in #409
- Upgrade Project Reactor 2022.0.0 -> 2022.0.1 by @Picnic-Bot in #411
- Upgrade versions-maven-plugin 2.13.0 -> 2.14.1 by @Picnic-Bot in #414
- Upgrade JSpecify 0.2.0 -> 0.3.0 by @Picnic-Bot in #415
- Upgrade Mockito 4.9.0 -> 4.10.0 by @Picnic-Bot in #416
- Upgrade Immutables Annotations 2.9.2 -> 2.9.3 by @Picnic-Bot in #413
- Upgrade Arcmutate 1.0.1 -> 1.0.2 by @Picnic-Bot in #418
- Upgrade versions-maven-plugin 2.14.1 -> 2.14.2 by @Picnic-Bot in #424
- Upgrade Spring Boot 2.7.6 -> 2.7.7 by @Picnic-Bot in #423
- Upgrade AspectJ 1.9.9.1 -> 1.9.19 by @Picnic-Bot in #422
- Upgrade Mockito 4.10.0 -> 4.11.0 by @Picnic-Bot in #427
- Upgrade NullAway 0.10.5 -> 0.10.6 by @Picnic-Bot in #429
- Upgrade Checkstyle 10.5.0 -> 10.6.0 by @Picnic-Bot in #435
- Upgrade errorprone-slf4j 0.1.16 -> 0.1.17 by @Picnic-Bot in #433
- Upgrade Error Prone 2.16 -> 2.17.0 by @Stephan202 in #432
- Upgrade pitest-junit5-plugin 1.1.0 -> 1.1.1 by @Picnic-Bot in #440
- Upgrade NullAway 0.10.6 -> 0.10.7 by @Picnic-Bot in #444
- Upgrade pitest-maven-plugin 1.10.3 -> 1.10.4 by @Picnic-Bot in #445
- Upgrade Checker Framework Annotations 3.28.0 -> 3.29.0 by @Picnic-Bot in #449
- Upgrade AssertJ Core 3.23.1 -> 3.24.0 by @Picnic-Bot in #448
New Contributors
- @EvgheniiShipilov made their first contribution in #420
- @benhalasi made their first contribution in #425
Full Changelog: v0.6.0...v0.7.0
v0.6.0
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
Publisher
s 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
andOptionalMapMonoJust
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)
overnew BigDecimal(double)
by @Venorcis in #394 - Introduce
Flux
andStream
Refaster rules to suggest filtering before sorting by @CoolTomatos in #393 - Introduce
MonoIdentity
andMonoThen
Refaster rules by @pacbeckh in #405
✨ Improvements
- Improve
Tree
deletion suggestions by @Stephan202 in #347 - Introduce
More{ASTHelpers,JUnitMatchers,Matchers}
utility classes by @eric-picnic in #335
🐛 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
- Upgrade swagger-annotations 2.2.4 -> 2.2.6 by @Picnic-Bot in #329
- Upgrade NullAway 0.10.3 -> 0.10.4 by @Picnic-Bot in #328
- Upgrade Checker Framework Annotations 3.26.0 -> 3.27.0 by @Picnic-Bot in #330
- Upgrade Jackson 2.13.4.20221013 -> 2.14.0 by @Picnic-Bot in #338
- Upgrade ruby/setup-ruby v1.120.0 -> v1.120.1 by @Picnic-Bot in #341
- Upgrade ruby/setup-ruby v1.120.1 -> v1.121.0 by @Picnic-Bot in #343
- Upgrade Project Reactor 2020.0.24 -> 2022.0.0 by @Picnic-Bot in #342
- Upgrade pitest-maven-plugin 1.9.9 -> 1.9.10 by @Picnic-Bot in #344
- Upgrade modernizer-maven-plugin 2.4.0 -> 2.5.0 by @Picnic-Bot in #348
- Upgrade Mockito 4.8.1 -> 4.9.0 by @Picnic-Bot in #349
- Upgrade actions/upload-pages-artifact v1.0.4 -> v1.0.5 by @Picnic-Bot in #353
- Upgrade swagger-annotations 2.2.6 -> 2.2.7 by @Picnic-Bot in #351
- Upgrade pitest-maven-plugin 1.9.10 -> 1.9.11 by @Picnic-Bot in #354
- Upgrade ruby/setup-ruby v1.121.0 -> v1.123.0 by @Picnic-Bot in #345
- Upgrade swagger-annotations 1.6.8 -> 1.6.9 by @Picnic-Bot in #352
- Upgrade New Relic Java Agent 7.11.0 -> 7.11.1 by @Picnic-Bot in #350
- Upgrade Spring 5.3.23 -> 5.3.24 by @Picnic-Bot in #355
- Upgrade AutoValue 1.10 -> 1.10.1 by @Picnic-Bot in #361
- Upgrade NullAway 0.10.4 -> 0.10.5 by @Picnic-Bot in #359
- Upgrade SLF4J API 2.0.3 -> 2.0.4 by @Picnic-Bot in #360
- Upgrade maven-install-plugin 3.0.1 -> 3.1.0 by @Picnic-Bot in #362
- Upgrade actions/deploy-pages v1.2.2 -> v1.2.3 by @Picnic-Bot in #365
- Upgrade Jackson 2.14.0 -> 2.14.1 by @Picnic-Bot in #366
- Upgrade actions/configure-pages v2.1.2 -> v2.1.3 (#316) by @Picnic-Bot in #368
- Upgrade Checkstyle 10.4 -> 10.5.0 by @Picnic-Bot in #375
- Upgrade SLF4J API 2.0.4 -> 2.0.5 by @Picnic-Bot in #371
- Upgrade Spring Boot 2.7.5 -> 2.7.6 by @Picnic-Bot in #372
- Upgrade maven-dependency-plugin 3.3.0 -> 3.4.0 by @Picnic-Bot in #377
- Upgrade ruby/setup-ruby v1.123.0 -> v1.126.0 by @Picnic-Bot in #379
- Upgrade actions/setup-java v3.6.0 -> v3.7.0 by @Picnic-Bot in #381
- Upgrade Checker Framework Annotations 3.27.0 -> 3.28.0 by @Picnic-Bot in #382
- Upgrade Pitest Git plugins 1.0.1 -> 1.0.2 by @Picnic-Bot in #380
- Upgrade Pitest Git plugins 1.0.2 -> 1.0.3 by @Picnic-Bot in #391
- Upgrade pitest-maven-plugin 1.9.11 -> 1.10.3 by @Picnic-Bot in #378
- Upgrade actions/setup-java v3.6.0 -> v3.8.0 by @Picnic-Bot in #395
New Contributors
- @gtoison made their first contribution in #331
- @hboutemy made their first contribution in #333
- @mlrprananta made their first contribution in #339
- @giall made their first contribution in #370
- @amestoyg made their first contribution in #390
- @jarmilakaiser made their first contribution in #404
- @pacbeckh made their first contribution in #405
Full Changelog: https://github.com/PicnicSupermarket/error-p...
v0.5.0
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)
overFlux#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
- Make the build JDK 18+ compatible by @rickie in #304
- Have
LexicographicalAnnotationListing
sortTYPE_USE
annotations last by @Stephan202 in #182 - Migrate from JSR 305 to JSpecify by @Stephan202 in #181
- Introduce additional matchers to
TimeZoneUsage
rule by @chamil-prabodha in #311 - Introduce
MoreTypes
utility class by @Stephan202 in #234 - Have
FluxFlatMapUsage
better handle nestedPublisher
s by @eliashenko in #224 - By default, prevent
BugChecker
s from introducing new dependencies by @Stephan202 in #308
📚 Documentation, test and build improvements
- Fix and simplify documented example compiler output by @japborst in #297
- Don't update
project.build.outputTimestamp
onmvn 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
- Upgrade ruby/setup-ruby v1.117.0 -> v1.118.0 by @Picnic-Bot in #298
- Upgrade Error Prone 2.15.0 -> 2.16 by @Picnic-Bot in #291
- Upgrade Jackson 2.13.4 -> 2.13.4.20221013 by @Picnic-Bot in #294
- Upgrade Project Reactor 2020.0.23 -> 2020.0.24 by @Picnic-Bot in #295
- Upgrade swagger-annotations 1.6.7 -> 1.6.8 by @Picnic-Bot in #300
- Upgrade errorprone-slf4j 0.1.15 -> 0.1.16 by @Picnic-Bot in #296
- Upgrade swagger-annotations 2.2.3 -> 2.2.4 by @Picnic-Bot in #299
- Upgrade actions/deploy-pages v1.2.1 -> v1.2.2 by @Picnic-Bot in #302
- Upgrade Mockito 4.8.0 -> 4.8.1 by @Picnic-Bot in #303
- Upgrade actions/setup-java v3.5.1 -> v3.6.0 by @Picnic-Bot in #305
- Upgrade Spring Boot 2.7.4 -> 2.7.5 by @Picnic-Bot in #307
- Upgrade versions-maven-plugin 2.12.0 -> 2.13.0 by @Picnic-Bot in #309
- Upgrade actions/configure-pages v2.1.1 -> v2.1.2 by @Picnic-Bot in #312
- Upgrade ruby/setup-ruby v1.118.0 -> v1.120.0 by @Picnic-Bot in #317
- Upgrade pitest-maven-plugin 1.9.8 -> 1.9.9 (#136) by @Picnic-Bot in #316
- Upgrade tidy-maven-plugin 1.1.0 -> 1.2.0 by @Picnic-Bot in #271
- Upgrade New Relic Java Agent 7.10.0 -> 7.11.0 by @Picnic-Bot in #320
- Upgrade NullAway 0.10.2 -> 0.10.3 by @Picnic-Bot in #324
- Upgrade Checkstyle 10.3.4 -> 10.4 by @Picnic-Bot in #325
New Contributors
- @eric-picnic made their first contribution in #314
- @eliashenko made their first contribution in #224
Full Changelog: v0.4.0...v0.5.0
v0.4.0
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())
overflatMap(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
toSlf4jLogStatementTest
by @Badbond in #289 - Emit website link along with Refaster refactor suggestions by @Stephan202 in #255
🐛 Bug fixes
📚 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
withthat
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
- Upgrade JUnit Jupiter 5.9.0 -> 5.9.1 by @Picnic-Bot in #252
- Upgrade SLF4J API 1.7.36 -> 2.0.2 by @Picnic-Bot in #209
- Upgrade NullAway 0.10.1 -> 0.10.2 by @Picnic-Bot in #256
- Upgrade Spring Boot 2.7.3 -> 2.7.4 by @Picnic-Bot in #257
- Upgrade Checkstyle 10.3.3 -> 10.3.4 by @Picnic-Bot in #260
- Upgrade actions/setup-java v3.4.1 -> v3.5.1 by @Picnic-Bot in #262
- Upgrade swagger-annotations 1.6.6 -> 1.6.7 by @Picnic-Bot in #264
- Upgrade swagger-annotations 2.2.2 -> 2.2.3 by @Picnic-Bot in #263
- Upgrade pitest-junit5-plugin 1.0.0 -> 1.1.0 by @Picnic-Bot in #265
- Upgrade SLF4J API 2.0.2 -> 2.0.3 by @Picnic-Bot in #269
- Upgrade Forbidden APIs plugin 3.3 -> 3.4 by @Picnic-Bot in #272
- Upgrade pitest-maven-plugin 1.9.5 -> 1.9.6 by @Picnic-Bot in #275
- Upgrade Checker Framework Annotations 3.25.0 -> 3.26.0 by @Picnic-Bot in #276
- Upgrade actions/checkout v3.0.2 -> v3.1.0 by @Picnic-Bot in #277
- Upgrade pitest-maven-plugin 1.9.6 -> 1.9.7 by @Picnic-Bot in #280
- Upgrade AutoValue 1.9 -> 1.10 by @Picnic-Bot in #283
- Upgrade pitest-maven-plugin 1.9.7 -> 1.9.8 by @Picnic-Bot in #290
New Contributors
- @sandermak made their first contribution in #266
- @nadirbelarouci made their first contribution in #270
- @chamil-prabodha made their first contribution in #273
Full Changelog: v0.3.0...v0.4.0
v0.3.0
What's Changed
🚀 New Error Prone checks and Refaster templates
- Prefer simple
null
reference check over callingObjects#{isNull,nonNull}
by @jeandersonbc in #228 - Prefer
Mono#fromSupplier
overMono#fromCallable
where possible by @Stephan202 in #232 - Introduce
IsCharacter
matcher and assorted test improvements by @rickie in #237 - Introduce Refaster templates for
AbstractComparableAssert
s 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
- Introduce
release.yml
to improve GitHub release notes generation by @rickie in #213 - Reduce GitHub Actions build workflow permissions by @Stephan202 in #221
- Fix typo in
pom.xml
by @rickie in #222 - Drop or replace references to Travis CI by @nathankooij in #236
- Introduce
{CONTRIBUTING,LICENSE,README}.md
and Error Prone Support's logo by @japborst in #212 - Add newline at end of
logo.svg
andlogo-dark.svg
by @Stephan202 in #247 - Fix Javadoc JAR generation by @Stephan202 in #246
📈 Dependency upgrades
- Upgrade Immutables 2.9.0 -> 2.9.1 by @Picnic-Bot in #210
- Upgrade maven-checkstyle-plugin 3.1.2 -> 3.2.0 by @Picnic-Bot in #215
- Upgrade Checkstyle 10.3.2 -> 10.3.3 by @Picnic-Bot in #216
- Upgrade errorprone-slf4j 0.1.13 -> 0.1.15 by @Picnic-Bot in #218
- Upgrade NullAway 0.9.9 -> 0.9.10 by @Picnic-Bot in #217
- Upgrade Checker Framework Annotations 3.24.0 -> 3.25.0 by @Picnic-Bot in #219
- Upgrade Jackson 2.13.3 -> 2.13.4 by @Picnic-Bot in #220
- Upgrade Immutables Annotations 2.9.1 -> 2.9.2 by @Picnic-Bot in #229
- Upgrade Mockito 4.7.0 -> 4.8.0 by @Picnic-Bot in #230
- Upgrade NullAway 0.9.10 -> 0.10.0 by @Picnic-Bot in #231
- Upgrade NullAway 0.10.0 -> 0.10.1 by @Picnic-Bot in #238
- Upgrade Project Reactor 2020.0.22 -> 2020.0.23 by @Picnic-Bot in #239
- Upgrade Spring 5.3.22 -> 5.3.23 by @Picnic-Bot in #240
- Upgrade New Relic Java Agent 7.9.0 -> 7.10.0 by @Picnic-Bot in #241
- Upgrade versions-maven-plugin 2.11.0 -> 2.12.0 by @Picnic-Bot in #226
- Upgrade maven-jar-plugin 3.2.2 -> 3.3.0 by @Picnic-Bot in #242
- Upgrade Error Prone 2.14.0 -> 2.15.0 by @Picnic-Bot in #179
New Contributors
- @jeandersonbc made their first contribution in #228
- @nathankooij made their first contribution in #236
- @CoolTomatos made their first contribution in #225
- @japborst made their first contribution in #212
- @svavahb made their first contribution in #245
Full Changelog: v0.2.0...v0.3.0
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...