Releases: openrewrite/rewrite-migrate-java
Releases · openrewrite/rewrite-migrate-java
1.21.1
1.20.0
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
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
1.17.2
1.17.1
Incorporate rewrite 7.36.1 to fix a breaking change to AddJaxbRuntime
.
1.17.0
What's Changed
- Update with rewrite 7.36.0
- Bump GitHub Actions Java version by @timtebeek in #174
- Add
InstanceOfPatternMatch
recipe tojava-version-17.yml
by @knutwannheden in #179
New Contributors
- @knutwannheden made their first contribution in #179
Full Changelog: v1.16.0...v1.17.0
1.16.0
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
- @mabartos made their first contribution in #161
- @sullis made their first contribution in #163
- @thomaszub made their first contribution in #171
- @kmccarp made their first contribution in #173
Full Changelog: v1.15.0...v1.16.0
1.15.0
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
What's Changed
- Update with rewrite 7.33.0
- Recipe: Migrate Jackson from
javax
tojakarta
namespace #135 - Recipe: Migrate ehcache dependencies from
javax
tojakarta
namespace #140 550ca56 - Recipe: Upgrade Lombok to accommodate newer Java versions #142
- Recipe: Migrate Johnzon dependencies from
javax
tojakarta
namespace #139 - Recipe: Upgrade Rest Assured to a J2EE 9 compatible version 5d2b0e8
- Recipe:
org.openrewrite.java.migrate.javax.AddJaxwsRuntime
renamed tocom.openrewrite.java.migrate.jakarta.UpdateJawsRuntimeToJakartaEE8
#145 NoGuavaImmutable
recipes generate the wrong template for primitives that require boxing. #137NoGuava
recipes can be more permissive about what changes they make #136NoGuavaImmutable<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