Releases: openrewrite/rewrite-static-analysis
Releases · openrewrite/rewrite-static-analysis
1.22.0
What's Changed
EqualsAvoidsNull
should flip arguments for constants by @punkratz312 in #398- Prove C# support for ExplicitInitialization recipe by @jevanlingen in #401
- Move
verifyCsharpImplicitThrow
to own Csharp test class by @jevanlingen in #402 - Adjust
MethodNameCasing
to work with C# by @Laurens-W in #397 - Disable
MinimumSwitchCases
for C# by @Laurens-W in #405 - Remove RemoveMethodCallVisitor by @jevanlingen in #406
- Add URLEqualHashCode Recipe by @JLLeitschuh in #251
- Apply the MSAL license by @jkschneider in #408
- Apply MSAL license when generating POMs by @jkschneider in #409
Full Changelog: v1.21.1...v1.22.0
1.21.1
What's Changed
- OpenRewrite v8.41.1: https://github.com/openrewrite/rewrite
Full Changelog: v1.21.0...v1.21.1
1.21.0
What's Changed
- Fix IndexOutOfBoundsException in EqualsAvoidsNull recipe by @ggerbaud in #394
- Unnecessary
return
as last statement invoid
method by @mccartney in #388
New Contributors
- @ggerbaud made their first contribution in #394
- @mccartney made their first contribution in #388
Full Changelog: v1.20.0...v1.21.0
1.20.0
What's Changed
- Updating MoveFieldAnnotationToType to handle moving annotation which are fully defined by @lkerford in #379
- Add
AnnotateNullableMethods
recipe by @nielsdebruin in #364 - Add
BufferedWriterCreation
recipe by @JLLeitschuh in #258 - refactor: add @nullable to methods who may return null by @nielsdebruin in #383
- Add recipe
ReplaceClassIsInstanceWithInstanceof
for SonarQube RSPEC-6202 by @yurii-yu in #381
New Contributors
Full Changelog: v1.19.0...v1.20.0
1.19.0
What's Changed
- Cap the lengths of generate names in the ReplaceDuplicateStringLiterals recipe by @lkerford in #374
- address: LiteralsFirstInComparisons PMD rule by @punkratz312 in #368
- Fix
CatchCauseOnlyRethrows
onlyRethrows check for multi catch statements by @nielsdebruin in #355 - Setting the maximum generated variable length to 40 by @lkerford in #375
- Updating ReplaceDuplicateStringLiterals recipe to use VariableNameUtils to track variable names by @lkerford in #377
- Allow removal of unused local variables with side effects in initializer by @timtebeek in #378
New Contributors
- @lkerford made their first contribution in #374
- @punkratz312 made their first contribution in #368
Full Changelog: v1.18.0...v1.19.0
1.18.0
What's Changed
- InstanceOf: no action if type casts with specific type params used by @BoykoAlex in #338
- update to latest error prone to remove [email protected] vulnerability by @natedanner in #346
- Fix:
CatchClauseOnlyRethrows
does not handle multi catch correctly by @nielsdebruin in #348
New Contributors
- @natedanner made their first contribution in #346
- @nielsdebruin made their first contribution in #348
Full Changelog: v1.17.0...v1.18.0
1.17.0
What's Changed
- Support fluent chains in RemoveMethodCallVisitor by @mbruggmann in #340
- Add WrapOption to OperatorWrap to change detected style easily after running once by @timtebeek in #341
- refactor: Operator wrapping on end of line by @timtebeek in #342
- refactor: Update Gradle wrapper by @shanman190 in #343
Full Changelog: v1.16.0...v1.17.0
1.16.0
What's Changed
- refactor: Update Gradle wrapper by @shanman190 in #335
Full Changelog: v1.15.0...v1.16.0
1.15.0
What's Changed
- refactor: Update Gradle wrapper by @shanman190 in #324
- Migrate to JSpecify from OpenRewrite JSR-305 meta-annotations by @jkschneider in #327
- Convert additional lambdas to expressions based on number of args by @timtebeek in #329
- Fix overly cautious regexp for = UseStringReplace by @blipper in #332
New Contributors
Full Changelog: v1.14.0...v1.15.0
1.14.0
What's Changed
- Sweep preconditions to prepare for C# running by @jkschneider in #319
Full Changelog: v1.13.0...v1.14.0