Releases: openrewrite/rewrite-migrate-java
Releases · openrewrite/rewrite-migrate-java
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 protobuf-java@3.19.2 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
2.26.1
What's Changed
- Shorten call to get enclosing method declaration by @evie-lau in #562
- Revert adding SerialVersionUID by @melloware in #563
Full Changelog: v2.26.0...v2.26.1
2.26.0
What's Changed
- Correctly override parent property to set Java version by @DidierLoiseau in #549
- refactor: Operator wrapping on end of line by @timtebeek in #559
- Java 17 recipe add serialVersionUUID and @serial by default by @melloware in #560
- refactor: Update Gradle wrapper by @shanman190 in #561
New Contributors
- @DidierLoiseau made their first contribution in #549
Full Changelog: v2.25.1...v2.26.0