7.39.1 Release (2023-04-04)

Notable changes

  • The code was optimized to eliminate redundant POM resolutions. You should see a substantial increase in speed when running recipes across multiple repositories.

New Recipes

Removed Recipes

Cucumber recipes have been moved to this repository.

  • org.openrewrite.java.testing.cucumber.CucumberAnnotationToSuite: Replace @Cucumber with @Suite and @SelectClasspathResource("cucumber/annotated/class/package").

  • org.openrewrite.java.testing.cucumber.CucumberJava8HookDefinitionToCucumberJava: Replace LambdaGlue hook definitions with new annotated methods with the same body.

  • org.openrewrite.java.testing.cucumber.CucumberJava8StepDefinitionToCucumberJava: Replace StepDefinitionBody methods with StepDefinitionAnnotations on new methods with the same body.

  • org.openrewrite.java.testing.cucumber.CucumberJava8ToJava: Migrates Cucumber-Java8 step definitions and LambdaGlue hooks to Cucumber-Java annotated methods.

  • org.openrewrite.java.testing.cucumber.CucumberToJunitPlatformSuite: Migrates Cucumber tests to JUnit Test Suites.

  • org.openrewrite.java.testing.cucumber.DropSummaryPrinter: Replace SummaryPrinter with Plugin, if not already present.

  • org.openrewrite.java.testing.cucumber.RegexToCucumberExpression: Strip regex prefix and suffix from step annotation expressions arguments where possible.

  • org.openrewrite.java.testing.cucumber.UpgradeCucumber2x: Upgrade to Cucumber-JVM 2.x from any previous version.

  • org.openrewrite.java.testing.cucumber.UpgradeCucumber5x: Upgrade to Cucumber-JVM 5.x from any previous version.

  • org.openrewrite.java.testing.cucumber.UpgradeCucumber7x: Upgrade to Cucumber-JVM 7.x from any previous version.

Changed Recipes

  • org.openrewrite.FindBuildToolFailures was changed:

    • Old Options:

      • None

    • New Options:

      • suppressLogOutput: { type: Boolean, required: false }

  • org.openrewrite.gradle.plugins.AddGradleEnterprise was changed:

    • Old Options:

      • version: { type: String, required: true }

    • New Options:

      • allowUntrustedServer: { type: Boolean, required: false }

      • captureTaskInputFiles: { type: Boolean, required: false }

      • publishCriteria: { type: PublishCriteria, required: false }

      • server: { type: String, required: false }

      • uploadInBackground: { type: Boolean, required: false }

      • version: { type: String, required: true }

  • org.openrewrite.java.ReplaceStringLiteralWithConstant was changed:

    • Old Options:

      • fullyQualifiedConstantName: { type: String, required: true }

      • literalValue: { type: String, required: true }

    • New Options:

      • fullyQualifiedConstantName: { type: String, required: true }

      • literalValue: { type: String, required: false }

  • org.openrewrite.java.spring.boot3.ConfigurationOverEnableSecurity was changed:

    • Old Options:

      • None

    • New Options:

      • forceAddConfiguration: { type: boolean, required: true }

Last updated