-
Notifications
You must be signed in to change notification settings - Fork 114
Comparing changes
Open a pull request
base repository: openrewrite/rewrite-migrate-java
base: v3.29.0
head repository: openrewrite/rewrite-migrate-java
compare: v3.30.1
- 16 commits
- 34 files changed
- 6 contributors
Commits on Mar 4, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 1244e54 - Browse repository at this point
Copy the full SHA 1244e54View commit details -
Enable Lombok annotation processor during Java 17 upgrades (#999)
Move EnableLombokAnnotationProcessor from UpgradeToJava25 to UpgradeToJava17, where the maven-compiler-plugin bump to 3.x actually breaks implicit annotation processor discovery (JEP 477). Java 21 and 25 inherit this via chaining. Fixes Lombok compilation failures (cannot find symbol for getter/setter) after upgrade. Closes moderneinc/customer-requests#1949
Configuration menu - View commit details
-
Copy full SHA for 8387b95 - Browse repository at this point
Copy the full SHA 8387b95View commit details
Commits on Mar 6, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 8a5a704 - Browse repository at this point
Copy the full SHA 8a5a704View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4db949d - Browse repository at this point
Copy the full SHA 4db949dView commit details
Commits on Mar 9, 2026
-
Configuration menu - View commit details
-
Copy full SHA for cdbbeb6 - Browse repository at this point
Copy the full SHA cdbbeb6View commit details -
Also upgrade maven-surefire-report-plugin to 3.5.x (#1006)
* Also upgrade maven-surefire-report-plugin to 3.5.x Updated versions for maven-surefire-plugin and maven-failsafe-plugin to 3.5.x. * Update Maven plugin versions in UpgradeToJava25Test
Configuration menu - View commit details
-
Copy full SHA for 1002d2b - Browse repository at this point
Copy the full SHA 1002d2bView commit details -
Fix
IfElseIfConstructToSwitchdropping pattern variables for unreso……lvable types (#1005) * Fix `IfElseIfConstructToSwitch` dropping pattern variables for unresolvable types When JavaTemplate can't resolve a non-JDK type during switch case generation, it may not produce a J.VariableDeclarations AST node, causing pattern variable declarations to be dropped (e.g., `case Dog d ->` becomes `case Dog ->`). Fix by using positional case identification instead of type-checking the label, and reconstructing a proper J.VariableDeclarations from the original J.InstanceOf when the template parser fails to produce one. Fixes #1004 * Use `ListUtils.map` with index
Configuration menu - View commit details
-
Copy full SHA for 7661bb1 - Browse repository at this point
Copy the full SHA 7661bb1View commit details
Commits on Mar 10, 2026
-
Fix Jackson 2.21+ compatibility for AWT migration recipes (#1007)
Remove `@AllArgsConstructor` from `ReplaceAWTGetPeerMethod` and `ReplaceComSunAWTUtilitiesMethods` and replace the no-arg `@JsonCreator` constructor with an all-args `@JsonCreator` constructor accepting `@Nullable` parameters with defaults. This eliminates the conflicting property-based creators caused by Lombok's `@ConstructorProperties` annotation on the generated all-args constructor. Closes #1003
Configuration menu - View commit details
-
Copy full SHA for 114a5a2 - Browse repository at this point
Copy the full SHA 114a5a2View commit details
Commits on Mar 11, 2026
-
OpenRewrite recipe best practices
Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.recipes.rewrite.OpenRewriteRecipeBestPractices?organizationId=QUxML01vZGVybmUvTW9kZXJuZSArIE9wZW5SZXdyaXRl Co-authored-by: Moderne <team@moderne.io>
Configuration menu - View commit details
-
Copy full SHA for 6044cbb - Browse repository at this point
Copy the full SHA 6044cbbView commit details -
Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.java.migrate.lombok.LombokBestPractices?organizationId=QUxML01vZGVybmUvTW9kZXJuZSArIE9wZW5SZXdyaXRl Co-authored-by: Moderne <team@moderne.io>
Configuration menu - View commit details
-
Copy full SHA for 5ff7443 - Browse repository at this point
Copy the full SHA 5ff7443View commit details
Commits on Mar 16, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 9826a90 - Browse repository at this point
Copy the full SHA 9826a90View commit details -
Fix Jackson 2.21+ compatibility for JREThrowableFinalMethods (#1010)
Remove @requiredargsconstructor which generates @ConstructorProperties on the all-args constructor, conflicting with the no-arg @JsonCreator. Change @JsonCreator to accept nullable parameters with defaults, matching the pattern from #1007. This resolves the InvalidDefinitionException: Conflicting property-based creators reported in issue #1003.
Configuration menu - View commit details
-
Copy full SHA for c421ab1 - Browse repository at this point
Copy the full SHA c421ab1View commit details
Commits on Mar 18, 2026
-
Fix UpgradeToJava21 recipe ordering for switch expressions (#1012)
Reorder recipes so IfElseIfConstructToSwitch runs before the switch expression conversion recipes. This ensures that if-else-if instanceof chains are converted to switches, then immediately to switch expressions in a single pass, instead of requiring two runs (fixes #1011).
Configuration menu - View commit details
-
Copy full SHA for 7948b9a - Browse repository at this point
Copy the full SHA 7948b9aView commit details -
Fix IfElseIfConstructToSwitch null safety regression (#1014)
* Fix IfElseIfConstructToSwitch null safety regression (issue #1013) When converting instanceof chains to switch without an explicit null check, emit `case null, default` instead of just `default` to preserve instanceof's null-safe behavior. Previously, the recipe would generate code that throws NPE when the switched variable is null, unlike the original if-else chain. * Fix UpgradeToJava21Test expectation for case null, default
Configuration menu - View commit details
-
Copy full SHA for 062873e - Browse repository at this point
Copy the full SHA 062873eView commit details -
Configuration menu - View commit details
-
Copy full SHA for fd968d3 - Browse repository at this point
Copy the full SHA fd968d3View commit details -
Fix Jetty EE10 duplicate oldArtifactId on ChangeDependencies. Reorder…
… and bring in line with Jetty EE9 list (#1017)
Configuration menu - View commit details
-
Copy full SHA for b9375e4 - Browse repository at this point
Copy the full SHA b9375e4View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v3.29.0...v3.30.1