Skip to content

Releases: openrewrite/rewrite-migrate-java

3.18.0

24 Sep 14:48
5a66684
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.17.1...v3.18.0

v3.17.1

16 Sep 17:44
Compare
Choose a tag to compare

What's Changed

  • Java 25: Migrate new StringReader(String) to Reader.of(CharSequence) by @JohannisK in #845
  • Rename TypeTable file by @timtebeek in #847
  • Update type tables via ./gradlew createTypeTable by @Jenson3210 in #850
  • Add recipe to migrate System.out.print/println to IO.print/println by @e5LA in #848

New Contributors

  • @e5LA made their first contribution in #848

Full Changelog: v3.17.0...v3.17.1

3.17.0

10 Sep 11:24
5037eac
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.16.0...v3.17.0

3.16.0

27 Aug 16:57
caec49a
Compare
Choose a tag to compare

What's Changed

  • Fixed validation.xml in jakarta-ee-10.yml by @daniel-skovenborg in #834
  • Adding jakarta.servlet:jakarta.servlet-api explicitly when the javax.servlet:javax.servlet-api it is trying to migrate from was only available transitively. by @steve-aom-elliott in #835
  • Drop Joda-Time recipes extracted to rewrite-joda by @timtebeek in #836
  • Adopt InlineMethodCalls from openrewrite/rewrite by @timtebeek in #837
  • AddJaxbRuntime should use overrideManagedDependency=true by @timtebeek in #838

New Contributors

Full Changelog: v3.15.1...v3.16.0

v3.15.1

21 Aug 20:02
0563040
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.15.0...v3.15.1

3.15.0

12 Aug 21:32
Compare
Choose a tag to compare

What's Changed

  • Convert assigning Switch statements to Switch expressions by @pdelagrave in #795
  • Convert switch expressions to arrows where possible by @timtebeek in #801
  • Convert switch cases with returns to returned switch expression by @timtebeek in #802
  • ReplaceStreamCollectWithToList should look at return type by @timtebeek in #803
  • New recipe to adopt Lombok setter method names by @timo-a in #632
  • refactor: Static imports for Collections and Collectors by @timtebeek in #804
  • Preserve whitespace in MigrateCollectionsUnmodifiableList by @timtebeek in #806
  • rename settings.local.json to settings.json by @zieka in #808
  • The quick fix for the tests for Jaxws Dependencies by @steve-aom-elliott in #809
  • Refactor RewriteTest to use defaults method by @timtebeek in #814
  • Create is methods for boolean fields in LombokValueToRecord by @timtebeek in #813
  • Joda-time: Make safe migration optional by @amishra-u in #811
  • Improve "Add explicit Common Annotations dependencies" in "Migrate to Java 11" by @jevanlingen in #816
  • chore(ci): bump actions/checkout from 4 to 5 by @dependabot[bot] in #817

Full Changelog: v3.14.0...v3.15.0

3.14.1

23 Jul 21:58
Compare
Choose a tag to compare

3.14.0

23 Jul 11:03
Compare
Choose a tag to compare

What's Changed

  • NullCheckAsSwitchCase should only add null case if the switch is exhaustive by @Jenson3210 in #769
  • Let all change-to-var recipes use a created var-Identifier instead of using a JavaTemplate by @jevanlingen in #793
  • Fix NPE in IteratorNext recipe when iterator() has no explicit receiver by @jkschneider in #796
  • LombokValueToRecord should rewrite method references too by @holgpar in #469
  • Update test expectations to now finish idempotent ChangeTagAttribute in a single cycle by @pdelagrave in #797
  • refactor: Unwrap else block after return or throw statement by @timtebeek in #798

Full Changelog: v3.13.0...v3.14.0

3.13.0

09 Jul 15:52
f8b0afc
Compare
Choose a tag to compare

What's Changed

  • refactor: org.openrewrite.mavencentral by @Laurens-W in #778
  • Do not add explicit Record class import if using var keyword by @timtebeek in #781
  • Correct groupId for jakarta.annotation:jakarta.annotation-api upgrade by @steve-aom-elliott in #784
  • Keep jakarta.annotation-api dependency when moving to Jakarta with Spring Boot project and Jakarta annotations are used by @jevanlingen in #782
  • Add Bouncy Castle upgrade recipe for Java < 8 by @pdelagrave in #790
  • Fix LombokValToFinalVar in loops by @MBoegers in #768
  • Replace JavaTemplate by a var identifier element for UseVarForGenericsConstructors recipe by @jevanlingen in #789
  • Add missing type table entries by @timtebeek in #792
  • Migrate Lombok's @__ syntax to onX_ for Java 8+ by @timtebeek in #794

New Contributors

Full Changelog: v3.12.0...v3.13.0

3.12.0

25 Jun 11:46
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.11.0...v3.12.0