Releases: openrewrite/rewrite
Releases · openrewrite/rewrite
8.40.3
What's Changed
- Update
ChangeType
andChangePackage
to work withSourceFileWithReference
by @Laurens-W in #4648 - Update model for interfaces extending interfaces by @rlsanders4 in #4663
- Fix condition where
Attribute#getValue()
throws an unsupported operation exception by @jkschneider in #4669 - Fix bug using
AddOrUpdateAnnotationAttribute
on annotation with empty brackets by @nielsdebruin in #4672 - ChangeType does not work on J.ClassDeclaration by @rlsanders4 in #4670
- Refactor
ChangeType
tests to adhere to testing framework by @Laurens-W in #4673 - Move project matcher to MavenVisitor by @ammachado in #4675
- Remove redundant space for DeleteMethodArgument when argumentIndex=0 by @ckcd in #4677
- Allow YAML
JsonPatchMatcher
to match document-level sequences by @knutwannheden in #4680 - Append items to annotation attribute array by @nielsdebruin in #4667
New Contributors
- @rlsanders4 made their first contribution in #4663
Full Changelog: v8.40.2...v8.40.3
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