Releases: openrewrite/rewrite-migrate-java
Releases · openrewrite/rewrite-migrate-java
v3.30.1
What's Changed
- Fix Jackson 2.21+ compatibility for JREThrowableFinalMethods by @timtebeek in #1010
- Fix UpgradeToJava21 recipe ordering for switch expressions by @timtebeek in #1012
- Fix IfElseIfConstructToSwitch null safety regression by @timtebeek in #1014
- Fix Jetty EE9 dependencies by @evie-lau in #1016
- Cleanup Jetty EE10 recipes. Reorder… by @evie-lau in #1017
Full Changelog: v3.30.0...v3.30.1
3.30.0
What's Changed
- DataNucleus migrations by @jkschneider in #998
- Enable Lombok annotation processor during Java 17 upgrades by @timtebeek in #999
- Use Groovy 4 by @greg-at-moderne in #1001
- Avoid 9.1 Gradle version, should be 9.1.0 by @greg-at-moderne in #1002
- Also upgrade maven-surefire-report-plugin to 3.5.x by @timtebeek in #1006
- Fix
IfElseIfConstructToSwitchdropping pattern variables for unresolvable types by @timtebeek in #1005 - Fix Jackson 2.21+ conflicting creators in AWT recipes by @timtebeek in #1007
Full Changelog: v3.29.0...v3.30.0
3.29.0
What's Changed
- Add entries to
.gitignoreby @zieka in #995 - Add @requiredargsconstructor and @AllArgsConstructor recipes by @jkschneider in #996
- Use classpathFromResources for lombok in Java templates by @jkschneider in #997
- Fix
IfElseIfConstructToSwitchtype attribution for non-JDK types by @timtebeek in #994
Full Changelog: v3.28.0...v3.29.0
3.28.0
What's Changed
- Add maven-compiler-plugin version when missing during Java migration by @jkschneider in #989
UpdateSdkManrecipe to supportnewJavaVersion=latest.patchby @greg-at-moderne in #990- Fix UpdateSdkManTest to use current SDKMAN Java versions by @timtebeek in #991
Full Changelog: v3.27.1...v3.28.0
3.27.1
What's Changed
- Add UpgradePluginsForJava25 for surefire, failsafe, compiler, and byte-buddy by @timtebeek in #981
- Skip adding methods already provided by a superclass by @Jenson3210 in #983
- Prevent UseTextBlocks from dropping comments in concatenations by @timtebeek in #985
- Prevent LombokValToFinalVar from removing star imports by @Jenson3210 in #986
- Retain javax.xml.bind:jaxb-api when jackson-module-jaxb-annotations is present by @Jenson3210 in #987
Full Changelog: v3.27.0...v3.27.1
3.27.0
What's Changed
- Add jakarta.annotation-api dependency when using javax.annotation by @jkschneider in #972
- Add com.sun.istack.NotNull migration to Jakarta validation by @jkschneider in #973
- Add UseListOf and UseSetOf recipes by @jkschneider in #974
- Lombok Annotation Processor Configuration by @MBoegers in #977
- Migrate GraalVM resource-config.json from regex to glob patterns by @MBoegers in #976
- Followup after the formatting merge by @Jenson3210 in #978
- Avoid line continuation escapes in text blocks with mixed newline content by @Jenson3210 in #975
- Change Docker image version in Java upgrades by @timtebeek in #980
Full Changelog: v3.26.0...v3.27.0
3.26.0
What's Changed
- Also change managed dependency classifier to ehcache to avoid breaking multi module projects by @dsgrieve in #963
- fix
IndexOutOfBoundsExceptionthat occurs inUseNoArgsConstructorwhen visiting record compact constructor method by @zakaria-shahen in #964 - Replace
getDisplayName()andgetDescription()methods with fields by @timtebeek in #966 - Use
varfor variables initialized with type casts by @timtebeek in #965 - Add recipe to find locale-sensitive date/time formatting affected by JDK 20+ CLDR changes by @timtebeek in #967
- Normalize version numbers in
FindJavaVersionby @timtebeek in #969 - Fix JavaxWebXmlToJakartaWebXml regex to match multiline schemaLocation by @timtebeek in #971
New Contributors
Full Changelog: v3.25.0...v3.26.0
3.25.0
3.24.0
What's Changed
- Migrate to
jakarta.mail-api:2.1.xas part of Jakarta EE 10 upgrade by @ChenyuWang98 in #954 - Lombok: add
onMethod_argument If getter/setter method is annotated by @zakaria-shahen in #955 - UseLombokGetter recipe: fix
IndexOutOfBoundsExceptionthat occurs when visitingrecordcompact constructor method by @zakaria-shahen in #956 - Reorder
maybeRemoveImportbeforemaybeAddImportby @timtebeek in #957 - Avoid opinionated empty EnumSet where included with Java 6+ upgrades by @timtebeek in #959
New Contributors
- @zakaria-shahen made their first contribution in #955
Full Changelog: v3.23.0...v3.24.0
3.23.0
What's Changed
- Migrate Micronaut Nullability annotations to JSpecify nullability annotations by @lissam1 in #950
- Prepare formatting refactor by @Jenson3210 in #951
New Contributors
Full Changelog: v3.22.0...v3.23.0