Releases: openrewrite/rewrite-static-analysis
Releases · openrewrite/rewrite-static-analysis
2.31.0
What's Changed
- Add InterruptedExceptionHandling recipe (RSPEC-S2142) by @timtebeek in #838
- Add ExplicitThis recipe to make
this.prefix explicit. by @motlin in #791 - SimplifyBooleanExpression: skip nullable boolean comparisons in Kotlin by @timtebeek in #839
Full Changelog: v2.30.1...v2.31.0
2.30.1
What's Changed
- Fix RemoveInstanceOfPatternMatch crash on Groovy files by @timtebeek in #828
- Add
RSPEC-S2387tag to HiddenField recipe by @timtebeek in #829 - Add
RSPEC-S1845recipe: members differing only by capitalization by @timtebeek in #830 - Add
UseTryWithResourcesrecipe (RSPEC-S2093) by @timtebeek in #831 - Extend
UseTryWithResourcesto non-consecutive declarations by @timtebeek in #833
Full Changelog: v2.30.0...v2.30.1
2.30.0
What's Changed
- Disabling C# tests if no .dotnet available by @greg-at-moderne in #825
- Add missing RSPEC tags and fix inconsistent tag formatting by @timtebeek in #826
- Remove
RemoveTrailingWhitespaceby @greg-at-moderne in #827
Full Changelog: v2.29.0...v2.30.0
2.29.0
What's Changed
- Remove mutable static field in ChainStringBuilderAppendCalls by @timtebeek in #822
ChainStringBuilderAppendCallsshould not flatten a single argument by @motlin in #823
New Contributors
Full Changelog: v2.28.0...v2.29.0
2.28.0
What's Changed
- CLAUDE instructions: Do not add to common-static-analysis.yml by @greg-at-moderne in #818
- Regenerate recipes.csv to fix CI by @timtebeek in #820
RemoveTrailingWhitespacerecipe by @greg-at-moderne in #819SimplifyForLoopBoundaryComparisonrecipe by @greg-at-moderne in #821
Full Changelog: v2.27.0...v2.28.0
2.27.0
What's Changed
- Skip MinimumSwitchCases transformation when type info is missing by @jkschneider in #808
- Preserve
else-ifchains inUnwrapElseAfterReturnrecipe by @knutwannheden in #809 - Followup after the formatting merge by @Jenson3210 in #810
- Make declarative recipes singletons by @sambsnyd in #811
- Fix UnnecessaryThrows to check actual close() method exceptions by @timtebeek in #812
- Adjust indent in
ReplaceRedundantFormatWithPrintfTestby @greg-at-moderne in #815 - One more test case for
ExplicitLambdaArgumentTypesby @greg-at-moderne in #814
New Contributors
Full Changelog: v2.26.0...v2.27.0
2.26.0
What's Changed
- Replace
getDisplayName()andgetDescription()methods with fields by @timtebeek in #805 - Replace
getTags()method with field by @timtebeek in #806 - Replace
getEstimatedEffortPerOccurrence()method with field by @timtebeek in #807
Full Changelog: v2.25.0...v2.26.0
2.25.0
What's Changed
ReplaceWeekYearWithYearshould not replace valid week-year usages by @tginsberg in #801
New Contributors
- @tginsberg made their first contribution in #801
Full Changelog: v2.24.0...v2.25.0
2.24.0
2.23.0
What's Changed
- Prepare formatting refactor by @Jenson3210 in #790
- Fix
AnnotateRequiredParametersto handleObjects.requireNonNullin assignments by @timtebeek in #793 AnnotateRequiredParametersshould not remove nested if blocks by @timtebeek in #794- Fix RemoveUnusedLocalVariables to delete unused local variables inside method invocation argument blocks by @Jenson3210 in #795
Full Changelog: v2.22.0...v2.23.0