Releases: openrewrite/rewrite-migrate-java
Releases · openrewrite/rewrite-migrate-java
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
2.25.1
What's Changed
- Removed subject methods Recipe - Added the recipe to the top List by @BhavanaPidapa in #553
- Remove wrong namespace-change of package javax.transaction.xa by @Xaeras in #554
- StringFormatted should not leave trailing whitespace after replacement by @BramliAK in #556
- fix: Handle ImmutableOf as Select on MethodInvocation by @amishra-u in #557
- Drop unnecessary trailing escape in UseTextBlocks by @BramliAK in #558
New Contributors
- @Xaeras made their first contribution in #554
- @BramliAK made their first contribution in #556
- @amishra-u made their first contribution in #557
Full Changelog: v2.25.0...v2.25.1