Releases: openrewrite/rewrite-migrate-java
Releases · openrewrite/rewrite-migrate-java
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
2.25.0
2.24.0
What's Changed
- Recipes to migrate from Javax, Jakarta and JetBrains nullability annotations to JSpecify by @sullis in #541
- Recipe to migrate from
Math.random
toThreadLocalRandom
by @sullis in #543 - Modified the RemovedSubjectMethods recipe by @BhavanaPidapa in #545
- refactor: Update Gradle wrapper by @shanman190 in #546
- Replace static
com.sun.awt.AWTUtilities
methods with Java 11 equivalents by @ranuradh in #544
Full Changelog: v2.23.0...v2.24.0
2.23.0
What's Changed
- Migrate to JSpecify from OpenRewrite JSR-305 meta-annotations by @jkschneider in #537
- Handle generics in PreferJavaUtilObjectsRequireNonNull by @mbruggmann in #538
- Recipe ReplaceLocalizedStreamMethods by @BhavanaPidapa in #532
Full Changelog: v2.22.1...v2.23.0