Skip to content

Releases: openrewrite/rewrite-static-analysis

2.22.0

20 Nov 11:46
4d6fd83

Choose a tag to compare

What's Changed

  • Prevent AnnotateNullableMethods from failing on TypeScript sources by @greg-at-moderne in #773
  • Fix CombineSemanticallyEqualCatchBlocks for inner exception types by @timtebeek in #772
  • Handle single quotes in ReplaceStringBuilderWithString by @timtebeek in #775
  • Prevent ReplaceLambdaWithMethodReference in nested generic/overloaded contexts by @timtebeek in #776
  • Fix ReplaceLambdaWithMethodReference for local records and classes by @timtebeek in #777
  • Move nullable annotations to array types by @timtebeek in #778
  • Annotate nullable array type parameters by @timtebeek in #779
  • Annotate required parameters with @NonNull and remove throws by @timtebeek in #782
  • Skip UnnecessaryCatch after any missing types via a precondition by @timtebeek in #784
  • Run UnnecessaryCatch after UnnecessaryThrows to remove unused catch clauses by @timtebeek in #785
  • Add JavascriptFileChecker to selectively skip JavaScript files by @timtebeek in #787
  • Fix RemoveUnusedLocalVariables to preserve assignments with side effects by @timtebeek in #741

Full Changelog: v2.21.0...v2.22.0

2.21.0

04 Nov 15:00

Choose a tag to compare

What's Changed

Full Changelog: v2.20.0...v2.21.0

2.20.0

22 Oct 12:03
241a923

Choose a tag to compare

What's Changed

  • Avoid incorrect changes to Kotlin in RemoveUnusedLocalVariables by @timtebeek in #755
  • Fix EqualsAvoidsNull to remove redundant null checks when literal is already on left side by @timtebeek in #756
  • OpenRewrite recipe best practices by @timtebeek in #758
  • Fix RemoveUnusedPrivateFields for Lombok annotations after visibility modifiers by @timtebeek in #759

Full Changelog: v2.19.0...v2.20.0

2.19.0

10 Oct 17:18
3c1a313

Choose a tag to compare

What's Changed

  • Fix FinalClass recipe to correctly handle nested static subclasses by @timtebeek in #742
  • Add Objects.requireNonNullElse/ElseGet support to AnnotateNullableParameters by @timtebeek in #743
  • Fix ReplaceLambdaWithMethodReference handling of nested class imports by @timtebeek in #745
  • OpenRewrite recipe best practices by @timtebeek in #746
  • Update recipe documentation examples by @timtebeek in #747
  • Support for-each loop in NeedBraces by @timtebeek in #749
  • Update documentation examples by @timtebeek in #750
  • Update documentation examples by @timtebeek in #751
  • fixed test that got changed behavior in rewrite-core by @Jenson3210 in #753
  • No longer remove String.valueof when it's called on a method invocation by @Laurens-W in #752

New Contributors

Full Changelog: v2.18.0...v2.19.0

2.18.0

24 Sep 12:37
752d998

Choose a tag to compare

What's Changed

Full Changelog: v2.17.0...v2.18.0

2.17.0

10 Sep 10:50

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.16.0...v2.17.0

2.16.0

27 Aug 16:18

Choose a tag to compare

What's Changed

  • fix: Enhanced UseCollectionInterfaces to prevent conversions when non interface methods are used by @e5LA in #709
  • Improve support method invocations for RemoveRedundantTypeCast by @jevanlingen in #711
  • Do not move field annotations around arrays by @timtebeek in #712
  • Use classpath from resource for Refaster by @jevanlingen in #714
  • Fix NPE in UseCollectionInterfaces with annotated raw collection types by @timtebeek in #717
  • Prefer System getProperty() over getenv() by @Akanksha928 in #679
  • Expand coverage of UseCollectionInterfaces to LinkedList, Stack, TreeMap, TreeSet and PriorityQueue by @timtebeek in #718
  • Fix ReplaceLambdaWithMethodReference to not replace lambdas inside anonymous inner classes by @timtebeek in #723

New Contributors

Full Changelog: v2.15.0...v2.16.0

2.15.0

12 Aug 21:08

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.14.0...v2.15.0

2.14.0

23 Jul 21:44
f817979

Choose a tag to compare

What's Changed

Full Changelog: v2.13.0...v2.14.0

2.13.0

23 Jul 10:47

Choose a tag to compare

What's Changed

Full Changelog: v2.12.0...v2.13.0