Skip to main content

8.12.0 release (2023-12-28)

info

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.ai.ClassDefinitionLength: Locates class definitions and predicts the number of token in each.
  • org.openrewrite.java.ai.MethodDefinitionLength: Locates method definitions and predicts the number of token in each.

Removed Recipes

  • org.openrewrite.java.ClassDefinitionLength: Locates class definitions and predicts the number of token in each.
  • org.openrewrite.java.MethodDefinitionLength: Locates method definitions and predicts the number of token in each.

Changed Recipes

  • org.openrewrite.java.search.HasJavaVersion was changed:
    • Old Options:
      • checkTargetCompatibility: { type: Boolean, required: true }
      • version: { type: String, required: true }
    • New Options:
      • checkTargetCompatibility: { type: Boolean, required: false }
      • version: { type: String, required: true }
  • org.openrewrite.maven.ChangePluginGroupIdAndArtifactId was changed:
    • Old Options:
      • newArtifactId: { type: String, required: false }
      • newGroupId: { type: String, required: false }
      • oldArtifactId: { type: String, required: true }
      • oldGroupId: { type: String, required: true }
    • New Options:
      • newArtifact: { type: String, required: false }
      • newGroupId: { type: String, required: false }
      • oldArtifactId: { type: String, required: true }
      • oldGroupId: { type: String, required: true }