Skip to content

Releases: openrewrite/rewrite-migrate-java

3.35.0

21 May 10:54

Choose a tag to compare

What's Changed

  • Add java.io.IO import in ReplaceSystemOutWithIOPrint by @timtebeek in #1093
  • Skip UseMapOf when put() argument is a null literal by @timtebeek in #1094
  • Migrate JAXB XJC binding files declaring version 2.0/2.1/2.2 by @MBoegers in #1098
  • Preserve explicit type arguments in MigrateCollections* recipes by @timtebeek in #1099
  • Route Maven through Moderne Artifactory cache to avoid HTTP 429 by @Jenson3210 in #1096
  • Load sun.internal.new[Class].jar directly to fix CI test failures by @timtebeek in #1101
  • Skip explicit type arguments containing wildcards in UseVarForGenericMethodInvocations by @timtebeek in #1102
  • Skip var when target type inference widens a generic argument by @timtebeek in #1103
  • Skip IfElseIfConstructToSwitch when instanceof types are missing by @timtebeek in #1095
  • Revert inline Maven mirror (now in gh-automation#95) by @Jenson3210 in #1104
  • Aggregate FindJavaVersion to one row per repository by @timtebeek in #1105

Full Changelog: v3.34.1...v3.35.0

v3.34.1

07 May 07:26
cb4f1bc

Choose a tag to compare

What's Changed

Full Changelog: v3.34.0...v3.34.1

3.34.0

27 Apr 10:19

Choose a tag to compare

What's Changed

  • Ensure case always has a space before the label in IfElseIfConstructToSwitch by @timtebeek in #1071
  • Add UsePredicateNot to replace cast-and-negate with Predicate.not(..) by @timtebeek in #1072

Full Changelog: v3.33.0...v3.34.0

3.33.1

23 Apr 10:06
eac4344

Choose a tag to compare

Full Changelog: v3.33.0...v3.33.1

3.33.0

21 Apr 09:23
eac4344

Choose a tag to compare

What's Changed

Full Changelog: v3.32.1...v3.33.0

v3.32.1

10 Apr 13:17
fde81eb

Choose a tag to compare

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

08 Apr 13:23
2388f91

Choose a tag to compare

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 AddMissingMethodImplementation generating 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

30 Mar 19:31
d4107b9

Choose a tag to compare

What's Changed

Full Changelog: v3.31.2...v3.31.3

3.31.2

30 Mar 17:49
bef57d1

Choose a tag to compare

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

27 Mar 14:16
4970f3f

Choose a tag to compare

What's Changed

Full Changelog: v3.31.0...v3.31.1