What's Changed
-
Recipe: Replace calls to
Thread.run()
withThread.start()
2f7ed27 -
Recipe: Add
UpdateOwaspSuppressionDate
recipe. #2369 -
Recipe: Remove unused private fields - RSPEC-1068 #2343
-
Recipe: Remove
Javadoc
parameters without a description #2246 -
Recipe: Add Maven Repository recipe by @BoykoAlex in #2368
-
Recipe : Avoid boxed boolean expressions - RSPEC-5411 d3e57cb
-
Recipe: Enable Gradle build cache 9510c9f
-
Recipe: Printf-style format strings should be used correctly - RSPEC-3457 #2372
-
Recipe:
AddGradleEnterprise
199bbe2 -
Recipe: Find Gradle Plugin by ID. 199bbe2
-
Recipe Renamed from
DateBoundSuppressions
toAddOwaspDateBoundSuppressions
9a6336a -
Recipe Renamed from
RemoveSuppressions
toRemoveOwaspSuppressions
68eb475 -
Markup
has been changed from an abstract class to an interface andMarkup.Error
/Markup.Warning
exception types have been widened toThrowable
#2334 -
Fixing handling of brace characters
}
in HCL comments by @mccartney in #2335 -
Bug fixes in
NewStringBuilderBufferWithCharArgument
-
org.openrewrite.java.ChangePackage
emits wrong content when the target package only has 1 segment #2328 -
FinalClass
recipe places final on a new line forpackage private
classes #2339 -
Fix various instances of providing the current cursor to
visit()
when it is actually the parent cursor which is required -
Fix HCL grammar to understand multi-valued logical operators by @rmadamanchi #2361
-
Relax target type to include methods on recipe
Option
annotation -
Add support for
MethodParamPadding
to java style auto-detection #2098 -
Anonymous class with multi-variable declaration parsing error #2367
-
Sync
JavaDocVisitors
to generateLineBreaks
in the same places acf5add -
ChangeManagedDependencyGroupIdAndArtifactId
should allow dynamic versions #2365 -
maven repo normalization - restore fallback to http url by @gadams00 in #2370
-
Update JavaDoc params along with fields in HiddenField by @traceyyoshima in #2366
-
Add public qualifier to HCL TabsAndIndentsVisitor #2371
-
AddDependency
does not add a duplicate dependency when updateMavenModel adds warnings -
ChangeDependencyClassifier
should allow glob expressions 4624834 -
Add Gradle settings parsing 305f90f
-
UpgradePluginVersion should use tag values when downloading plugin metadata d63ecbb
-
Fix type attribution for settings.gradle parsing 6dfffc2
-
Formatting groovy closures 9cd44fa
-
Add
UseListSort
recipe for replacingCollections.sort(..)
with th… by @pway99 in #2382 -
HCL - Added formatting support for proper placement of spaces and brackets in blocks and single-line/multi-line object values by @rmadamanchi in #2383
-
Fix cursor messaging throughout rewrite repository, fix groovy parsing of closures 02830a3
-
Consolidate the frequently-repeated pattern of dropping the parent cursor until a non-padding element is found into
Cursor.getParentTreeCursor()
b612502 -
Fix for edge case PatternSyntaxException in Yaml/ChangePropertyKey by @nmck257 in #2388
-
Groovy Parser fails to parse labels, such as those used in spock-style tests #2395
-
Groovy Parser fails when a map is assigned to an empty map. #2071
-
Update
InlineVariable
according to RSPEC-1488 by also in-lining variables that are immediately thrown or returned from lambdas and ignoring those that are annotated. 4b164f3 -
Fix
InlineVariable
by preserving comments from the inlined variable declaration -
Add InlineVariable to common static analysis a389fd6
-
ChangeParentPom
fails when wildcards are specified for groupId or artifactId #2397 -
ReplaceDuplicateStringLiterals
can add multiple copies of the same static field declaration to enum classes #2399 -
Add
SourceSpec.after
UnaryOperator c06b049 -
Maven
RemoveExclusion
recipe should preserve comments by @knutwannheden in #2400 -
Add repo - model not changed. Also fixes #2398 by @BoykoAlex in #2396
-
Update
AvoidBoxedBooleanExpressions
by adding support for replacing ternary expressions #2403 -
Update
RemoveExclusion
to finally remove the exclusions tags if its only content is comments 993bd3 -
Add line counting visitors for each language 317e5c
-
Add dynamic applicable tests that prevent a recipe from running on a particular class. #1596
-
Fix XML version of
CountLinesVisitor
by @tkvangorder in #2409 -
Migration recipe conventions by @tkvangorder in #2404
-
Support multi-project builds from the IDE by @ge0ffrey in #2407
-
Update
J.Import#getTypeName
so that the last$
index is used for … by @pway99 in #2419 -
Fixed regression with maven anonymous download by @nmck257 in #2401
-
Make
ReplaceConstant
support full Java literal syntax by @knutwannheden in #2422 -
Include source path in HCL parser errors by @knutwannheden in #2420
-
Fixed issues parsing Maven projects using CI Friendly versions by @nmck257 in #2408
-
Added support for JavaType$Primitive in UsesType. by @traceyyoshima in #2428
New Contributors
Full Changelog: v7.32.1...v7.33.0