Releases: openrewrite/rewrite
Releases · openrewrite/rewrite
8.19.0
What's Changed
- Improve MethodMatcher performance by @knutwannheden in 42b4dcb 40665dd
- Add HasMinimumJavaVersion recipe by @jkschneider in 0b23677
- Add core categories for third party recipes by @timtebeek in #4057
- Previsit method invocations for
gradle.ChangePlugin
by @shanman190 in #4060 - Parse property values starting with the delimiter character by @Bananeweizen in #4065
- Add test case for removal in subprojects by @shanman190 in #4058
- Fix gradle build files parsing issues by @thewolt in #4045
- Simplify more boolean expressions by @timtebeek in #4067
- Make
JavaTemplate
engine extensible by @knutwannheden in #3475 - Detect instanceof pattern variables in scope by @timtebeek in #4066
- Update maven model when adding/changing properties to pom by @ammachado in #4069
- Basic JSP support by @jkschneider in #4075
New Contributors
Full Changelog: v8.18.2...v8.19.0
8.18.2
What's Changed
- Add recipe
AddLiteralMethodArgument
by @pstreef in #4053 - Guard against NPE in MavenVisitor#visitPlugin by @jkschneider in e2a8cb8
Full Changelog: v8.18.1...v8.18.2
8.18.1
What's Changed
JavaParser
should favor public classes when naming source inputs by @ammachado in #4046- Make unit test work correctly on Windows by @Bananeweizen in #4048
- Add
AddNullMethodArgument
recipe by @pstreef in #4047 - Fix build warning about generated equals/hash by @Bananeweizen in #4050
- Make @issue repeatable by @Bananeweizen in #4049
- Flip equals to prevent NPE for nullable plugin.groupId by @timtebeek in 4c176e2
Full Changelog: v8.18.0...v8.18.1
8.18.0
What's Changed
- Basic form of
UpgradeTransitiveDependencyVersion
by @jkschneider in #4027 - refactor: Refaster rules related to expressions dealing with
String
s by @rickie in #4029 - Fix
JavaTemplate
matching of repeated parameters by @knutwannheden in #4028 - Remove duplicate plugin versions. by @ammachado in #3972
- Make
MethodMatcher
more lightweight by @knutwannheden in #4034 - Let
UsesMethod
add its own marker by @pstreef in #4035 - Fix documentation example for maven.AddPlugin by @minisu in #4036
- Add search result marker to the dependency block or root if the marke… by @pstreef in #4038
- Revert "Add search result marker to the dependency block or root if the marke…" by @pstreef in #4041
- add search marker on dependency closure if direct dependency cannot be determined by @pstreef in #4042
- Only report unrecovered repositoryAccessFailed by @timtebeek in #4037
- Add IDEA icon by @timtebeek in #4043
- Update to use access key authentication for Develocity build cache by @tylerbertrand in #4044
- Save identified type on cache for future lookups on
ChangeType
. by @ammachado in #4039 - Fixing swallowed compilation errors due to package name / path mismatch when using JavaParser's
dependsOn
. by @ammachado in #4040
New Contributors
- @rickie made their first contribution in #4029
- @minisu made their first contribution in #4036
- @tylerbertrand made their first contribution in #4044
Full Changelog: v8.17.1...v8.18.0
8.17.1
What's Changed
- Move markers from gradle tooling model into
rewrite-gradle
, useorg.openrewrite.gradle.toolingapi.Assertions#withToolingApi
by @jkschneider in #4023
Full Changelog: v8.17.0...v8.17.1
v8.17.0
What's Changed
- Allow declarative preconditions for scanning recipes by @knutwannheden in #4004
- Fixed regex in XPathMatcher to support dots by @kislam01 in #4013
- Enhance autoformat logic for Groovy files by @shanman190 in #4009
- Correctly set
Cursor
inRepeat
by @JLLeitschuh in #4015 - Fix 🦶🔫: Validate
visitNonNull
arguments by @JLLeitschuh in #4016 - Delete doc/OpenRewrite.gif by @timtebeek in #4017
- fixing defect when using
latest.patch
version syntax with ChangeDep… by @nmck257 in #4001 - FindDependency now supports an optional version filter, and, created … by @nmck257 in #4014
- ChangeParentPom now allows changing groupId/artifactId in the case wh… by @nmck257 in #4002
- Only process markers when using type in AddDependency by @timtebeek in #4022
- Add
isAcceptable()
call toPreconditions
methods by @knutwannheden in #4021
New Contributors
Full Changelog: v8.16.0...v8.17.0
v8.16.0
What's Changed
- refactor: Use of
@EqualsAndHashCode
onRecipe
by @timtebeek in #3979 - Support negation in globmatcher in pathutils by @Glanfaloth in #3980
- Simplifying UpdateJavaCompatibility recipe's options for addingIfMiss… by @krlittle in #3983
- Allow non-period terminated Recipe descriptions by @JLLeitschuh in #3985
- Assorted UpdateMavenWrapper fixes by @gsmet in #3989
- Add RewriteTestClassesShouldNotBePublic recipe for reviews by @timtebeek in #3990
- Convert
FindCommitters
to standard recipe by @knutwannheden in #3991 - Fully remove part provider and last remaining references by @Mgonzalez-droid in #3944
- Fix
AddManagedDependency
when using properties on the GAV by @ammachado in #3992 - Add test for updating parent gradle.properties when dependency is in … by @ajohnsonz in #3988
- ChangeDependencyGroupIdAndArtifactId - fixed issue described by
managedToUnmanagedExternalizedDepMgmt
test… by @nmck257 in #3998 - Add
LargeSourceSet#beforeCycle(boolean)
by @knutwannheden in #3999 - Show detail when recipes make referential changes incorrectly by @jkschneider in #4000
New Contributors
- @Glanfaloth made their first contribution in #3980
- @Mgonzalez-droid made their first contribution in #3944
Full Changelog: v8.15.2...v8.16.0
8.15.2
What's Changed
- Changes packaging only if it matches provided packaging by @ammachado in #3968
- Use
Tree.randomId()
to construct LST elements, notUUID.randomUUID()
by @TheMarvelFan in #3784 - refactor: Remove unused imports by @timtebeek in #3974
- Limit
RecipeEqualsAndHashCodeCallSuper
toRecipe
andcallSuper
by @timtebeek in #3973 - Submit dependency graph to GitHub after publish by @timtebeek in #3971
- Add support for adding JavaCompatibility statements where missing to … by @krlittle in #3975
- Less than 100 response status implies bad connection by @pstreef in #3977
New Contributors
Full Changelog: v8.15.1...v8.15.2
What's Changed
- Changes packaging only if it matches provided packaging by @ammachado in #3968
- Use
Tree.randomId()
to construct LST elements, notUUID.randomUUID()
by @TheMarvelFan in #3784 - refactor: Remove unused imports by @timtebeek in #3974
- Limit
RecipeEqualsAndHashCodeCallSuper
toRecipe
andcallSuper
by @timtebeek in #3973 - Submit dependency graph to GitHub after publish by @timtebeek in #3971
- Add support for adding JavaCompatibility statements where missing to … by @krlittle in #3975
- Less than 100 response status implies bad connection by @pstreef in #3977
New Contributors
Full Changelog: v8.15.1...v8.15.2
8.15.1
What's Changed
- Fix parsing of Groovy sources containing extra parentheses on Java 8 by @sambsnyd in c9daa70
- Also update Maven managed dependency by default in
ChangeDependencyGroupIdAndArtifactId
by @timtebeek in #3962
Full Changelog: v8.15.0...v8.15.1
8.15.0
What's Changed
JavaTemplate
matching on parameterized types by @jkschneider in #3963- Make ChangePropertyValue regex allow for multiple replacements of same regex pattern in single value by @Jenson3210 in #3965
- fix: profile specific plugins were not matched by @dpozinen in #3967
New Contributors
Full Changelog: 8.14.5...v8.15.0