Skip to content

Releases: openrewrite/rewrite-migrate-java

1.17.2

09 Mar 08:24
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.17.1...v1.17.2

1.17.1

24 Feb 16:24
Compare
Choose a tag to compare

Incorporate rewrite 7.36.1 to fix a breaking change to AddJaxbRuntime.

1.17.0

16 Feb 03:51
Compare
Choose a tag to compare

What's Changed

  • Update with rewrite 7.36.0
  • Bump GitHub Actions Java version by @timtebeek in #174
  • Add InstanceOfPatternMatch recipe to java-version-17.yml by @knutwannheden in #179

New Contributors

Full Changelog: v1.16.0...v1.17.0

1.16.0

20 Jan 02:16
Compare
Choose a tag to compare

What's Changed

  • fixed issue where UseMavenCompilerPluginReleaseConfiguration was over… by @nmck257 in #154
  • removing jdeprscan plugin from jdk17 recipe by @nmck257 in #156
  • Recipe for migration JakartaEE Security is wrong by @mabartos in #161
  • add unit test for recipe UpgradeToJava17 by @sullis in #163
  • Upgrade Gradle wrapper to 7.6 and add checksum validation by @timtebeek in #168
  • fix: use value directly, arrays are not supported (#170) by @thomaszub in #171
  • Polish recipe for migration JakartaEE Authz/Authn by @mabartos in #167

New Contributors

Full Changelog: v1.15.0...v1.16.0

1.15.0

10 Dec 03:16
c398880
Compare
Choose a tag to compare

What's Changed

  • Java 11 and 17 recipes now handle explicit (non-property) maven-compiler-plugin source/target/release configuration (preferring release) by @nmck257 in #149
  • chore: update suppressions for new false positives by @natedanner in #151
  • UseMavenCompilerPluginReleaseConfiguration now prefers ${java.version} if available, and removes source/target without replacement if using default values by @nmck257 in #153
  • Java 11 recipe no longer adds JDeprScan plugin by @nmck257 in #152

New Contributors

Full Changelog: v1.14.1...v1.15.0

1.14.1

19 Nov 01:05
Compare
Choose a tag to compare

What's Changed

  • Update with rewrite 7.33.0
  • Recipe: Migrate Jackson from javax to jakarta namespace #135
  • Recipe: Migrate ehcache dependencies from javax to jakarta namespace #140 550ca56
  • Recipe: Upgrade Lombok to accommodate newer Java versions #142
  • Recipe: Migrate Johnzon dependencies from javax to jakarta namespace #139
  • Recipe: Upgrade Rest Assured to a J2EE 9 compatible version 5d2b0e8
  • Recipe: org.openrewrite.java.migrate.javax.AddJaxwsRuntime renamed to com.openrewrite.java.migrate.jakarta.UpdateJawsRuntimeToJakartaEE8 #145
  • NoGuavaImmutable recipes generate the wrong template for primitives that require boxing. #137
  • NoGuava recipes can be more permissive about what changes they make #136
  • NoGuavaImmutable<X>Of recipes should handle J.NewArray. #138
  • AddJaxbRuntime (And likely AddJaxwsRuntime) are adding the same dependency multiple times. #145
  • Verify String.formatted() works on text blocks in Java 17 by @timtebeek in #131
  • XML Bind and similar deps should look for ..* pattern by @BoykoAlex in #144
  • Reverted recipe renaming in 1.14.0 to reduce breaking changes. 895a6a4 7558758

Full Changelog: v1.13.0...v1.14.1

1.14.0

17 Nov 02:19
Compare
Choose a tag to compare

What's Changed

  • Update with rewrite 7.33.0

  • Recipe: Migrate Jackson from javax to jakarta namespace #135

  • Recipe: Migrate ehcache dependencies from javax to jakarta namespace #140 550ca56

  • Recipe: Upgrade Lombok to accommodate newer Java versions #142

  • Recipe: Migrate Johnzon dependencies from javax to jakarta namespace #139

  • Recipe: Upgrade Rest Assured to a J2EE 9 compatible version 5d2b0e8

  • Recipe: org.openrewrite.java.migrate.JavaVersion11 renamed to org.openrewrite.java.migrate.UpdateMavenToJava11 550ca56

  • Recipe: org.openrewrite.java.migrate.JavaVersion17 renamed to org.openrewrite.java.migrate.UpdateMavenToJava17 550ca56

  • Recipe: org.openrewrite.java.migrate.Java8toJava11 renamed to org.openrewrite.java.migrate.UpgradeToJava11 550ca56

  • Recipe: org.openrewrite.java.migrate.UpgradeJava17 renamed to org.openrewrite.java.migrate.UpgradeToJava17 550ca56

  • Recipe: org.openrewrite.java.migrate.javax.AddJaxbRuntime renamed to com.openrewrite.java.migrate.jakarta.UpdateJaxbRuntimeToJakartaEE8 #145

  • Recipe: org.openrewrite.java.migrate.javax.AddJaxwsRuntime renamed to com.openrewrite.java.migrate.jakarta.UpdateJawsRuntimeToJakartaEE8 #145

  • NoGuavaImmutable recipes generate the wrong template for primitives that require boxing. #137

  • NoGuava recipes can be more permissive about what changes they make #136

  • NoGuavaImmutable<X>Of recipes should handle J.NewArray. #138

  • AddJaxbRuntime (And likely AddJaxwsRuntime) are adding the same dependency multiple times. #145

  • Verify String.formatted() works on text blocks in Java 17 by @timtebeek in #131

  • XML Bind and similar deps should look for ..* pattern by @BoykoAlex in #144

New Contributors

Full Changelog: v1.13.0...v1.14.0

1.13.0

20 Oct 01:15
c364748
Compare
Choose a tag to compare

What's Changed

  • Updated to use rewrite 7.31.0
  • Add recipe to upgrade to Java 17, which also upgrades from 8 to 11 first by @timtebeek in #128
  • Replace !Optional.isPresent() with Optional.isEmpty() on Java 11+ by @timtebeek in #130
  • Add OptionalNotEmptyToIsPresent as inverse of #130 by @timtebeek in #132
  • chore: suppress jackson-databind by @natedanner in #133
  • JDeprScan release 17 by @timtebeek in #127

New Contributors

Full Changelog: v1.12.0...v1.13.0

1.12.0

11 Oct 01:18
Compare
Choose a tag to compare

What's Changed

  • Use rewrite 7.31.0
  • Replace lombok.val with final var on projects using Java 11 or higher by @timtebeek#124

Full Changelog: v1.10.0...v1.12.0

1.11.0

22 Sep 20:43
Compare
Choose a tag to compare

Enhancements

  • Updated to use rewrite 7.30.0
  • New Recipe: Migrate from sun.misc.BASE64Decoder and sun.misc.BASE64Encoder to java.util.Base64 #111
  • New Recipe: Replace lombok.val with final var on projects using Java 11 or higher by @timtebeek in #124
  • New Recipe: List calculated information about Java version on source files

Full Changelog: v1.10.0...v1.11.0