Releases: openrewrite/rewrite-static-analysis
Releases · openrewrite/rewrite-static-analysis
v1.0.8
What's Changed
- Unnecessary explicit type arguments removes necessary type arguments by @pstreef in #165
 - Do not simplify boolean return with comments by @timtebeek in #169
 - Preserve arrays when inlining variables by @timtebeek in #170
 - Don't redeclare EnumSet as Set by @Bananeweizen in #183
 - fix: FinalizeMethodArguments considers unary and += expressions by @AlejandroBertolo in #180
 - fix: skip finalizing anonymous class fields in FinalizeLocalVariables by @AlejandroBertolo in #182
 
New Contributors
- @Bananeweizen made their first contribution in #183
 - @AlejandroBertolo made their first contribution in #180
 
Full Changelog: v1.0.7...v1.0.8
1.0.7
v1.0.6
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
- @sfc-gh-dtran made their first contribution in #153
 - @mike-solomon made their first contribution in #160
 - @joanvr made their first contribution in #161
 
Full Changelog: v1.0.5...v1.0.6
1.0.5
What's Changed
- Do not use String 
equalsfor Groovy either by @timtebeek in #142 ReplaceLambdaWithMethodReferenceshould 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
What's Changed
- Replace week year (YYYY) with year (yyyy) in date formats by @AlekSimpson in #129
 - Add DataFlowSpec to ReplaceStackWithDeque by @aaronist in #135
 - Tune/adjust static analysis recipes to work properly on Kotlin file. by @kunli2 in #136
 - Bug Fix for #121 by @AlekSimpson in #137
 - refactor: Migrate rewrite from 7 to 8 by @timtebeek in #141
 - Explicitly sorted streams should be collected to a LinkedHashSet to preserve order by @RossZhang-cpu in #139
 
New Contributors
- @RossZhang-cpu made their first contribution in #139
 
Full Changelog: v1.0.3...v1.0.4
1.0.3
What's Changed
- Better type attribution for 
ReplaceLambdaWithMethodReferenceby @knutwannheden in #131 - Incorporate DataFlowNodes from rewrite-analysis by @aaronist in #133
 ReplaceLambdaWithMethodReferenceshould 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
What's Changed
- new recipe that changes .equals() to .contentEquals() when comparing … by @AlekSimpson in #124
 - Remove hashCode calls on arrays by @AlekSimpson in #128
 - Remove to string calls from array instances by @AlekSimpson in #126
 
New Contributors
- @AlekSimpson made their first contribution in #124
 
Full Changelog: v1.0.1...v1.0.2
1.0.1
What's Changed
- OpenRewrite 8.1.2
 
v1.0.0
What's Changed
- added validation by @srmalkan in #92
 - ExplicitInitialization removes initialization from final fields when using @value by @pstreef in #102
 UseDiamondOperatorshould 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 
JavaTemplateAPI by @timtebeek in #117 
New Contributors
- @srmalkan made their first contribution in #92
 - @pstreef made their first contribution in #102
 - @knutwannheden made their first contribution in #106
 - @jsoref made their first contribution in #111
 - @xshen053 made their first contribution in #114
 - @timtebeek made their first contribution in #117
 
Full Changelog: https://github.com/openrewrite/rewrite-static-analysis/commits/v1.0.0