Releases: openrewrite/rewrite-migrate-java
Releases · openrewrite/rewrite-migrate-java
v3.32.1
What's Changed
- Remove parentheses from single unnamed lambda parameters by @timtebeek in #1054
- Skip Kotlin and Groovy files in ReplaceUnusedVariablesWithUnderscore by @timtebeek in #1056
Full Changelog: v3.32.0...v3.32.1
3.32.0
What's Changed
- Cap Java version at 24 for Kotlin <2.3 in UpgradeToJava25 by @timtebeek in #1035
- Inline JavaTemplate fields at their usage sites by @timtebeek in #1036
- Use
JavaTemplate.apply()static method by @timtebeek in #1037 - Fix ClassCastException in UseVarForGenericMethodInvocations by @knutwannheden in #1039
- Upgrade Mockito to 5.17.x in Java 25 migration recipe by @timtebeek in #1041
- Migrate Mojarra and Glassfish JSF dependencies to Jakarta Faces by @timtebeek in #1040
- Upgrade jakarta.annotation-api to 3.0.x in Jakarta EE 11 recipe by @timtebeek in #1042
- Move type-use annotations to array brackets during JSpecify migration by @timtebeek in #1038
- Add explicit casts for visitor visit() return type by @timtebeek in #1049
- Add UseVarForTypeCast and UseVarForConstructors to UseVar recipe by @timtebeek in #1050
- Replace Collections.emptyXXX with Immutable Static Factory Methods by @mkarg in #1045
- Fix
AddMissingMethodImplementationgenerating stubs for inherited methods by @timtebeek in #1051 - Add EnableLombokAnnotationProcessor to LombokBestPractices by @timtebeek in #1052
New Contributors
Full Changelog: v3.31.3...v3.32.0
3.31.3
What's Changed
- Add acceptTransitive to javax-to-jakarta AddDependency entries by @steve-aom-elliott in #1034
Full Changelog: v3.31.2...v3.31.3
3.31.2
What's Changed
- Only add lombok annotation processor to modules that use lombok by @Jenson3210 in #1031
- Add missing AddDependency fallback for jakarta.servlet.jsp-api in JSP migration by @steve-aom-elliott in #1032
- Add missing AddDependency fallback entries for all javax-to-jakarta migrations by @steve-aom-elliott in #1033
Full Changelog: v3.31.1...v3.31.2
3.31.1
What's Changed
- Add JSP and JSTL API version upgrades to Jakarta EE 10 recipe by @steve-aom-elliott in #1029
Full Changelog: v3.31.0...v3.31.1
3.31.0
What's Changed
- Modernize README to reflect current project capabilities by @timtebeek in #1020
- Add UseTryWithResources to Java 11 migration recipe by @timtebeek in #1022
- Add ExplicitTypeToVar recipe to replace explicit type with var keyword. by @motlin in #1009
- Fix IBMSemeruTest for updated ChangeType wildcard import handling by @timtebeek in #1026
- Extend UseVarForPrimitive to support String literals by @timtebeek in #1024
- Add notes for Faces 4.0 FacesManagedBeansRemoved by @evie-lau in #1025
- Fix order for ManagedProperty migration in Faces 4.0 by @evie-lau in #1027
- Add javax/jakarta.enterprise.concurrent-api migration for EE9 by @evie-lau in #1028
- Add Java best practices recipe by @timtebeek in #1021
- Add JavadocToMarkdownDocComment recipe (JEP 467) by @timtebeek in #1019
New Contributors
Full Changelog: v3.30.1...v3.31.0
v3.30.1
What's Changed
- Fix Jackson 2.21+ compatibility for JREThrowableFinalMethods by @timtebeek in #1010
- Fix UpgradeToJava21 recipe ordering for switch expressions by @timtebeek in #1012
- Fix IfElseIfConstructToSwitch null safety regression by @timtebeek in #1014
- Fix Jetty EE9 dependencies by @evie-lau in #1016
- Cleanup Jetty EE10 recipes. Reorder… by @evie-lau in #1017
Full Changelog: v3.30.0...v3.30.1
3.30.0
What's Changed
- DataNucleus migrations by @jkschneider in #998
- Enable Lombok annotation processor during Java 17 upgrades by @timtebeek in #999
- Use Groovy 4 by @greg-at-moderne in #1001
- Avoid 9.1 Gradle version, should be 9.1.0 by @greg-at-moderne in #1002
- Also upgrade maven-surefire-report-plugin to 3.5.x by @timtebeek in #1006
- Fix
IfElseIfConstructToSwitchdropping pattern variables for unresolvable types by @timtebeek in #1005 - Fix Jackson 2.21+ conflicting creators in AWT recipes by @timtebeek in #1007
Full Changelog: v3.29.0...v3.30.0
3.29.0
What's Changed
- Add entries to
.gitignoreby @zieka in #995 - Add @requiredargsconstructor and @AllArgsConstructor recipes by @jkschneider in #996
- Use classpathFromResources for lombok in Java templates by @jkschneider in #997
- Fix
IfElseIfConstructToSwitchtype attribution for non-JDK types by @timtebeek in #994
Full Changelog: v3.28.0...v3.29.0
3.28.0
What's Changed
- Add maven-compiler-plugin version when missing during Java migration by @jkschneider in #989
UpdateSdkManrecipe to supportnewJavaVersion=latest.patchby @greg-at-moderne in #990- Fix UpdateSdkManTest to use current SDKMAN Java versions by @timtebeek in #991
Full Changelog: v3.27.1...v3.28.0