Releases: openrewrite/rewrite
Releases · openrewrite/rewrite
8.70.4
What's Changed
- Allow links and backticks at start of displaynames and descriptions by @timtebeek in #6470
- Managed dependencies without a version should be merged with settings coming from an existing version by @shanman190 in #6472
Full Changelog: v8.70.3...v8.70.4
8.70.3
What's Changed
- Do not delegate to
ChangeManagedDependencyGroupIdAndArtifactIdfor globs by @timtebeek in #6469 - Allow for upgrading direct and transitive dependencies added by Gradle plugins by @bmuschko in #6462
Full Changelog: v8.70.2...v8.70.3
8.70.2
What's Changed
- Mem perf recipe csv validators by @jkschneider in #6467
Full Changelog: v8.70.1...v8.70.2
8.70.1
Full Changelog: v8.70.0...v8.70.1
8.70.0
What's Changed
- JavaScript: Add
ProjectParserfor whole-project parsing by @knutwannheden in #6458 - Kotlin
OrderImportsrecipe by @MBoegers in #6461 - Migrate from Immer to Mutative by @knutwannheden in #6460
- Add CopyValue for JSON by @dsgrieve in #6449
- Properly construct nested type by @BoykoAlex in #6450
- Recipe marketplace RPC and additional recipe bundle readers by @jkschneider in #6437
- Allow
AddMethodParameterto match overridden methods by @Anmol202005 in #6294
Full Changelog: v8.69.1...v8.70.0
8.69.0
What's Changed
- MSAL license on rewrite-javascript files by @greg-at-moderne in #6385
- JavaScript: Various formatter fixes by @knutwannheden in #6382
- Updated toml parser to handle whitspaces incase of empty array. by @sudouser777 in #6388
- Separate dependency graph in dependency insight recipes into a
ExplainDependenciesInUsedata table by @jkschneider in #6386 - Fixed parser issue to support flow style mappings in sequences. by @sudouser777 in #6394
- JavaScript - Refactor JavaScript tests not to use
@openrewrite/rewritein imports by @greg-at-moderne in #6400 - JavaScript test framework fix for running recipes on all sources by @greg-at-moderne in #6392
- Add annotation matcher support for Kotlin's class reference by @Laurens-W in #6399
- Add count column to
DependencyInsightrather than listing per row by @shanman190 in #6405 - Kotlin false negative
FindMissingTypesby @Laurens-W in #6402 - Fixed
ChangeParentPompulling properties defined externally to the POMs themselves into the final POM. by @steve-aom-elliott in #6407 - Added SearchResults as a global datatable by @Jenson3210 in #6368
- JavaScript: Add Node.js dependency insights recipe by @knutwannheden in #6404
- Avoid duplicate dependencies following one or more
ChangeDependencyrecipes by @BoykoAlex in #6406 - Allow
SimplifyMethodChainto operate on Groovy and Kotlin by @timtebeek in #6413 - JavaScript: New
UpgradeTransitiveDependencyVersionrecipe by @knutwannheden in #6416 ChangeTypeshould also update type information on nested types by @timtebeek in #6412- Allow multiple instances of ChangeValue to make changes by @timtebeek in #6419
- JavaScript: New
AddDependencyrecipe by @greg-at-moderne in #6384 - Fixed groovy parser issue to handle slashy string delimters as escape characters. by @sudouser777 in #6422
- JavaScript: JSONC parser for Bun support by @knutwannheden in #6424
- Fix error when parsing xml-s (and plain texts) encoded with UTF-8 BOM by @akiraly in #6420
- Add ExplicitDependencyVersion for Maven by @timtebeek in #6430
- JavaScript: Add YAML support by @knutwannheden in #6425
- Prevent unexpected but not technically invalid paths in tests by @timtebeek in #6432
- Add imports for static methods from the same package by @timtebeek in #6433
- Add description column to global SearchResults Datatable by @Jenson3210 in #6421
- Reorder
maybeRemoveImportbeforemaybeAddImportby @timtebeek in #6439 - JavaScript tests - reverting import replacement with ../src by @greg-at-moderne in #6403
- Resolve existing maven properties with a null value to an empty string by @elmuerte in #6431
- Followup to BOM handling changes in #6420:
isCharsetBomMarked()call should be inside the try block as that is the only method that can throwUnsupportedOperationExceptionby @akiraly in #6440 - Fix Java parser for record component annotations by @sudouser777 in #6444
- JavaScript: Formatter supports simple blocks/methods in one line by @knutwannheden in #6445
- Java11Parser: Support
varas variable name in lambda parameters by @akiraly in #6443 - Fix UpgradeDependencyVersion stabilization with multiple managed dependencies by @timtebeek in #6355
- Drop five year old Grafana and Prometheus scripts by @timtebeek in #6378
- Remove fully qualified JavaDoc references from
TypesInUseforRemoveUnusedImportsby @Pankraz76 in #5738 - Allow specifying environment variables to
JavaScriptRewriteRpc.Builderby @pdelagrave in #6441
New Contributors
- @elmuerte made their first contribution in #6431
- @Pankraz76 made their first contribution in #5738
Full Changelog: v8.68.1...v8.69.0
8.68.1
8.68.0
What's Changed
- ANTLR-based
XPathMatcherimplementation by @knutwannheden in #6353 - Consolidate LLM guidance into CLAUDE.md by @timtebeek in #6223
- Miscellaneous Windows bug fixes by @shanman190 in #6362
- Fix Groovy/Gradle parsing for GString-s where the interpolation prefix
'$'is preceded by an even number of backslashes by @akiraly in #6348 - JavaScript:
PackageJsonParserandNodeResolutionResultmarker by @knutwannheden in #6308 GradleDependencyonly needs to look at first order dependencies by @shanman190 in #6364- Kotlin: Fix type attribution for companion objects by @knutwannheden in #6365
- Changing
doAfterVisit(new ChangeTagValueVisitor<>(..)in MavenAddPropertyto be direct invocation instead to trigger model update by @steve-aom-elliott in #6366 - JavaScript: Fix
AddImportbug by @knutwannheden in #6367 - Fix Java 25 javadoc parsing issue by @Laurens-W in #6370
- Rework dependency graph to be more efficient by @shanman190 in #6360
- Fix
NoSuchMethodErrorduring Java 11 parsing when the LST generation is running on an older Java 11 version which doesn't haveJCTree.JCVariableDecl.declaredUsingVar()by @akiraly in #6372 - JavaScript: New
UpgradeDependencyVersionrecipe by @knutwannheden in #6369 - feat(maven):
ChangeDependencyGroupIdAndArtifactIdshould also update annotation processor paths by @murdos in #6361 - Fix RemoteArchive performance by adding bulk read methods by @pstreef in #6377
- Track additional Git object information by @shanman190 in #6347
- Reduce Version allocations in dependency graph traversal by @pstreef in #6354
Full Changelog: v8.67.1...v8.68.0
8.67.1
What's Changed
- More marketplace improvements by @jkschneider in #6326
- Method Invocation Argument Wrapping and Autoformat Refactoring by @Jenson3210 in #6283
- JavaScript - Remove debug console.log statements in
type-mapping.test.tsby @greg-at-moderne in #6328 - JavaScript - Adding
Expression.typeby @greg-at-moderne in #6327 - Revert "Refactored autoFormat and added MethodInvocation argument wrapping" by @Jenson3210 in #6329
- JavaScript: Type-attribute imported objects by @knutwannheden in #6320
- Fix
XPathMatcherto supporttext()predicate in XPath expressions by @timtebeek in #6315 - Drop
com.sun.tools.javac.code.@Nullableby @timtebeek in #6336 - Add version support for DoesNotIncludeDependency (Gradle and Maven) by @DidierLoiseau in #6335
- Reduce GC pressure in dependency graph traversal by @pstreef in #6333
- fix(validation): use fully-qualified recipe name in validation errors by @Vishalup29 in #6340
- Gradle wrapper 9.2.1 by @timtebeek in #6341
- Fixing parsing of YAML tags in sequences by @Vishalup29 in #6334
- Reapply "Refactored autoFormat and added MethodInvocation argument wrapping" by @Jenson3210 in #6337
- JavaScript - add explicit error when cursor.parentTree is not a function by @greg-at-moderne in #6343
- Drop outdated gradlew files following new packaged & templated resources by @timtebeek in #6342
- Revert "JavaScript - add explicit error when cursor.parentTree is not a function" by @greg-at-moderne in #6344
- JavaScript - adding the Shebang statement by @greg-at-moderne in #6349
- Fixed autoformatting of groovy / js / kotlin files by @Jenson3210 in #6350
- Add recipe RemoveMethodThrows by @ghusta in #6332
- Avoid
Stringallocations inVersionby @knutwannheden in #6317 - Ensure proper "because" ordering for multiple Maven dependencies by @bmuschko in #6352
New Contributors
- @Vishalup29 made their first contribution in #6340
Full Changelog: v8.67.0...v8.67.1
8.67.0
What's Changed
- JavaScript: Align
Pattern#match()andTemplate#apply()APIs by @knutwannheden in #6311 - Rename
targetparam ofmaybeAddImport()andmaybeRemoveImport()by @knutwannheden in #6309 - Add
@CheckReturnValueannotations to tree packages by @timtebeek in #6289
Full Changelog: v8.66.4...v8.67.0