8.34.0 Release (2024-08-28)

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

  • io.quarkus.updates.camel.camel40.UsePluginHelperForContextGetters:

  • io.quarkus.updates.camel.camel40.java.CamelAPIsRecipe: Apache Camel API migration from version 3.20 or higher to 4.0. Removal of deprecated APIs.

  • io.quarkus.updates.camel.camel40.java.CamelBeanRecipe: Camel bean recipe.

  • io.quarkus.updates.camel.camel40.java.CamelEIPRecipe: The InOnly and InOut EIPs have been removed. Instead, use 'SetExchangePattern' or 'To' where you can specify the exchange pattern to use.

  • io.quarkus.updates.camel.camel40.java.CamelHttpRecipe: Camel Http Extension changes.

  • io.quarkus.updates.camel.camel40.xml.CircuitBreakerXmlDslRecipe: Apache Camel XML DSL Circuit Breaker migration from version 3.20 or higher to 4.0.

  • io.quarkus.updates.camel.camel40.xml.XmlDslRecipe: Apache Camel XML DSL migration from version 3.20 or higher to 4.0.

  • io.quarkus.updates.camel.camel40.yaml.CamelQuarkusYamlRouteConfigurationSequenceRecipe: Camel YAML changes. route-configuration children sequence is replaced with mappingEntry (with special migration of "on-exception").

  • io.quarkus.updates.camel.camel40.yaml.CamelQuarkusYamlStepsInFromRecipe: The YAML DSL backwards compatible mode in Camel 3.14 or older, which allowed 'steps' to be defined as a child of 'route' has been removed.

  • io.quarkus.updates.camel.camel41.CamelCoreRecipe: Apache Camel Core migration from version 4.0 to 4.1.

  • io.quarkus.updates.camel.camel41.TracingTag: The Tag Enum containing constants for tagging spans has been deprecated. Instead, use constants from the TagConstants.

  • io.quarkus.updates.camel.camel41.XmlDslRecipe: Apache Camel XML DSL migration from version 4.0 to 4.1.

  • io.quarkus.updates.camel.camel41.YamlDslRecipe: If inlined bean is created, parameters type and beanType has bean changed.

  • io.quarkus.updates.camel.camel42.CamelMainDebugger: The option camel.main.debugger has been renamed to camel.debug.enabled.

  • io.quarkus.updates.camel.camel42.CamelSagaRecipe: Apache Camel Core migration from version 4.0 to 4.1.

  • io.quarkus.updates.camel.camel43.CamelResequenceEIPXmlRecipe: Batch and stream attributes were renamed in Resequence EIP XML DSL.

  • io.quarkus.updates.camel.camel43.CamelThrottleEIPRecipe: Apache Camel Core migration from version 4.0 to 4.1.

  • io.quarkus.updates.camel.camel43.KafkaMetadata: The header name for the List metadata has changed also the dsl method for metadata changed.

  • io.quarkus.updates.camel.camel43.StateRepository: Moved classes MemoryStateRepository and FileStateRepositor from camel-base-engine to camel-support.

  • io.quarkus.updates.camel.camel44.CamelCoreRecipe: Apache Camel Core migration from version 4.3 to 4.4.

  • io.quarkus.updates.camel.camel44.DefaultJsonSchemaLoader: Replaces deprecated class with its successor.

  • io.quarkus.updates.camel.camel44.RouteControllerProperties:

  • io.quarkus.updates.camel.customRecipes.ChangePropertyKeyWithCaseChange: Change prefix of property with Camel case

  • io.quarkus.updates.camel.customRecipes.MoveGetterToPluginHelper: Move getter from context to PluginHelper

  • io.quarkus.updates.core.quarkus313.WithTestResource:

  • io.quarkus.updates.core.quarkus313.WithTestResourceRestrictToAnnotatedClassValue:

  • org.openrewrite.java.camel.migrate.ChangeManagedChoiceMBeanMethodName: MBeans now use a consistent method name of extendedInformation.

  • org.openrewrite.java.camel.migrate.ChangeManagedFailoverLoadBalancerMBeanMethodName: MBeans now use a consistent method name of extendedInformation.

  • org.openrewrite.java.camel.migrate.ChangeTypes: Change type of classes related to change of API.

  • org.openrewrite.java.migrate.guava.PreferJavaUtilObjectsRequireNonNull: Prefer java.util.Objects#requireNonNull instead of using com.google.common.base.Preconditions#checkNotNull.

  • org.openrewrite.java.spring.batch.ImplementChunkListenerDirectly: As of 5.0 ChunkListener has default methods (made possible by a Java 8 baseline) and can be implemented directly without the need for this adapter.

  • org.openrewrite.java.spring.batch.ImplementJobExecutionListenerDirectly: As of 5.0 JobExecutionListener has default methods (made possible by a Java 8 baseline) and can be implemented directly without the need for this adapter.

  • org.openrewrite.java.spring.batch.ImplementRepeatListenerDirectly: As of 5.0 RepeatListener has default methods (made possible by a Java 8 baseline) and can be implemented directly without the need for this adapter.

  • org.openrewrite.java.spring.batch.ImplementSkipListenerSupportDirectly: As of 5.0 SkipListener has default methods (made possible by a Java 8 baseline) and can be implemented directly without the need for this adapter.

  • org.openrewrite.java.spring.batch.ImplementStepExecutionListenerDirectly: As of 5.0 StepExecutionListener has default methods (made possible by a Java 8 baseline) and can be implemented directly without the need for this adapter.

Changed Recipes

  • org.openrewrite.maven.ChangePluginGroupIdAndArtifactId was changed:

    • Old Options:

      • newArtifact: { 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 }

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

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

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

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

Last updated