Releases: openrewrite/rewrite
Releases · openrewrite/rewrite
8.64.0
What's Changed
- Add Maven 4 migration recipes by @timtebeek in #6155
- RenameVariable should consistently rename matching field accesses by @timtebeek in #6154
- Added more toml recipes to handle tables by @Jenson3210 in #6142
- UnnecessaryParentheses must not remove parentheses around chained switch statement by @timtebeek in #6156
- Fix PlainTextParser conversion marker handling by @Jenson3210 in #6157
- Export all data table rows by @timtebeek in #6159
- Fix
JavaScriptReceiver#visitJsxTag()inrpc.tsby @knutwannheden in #6163 - Align "because" option between Gradle and Maven update transitive dependencies recipe by @bmuschko in #6160
- Gradle dependency management refactoring by @sambsnyd in #6139
- Simplify numeric literal comparisons in SimplifyBooleanExpression by @timtebeek in #6164
Full Changelog: v8.63.4...v8.64.0
8.63.4
What's Changed
- Add Named Capture Support to JavaScript Templating API by @knutwannheden in #6136
HasMethodandHasType, and use of them in JavaScript preconditions by @jkschneider in #6138- Support imports and dependencies in JavaScript templates by @knutwannheden in #6141
- Prerender Gradle wrapper script templates by @shanman190 in #6137
- Upgrade annotation processor versions in Maven when using
UpgradeDependencyVersionby @Jenson3210 in #5936 - Added method wrapping style by @Jenson3210 in #6125
- Resolve parent loading in the runtime by @Jenson3210 in #6144
- Resolve parent loading by @Jenson3210 in #6145
- Prepare chopping and wrapping parameters in methodDeclarations. by @Jenson3210 in #6129
- Prevent leaking of the rewrite-js RPC process by @shanman190 in #6147
- RPC: Treat changed object type as ADD by @knutwannheden in #6146
- Map JS
BigIntliterals to string values by @knutwannheden in #6148 - Fix RPC concurrency issues due to shared visitors by @knutwannheden in #6152
Full Changelog: v8.63.3...v8.63.4
8.63.3
What's Changed
- Make sure core modules are preloaded by @knutwannheden in #6134
Full Changelog: v8.63.2...v8.63.3
8.63.2
What's Changed
- Added recipe to delete toml table by Identifier by @Jenson3210 in #6127
- Render Gradle 9.1.0 wrapper templates without classpath conditional by @timtebeek in #6130
- All
@openrewrite/rewritemodules must only be loaded once by @knutwannheden in #6131
Full Changelog: v8.63.1...v8.63.2
8.63.1
What's Changed
- Move JavaScript type RPC to visitor rather than codecs by @jkschneider in #6123
- Add TOML recipes to change keys and values, find and delete keys, and create new TOML files by @zieka in #6124
- JavaScript
Typereading of cyclic types from Java -> TypeScript process by @jkschneider in #6126
Full Changelog: v8.63.0...v8.63.1
8.63.0
What's Changed
- Guard against MavenResolutionResult.parentPomIsProjectPom() considering anything within .m2 to be part of the current repository. by @sambsnyd in #6119
- Add support to HCL grammar for escaped backslash by @kbrockhoff in #6117
- Adjust how negation is handled when simplifying boolean expressions by @Laurens-W in #6111
- Fix NPE and NoSuchMethodError by @Jenson3210 in #6120
- Revert changes made to add method wrapping style by @kmccarp in #6121
- chore: add
.vscode/to.gitignoreby @qxo in #6103
New Contributors
- @kbrockhoff made their first contribution in #6117
Full Changelog: v8.62.7...v8.63.0
v8.62.7
What's Changed
- chore(ci): bump gradle/actions from 4 to 5 by @dependabot[bot] in #6097
- Treat Gradle's + dynamic verison selector as an XRange by @sambsnyd in #6100
- Use Maven repository credentials in
GradleProjectBuilderby @sullis in #6096 - Fix MergeYaml handling of multi-document YAML files by @timtebeek in #6101
- ChangeValue for Json should use JsonParser to interpret the target value argument by @timtebeek in #6099
- Use internal method to get credentials to avoid accidentally setting an invalid state by @shanman190 in #6104
- Drop sparsely used commons-lang3 by @timtebeek in #6108
- Added method wrapping style by @Jenson3210 in #6106
- Add Kotlin settings file support to AddSettingsPluginRepository by @Jenson3210 in #6110
- Javascript RPC metrics by @jkschneider in #6118
- Add JGit binary check for plain text acceptance by @shanman190 in #6116
Full Changelog: v8.62.6...v8.62.7
8.62.6
What's Changed
- Add caching to
JavaParser.fromJavaVersion()by @knutwannheden in #6026 JavaParsershould first check type tables by @knutwannheden in #6068- When upgrading a maven dependency whose version is managed by a BOM, prefer to upgrade the BOM's version by @sambsnyd in #6070
- Fix AddToGitignore so it works on Windows by @sambsnyd in #6071
- Fix HCL parser idempotency issue with empty arrays containing newlines by @timtebeek in #6075
- Remove imports for class arguments to replaced annotation by @timtebeek in #6077
- Remove 99-percentile columns from
RecipeRunStatsdata table by @knutwannheden in #6072 - Safer reflection in
JavaTypeMappingimplementations by @knutwannheden in #6079 - Find distinct methods by @jkschneider in #6080
- Adding
CreateJsonFilerecipe in the same flavour asCreateYamlFileby @steve-aom-elliott in #6083 - Add MethodMatcher support for JavaScript by @jkschneider in #6085
- Get GAV coordinates for type table entries by @timtebeek in #6086
JavaScriptVisitoradaptability, no morelib.prefix on core types, common precondition alternatives. by @jkschneider in #6087- Fix maven ejb dependency recipes by @maikebertpsc in #6081
- Optimize
MethodMatcherparsing and matching by @knutwannheden in #6082 - fix: AddDependency with onlyIfUsing: "*" cause: StringIndexOutOfBoundsException by @qxo in #6057
- Fix missing rows when multiple recipes write to the same data table in the same recipe run. by @sambsnyd in #6088
- Fix RemoveRedundantDependencyVersions comment handling with new GradleDependencies Trait by @Jenson3210 in #6065
- Prevent visitors used as Preconditions predicates from emitting data table rows. by @sambsnyd in #6091
- Remove
Preconditions#isAcceptable()by @knutwannheden in #6092 - Adopt
Style.frominstead ofSourceFile.getStyleby @timtebeek in #6093 - Fix HCL parser idempotency issue with spaces before closing brace by @timtebeek in #6076
- Support multi-code point unicode characters (like 👇) in XML by @sambsnyd in #6094
- JavaScript
RemoveImportvisitor by @jkschneider in #6095
New Contributors
- @maikebertpsc made their first contribution in #6081
- @qxo made their first contribution in #6057
Full Changelog: v8.62.4...v8.62.6
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