Releases: openrewrite/rewrite
Releases · openrewrite/rewrite
8.43.1
What's Changed
- Add test for inner annotations and fix for 'AddOrUpdateAnnotationAttribute' by @danielshamis in #4885
- Enable
AnnotationMatcher
to match values inJ.NewArray
by @MBoegers in #4889 - Print cursor when tests fail to run a recipe by @timtebeek in #4891
- Add TomlVisitorTest after seeing ClassCastException in arrays by @timtebeek in #4892
New Contributors
- @danielshamis made their first contribution in #4885
Full Changelog: v8.43.0...v8.43.1
8.43.0
What's Changed
- Fix parsing string literal with line breaks and spaces by @jevanlingen in #4843
- Add TOML language parser by @shanman190 in #4845
- Adding option cutOffDate to RemoveOwaspSuppressions by @lkerford in #4846
- Support pattern operator for groovy by @jevanlingen in #4847
- Skip parsing groovy generated transform methods by @jevanlingen in #4848
- Support semicolon for groovy packages by @jevanlingen in #4850
- Add recipe to enable Develocity build cache in xml configuration by @nielsdebruin in #4856
- HCL - comments in multilines
for
by @greg-at-moderne in #4858 - Lombok support for java 21 by @jevanlingen in #4860
- HCL - comments as the final lines by @greg-at-moderne in #4861
- Replacing dependency on commons-compress with commons-lang3 by @greg-at-moderne in #4863
- HCL - Fixing handling of # or // within multiline comments by @greg-at-moderne in #4864
- fixing comment nesting in positionOfNext() by @greg-at-moderne in #4866
- fix: create dependencyResourceLoaders in 2 passes by @natedanner in #4870
- HCL - Fixing empty comment handling by @greg-at-moderne in #4871
- Map trailing commas as
TrailingComma
Marker
, to fixJ.Erroneous
issues seen by @timtebeek in #4869 - Partial support Lombok for java 8 (mostly done) by @jevanlingen in #4855
- Add recipe to enable Develocity build cache for Gradle by @nielsdebruin in #4859
Full Changelog: v8.42.5...v8.43.0
v8.42.5
What's Changed
- Add missing override annotation by @timtebeek in #4828
- Don't skip type attribution on compilation error by @amishra-u in #4826
- HCL - UT for slash signs in string literals by @greg-at-moderne in #4829
- Support inner classes for groovy by @jevanlingen in #4825
- Support nested annotations with properties and annotations with empty arguments by @jevanlingen in #4832
- HCL - allow for expression on LHS in objectelem by @greg-at-moderne in #4831
- Prevent class cast exception on Unknown annotation type by @timtebeek in #4833
- Improve discovery of parentheses level for MethodCallExpression by @jevanlingen in #4834
- Allow to add Maven test scoped dependency by @timtebeek in #4837
- HCL - UT for expressionOnLeftHandSideOfAMapLiteral by @greg-at-moderne in #4841
- HCL - Fixing handling of multi-line empty maps by @greg-at-moderne in #4839
- Cleanup groovy parser by @jevanlingen in #4838
New Contributors
- @greg-at-moderne made their first contribution in #4829
Full Changelog: v8.42.4...v8.42.5
v8.42.4
What's Changed
- Add Docker Image reference, to be used for gitlab, docker, etc by @jevanlingen in #4793
- Add support for lombok @Builder.Default Annotation by @amishra-u in #4823
- Put parenthesis changes back by @jevanlingen in #4819
- Groovy parsers should be able to support
.class
by @jevanlingen in #4824 AddAnnotationProcessor
should compare and update versions using a property by @nielsdebruin in #4822- Add lombok support for java-11 by @amishra-u in #4769
- Fix regression in SimplifyBooleanExpressionVisitor by @timtebeek in 9cfddab
- Fix StringIndexOutOfBoundsException for YamlReferences that end in a dot by @timtebeek in 2375e31
Full Changelog: v8.42.3...v8.42.4
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