Releases: openrewrite/rewrite-migrate-java
Releases · openrewrite/rewrite-migrate-java
v3.0.1
What's Changed
- Add LombokBestPractices by @timtebeek in 8f4253e
- Create a LICENSE folder by @timtebeek in #660
- Use recipes moved to openrewrite/rewrite by @timtebeek in #662
Full Changelog: v3.0.0...v3.0.1
3.0.0
What's Changed
- fix NPE for records by @amishra-u in #637
- fix: Skip code references in comment by @amishra-u in #638
- Add recipe for updating SDKMAN configuration by @nielsdebruin in #649
- Prefer JDK methods for Maps and Sets of an expected size by @timtebeek in #651
- [JacksonJavaxToJakarta] Rewrite JaxbAnnotationModule to JakartaXmlBindAnnotationModule by @FieteO in #654
- [JacksonJavaxToJakarta] Rewrite JacksonJaxbJsonProvider to JacksonXmlBindJsonProvider by @FieteO in #655
- feat: use Lombok Log Annotations by @timo-a in #644
- feat: use lombok @NoArgsConstructor annotation by @timo-a in #645
- Add migration from
javax.servlet.servlet-api
tojavax.servlet.javax.servlet-api
by @Laurens-W in #656
New Contributors
Full Changelog: v2.31.0...v3.0.0
2.31.0
What's Changed
- Fix multiple issues in JodaTime to JavaTime migration recipe by @amishra-u in #614
- StringFormatted should not wrap first argument by default in Java 17 upgrade by @timtebeek in #618
- Joda-Time to Java time: Add templates for Joda Interval to Threeten-extra Interval by @amishra-u in #617
- Joda time to Java time: Add few more templates for migration by @amishra-u in #619
- Fix bugs in JodaTime to JavaTime migration recipe by @amishra-u in #622
- Recipe
IllegalArgumentExceptionToAlreadyConnectedException
by @BhavanaPidapa in #615 - Joda-Time to Java time: Add support for Method Return Statement Migration by @amishra-u in #626
- Recipe to convert explicit getters to the Lombok annotation by @timo-a in #623
- Apply the MSAL license by @jkschneider in #628
- Apply MSAL license when generating POMs by @jkschneider in #629
- Add explicit imports for Record classes past Java 14+ by @timtebeek in #630
- Recipe that converts explicit setters to the lombok annotation by @timo-a in #625
New Contributors
Full Changelog: v2.30.0...v2.31.0
2.30.1
What's Changed
- OpenRewrite v8.41.1: https://github.com/openrewrite/rewrite
Full Changelog: https://github.com/openrewrite/rewrite-migrate-java
2.30.0
What's Changed
- Fix
var
migration of variables initialized by static methods by @MBoegers in #609 - Add
lombok-mapstruct-binding
during Java 17 migration when both lombok and mapstruct are used by @Laurens-W in #610 - Include
lombok-mapstruct-binding
for maven by @Laurens-W in #611 - Replace
ArrayStoreException
withTypeNotPresentException
in try/catch usingClass.getAnnotation()
by @BhavanaPidapa in #613 - Joda-Time to Java time: Add support for Method Parameter Migration by @amishra-u in #605
- Do not convert return types in NoGuavaJava21 by default by @BramliAK in #601
- Include migrating ParametersAreNonnullByDefault by @bwijsmuller in #596
Full Changelog: v2.29.1...v2.30.0
2.29.1
What's Changed
- Proof that
javax.jms
is migrated tojakarta.jms
in spring.xml by @Laurens-W in #603 - Adopt RemoveMethodInvocations from core by @timtebeek in #606
Full Changelog: v2.29.0...v2.29.1
2.29.0
What's Changed
- [3/3] Implement joda to java time migration recipe by @amishra-u in #591
- refactor: add @nullable to methods who may return null by @nielsdebruin in #593
- Joda time to Java time: Add few more templates for migration by @amishra-u in #594
- Use Java 21 toolchain for rewrite-migrate-java by @timtebeek in #595
- Retain BeanManager
fireEvent
annotations by @timtebeek in #599 - Jspecify nullmarked by @bwijsmuller in #600
- Prevent breakage of usages of Spring's @nullable by @kmccarp in #602
New Contributors
- @nielsdebruin made their first contribution in #593
- @bwijsmuller made their first contribution in #600
Full Changelog: v2.28.0...v2.29.0
2.28.0
What's Changed
- Keep whitespace between arguments in Guava immutable recipes by @knutwannheden in #583
- Fix Guava Immutable{Set|List|Map} by @BramliAK in #586
- [2/x] Implement joda to java time migration recipe by @amishra-u in #582
- Fix UseMapOf double brace init for non-string types by @BramliAK in #588
Full Changelog: v2.27.1...v2.28.0
v2.27.1
What's Changed
Preconditions.checkNotNull
recipes should retain unrelatedString.valueOf(String)
by @amishra-u in #575- Johnzon upgrade for Jakarta 9 by @BoykoAlex in #577
- Add recipe to upgrade
jakarta.annotation-api
to 2.1.x version by @Laurens-W in #579
Full Changelog: v2.27.0...v2.27.1
2.27.0
What's Changed
- update to latest error prone to remove [email protected] vulnerability by @natedanner in #565
- [1/x] Implement joda to java time migration recipe by @amishra-u in #567
- Remove duplicate license headers by @amishra-u in #568
- Move Java 9+ dependent guava recipes to noguava11 by @amishra-u in #569
UseEnumSetOf
should rewriteEnumSet.noneOf
from emptySet.of()
by @BramliAK in #570- Migrate Spring annotations to JSpecify by @sullis in #572
Full Changelog: v2.26.1...v2.27.0