Skip to content

Releases: openrewrite/rewrite-migrate-java

1.21.1

25 Apr 17:11
Compare
Choose a tag to compare

What's Changed

  • Update with rewrite 7.40.1
  • Guard UseJavaUtilBase64 from making changes when another "Base64" class is already present by @sambsnyd in e1b4b6b
  • Update UpgradeJavaVersion to support more case of maven java version upgrade by @kunli2 in #213

Full Changelog: v1.20.0...v1.21.1

1.20.0

21 Apr 00:04
Compare
Choose a tag to compare

What's Changed

  • Update with rewrite 7.40.0
  • Replace various StringUtils isEmpty and isNotEmpty with JDK calls by @timtebeek in #209
  • Update UpgradeJavaVersion, add new recipe to update java version in the build.gradle file by @kunli2 in #211

Full Changelog: v1.19.0...v1.20.0

1.19.0

03 Apr 21:23
Compare
Choose a tag to compare

What's Changed

  • Add UpgradeToJava20 recipe by @timtebeek in #192
  • Feature/jakarta improvements by @nmck257 in #196
  • Fix bugs of UseTextBlocks and correct indentations by @kunli2 in #198
  • Update UseTextBlocks to be able to convert strings without newlines by @kunli2 in #199
  • Update algorithm of UseTextBlocks to be more reliable by @kunli2 in #200
  • Optimize StringFormatted for performance by @knutwannheden in #201
  • Replace Guava Optional with JDK Optional by @timtebeek in #202
  • Update UseTextBlocks to return same tabs as prefix instead of convert it to whitespaces by @kunli2 in #203

Full Changelog: v1.18.0...v1.19.0

1.18.0

15 Mar 02:01
Compare
Choose a tag to compare

What's Changed

  • Update rewrite 7.38.0

Full Changelog: v1.17.2...v1.18.0

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