8.1.6 Release (2023-07-06)

New Recipes

Removed Recipes

  • org.openrewrite.java.migrate.hibernate.MigrateToHibernate61: This recipe will apply changes commonly needed when migrating to Hibernate 6.1.x. The hibernate dependencies will be updated to use the new org.hibernate.orm group ID and the recipe will make changes necessary to use Hibernate with Jakarta EE 9.0.

  • org.openrewrite.java.migrate.hibernate.MigrateToHibernateDependencies61: This recipe will migrate any existing dependencies on Hibernate 5.x to the latest 6.1.x release. This migration will include the adjustment to the new org.hibernate.orm group ID. It accounts for artifact names that both do and do not include the jakarta suffix and it will change both dependencies and managed dependencies.

  • org.openrewrite.java.spring.boot3.MavenPomUpgrade: Upgrade Maven POM to Spring Boot 3.0 from prior 2.x version.

  • org.openrewrite.java.spring.boot3.MavenPomUpgrade_3_1: Upgrade Maven POM to Spring Boot 3.1 from prior 3.0 version.

  • org.openrewrite.kotlin.StaticAnalysis: Static analysis fixes for Kotlin sources.

Changed Recipes

  • org.openrewrite.text.FindAndReplace was changed:

    • Old Options:

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

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

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

    • New Options:

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

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

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

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

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

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

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

  • org.openrewrite.gradle.AddProperty was changed:

    • Old Options:

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

      • overwrite: { type: Boolean, required: true }

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

    • New Options:

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

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

      • overwrite: { type: Boolean, required: true }

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

  • org.openrewrite.gradle.UpdateGradleWrapper was changed:

    • Old Options:

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

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

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

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

    • New Options:

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

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

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

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

Last updated