Links

8.7.0 Release (2023-10-02)

New Recipes

Removed Recipes

  • org.openrewrite.java.migrate.apache.commons.io.ApacheCommonsFileUtilsRecipes: Refaster template recipes for org.openrewrite.java.migrate.apache.commons.io.ApacheCommonsFileUtils.
  • org.openrewrite.java.migrate.apache.commons.lang.ApacheCommonsStringUtilsRecipes: Refaster template recipes for org.openrewrite.java.migrate.apache.commons.lang.ApacheCommonsStringUtils.
  • org.openrewrite.java.migrate.lang.StringRulesRecipes: Refaster template recipes for org.openrewrite.java.migrate.lang.StringRules.
  • org.openrewrite.java.migrate.lang.UseStringIsEmptyRecipe: Recipe created for the following Refaster template:
public class UseStringIsEmpty {
@BeforeTemplate
boolean before(String s) {
return s.length() > 0;
}
@AfterTemplate
boolean after(String s) {
return !s.isEmpty();
}
}
  • org.openrewrite.java.migrate.maven.shared.MavenSharedStringUtilsRecipes: Refaster template recipes for org.openrewrite.java.migrate.maven.shared.MavenSharedStringUtils.
  • org.openrewrite.java.migrate.plexus.PlexusFileUtilsRecipes: Refaster template recipes for org.openrewrite.java.migrate.plexus.PlexusFileUtils.
  • org.openrewrite.java.migrate.plexus.PlexusStringUtilsRecipes: Refaster template recipes for org.openrewrite.java.migrate.plexus.PlexusStringUtils.

Changed Recipes

    • Old Options:
      • ignoreDeprecatedScopes: { type: Boolean, required: false }
      • typePattern: { type: String, required: false }
    • New Options:
      • ignoreDeprecatedScopes: { type: Boolean, required: false }
      • matchInherited: { type: Boolean, required: false }
      • typePattern: { type: String, required: false }
    • Old Options:
      • fieldName: { type: String, required: true }
      • fullyQualifiedTypeName: { type: String, required: true }
    • New Options:
      • fieldName: { type: String, required: true }
      • fullyQualifiedTypeName: { type: String, required: true }
      • matchInherited: { type: Boolean, required: false }
    • Old Options:
      • fullyQualifiedTypeName: { type: String, required: true }
    • New Options:
      • fullyQualifiedTypeName: { type: String, required: true }
      • matchInherited: { type: Boolean, required: false }
    • Old Options:
      • None
    • New Options:
      • interfaceFullyQualifiedName: { type: String, required: true }
      • matchInherited: { type: Boolean, required: false }
    • Old Options:
      • typePattern: { type: String, required: false }
    • New Options:
      • matchInherited: { type: Boolean, required: false }
      • typePattern: { type: String, required: false }