Skip to main content

8.41.0 release (2024-11-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

Removed Recipes

  • org.openrewrite.gitlab.core.AddTemplate: Add a GitLab template to an existing list, or add a new list where none was present.
  • org.openrewrite.gitlab.core.ChangeTemplate: Change a GitLab template in use.
  • org.openrewrite.gitlab.core.RemoveTemplate: Remove a GitLab template from use.
  • org.openrewrite.java.migrate.RemoveMethodInvocation: Checks for a method patterns and removes the method call from the class.
  • org.openrewrite.java.spring.boot3.SpringBootProperties_3_4: Migrate properties found in application.properties and application.yml.
  • org.openrewrite.java.spring.data.RefactorSimpleMongoDbFactoryRecipe: Replace usage of deprecated new SimpleMongoDbFactory(new MongoClientURI(String)) with new SimpleMongoClientDbFactory(String).
  • org.openrewrite.jenkins.UpgradeHtmlUnit_3_3_0: Automates the HtmlUnit migration guide from 2.x to 3.x. This change was brought in by parent 4.66.

Changed Recipes

  • org.openrewrite.java.AddOrUpdateAnnotationAttribute was changed:
    • Old Options:
      • addOnly: { type: Boolean, required: true }
      • annotationType: { type: String, required: true }
      • attributeName: { type: String, required: false }
      • attributeValue: { type: String, required: true }
    • New Options:
      • addOnly: { type: Boolean, required: true }
      • annotationType: { type: String, required: true }
      • appendArray: { type: Boolean, required: true }
      • attributeName: { type: String, required: false }
      • attributeValue: { type: String, required: true }