Releases: openrewrite/rewrite-static-analysis
Releases · openrewrite/rewrite-static-analysis
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
1.13.0
What's Changed
- NullableOnMethodReturnType by @jkschneider in #317
New Contributors
- @jkschneider made their first contribution in #317
Full Changelog: v1.12.0...v1.13.0
1.12.0
What's Changed
- Don't use lambdas for methods with type parameters. by @mbruggmann in #310
- refactor: Update Gradle wrapper by @shanman190 in #311
- Recipe AddSerialAnnotationToserialVersionUID by @jbessels in #247
- Duplicate variable name in if statement with two different instanceof by @KoTurk in #175
New Contributors
- @mbruggmann made their first contribution in #310
- @jbessels made their first contribution in #247
- @KoTurk made their first contribution in #175
Full Changelog: v1.11.0...v1.12.0
1.11.0
What's Changed
- Do not rewrite String.replaceAll with special chars in replacement string by @protocol7 in #306
New Contributors
- @protocol7 made their first contribution in #306
Full Changelog: v1.10.0...v1.11.0