Releases: openrewrite/rewrite-migrate-java
Releases · openrewrite/rewrite-migrate-java
v3.21.2
What's Changed
- JaxB plugin migrations from 2.X to 4.0 by @MBoegers in #932
jaxws-maven-pluginto 2.3.X by @MBoegers in #929- Update jakarta-ee-10.yml add tyrus to ee10 by @ChenyuWang98 in #935
- Always add explicit type to the
Predicate.isEqualmethod by @lredor in #927 - Convert Guava
Predicates.instanceOfby @lredor in #919 - Add the generated Guava recipes, as third-party requires Java 17 by @timtebeek in f02a15f
Full Changelog: v3.21.1...v3.21.2
v3.21.1
What's Changed
- Instance main should not be used for certain test cases by @timtebeek in #891
- Update expected indentation for
LombokValueToRecordTestby @timtebeek in #892 - OpenRewrite recipe best practices by @timtebeek in #894
- Convert Guava
Iterables.anyand.filterby @lredor in #896 - Support varargs for Predicates.and() and Predicates.or() by @timtebeek in #901
- Convert Guava
Functions.composeby @lredor in #906 - Convert Guava
Sets.filterby @lredor in #898 - Only convert Guava Predicate when not used as method argument by @timtebeek in #902
- OpenRewrite recipe best practices by @timtebeek in #907
- Support Lambda for Predicates.and() and Predicates.or() by @lredor in #910
- Convert Guava
Predicates.equalToby @lredor in #911 - Only change Guava
Predicate.applytotestwhen not usingfilteror similar methods by @lredor in #909 - Cover more cases for Predicates.and/or methods by @lredor in #912
- Prefer
Optional.stream().collect(toSet())overOptional.asSet()by @timtebeek in #915 - Fix indentation calculation by @Jenson3210 in #916
- Convert Guava
Iterables.transformandCollections2.transformby @lredor in #917 - Ignore
java.util.Iteratorin NoGuavaSetsNewHashSet recipe by @lredor in #921 - Gradle 9.1.0 by @timtebeek in #922
- Dependencies for
javax.jws..*in Java 11 Migration by @MBoegers in #925 - Set build tools to use Java 8 when running Java 8 upgrade by @MBoegers in #924
- Update SDKMan Java version by @timtebeek in #926
- Do not migrate to Jakarta annotations as part of Java 17 upgrade by @Laurens-W in #923
- Gradle 9.2.0 by @timtebeek in #930
- Change the Jetty dependency coordinates going from EE9 to EE10 by @ChenyuWang98 in #914
- Move the
@InlineMerecipes to rewrite-third-party by @timtebeek in #931
Full Changelog: v3.20.0...v3.21.1
3.21.0
What's Changed
- Instance main should not be used for certain test cases by @timtebeek in #891
- Update expected indentation for
LombokValueToRecordTestby @timtebeek in #892 - OpenRewrite recipe best practices by @timtebeek in #894
- Convert Guava
Iterables.anyand.filterby @lredor in #896 - Support varargs for Predicates.and() and Predicates.or() by @timtebeek in #901
- Convert Guava
Functions.composeby @lredor in #906 - Convert Guava
Sets.filterby @lredor in #898 - Only convert Guava Predicate when not used as method argument by @timtebeek in #902
- OpenRewrite recipe best practices by @timtebeek in #907
- Support Lambda for Predicates.and() and Predicates.or() by @lredor in #910
- Convert Guava
Predicates.equalToby @lredor in #911 - Only change Guava
Predicate.applytotestwhen not usingfilteror similar methods by @lredor in #909 - Cover more cases for Predicates.and/or methods by @lredor in #912
- Prefer
Optional.stream().collect(toSet())overOptional.asSet()by @timtebeek in #915 - Fix indentation calculation by @Jenson3210 in #916
- Convert Guava
Iterables.transformandCollections2.transformby @lredor in #917 - Ignore
java.util.Iteratorin NoGuavaSetsNewHashSet recipe by @lredor in #921 - Gradle 9.1.0 by @timtebeek in #922
- Dependencies for
javax.jws..*in Java 11 Migration by @MBoegers in #925 - Set build tools to use Java 8 when running Java 8 upgrade by @MBoegers in #924
- Update SDKMan Java version by @timtebeek in #926
- Do not migrate to Jakarta annotations as part of Java 17 upgrade by @Laurens-W in #923
- Gradle 9.2.0 by @timtebeek in #930
- Change the Jetty dependency coordinates going from EE9 to EE10 by @ChenyuWang98 in #914
- Move the
@InlineMerecipes to rewrite-third-party by @timtebeek in #931
Full Changelog: v3.20.0...v3.21.0
3.20.0
What's Changed
- Fix Lombok recipes incorrectly replacing getters/setters accessing other objects' fields by @timtebeek in #873
- Update suppressions by @Laurens-W in #874
- Fix duplicate @Getter annotations on multiple variable declarations by @timtebeek in #877
- Enable the switch recipes as part of the Java 21 migration by @timtebeek in #878
- Fix
NoGuavaSetsNewHashSetto skipIterable-only arguments by @timtebeek in #882 - Convert Guava
Predicates.andand.orby @timtebeek in #885 - Convert Guava
Predicates.equalToand.notby @timtebeek in #887 - OpenRewrite recipe best practices by @timtebeek in #888
Full Changelog: v3.19.0...v3.20.0
3.19.0
What's Changed
- Fixing SDKMan tests by @steve-aom-elliott in #858
- Adopt
Style.frominstead ofSourceFile.getStyleby @timtebeek in #859 - Fixed the whiteline removal for the schemaLocations when already properly migrated by @Jenson3210 in #855
- OpenRewrite recipe best practices by @timtebeek in #860
- Update recipe documentation examples by @timtebeek in #864
- Fix UseVarForGenericMethodInvocations for nested generics with diamond operators by @timtebeek in #863
- Update documentation examples by @timtebeek in #865
- Add explicit type arguments to generic methods in
UseVarForGenericMethodInvocationsby @jagodevreede in #869 - Don't replace instance methods accessing static fields by @timtebeek in #871
New Contributors
- @jagodevreede made their first contribution in #869
Full Changelog: v3.18.0...v3.19.0
3.18.0
What's Changed
- Add OpenRewrite recipe for JEP 512 instance main methods by @timtebeek in #852
- Generate Guava InlineMethodCalls recipes using openrewrite/rewrite#6059 by @timtebeek in #853
- Run CI on Java 25 by @timtebeek in #851
- Generate recipes for Guava 33.5.0-jre by @timtebeek in #854
- Use type tables for tests by @knutwannheden in #856
Full Changelog: v3.17.1...v3.18.0
v3.17.1
What's Changed
- Java 25: Migrate
new StringReader(String)toReader.of(CharSequence)by @JohannisK in #845 - Rename TypeTable file by @timtebeek in #847
- Update type tables via
./gradlew createTypeTableby @Jenson3210 in #850 - Add recipe to migrate
System.out.print/printlntoIO.print/printlnby @e5LA in #848
New Contributors
Full Changelog: v3.17.0...v3.17.1
3.17.0
What's Changed
- Upgrading spotbugs plugin and mapstruct by @steve-aom-elliott in #818
- Migrate to
Process#waitFor(Duration)as part of Java 25 upgrade by @JohannisK in #840 - Inflater deflater autoclosable by @JohannisK in #843
- Java 25: Unused variable to underscore by @JohannisK in #844
- Use
ZipExceptioninstead of the deprecatedZipErrorby @JohannisK in #841
Full Changelog: v3.16.0...v3.17.0
3.16.0
What's Changed
- Fixed validation.xml in jakarta-ee-10.yml by @daniel-skovenborg in #834
- Adding
jakarta.servlet:jakarta.servlet-apiexplicitly when thejavax.servlet:javax.servlet-apiit is trying to migrate from was only available transitively. by @steve-aom-elliott in #835 - Drop Joda-Time recipes extracted to rewrite-joda by @timtebeek in #836
- Adopt
InlineMethodCallsfromopenrewrite/rewriteby @timtebeek in #837 - AddJaxbRuntime should use
overrideManagedDependency=trueby @timtebeek in #838
New Contributors
- @daniel-skovenborg made their first contribution in #834
Full Changelog: v3.15.1...v3.16.0
v3.15.1
What's Changed
- Update with rewrite 8.60.2
- Improve Java 17 and Java 21 switch expression tests by @jevanlingen in #822
- The JakartaEE9 upgrade process supplements the jakarta.activation upg… by @ChenyuWang98 in #820
- Move all switch expression recipes to Java 21 migration by @jevanlingen in #824
- JakartaEE9 update restLet to 2.6.x by @ChenyuWang98 in #827
- Update jetty9 -> jetty12 as part of EE9 by @ChenyuWang98 in #826
- Migrate to
commons-fileupload2-jakartaby @ChenyuWang98 in #819 - Update jakarta-ee-9.yml add javax.servlet.jsp update by @ChenyuWang98 in #829
- Create recipe for
@InlineMeannotation replacements by @timtebeek in #788 - Use classpath from resource for Refaster by @jevanlingen in #830
- Fix recipe reference to
AccessControllermigration for Java 25 by @MBoegers in #832 - Update build Java 25 by @MBoegers in #833
New Contributors
- @ChenyuWang98 made their first contribution in #820
Full Changelog: v3.15.0...v3.15.1