Releases: openrewrite/rewrite
Releases · openrewrite/rewrite
8.41.1
What's Changed
- Allow orgs with leading numbers in name in GitRemote by @timtebeek in #4727
- MergeYaml does not process multiline scalar value blocks properly when multiline block is located in a subkey by @jevanlingen in #4728
- Update
GitRemote#normalize
to support organizations prefixed with a number by @bryceatmoderne in #4651 - Restore ListUtils map methods that accept UnaryOperator by @timtebeek in #4729
Full Changelog: v8.41.0...v8.41.1
8.41.0
What's Changed
- Call
isTrue
onReference
asserts inXmlParserTest
by @nielsdebruin in #4689 - Fix NPE in
SpringReference
by @Laurens-W in #4691 - Make
FindMissingTypes
stricter for method invocations by @knutwannheden in #4688 - Find Refaster style recipes as well by @timtebeek in #4693
- Find Yaml recipes as well by @timtebeek in #4695
TypeUtils#isAssignable()
improvements by @knutwannheden in #4696- When merging yaml files comments on the last element of existing block are placed at the wrong line by @jevanlingen in #4671
- Fix parsing of nested generics in Groovy by @knutwannheden in #4707
- Support Groovy declared constructors by @knutwannheden in #4706
- Add missing semicolon to JavaTemplate stub when replacing method arguments by @timtebeek in #4709
- Restrict usage of
RecipeList
methods fromScanningRecipe
by @timtebeek in #4712 - Add initial support for java references in application properties file by @nielsdebruin in #4697
- fix:
MergeYaml
block indentation not as expected by @pstreef in #4358 - Add
AddAnnotationProcessor
recipe by @Laurens-W in #4694 - Skip
project
dependencies inUpgradeDependencyVersion
recipe by @knutwannheden in #4717 - Replace
UnaryOperator
withFunction
inListUtils
methods by @knutwannheden in #4720 - Refactor references updating by @knutwannheden in #4714
- Add a new recipe to add comments to a Java method by @agoncal in #4719
- Exclude omitted dependencies as well through a second cycle by @timtebeek in #4724
- feat: Created recipe to add property comment by @ashakirin in #4723
New Contributors
- @jevanlingen made their first contribution in #4671
- @agoncal made their first contribution in #4719
Full Changelog: v8.40.3...v8.41.0
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