Releases: openrewrite/rewrite-migrate-java
Releases · openrewrite/rewrite-migrate-java
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
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
2.22.1
What's Changed
- refactor: Update Gradle wrapper by @shanman190 in #531
- Use a transient field for
seen
in FindJavaVersion by @timtebeek in #533
Full Changelog: v2.22.0...v2.22.1
2.22.0
What's Changed
- Add Refaster style recipes for Guava by @timtebeek in #522
- Fix #457: Refactor javax.annotation to ChangePackage by @melloware in #525
- Additional No guava recipes by @Laurens-W in #527
- Clear out empty newlines by @timtebeek in #528
- Recipe ReplaceAWTGetPeerMethod in Java 11 Migration by @ranuradh in #524
- Upgrade Scala dependencies as part of Java 11 upgrade by @timtebeek in #529
- Add Recipe RemovedRuntimeTraceMethods Java 17 by @ranuradh in #530
Full Changelog: v2.21.0...v2.22.0