What's Changed
- Add caching to
JavaParser.fromJavaVersion()
by @knutwannheden in https://github.com/openrewrite/rewrite/pull/6026
JavaParser
should first check type tables by @knutwannheden in https://github.com/openrewrite/rewrite/pull/6068
- When upgrading a maven dependency whose version is managed by a BOM, prefer to upgrade the BOM's version by @sambsnyd in https://github.com/openrewrite/rewrite/pull/6070
- Fix AddToGitignore so it works on Windows by @sambsnyd in https://github.com/openrewrite/rewrite/pull/6071
- Fix HCL parser idempotency issue with empty arrays containing newlines by @timtebeek in https://github.com/openrewrite/rewrite/pull/6075
- Remove imports for class arguments to replaced annotation by @timtebeek in https://github.com/openrewrite/rewrite/pull/6077
- Remove 99-percentile columns from
RecipeRunStats
data table by @knutwannheden in https://github.com/openrewrite/rewrite/pull/6072
- Safer reflection in
JavaTypeMapping
implementations by @knutwannheden in https://github.com/openrewrite/rewrite/pull/6079
- Find distinct methods by @jkschneider in https://github.com/openrewrite/rewrite/pull/6080
- Adding
CreateJsonFile
recipe in the same flavour asCreateYamlFile
by @steve-aom-elliott in https://github.com/openrewrite/rewrite/pull/6083
- Add MethodMatcher support for JavaScript by @jkschneider in https://github.com/openrewrite/rewrite/pull/6085
- Get GAV coordinates for type table entries by @timtebeek in https://github.com/openrewrite/rewrite/pull/6086
JavaScriptVisitor
adaptability, no morelib.
prefix on core types, common precondition alternatives. by @jkschneider in https://github.com/openrewrite/rewrite/pull/6087
- Fix maven ejb dependency recipes by @maikebertpsc in https://github.com/openrewrite/rewrite/pull/6081
- Optimize
MethodMatcher
parsing and matching by @knutwannheden in https://github.com/openrewrite/rewrite/pull/6082
- fix: AddDependency with onlyIfUsing: "*" cause: StringIndexOutOfBoundsException by @qxo in https://github.com/openrewrite/rewrite/pull/6057
- Fix missing rows when multiple recipes write to the same data table in the same recipe run. by @sambsnyd in https://github.com/openrewrite/rewrite/pull/6088
- Fix RemoveRedundantDependencyVersions comment handling with new GradleDependencies Trait by @Jenson3210 in https://github.com/openrewrite/rewrite/pull/6065
- Prevent visitors used as Preconditions predicates from emitting data table rows. by @sambsnyd in https://github.com/openrewrite/rewrite/pull/6091
- Remove
Preconditions#isAcceptable()
by @knutwannheden in https://github.com/openrewrite/rewrite/pull/6092
- Adopt
Style.from
instead ofSourceFile.getStyle
by @timtebeek in https://github.com/openrewrite/rewrite/pull/6093
- Fix HCL parser idempotency issue with spaces before closing brace by @timtebeek in https://github.com/openrewrite/rewrite/pull/6076
- Support multi-code point unicode characters (like 👇) in XML by @sambsnyd in https://github.com/openrewrite/rewrite/pull/6094
- JavaScript
RemoveImport
visitor by @jkschneider in https://github.com/openrewrite/rewrite/pull/6095
New Contributors
- @maikebertpsc made their first contribution in https://github.com/openrewrite/rewrite/pull/6081
- @qxo made their first contribution in https://github.com/openrewrite/rewrite/pull/6057
Full Changelog: https://github.com/openrewrite/rewrite/compare/v8.62.4...v8.62.5