Releases: openrewrite/rewrite
Releases · openrewrite/rewrite
8.40.2
What's Changed
- Keep multiple whitelines and same comments from the gitignore file by @Jenson3210 in #4659
- Feature - YAML search - find properties with a specific scalar value by @aamotharald in #4657
- Upstream RemoveMethodInvocationsVisitor by @nmck257 in #4639
- Feature/remove unused properties by @nmck257 in #4636
- Fixing the quoteEscaping test case for proper quote character escaping by @mccartney in #4665
- Account for a second common resource filtering pattern by @timtebeek in #4666
New Contributors
- @aamotharald made their first contribution in #4657
Full Changelog: v8.40.1...v8.40.2
8.40.1
What's Changed
- Catch non-semver compatible exception in case of version update by @Jenson3210 in #4656
- refactor: Update Gradle wrapper by @shanman190 in #4662
Full Changelog: v8.40.0...v8.40.1
8.40.0
Full Changelog: v8.39.0...v8.40.0
8.39.0
What's Changed
- Fixed reverse order of gitignore file by @Jenson3210 in #4645
- Add
TypeReference
trait to identify Java type references in XML by @Laurens-W in #4587 - Support Lombok by @jkschneider in #4602
- Reworked ExcludeFileFromGitignore to support leading and trailing wildcards by @Jenson3210 in #4649
- Fix Lombok initialization in Java parser by @knutwannheden in #4647
Full Changelog: v8.38.3...v8.39.0
8.38.3
What's Changed
- Fixed negation of nested files and directories if excluded by another rule by @Jenson3210 in #4631
- Fix
Substitutions
for generic type variables by @knutwannheden in #4633 JavaParser
withclasspathFromResources
fails on Java 21 by @timtebeek in #4620- Optimize
AdaptiveRadixTree
by @knutwannheden in #4640 - Allow multiple search results to stack up on the same element.
Full Changelog: v8.38.2...v8.38.3
8.38.2
What's Changed
This particular change was pretty critical in some situations, causing this release.
Other changes that are also going out in this release
- Allowing for trailing dollars and percent signs in String literals by @mccartney in #4625
- Comments cannot be parsed properly by @Laurens-W in #4624
- Prevent NPE on older LSTs not yet containing ResolvedPom.subprojects by @timtebeek in #4630
Full Changelog: v8.38.1...v8.38.2
8.38.1
What's Changed
- Remove problematic
String#substring()
call by @knutwannheden in #4606 - Apply add dependency correctly, taking aggregating poms into account by @Laurens-W in #4590
- Fix parsing of HCL comments using // by @timtebeek in #4616
- UpgradeParentVersion: option to only upgrade external parents by @DidierLoiseau in #4592
- Simplify constant ternary expressions too by @timtebeek in #4617
- Backport DocCommentTree reflection to ReloadableJava17ParserVisitor by @timtebeek in #4618
- Fix failing test and infinity loop in MavenPomDownloader by @marcel-gepardec in #4609
- refactor: add
@Nullable
to methods who may return null by @nielsdebruin in #4622 - Add Recipe that allows for the removal/negation of gitignore rules. by @Jenson3210 in #4610
New Contributors
- @nielsdebruin made their first contribution in #4622
Full Changelog: v8.38.0...v8.38.1
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