Releases: openrewrite/rewrite-migrate-java
Releases · openrewrite/rewrite-migrate-java
2.3.0
What's Changed
- Update with rewrite 8.9.0
- LombokValueToRecord should be part of Java 17 migration by @timtebeek in #343
Full Changelog: v2.2.1...v2.3.0
v2.2.1
What's Changed
- Adding 4 JakartaEE 10 recipes by @ranuradh in #323
Optional<Stream>.filter(Optional::isPresent).map(Optional::get)
to Java 11.flatMap(Optional::stream)
by @aslaski2 in #315- Polish LombokValueToRecord by @timtebeek in #334
- Add new JDBC method implementations introduced in Java 6 and 7 by @cjobinabo in #312
- Adopt SequencedCollection First and Last methods by @timtebeek in #339
- Adds MXbean recipe by @cjobinabo in #335
New Contributors
Full Changelog: v2.2.0...v2.2.1
v2.2.0
What's Changed
- adding recipe for RemovedJakartaFacesExpressionLanguageClasses jakarta ee 10 by @ranuradh in #309
- Recipe RemovedStateManagerMethods in jakarta-ee-10 by @ranuradh in #314
- refactor: Update Gradle wrapper by @timtebeek in #320
- Set Maven compiler plugin Java version when using default groupId by @timtebeek in #321
- check if
java.version
exists using MavenResolutionResult by @joanvr in #322 - chore: remove unused variables by @SimonVerhoeven in #326
- feat: github action prep for JDK21 by @SimonVerhoeven in #327
- fix: remove unused variable by @SimonVerhoeven in #324
- doc: correct java17 recipe name, add info on the java21 recipe by @SimonVerhoeven in #328
- chore: remove unused imports by @SimonVerhoeven in #330
- feat: no guava - java 21 version (Math.clamp) by @SimonVerhoeven in #329
- chore: remove deprecated API usage by @SimonVerhoeven in #331
- Convert Lombok
@Value
classes to Java records by @kevin0x90 in #319 - Add recipes to migrate boxed primitive constructors deprecated in Java 9 by @dsibilio in #332
- Revert "Add recipes to migrate boxed primitive constructors deprecate… by @dsibilio in #333
New Contributors
- @kevin0x90 made their first contribution in #319
- @dsibilio made their first contribution in #332
Full Changelog: v2.1.1...v2.2.0
v2.1.1
What's Changed
- Update with rewrite 8.7.1
- Limit scanRuntimeClasspath to combat OutOfMemoryErrors by @timtebeek in #292
- Added ApacheCommonsFileUtils WriteStringToFile Refaster templates by @AlekSimpson in #278
- Rewrite
Stream.collect(Collectors.toUnmodifiableList())
toStream.toList()
by @Laurens-W in #293 javax.security.cert
,LogRecord.getLongThreadID
, andcom.sun.net.ssl.internal.ssl.Provider
migration recipes by @cjobinabo in #290- Completes LogRecord.getLongThreadID recipe by @cjobinabo in #295
- Added jre17AgentMainPreMainPublic recipes by @cjobinabo in #296
- Allow migrations to Java 21 by @timtebeek in #297
- Adding WsWsocServerContainerDeprecationRecipe by @ranuradh in #298
- Add PreferJavaUtilObjectsRequireNonNullElse recipe for Java 11 by @josephw in #301
- Added 4 new Java 11 recipes by @cjobinabo in #300
- J2ee10 - remove_parm soap_element_factory recipes by @ranuradh in #303
- Add recipe descriptors to ApacheCommonsStringUtils by @timtebeek in #307
- Convert
SequencedCollection.iterator().next()
togetFirst()
by @timtebeek in #299 - Recipe descriptors part deux by @timtebeek in #308
New Contributors
- @Laurens-W made their first contribution in #293
- @cjobinabo made their first contribution in #290
- @ranuradh made their first contribution in #298
- @josephw made their first contribution in #301
Full Changelog: v2.1.0...v2.1.1
2.1.0
What's Changed
- Upgrade
maven-compiler-plugin
to3.6.2
to support<release>
tag. by @nguyenhoan in #281 - Replace isEmpty/isNotEmpty for presumed simple getters by @timtebeek in #282
- Only replace repeatable arguments in
StringUtils
recipes by @timtebeek in #283 - Add MavenSharedStringUtils Refaster recipes by @timtebeek in #288
- Add PlexusStringUtils refaster recipes by @timtebeek in #287
New Contributors
- @nguyenhoan made their first contribution in #281
Full Changelog: v2.0.10...v2.1.0
v2.0.10
What's Changed
- Update with rewrite 8.4.0
- Migrate
javax.annotation.Nullable
tojakarta.annotation.Nullable
by @rickie in #266 - Plexus FileUtils refaster template recipes by @timtebeek in #272
- Do not partially use text blocks by @timtebeek in #273
- Add Apache Commons StringUtils refaster template replacements by @AlekSimpson in #271
- Support trimmed arguments in IsNotEmptyToJdk by @timtebeek in #275
- Fix typos and reformatting for line length. by @mlvandijk in #276
- Apache Commons File Utils Migrations by @AlekSimpson in #274
- Disable some ApacheCommonsStringUtils recipes after seeing results by @timtebeek in #277
New Contributors
- @rickie made their first contribution in #266
- @AlekSimpson made their first contribution in #271
- @mlvandijk made their first contribution in #276
Full Changelog: v2.0.9...v2.0.10
2.0.9
What's Changed
- fix: added emptyList for annotations akin to the adaption made to cor… by @SimonVerhoeven in #264
- Upgrade Lombok for Java 11 by @timtebeek in #265
- Remove inputstream finalizer by @satvika-eda in #245
New Contributors
- @SimonVerhoeven made their first contribution in #264
Full Changelog: v2.0.8...v2.0.9
2.0.8
2.0.7
What's Changed
- remove thread destroy method recipe by @satvika-eda in #246
- Fix UseVarForObject description by @mike-solomon in #251
- Fix UseVarForPrimitive description by @mike-solomon in #252
- Disable JavaUtilAPIs in Java8toJava11 over null safety by @timtebeek in #253
- 236 var for methods by @MBoegers in #249
- Add scope to injected classes by @m-brophy in #248
- adjusting MaybeAddJakartaServletApi to be a
ScanningRecipe
so that … by @nmck257 in #255 - Fix/no guava immutable recipes by @joanvr in #258
New Contributors
- @mike-solomon made their first contribution in #251
Full Changelog: v2.0.3...v2.0.7
2.0.6
What's Changed
- Remove finalizer from classes in util.zip by @satvika-eda in #233
New Contributors
- @satvika-eda made their first contribution in #233
Full Changelog: v2.0.5...v2.0.6