8.21.0 release (2024-03-20)
This changelog only shows what recipes have been added, removed, or changed. OpenRewrite may do releases that do not include these types of changes. To see these changes, please go to the releases page.
New Recipes
-
org.openrewrite.java.migrate.maven.UpdateMavenProjectPropertyJavaVersion: The Java version is determined by several project properties, including:
java.version
jdk.version
javaVersion
jdkVersion
maven.compiler.source
maven.compiler.target
maven.compiler.release
release.version
These project properties are not added if they are not currently set, but only updated in place.
-
org.openrewrite.java.testing.datafaker.JavaFakerToDataFaker: Change imports and dependencies related to Java Faker to Datafaker replacements.
-
org.openrewrite.java.testing.junit5.GradleUseJunitJupiter: By default Gradle's
Test
tasks use JUnit 4. GradleTest
tasks must be configured withuseJUnitPlatform()
to run JUnit Jupiter tests. This recipe adds theuseJUnitPlatform()
method call to theTest
task configuration.
Changed Recipes
- org.openrewrite.java.migrate.maven.UseMavenCompilerPluginReleaseConfiguration was changed:
- Old Options:
releaseVersion: { type: String, required: true }
- New Options:
releaseVersion: { type: Integer, required: true }
- Old Options: