Releases: openrewrite/rewrite
Releases · openrewrite/rewrite
v8.42.3
What's Changed
- Revert parenthesis changes by @timtebeek in #4818
- JavaTemplate bug when inserting
final var
into for-each by @timtebeek in #4806
Full Changelog: v8.42.2...v8.42.3
8.42.2
What's Changed
- Add a
isClassAvailable
method to the ReflectionUtils by @jevanlingen in #4810 - Correctly map generic return and parameter types in
JavaReflectionTypeMapping
by @jkschneider in #4812 - Support mapping of generic thrown exception types by @jkschneider in #4813
- refactor: Enum values should be compared with "==" by @timtebeek in #4811
- Keep the names of generic type variables defined by methods. by @jkschneider in #4814
- Fix Java reflection mapping of generic typed fields. by @jkschneider in #4815
Full Changelog: v8.42.1...v8.42.2
v8.42.1
What's Changed
- fix[maven]: update plugin dependencies by @jonblack in #4798
- Handle erroneous nodes in open rewrite by @vudayani in #4412
- Make Groovy Parser correctly handle nested parenthesis by @Laurens-W in #4801
- suppress javax.json by @pstreef in #4804
- Refactor SpringReference by @Laurens-W in #4805
- refactor: Update Gradle wrapper by @shanman190 in #4808
- Add recipe to remove Gradle Enterprise and Develocity by @timtebeek in #4809
- Allow file scheme in
RemoteArchive
to simplify testing by @pstreef in #4791 - Add fallback for determining parenthesis level for
BinaryExpression
by @Laurens-W in #4807
New Contributors
Full Changelog: v8.42.0...v8.42.1
8.42.0
What's Changed
- Groovy parser does not support multiple closure arguments without parentheses by @jevanlingen in #4772
- Correct
J.FieldAccess#isFullyQualifiedClassReference()
by @knutwannheden in #4774 - Normalize server URLs to avoid missing scheme by @pstreef in #4780
- Drop unused GraphvizResolutionEventListener & dependency by @timtebeek in #4778
- Allow pom download failures by @adastraperangusta in #4738
- Move the OkHttpSender to rewrite-maven tests by @timtebeek in #4782
- Add explicit imports to avoid conflicts with classes added to java.lang, like record by @BramliAK in #4785
- Always add import for
Record
classes not fromjava.lang
package, to avoid conflicts on Java 14+ by @BramliAK in #4787 - Add
testRuntimeOnly
dependency onjunit-platform-launcher
with Gradle 8.+ by @timtebeek in #4786 - Fix groovy multivariable declaration by @Laurens-W in #4757
- enhance UpgradeDependencyVersionTest by @sullis in #4788
New Contributors
Full Changelog: v8.41.3...v8.42.0
8.41.3
What's Changed
- Adding master password decrypting by @svaningelgem in #4753
- Make sure provided download target exist before writing files to it by @lkerford in #4762
RemoveMethodInvocationsVisitor
can remove static method by @dralagen in #4754- Remove redundant versions for Gradle by @shanman190 in #4492
- Allow building uri from origin, path and service type by @pstreef in #4767
- Performance improvements of
Find
recipe by @nielsdebruin in #4758 - Strip origin in findRemoteServer by @pstreef in #4771
New Contributors
- @svaningelgem made their first contribution in #4753
- @dralagen made their first contribution in #4754
Full Changelog: v8.41.2...v8.41.3
8.41.2
What's Changed
- Add version tag for managed dependency with property by @mrakshith21 in #4692
- Resove dependencies bom with properties on
ChangeParentPom
by @jonesbusy in #4735 - Add
NamingService
with Java implementation by @Laurens-W in #4725 - refactor: update OWASP suppression date bounds by @zieka in #4739
- Fix Gradle/Groovy parser issue related to Java class references by @Laurens-W in #4742
- Take
J.Case
into account in JavaTemplate by @Laurens-W in #4744 - Always add closing semicolon for
J.Case
in JavaTemplate by @Laurens-W in #4749 - Fix AddImport match variable's name by @SiBorea in #4747
- feat: Added option to comment out property in yaml by @ashakirin in #4741
- Support variable expressions in parenthesis by @jevanlingen in #4751
- Update get classpath by artifact name to support bazel by @amishra-u in #4750
- Add RegExp support to ChangeTagValue recipe by @anthochristen in #4733
- Add initial support for java references for yaml by @nielsdebruin in #4698
New Contributors
- @mrakshith21 made their first contribution in #4692
- @SiBorea made their first contribution in #4747
- @amishra-u made their first contribution in #4750
- @anthochristen made their first contribution in #4733
Full Changelog: v8.41.1...v8.41.2
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