Releases: openrewrite/rewrite
Releases · openrewrite/rewrite
8.38.0
What's Changed
- Fix missing junit-platform-launcher version by @DidierLoiseau in #4588
- Actually use TLS in (some) Maven tests and shove a few minutes from their execution by @DidierLoiseau in #4591
- ChangePropertyValue in list yaml entries by @Jenson3210 in #4594
- Make ParentPomInsight recursive by @DidierLoiseau in #4529
- fix valid options in RemoveRedundantDependencyVersions.java by @zieka in #4597
- Implement radix tree based
JavaTypeCache
by @knutwannheden in #4552 - Add used enums into the list of used variable names by @lkerford in #4600
- Fix infinite loop in MavenPomDownloader by @philippe-granet in #4598
New Contributors
- @philippe-granet made their first contribution in #4598
Full Changelog: v8.37.4...v8.38.0
v8.37.4
What's Changed
- AddPlugin now prefers to add plugins to the parent pom if it is in the same repository (#4583) by @Laurens-W and @sambsnyd
- ChangeManagedDependencyGroupIdAndArtifactId now resolves current version (if a property) to fix edge case when changing to latest.patch version by @nmck257 in 9da3321
- Improve test framework presentation of recipe validation errors by @sambsnyd in 23ca65e
- Yaml IndentsVisitor now allows yaml comments to retain multiple newlines in their prefixes. by @sambsnyd in 3bf5b52
Full Changelog: v8.37.3...v8.37.4
8.37.3
What's Changed
- Suppressing vulnerabilities by @pstreef in #4572
- feat: added check for duplicated dependency by @ashakirin in #4515
- Maven: Resolve artifactId properties before downloading versions by @sghill in #4404
- Add
visitModifier()
to baseJavaVisitor
by @macsux in #4562 - Added arrays to AddOrUpdateAnnotationAttribute by @marcel-gepardec in #4446
- Add processing for nested modules with a parent version property by @marcel-gepardec in #4472
- Support parsing the Metadata field in html using the XML parser by @lkerford in #4573
- Revert "Support parsing the Metadata field in html using the XML parser (#4573) by @lkerford in #4575
- Detect whitespace before import semicolon by @timtebeek in #4577
- Link to FAQ on missing types in tests by @timtebeek in #4580
New Contributors
Full Changelog: v8.37.2...v8.37.3
8.37.2
What's Changed
- Handle case-insensitive document declaration in the XML parser by @lkerford in #4567
- Cleanup temp remote artifact by @natedanner in #4568
- Shade and package relocate checkstyle to simplify loading its configuration classes by @sambsnyd in 9df8e66
Full Changelog: v8.37.1...v8.37.2
8.37.1
8.37.0
What's Changed
- chore: update suppression dates by @zieka in #4522
- Adding gradle wrapper through distribution is now possible by @Jenson3210 in #4491
- Fix a very minor typo in RemoveManagedDependency doc by @gsmet in #4525
- Drop AllArgsConstructor from RawPom$Build by @timtebeek in #4535
- Add displayName to UpdateGradleWrapper recipe by @pstreef in #4539
FindComments
should also match against the literal's source by @knutwannheden in #4541FindComments
should also match against Javadoc by @knutwannheden in #4542- Print markers outside javadoc by @pstreef in #4543
- Skip UTF-8 BOM mark in
EncodingDetectingInputStream
and default to UTF-8 inRewriteTest
by @knutwannheden in #4546 - Allow parsing nested Groovy annotations by @knutwannheden in #4549
- Nullability cleanups in
TreeVisitor
by @knutwannheden in #4547 - Add
@JsonProperty
toJavaType#getManagedReference()
by @knutwannheden in #4545 - Expose AddOrUpdateChild as a recipe using XPath + child XML by @DidierLoiseau in #4533
- Fix all XPathMatcherTest TODO's + handle nested elements with the same name by @DidierLoiseau in #4532
- Make Plugin.getGroupId() NonNull by @rob-valor in #4530
- Remove maven properties should remove comment by @jonesbusy in #4554
- Use reflection to invoke getCommentTree to support Java 21 & 23 by @timtebeek in #4555
- Allow RecipeSerializer to (de)serialize java.time.Duration for estimatedEffortPerOccurrence field by @ZzAve in #4556
- Add recipe to remove mutable static fields from Recipes by @timtebeek in #4557
- adding gradle and groovy auto detection by @lkerford in #4561
New Contributors
- @zieka made their first contribution in #4522
- @rob-valor made their first contribution in #4530
- @ZzAve made their first contribution in #4556
Full Changelog: v8.36.0...v8.37.0
8.36.0
What's Changed
- Drop
OperatorWrap
as there's a copy maintained in rewrite-static-analysis by @timtebeek in #4509 - refactor: Operator wrapping on end of line by @timtebeek in #4510
- Use
maven-metadata-local.xml
forfile://
paths by @timtebeek in #4512 - Parse
MavenMetadata.Versioning.lastUpdated
asZonedDateTime
by @timtebeek in #4511 - Accommodate Java 23 in ReloadableJava21ParserVisitor by @timtebeek in #4516
- refactor: Update Gradle wrapper by @shanman190 in #4519
- Only bump Maven plugin version property when needed by @timtebeek in #4517
- Parse .NET .vbproj and .fsproj files as XML by @bryceatmoderne in #4518
- Use
OPTIONS
request before falling back toHEAD
request when trying to connect to repositories during normalization. by @pstreef in #4506
Full Changelog: v8.35.4...v8.36.0
8.35.4
What's Changed
- Add declarative Gradle upgrade recipes by @timtebeek in #4502
- Fixing duplicate search markers in javaDocs by @lkerford in #4503
- Creating "OR" preconditions instead of "AND" (#4003) does not actually work by @DidierLoiseau in #4505
- Handle bom import in RemoveDuplicateDependencies by @DidierLoiseau in #4504
- Handle plugins without groupId by @DidierLoiseau in #4507
New Contributors
Full Changelog: v8.35.3...v8.35.4
8.35.3
What's Changed
SemanticallyEqual
should allow for different lambda parameter names by @knutwannheden in #4494- Improve handling of inner classes by @Laurens-W in #4483
- refactor: Order imports by @timtebeek in #4496
- Use a
HEAD
request to check if a maven server is reachable by @pstreef in #4500 - RemoveRedundantDependencyVersions handles pluginManagement incorrectly by @DidierLoiseau in #4493
New Contributors
- @DidierLoiseau made their first contribution in #4493
Full Changelog: v8.35.2...v8.35.3
8.35.2
What's Changed
- Also show details for singular MavenDownloadingException by @timtebeek in #4486
- Improve error message thrown when test harness detects missing mavenResolutionResult by @sambsnyd in 50cb39c
Full Changelog: v8.35.1...v8.35.2