Releases: openrewrite/rewrite
Releases · openrewrite/rewrite
8.62.4
What's Changed
- Extend JSP parser to support scriptlets, expressions, declarations, and comments by @timtebeek in #6054
- Parsers should target the previous LTS to support non-LTS versions by @timtebeek in #6055
- Inline annotated methods through generated recipes to support multiple versions by @timtebeek in #6059
- Groovy - advance cursor when unknown code during Enum parsing by @greg-at-moderne in #6061
- Annotate methods which may return null with nullable by @timtebeek in #6063
JavaTemplate.Matchermistakenly matches0.0to0by @timtebeek in #6056- Run CI on released version of Java 25 temurin by @timtebeek in #6064
- JavaScript printing of templated expressions by @jkschneider in #6051
- Call
delegate.validate()forBellwetherDecoratedRecipeby @timtebeek in #6060 - More robust Groovy enum parsing by @knutwannheden in #6062
Full Changelog: v8.62.3...v8.62.4
8.62.3
What's Changed
- Groovy: Guard against NPE when coming across a multi variable assignment by @Laurens-W in #6048
- More efficient JavaScript print handling, skip minified JS files in parsing. by @jkschneider in #6049
- Yaml newline after end of document by @Laurens-W in #6035
- UpgradeDependencyVersion needs to support common Groovy property access notations by @bmuschko in #6043
- Feature: Added ability to add property in unordered manner at end of file by @raju-gundu in #6052
New Contributors
- @raju-gundu made their first contribution in #6052
Full Changelog: v8.62.2...v8.62.3
8.62.2
What's Changed
- Groovy: Allow parsing named arguments in enum constants by @knutwannheden in #6032
- Validate the syntax of
MethodMatcherandAnnotationMatchersignatures at instantiation by @pdelagrave in #6028 - Update type tables via
./gradlew createTypeTableby @Jenson3210 in #6036 - Add chrome trace format profiling to JavaScript Rewrite RPC and improve type mapping for default function exports by @jkschneider in #6046
Full Changelog: v8.62.1...v8.62.2
8.62.1
What's Changed
- Handle new elvis operator in unix and windows Gradle script templates by @shanman190 in #6027
- Fixed a bug where root entries with newlines in front would have the entire entry be indented after unfolding. by @Jenson3210 in #6023
- Add cycle detection to prevent StackOverflow in recipe loading by @kmccarp in #6024
- Remove unnecessary location of recipe in error message preventing StackOverflow by @kmccarp in #6029
- Simplify code in
ReloadableJavaParserVisitor#visitVariables()by @knutwannheden in #4263 - Fixed bug in Yaml parser by @Jenson3210 in #6030
- Rename
rewrite-gradle/src/main/resources/META-INF/rewrite/classpath.tsv.gzby @timtebeek in #6031 - JavaScript type mapping by @jkschneider in #6025
Full Changelog: v8.62.0...v8.62.1
8.62.0
What's Changed
- Only trigger Artifactory private listing when using HTTP(S) and the path beginning with Artifactory by @shanman190 in #6000
- UpgradeTransitiveDependencyVersion should not downgrade a transitive dependency version if lower than resolved version by @bmuschko in #5979
- Restore pull request receive workflow to apply best practices by @Laurens-W in #5998
- Improve record parsing by @Laurens-W in #5916
- Fix multiline tags in Javadoc by @timtebeek in #5999
- Add new recipe to add
.gitignoreentries by @zieka in #5886 - First Maven dependency declaration wins for equal distance by @bmuschko in #6002
- Introduce support for pattern matching within the
Semvertype classes by @shanman190 in #5991 - Add precondition support to Rewrite JavaScript. by @jkschneider in #6008
- Groovy -
getDelimiterhandling ~/ regex in enums by @greg-at-moderne in #6009 - Fix HCL heredoc parsing with trailing comments by @jkschneider in #6005
- Add Gradle 9.1+ migration recipes by @timtebeek in #6010
- Add tests for flexible constructor bodies by @Laurens-W in #6004
- Groovy - handling closures
{}in enums by @greg-at-moderne in #6014 - Support unnamed variables in Java25Parser by @timtebeek in #5971
- Retrieve available Gradle versions only when requested would result in a possible update by @shanman190 in #6017
- Add charset to
FindSourceFilesdata table by @shanman190 in #6019 - Groovy - special handling of double-quote values in enum arguments by @greg-at-moderne in #6018
- Do not mark RpcReceiveQueue receive as nullable by @timtebeek in #6021
Full Changelog: v8.61.3...v8.62.0
v8.61.3
What's Changed
- Replace deprecated constructors with their suggestions by @timtebeek in #5982
- fix(yaml): handle anchored map within sequence by @jimschubert in #5978
RewriteTestshould load recipes throughRecipeLoader, notRecipeIntrospectionUtilsby @timtebeek in #5983- Init of Java 25 parser by @Laurens-W in #5942
- RemoveRedundantDependencyVersions to check for except even in dependencyManagement by @dcsekar in #5894
- Propagate
excepttoRemovedundantDependencyVersionsfromChangeParentPomby @dcsekar in #5927 - Support adding search markers in Rewrite RPC remote peers by @jkschneider in #5981
- Init of Java 25 parser by @Laurens-W in #5985
- Allow trailing comma in TOML by @timtebeek in #5989
- Helm template placeholders in comments by @timtebeek in #5990
- Support qualified HCL identifiers by @timtebeek in #5967
- Fix against a deadlock when concurrently creating OperatingSystemProvenance markers by @greg-at-moderne in #5996
New Contributors
- @jimschubert made their first contribution in #5978
- @dcsekar made their first contribution in #5894
Full Changelog: v8.61.2...v8.61.3
8.61.2
What's Changed
- Only replace the artifactory path segment by @shanman190 in #5974
- Restrict
SimplifySingleElementAnnotationinRemoveAnnotationAttributeto only the affected annotation by @psrankota in #5976 - Compare
JavaType.Method.namebeforedeclaringTypeinequals(Object)by @timtebeek in #5977 - Stop loading attribution by @timtebeek in #5973
- Fix directory structure inside
@openrewrite/rewriteNPM package to not put compiled JS files in dist/src by @jkschneider
New Contributors
- @psrankota made their first contribution in #5976
Full Changelog: v8.61.0...v8.61.2
v8.61.1
What's Changed
- chore(ci): bump actions/setup-java from 4 to 5 by @dependabot[bot] in #5944
- Extending
AddCommentToMethodInvocationsto handle constructors as well by @steve-aom-elliott in #5945 - Set group and description for rewrite-gradle-tooling-model by @Jenson3210 in #5949
- Revert "Fix
ClasspathScanningLoaderwhen inheritance hierarchy spans jars" by @pstreef in #5950 - Correct parsing of TOML multiline strings by @knutwannheden in #5947
- Fix concurrent modification exception on sorting by @pstreef in #5952
- Read
settings.xmlfrom disk if no maven settings are defined for testing framework by @jevanlingen in #5873 - Improve declaring type information for Kotlin top-level functions by @jevanlingen in #5934
- Add
@InlineMeandInlineMethodCallsrecipe to replace annotated methods by @timtebeek in #5953 - Fix property resolution for dependencies with remote parent POMs by @Jenson3210 in #5899
- Add support for resolving versions via Artifactory by @shanman190 in #5964
- Rewrite JavaScript uses npx, no zip bundling by @jkschneider in #5954
- InlineMethodCalls should handle delegating constructors by @timtebeek in #5969
- Making the
exclusionsandapplyTooptions forCoalescePropertiesactually optional when invoking from declarative recipe. by @steve-aom-elliott in #5961 - Show more context in error message if parsing a Groovy source fails by @jevanlingen in #5771
- ChangeDependencyGroupIdAndArtifactId should not limit updating managed dependencies by @jevanlingen in #5880
- "value" attr when adding another attribute by @BoykoAlex in #5962
Full Changelog: v8.60.2...v8.61.1
8.61.0
What's Changed
- chore(ci): bump actions/setup-java from 4 to 5 by @dependabot[bot] in #5944
- Extending
AddCommentToMethodInvocationsto handle constructors as well by @steve-aom-elliott in #5945 - Set group and description for rewrite-gradle-tooling-model by @Jenson3210 in #5949
- Revert "Fix
ClasspathScanningLoaderwhen inheritance hierarchy spans jars" by @pstreef in #5950 - Correct parsing of TOML multiline strings by @knutwannheden in #5947
- Fix concurrent modification exception on sorting by @pstreef in #5952
- Read
settings.xmlfrom disk if no maven settings are defined for testing framework by @jevanlingen in #5873 - Improve declaring type information for Kotlin top-level functions by @jevanlingen in #5934
- Add
@InlineMeandInlineMethodCallsrecipe to replace annotated methods by @timtebeek in #5953 - Fix property resolution for dependencies with remote parent POMs by @Jenson3210 in #5899
- Add support for resolving versions via Artifactory by @shanman190 in #5964
- Rewrite JavaScript uses npx, no zip bundling by @jkschneider in #5954
- InlineMethodCalls should handle delegating constructors by @timtebeek in #5969
- Making the
exclusionsandapplyTooptions forCoalescePropertiesactually optional when invoking from declarative recipe. by @steve-aom-elliott in #5961 - Show more context in error message if parsing a Groovy source fails by @jevanlingen in #5771
- ChangeDependencyGroupIdAndArtifactId should not limit updating managed dependencies by @jevanlingen in #5880
- "value" attr when adding another attribute by @BoykoAlex in #5962
Full Changelog: v8.60.2...v8.61.0
v8.60.2
What's Changed
- Java 21 for tests by @timtebeek in #5922
- Allow
AddOrUpdateAnnotationAttributeto be chained afterChangeTypeand other recipes that produce shallow types by @BoykoAlex in #5918 - MethodType parameter names not retained by @timtebeek in #5923
- Document
JavaParser.Builderclasspath options by @timtebeek in #5926 - Exclude ibm
icu4jfrom antlr by @Laurens-W in #5910 - Sort
ResolvedPom#dependencyManagementlazily by @knutwannheden in #5928 - Imports from companion objects should have owningClass information by @jevanlingen in #5862
- Pin rocksdbjni to 10.2.1 by @jevanlingen in #5932
- Parser error on multiline javadoc tag by @rlsanders4 in #5263
- Do not import
.classby @timtebeek in #5935 - Bring rewrite-gradle-tooling-model into the main rewrite repository by @sambsnyd in #5930
- Fix
ClasspathScanningLoaderwhen inheritance hierarchy spans jars by @knutwannheden in #5931 - Allow whitespace in annotation matcher input by @knutwannheden in #5939
- Make sure
Attributed#getAttributes()does not returnnullby @knutwannheden in #5941 - Mark
GradleDependencyConfiguration#constraintsas nullable by @knutwannheden in #5943
Full Changelog: v8.60.1...v8.60.2