Skip to main content

8.38.0 release (2024-10-23)

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.apache.camel.updates.camel40.CamelMigrationRecipe: Migrate camel3 application to camel4.
  • org.apache.camel.updates.camel40.ChangeManagedChoiceMBeanMethodName: MBeans now use a consistent method name of extendedInformation.
  • org.apache.camel.updates.camel40.ChangeManagedFailoverLoadBalancerMBeanMethodName: MBeans now use a consistent method name of extendedInformation.
  • org.apache.camel.updates.camel40.ChangeTypes: Change type of classes related to change of API.
  • org.apache.camel.updates.camel40.UsePluginHelperForContextGetters:
  • org.apache.camel.updates.camel40.java.CamelAPIsRecipe: Apache Camel API migration from version 3.20 or higher to 4.0. Removal of deprecated APIs.
  • org.apache.camel.updates.camel40.java.CamelBeanRecipe: Camel bean recipe.
  • org.apache.camel.updates.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.
  • org.apache.camel.updates.camel40.java.CamelHttpRecipe: Camel Http Extension changes.
  • org.apache.camel.updates.camel40.xml.CircuitBreakerXmlDslRecipe: Apache Camel XML DSL Circuit Breaker migration from version 3.20 or higher to 4.0.
  • org.apache.camel.updates.camel40.xml.XmlDslRecipe: Apache Camel XML DSL migration from version 3.20 or higher to 4.0.
  • org.apache.camel.updates.camel40.yaml.CamelYamlRouteConfigurationSequenceRecipe: Camel YAML changes. route-configuration children sequence is replaced with mappingEntry (with special migration of "on-exception").
  • org.apache.camel.updates.camel40.yaml.CamelYamlStepsInFromRecipe: 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.
  • org.apache.camel.updates.camel41.CamelCoreRecipe: Apache Camel Core migration from version 4.0 to 4.1.
  • org.apache.camel.updates.camel41.TracingTag: The Tag Enum containing constants for tagging spans has been deprecated. Instead, use constants from the TagConstants.
  • org.apache.camel.updates.camel41.XmlDslRecipe: Apache Camel XML DSL migration from version 4.0 to 4.1.
  • org.apache.camel.updates.camel41.YamlDslRecipe: If inlined bean is created, parameters type and beanType has bean changed.
  • org.apache.camel.updates.camel42.CamelMainDebugger: The option camel.main.debugger has been renamed to camel.debug.enabled.
  • org.apache.camel.updates.camel42.CamelSagaRecipe: Apache Camel Core migration from version 4.0 to 4.1.
  • org.apache.camel.updates.camel43.CamelResequenceEIPXmlRecipe: Batch and stream attributes were renamed in Resequence EIP XML DSL.
  • org.apache.camel.updates.camel43.CamelThrottleEIPRecipe: Apache Camel Core migration from version 4.0 to 4.1.
  • org.apache.camel.updates.camel43.KafkaMetadata: The header name for the List metadata has changed also the dsl method for metadata changed.
  • org.apache.camel.updates.camel43.StateRepository: Moved classes MemoryStateRepository and FileStateRepositor from camel-base-engine to camel-support.
  • org.apache.camel.updates.camel44.CamelCoreRecipe: Apache Camel Core migration from version 4.3 to 4.4.
  • org.apache.camel.updates.camel44.CamelMigrationRecipe: Migrates camel 4.0 application to camel 4.4.
  • org.apache.camel.updates.camel44.DefaultJsonSchemaLoader: Replaces depricated class withits successor.
  • org.apache.camel.updates.camel44.RouteControllerProperties:
  • org.apache.camel.updates.customRecipes.ChangePropertyKeyWithCaseChange: Change prefix of property with Camel case
  • org.apache.camel.updates.customRecipes.MoveGetterToPluginHelper: Move getter from context to PluginHelper
  • org.openrewrite.java.migrate.guava.NoGuavaRefasterRecipes$StringValueOfStringRecipe: Migrate from String.valueof(String) to String, mainly as a cleanup after other recipes.

Changed Recipes

  • org.openrewrite.codemods.Putout was changed:
    • Old Options:
      • rules: { type: Set, required: false }
    • New Options:
      • printer: { type: String, required: false }
      • rules: { type: Set, required: false }
  • org.openrewrite.maven.search.ParentPomInsight was changed:
    • Old Options:
      • artifactIdPattern: { type: String, required: true }
      • groupIdPattern: { type: String, required: true }
      • version: { type: String, required: false }
    • New Options:
      • artifactIdPattern: { type: String, required: true }
      • groupIdPattern: { type: String, required: true }
      • recursive: { type: Boolean, required: false }
      • version: { type: String, required: false }
  • org.openrewrite.staticanalysis.RemoveUnusedLocalVariables was changed:
    • Old Options:
      • ignoreVariablesNamed: { type: String[], required: false }
    • New Options:
      • ignoreVariablesNamed: { type: String[], required: false }
      • withSideEffects: { type: Boolean, required: false }