Skip to content

Releases: openrewrite/rewrite-static-analysis

v1.0.6

24 Aug 21:22
Compare
Choose a tag to compare

What's Changed

  • Update with rewrite 8.4.0
  • RemoveUnusedLocalVariables fails inside case blocks (test) by @sfc-gh-dtran in #153
  • MinimumSwitchCases should add Enum import when necessary by @timtebeek in #146
  • Extend SimplifyBooleanExpressionVisitor by @timtebeek in #155
  • Detect Kotlin IsNullSafe marker on method invocation by @timtebeek in #156
  • Ternary operator should not be nested by @pstreef in #93
  • Clean up some recipe descriptions by @mike-solomon in #160
  • do not remove try block if there are resources by @joanvr in #161
  • Simplify lambda blocks to expressions replaces return that is used to infer which overloaded method to pick by @pstreef in #163

New Contributors

Full Changelog: v1.0.5...v1.0.6

1.0.5

09 Aug 16:59
92c1f8b
Compare
Choose a tag to compare

What's Changed

  • Do not use String equals for Groovy either by @timtebeek in #142
  • ReplaceLambdaWithMethodReference should not replace ambiguous references by @srmalkan in #148
  • Do not remove unused variables with constructor calls by @timtebeek in #147

Full Changelog: v1.0.4...v1.0.5

1.0.4

26 Jul 20:45
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.3...v1.0.4

1.0.3

04 Jul 09:11
Compare
Choose a tag to compare

What's Changed

  • Better type attribution for ReplaceLambdaWithMethodReference by @knutwannheden in #131
  • Incorporate DataFlowNodes from rewrite-analysis by @aaronist in #133
  • ReplaceLambdaWithMethodReference should not replace lambda supplier of method reference with method reference by @rickie in #132

New Contributors

Full Changelog: v1.0.2...v1.0.3

1.0.2

28 Jun 12:49
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.1...v1.0.2

1.0.1

14 Jun 03:15
da24cf3
Compare
Choose a tag to compare

What's Changed

  • OpenRewrite 8.1.2

v1.0.0

02 Jun 02:39
9e15e8a
Compare
Choose a tag to compare

What's Changed

  • added validation by @srmalkan in #92
  • ExplicitInitialization removes initialization from final fields when using @value by @pstreef in #102
  • UseDiamondOperator should also apply to anonymous classes in Java 9+ by @knutwannheden in #106
  • Do not remove explicit init in case lombok.Value is present on enclosing class by @pstreef in #108
  • Rename(LocalVariables|PrivateFields)ToCamelCase do not replace _ if next character is not an alphabetic char by @pstreef in #104
  • Spelling by @jsoref in #111
  • Retain comments in LambdaBlockToExpression by @xshen053 in #114
  • RemoveExtraSemicolons removes newline if semicolon is in front of statement by @pstreef in #100
  • Adjust to new OpenRewrite 8.0 JavaTemplate API by @timtebeek in #117

New Contributors

Full Changelog: https://github.com/openrewrite/rewrite-static-analysis/commits/v1.0.0