Skip to content

Commit

Permalink
8.37.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-solomon committed Oct 23, 2024
1 parent b3060b5 commit d508b0f
Show file tree
Hide file tree
Showing 2 changed files with 328 additions and 75 deletions.
53 changes: 53 additions & 0 deletions src/main/resources/8-37-1-Release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# 8.37.1 release (2024-10-10)

:::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](https://github.com/openrewrite/rewrite/releases).
:::

## New Artifacts
* rewrite-dotnet
* rewrite-gitlab

## New Recipes

* [ai.timefold.solver.migration.v8.SolutionManagerRecommendAssignmentRecipe](https://docs.openrewrite.org/recipes/ai/timefold/solver/migration/v8/solutionmanagerrecommendassignmentrecipe): Use recommendAssignment() instead of recommendFit().
* [io.quarkus.updates.camel.camel47.CamelQuarkusMigrationRecipe](https://docs.openrewrite.org/recipes/io/quarkus/updates/camel/camel47/camelquarkusmigrationrecipe): Migrates `camel 4.4` quarkus application to `camel 4.8`.
* [org.openrewrite.dotnet.MigrateToNet6](https://docs.openrewrite.org/recipes/dotnet/migratetonet6): Run [upgrade-assistant upgrade](https://learn.microsoft.com/en-us/dotnet/core/porting/upgrade-assistant-overview) across a repository to upgrade projects to .NET 6.0.
* [org.openrewrite.dotnet.MigrateToNet7](https://docs.openrewrite.org/recipes/dotnet/migratetonet7): Run [upgrade-assistant upgrade](https://learn.microsoft.com/en-us/dotnet/core/porting/upgrade-assistant-overview) across a repository to upgrade projects to .NET 7.0.
* [org.openrewrite.dotnet.MigrateToNet8](https://docs.openrewrite.org/recipes/dotnet/migratetonet8): Run [upgrade-assistant upgrade](https://learn.microsoft.com/en-us/dotnet/core/porting/upgrade-assistant-overview) across a repository to upgrade projects to .NET 8.0.
* [org.openrewrite.dotnet.MigrateToNet9](https://docs.openrewrite.org/recipes/dotnet/migratetonet9): Run [upgrade-assistant upgrade](https://learn.microsoft.com/en-us/dotnet/core/porting/upgrade-assistant-overview) across a repository to upgrade projects to .NET 9.0.
* [org.openrewrite.dotnet.UpgradeAssistant](https://docs.openrewrite.org/recipes/dotnet/upgradeassistant): Run [upgrade-assistant upgrade](https://learn.microsoft.com/en-us/dotnet/core/porting/upgrade-assistant-overview) across a repository to upgrade projects to a newer version of .NET.
* [org.openrewrite.dotnet.UpgradeAssistantAnalyze](https://docs.openrewrite.org/recipes/dotnet/upgradeassistantanalyze): Run [upgrade-assistant analyze](https://learn.microsoft.com/en-us/dotnet/core/porting/upgrade-assistant-overview) across a repository to analyze changes required to upgrade projects to a newer version of .NET.This recipe will generate an `org.openrewrite.dotnet.UpgradeAssistantAnalysis` data table containing the report details.
* [org.openrewrite.gitlab.core.AddTemplate](https://docs.openrewrite.org/recipes/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](https://docs.openrewrite.org/recipes/gitlab/core/changetemplate): Change a GitLab template in use.
* [org.openrewrite.gitlab.core.RemoveTemplate](https://docs.openrewrite.org/recipes/gitlab/core/removetemplate): Remove a GitLab template from use.
* [org.openrewrite.hibernate.EmptyInterceptorToInterface](https://docs.openrewrite.org/recipes/hibernate/emptyinterceptortointerface): In Hibernate 6.0 the `Interceptor` interface received default implementations therefore the NOOP implementation that could be extended was no longer needed. This recipe migrates 5.x `Interceptor#onPrepareStatement(String)` to 6.0 `StatementInspector#inspect()`.
* [org.openrewrite.hibernate.MigrateToHibernate60](https://docs.openrewrite.org/recipes/hibernate/migratetohibernate60): This recipe will apply changes commonly needed when migrating to Hibernate 6.0.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.hibernate.MigrateToHibernateDependencies60](https://docs.openrewrite.org/recipes/hibernate/migratetohibernatedependencies60): This recipe will migrate any existing dependencies on Hibernate 5.x to the latest 6.0.x release. This migration will include the adjustment to the new `org.hibernate.orm` group ID. It accounts for artifacts names that both do and do not include the `jakarta` suffix and it will change both dependencies and managed dependencies.
* [org.openrewrite.hibernate.MigrateUserType](https://docs.openrewrite.org/recipes/hibernate/migrateusertype): With Hibernate 6 the `UserType` interface received a type parameter making it more strictly typed. This recipe applies the changes required to adhere to this change.
* [org.openrewrite.java.recipes.NoMutableStaticFieldsInRecipes](https://docs.openrewrite.org/recipes/java/recipes/nomutablestaticfieldsinrecipes): Remove mutable static fields from Recipe classes to discourage their use.
* [org.openrewrite.java.spring.boot3.MigrateWebMvcTagsToObservationConvention](https://docs.openrewrite.org/recipes/java/spring/boot3/migratewebmvctagstoobservationconvention): Migrate `WebMvcTagsProvider` to `DefaultServerRequestObservationConvention` as part of Spring Boot 3.2 removals.
* [org.openrewrite.java.spring.framework.MigrateResponseStatusException](https://docs.openrewrite.org/recipes/java/spring/framework/migrateresponsestatusexception): Migrate Spring Framework 5.3's `ResponseStatusException` method `getRawStatusCode()` to Spring Framework 6's `getStatusCode().value()` and `ResponseStatusException` method `getStatus()` to Spring Framework 6's `getStatusCode()` .
* [org.openrewrite.java.spring.framework.MigrateResponseStatusExceptionGetRawStatusCodeMethod](https://docs.openrewrite.org/recipes/java/spring/framework/migrateresponsestatusexceptiongetrawstatuscodemethod): Migrate Spring Framework 5.3's `ResponseStatusException` method `getRawStatusCode()` to Spring Framework 6's `getStatusCode().value()`.
* [org.openrewrite.openapi.swagger.MigrateApiModelToSchema](https://docs.openrewrite.org/recipes/openapi/swagger/migrateapimodeltoschema): Converts the `@ApiModel` annotation to `@Schema` and converts the "value" attribute to "name".
* [org.openrewrite.xml.AddOrUpdateChildTag](https://docs.openrewrite.org/recipes/xml/addorupdatechildtag): Adds or updates a child element below the parent(s) matching the provided `parentXPath` expression. If a child with the same name already exists, it will be replaced by default. Otherwise, a new child will be added. This ensures idempotent behaviour.

## Removed Recipes

* **org.openrewrite.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 artifacts 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.UpgradeSpringDoc_2**: Migrate applications to the latest spring-doc 2 release. This recipe will modify an application's build files and make changes code changes for removed/updated APIs. See the [upgrade guide](https://springdoc.org/#migrating-from-springdoc-v1)

## Changed Recipes

* [org.openrewrite.gradle.UpdateGradleWrapper](https://docs.openrewrite.org/recipes/gradle/updategradlewrapper) was changed:
* Old Options:
* `addIfMissing: { type: Boolean, required: false }`
* `distribution: { type: String, required: false }`
* `version: { type: String, required: false }`
* `wrapperUri: { type: String, required: false }`
* New Options:
* `addIfMissing: { type: Boolean, required: false }`
* `distribution: { type: String, required: false }`
* `distributionChecksum: { type: String, required: false }`
* `version: { type: String, required: false }`
* `wrapperUri: { type: String, required: false }`
Loading

0 comments on commit d508b0f

Please sign in to comment.