Releases: openrewrite/rewrite-migrate-java
Releases · openrewrite/rewrite-migrate-java
2.4.1
What's Changed
- Update maven-compiler-plugin in pluginManagement by @timtebeek in #357
- refactor: Update Gradle wrapper to 8.5 by @timtebeek in #362
AddJaxwsRuntime
should not always addjaxws-rt
by @knutwannheden in #363
Full Changelog: v2.4.0...v2.4.1
2.4.0
What's Changed
- com.sun.net.ssl recipe by @cjobinabo in #341
- BeanDiscovery recipe by @cjobinabo in #347
- Recipes to migrate to Java EE 7, Java EE 8 & Jakarta EE 9 by @ranuradh in #346
- Recipe FacesManagedBeansRemoved - Jakarta EE 10 by @ranuradh in #350
- ApplicationPath trailing slash and wildcard no longer supported on Jakarta EE by @ranuradh in #348
- Replace URL constructors in Java 21 by @timtebeek in #352
- Fix Jakarta EE 10 migration - fix reference, fix Faces annotations by @OndroMih in #351
- Hint at
Thread.stop()
throwingUnsupportedOperationException
by @timtebeek in #354 - Removing deprecated Runtime trace methods in move to Java 17 by @satvika-eda in #247
- Consolidate Javax to Jakarta recipes by @timtebeek in #356
- Upgrade jaxb2-maven-plugin to 2.5.x for Java 9+ by @timtebeek in #349
- Remove
Runtime.runFinalizersOnExit()
in upgrade to Java 11 by @satvika-eda in #244 - Recipe- BeansXmlNamespace by @ranuradh in #355
- Upgrade JAXB maven plugins to Java 17 compatible versions by @ammachado in #358
New Contributors
- @OndroMih made their first contribution in #351
- @ammachado made their first contribution in #358
Full Changelog: v2.3.0...v2.4.0
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