Skip to content

Releases: openrewrite/rewrite-migrate-java

v3.15.1

21 Aug 20:02
0563040

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

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

Choose a tag to compare

3.14.0

23 Jul 11:03

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

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

Choose a tag to compare

What's Changed

New Contributors

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

3.11.0

28 May 16:04
d2a747c

Choose a tag to compare

What's Changed

Full Changelog: v3.10.1...v3.11.0

3.10.1

23 May 21:31

Choose a tag to compare

Full Changelog: v3.10.0...v3.10.1

3.10.0

22 May 16:06
5295c75

Choose a tag to compare

What's Changed

  • Migrate com:intellij:annotations to org.jetbrains:annotations by @steve-aom-elliott in #719
  • JavaxMailToJakartaMail recipe should support the migration of javax.mail:mail by @bmuschko in #721
  • JavaxWsToJakartaWs recipe does not add jakarta.ws.rs-api when upgrading from JavaEE 8 to JavaEE 9 by @bmuschko in #723
  • Update Module provided recipes to use the provided scope by @cjobinabo in #725
  • Update module provided recipes by @cjobinabo in #726
  • Upgrade existing jakarta.annotation-api to 2.0.x for EE9 by @evie-lau in #729
  • Recursive package change last in jakarta-ee-9.yml by @timtebeek in #732
  • Ensure jakarta.annotation dependency is provided scope. Add/change tests by @evie-lau in #734
  • Improve JakartaXmlWs recipe by @evie-lau in #735
  • Make org.openrewrite.java.migrate.lombok.log.LogVisitor public to avoid class loader access issues when loading recipe by @bryceatmoderne in #738

New Contributors

Full Changelog: v3.9.0...v3.10.0

3.9.0

07 May 17:52

Choose a tag to compare

What's Changed

Full Changelog: v3.8.0...v3.9.0