Skip to content

Commit 16c5895

Browse files
committed
OpenRewrite v8.45.0
1 parent 9dfbd7c commit 16c5895

File tree

486 files changed

+20641
-6387
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

486 files changed

+20641
-6387
lines changed

docs/changelog/8-43-0-Release.md

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -10,38 +10,38 @@ This changelog only shows what recipes have been added, removed, or changed. Ope
1010

1111
## New Recipes
1212

13-
* [io.moderne.compiled.verification.ChangeListMethodAndVerify](https://docs.openrewrite.org/recipes/compiled/verification/changelistmethodandverify): We know this won't compile.
14-
* [io.moderne.compiled.verification.VerifyCompilation](https://docs.openrewrite.org/recipes/compiled/verification/verifycompilation): This is a task that runs after another recipe to verify that the changes made by that recipe would result in a successful compilation.
15-
* [io.moderne.knowledge.ComprehendCode](https://docs.openrewrite.org/recipes/knowledge/comprehendcode): Use LLMs to add inferred knowledge to the code.
16-
* [io.moderne.knowledge.docs.UpdateOpenRewriteReadme](https://docs.openrewrite.org/recipes/knowledge/docs/updateopenrewritereadme): Updates the README periodically to reflect the latest contents of recipe projects.
17-
* [io.moderne.knowledge.docs.UpdateReadme](https://docs.openrewrite.org/recipes/knowledge/docs/updatereadme): Generate a README file for the project, containing information about the project inferred from its knowledge graph.
18-
* [org.openrewrite.gradle.EnableDevelocityBuildCache](https://docs.openrewrite.org/recipes/gradle/enabledevelocitybuildcache): Adds `buildCache` configuration to `develocity` where not yet present.
19-
* [org.openrewrite.gradle.plugins.RemoveDevelocity](https://docs.openrewrite.org/recipes/gradle/plugins/removedevelocity): Remove the Develocity plugin and configuration from the Gradle build and settings files.
20-
* [org.openrewrite.gradle.plugins.RemoveDevelocityConfiguration](https://docs.openrewrite.org/recipes/gradle/plugins/removedevelocityconfiguration): Remove Develocity configuration from a Gradle build.
21-
* [org.openrewrite.java.migrate.UpdateSdkMan](https://docs.openrewrite.org/recipes/java/migrate/updatesdkman): Update the SDKMAN JDK version in the `.sdkmanrc` file. Given a major release (e.g., 17), the recipe will update the current distribution to the current default SDKMAN version of the specified major release. The distribution option can be used to specify a specific JVM distribution. Note that these must correspond to valid SDKMAN distributions.
22-
* [org.openrewrite.java.migrate.guava.NoMapsAndSetsWithExpectedSize](https://docs.openrewrite.org/recipes/java/migrate/guava/nomapsandsetswithexpectedsize): Prefer Java 19+ methods to create Maps and Sets of an expected size instead of using Guava methods.
23-
* [org.openrewrite.java.migrate.lombok.UseNoArgsConstructor](https://docs.openrewrite.org/recipes/java/migrate/lombok/usenoargsconstructor): Prefer the Lombok `@NoArgsConstructor` annotation over explicitly written out constructors.
24-
* [org.openrewrite.java.migrate.lombok.log.UseCommonsLog](https://docs.openrewrite.org/recipes/java/migrate/lombok/log/usecommonslog): Prefer the lombok annotation `@CommonsLog` over explicitly written out `org.apache.commons.logging.Log` fields.
25-
* [org.openrewrite.java.migrate.lombok.log.UseJBossLog](https://docs.openrewrite.org/recipes/java/migrate/lombok/log/usejbosslog): Prefer the lombok annotation `@JBossLog` over explicitly written out `org.jboss.logging.Logger` fields.
26-
* [org.openrewrite.java.migrate.lombok.log.UseLog](https://docs.openrewrite.org/recipes/java/migrate/lombok/log/uselog): Prefer the lombok annotation `@Log` over explicitly written out `java.util.logging.Logger` fields.
27-
* [org.openrewrite.java.migrate.lombok.log.UseLog4j2](https://docs.openrewrite.org/recipes/java/migrate/lombok/log/uselog4j2): Prefer the lombok annotation `@Log4j2` over explicitly written out `org.apache.logging.log4j.Logger` fields.
28-
* [org.openrewrite.java.migrate.lombok.log.UseLombokLogAnnotations](https://docs.openrewrite.org/recipes/java/migrate/lombok/log/uselomboklogannotations): Applies all recipes that replace logger declarations with class level annotations.
29-
* [org.openrewrite.java.migrate.lombok.log.UseSlf4j](https://docs.openrewrite.org/recipes/java/migrate/lombok/log/useslf4j): Prefer the lombok annotation `@Slf4` over explicitly written out `org.slf4j.Logger` fields.
30-
* [org.openrewrite.java.search.FindCompileErrors](https://docs.openrewrite.org/recipes/java/search/findcompileerrors): Compile errors result in a particular LST structure that can be searched for.
31-
* [org.openrewrite.java.spring.cloud2022.MigrateRequestMappingOnFeignClient](https://docs.openrewrite.org/recipes/java/spring/cloud2022/migraterequestmappingonfeignclient): Support for `@RequestMapping` over a `FeignClient` interface was removed in Spring Cloud OpenFeign 2.2.10.RELEASE.
32-
* [org.openrewrite.java.testing.arquillian.ArquillianJUnit4ToArquillianJUnit5](https://docs.openrewrite.org/recipes/java/testing/arquillian/arquillianjunit4toarquillianjunit5): Migrates Arquillian JUnit 4 to JUnit 5.
33-
* [org.openrewrite.java.testing.arquillian.ReplaceArquillianInSequenceAnnotation](https://docs.openrewrite.org/recipes/java/testing/arquillian/replacearquillianinsequenceannotation): Transforms the Arquillian JUnit 4 `@InSequence` to the JUnit Jupiter `@Order`.
34-
* [org.openrewrite.java.testing.assertj.IsEqualToIgnoringMillisToIsCloseToRecipe](https://docs.openrewrite.org/recipes/java/testing/assertj/isequaltoignoringmillistoisclosetorecipe): `isEqualToIgnoringMillis()` is deprecated in favor of `isCloseTo()`.
35-
* [org.openrewrite.maven.EnableDevelocityBuildCache](https://docs.openrewrite.org/recipes/maven/enabledevelocitybuildcache): Add Develocity build cache configuration to any `.mvn/` Develocity configuration file that lack existing configuration.
36-
* [org.openrewrite.openapi.swagger.MigrateApiImplicitParam](https://docs.openrewrite.org/recipes/openapi/swagger/migrateapiimplicitparam): Migrate `@ApiImplicitParam` to `@Parameter`.
37-
* [org.openrewrite.openapi.swagger.MigrateApiParamDefaultValue](https://docs.openrewrite.org/recipes/openapi/swagger/migrateapiparamdefaultvalue): Migrate `@ApiParam(defaultValue)` to `@Parameter(schema = @Schema(defaultValue))`.
38-
* [org.openrewrite.openapi.swagger.MigrateSwaggerDefinitionToOpenAPIDefinition](https://docs.openrewrite.org/recipes/openapi/swagger/migrateswaggerdefinitiontoopenapidefinition): Migrate from `@SwaggerDefinition` to `@OpenAPIDefinition`.
39-
* [software.amazon.awssdk.v2migration.S3MethodsToV2](https://docs.openrewrite.org/recipes/software/amazon/awssdk/v2migration/s3methodstov2): Change S3 methods to v2.
13+
* [io.moderne.compiled.verification.ChangeListMethodAndVerify](https://docs.openrewrite.org/recipes/compiled/verification/changelistmethodandverify): We know this won't compile.
14+
* [io.moderne.compiled.verification.VerifyCompilation](https://docs.openrewrite.org/recipes/compiled/verification/verifycompilation): This is a task that runs after another recipe to verify that the changes made by that recipe would result in a successful compilation.
15+
* [io.moderne.knowledge.ComprehendCode](https://docs.openrewrite.org/recipes/knowledge/comprehendcode): Use LLMs to add inferred knowledge to the code.
16+
* [io.moderne.knowledge.docs.UpdateOpenRewriteReadme](https://docs.openrewrite.org/recipes/knowledge/docs/updateopenrewritereadme): Updates the README periodically to reflect the latest contents of recipe projects.
17+
* [io.moderne.knowledge.docs.UpdateReadme](https://docs.openrewrite.org/recipes/knowledge/docs/updatereadme): Generate a README file for the project, containing information about the project inferred from its knowledge graph.
18+
* [org.openrewrite.gradle.EnableDevelocityBuildCache](https://docs.openrewrite.org/recipes/gradle/enabledevelocitybuildcache): Adds `buildCache` configuration to `develocity` where not yet present.
19+
* [org.openrewrite.gradle.plugins.RemoveDevelocity](https://docs.openrewrite.org/recipes/gradle/plugins/removedevelocity): Remove the Develocity plugin and configuration from the Gradle build and settings files.
20+
* [org.openrewrite.gradle.plugins.RemoveDevelocityConfiguration](https://docs.openrewrite.org/recipes/gradle/plugins/removedevelocityconfiguration): Remove Develocity configuration from a Gradle build.
21+
* [org.openrewrite.java.migrate.UpdateSdkMan](https://docs.openrewrite.org/recipes/java/migrate/updatesdkman): Update the SDKMAN JDK version in the `.sdkmanrc` file. Given a major release (e.g., 17), the recipe will update the current distribution to the current default SDKMAN version of the specified major release. The distribution option can be used to specify a specific JVM distribution. Note that these must correspond to valid SDKMAN distributions.
22+
* [org.openrewrite.java.migrate.guava.NoMapsAndSetsWithExpectedSize](https://docs.openrewrite.org/recipes/java/migrate/guava/nomapsandsetswithexpectedsize): Prefer Java 19+ methods to create Maps and Sets of an expected size instead of using Guava methods.
23+
* [org.openrewrite.java.migrate.lombok.UseNoArgsConstructor](https://docs.openrewrite.org/recipes/java/migrate/lombok/usenoargsconstructor): Prefer the Lombok `@NoArgsConstructor` annotation over explicitly written out constructors.
24+
* [org.openrewrite.java.migrate.lombok.log.UseCommonsLog](https://docs.openrewrite.org/recipes/java/migrate/lombok/log/usecommonslog): Prefer the lombok annotation `@CommonsLog` over explicitly written out `org.apache.commons.logging.Log` fields.
25+
* [org.openrewrite.java.migrate.lombok.log.UseJBossLog](https://docs.openrewrite.org/recipes/java/migrate/lombok/log/usejbosslog): Prefer the lombok annotation `@JBossLog` over explicitly written out `org.jboss.logging.Logger` fields.
26+
* [org.openrewrite.java.migrate.lombok.log.UseLog](https://docs.openrewrite.org/recipes/java/migrate/lombok/log/uselog): Prefer the lombok annotation `@Log` over explicitly written out `java.util.logging.Logger` fields.
27+
* [org.openrewrite.java.migrate.lombok.log.UseLog4j2](https://docs.openrewrite.org/recipes/java/migrate/lombok/log/uselog4j2): Prefer the lombok annotation `@Log4j2` over explicitly written out `org.apache.logging.log4j.Logger` fields.
28+
* [org.openrewrite.java.migrate.lombok.log.UseLombokLogAnnotations](https://docs.openrewrite.org/recipes/java/migrate/lombok/log/uselomboklogannotations): Applies all recipes that replace logger declarations with class level annotations.
29+
* [org.openrewrite.java.migrate.lombok.log.UseSlf4j](https://docs.openrewrite.org/recipes/java/migrate/lombok/log/useslf4j): Prefer the lombok annotation `@Slf4` over explicitly written out `org.slf4j.Logger` fields.
30+
* [org.openrewrite.java.search.FindCompileErrors](https://docs.openrewrite.org/recipes/java/search/findcompileerrors): Compile errors result in a particular LST structure that can be searched for.
31+
* [org.openrewrite.java.spring.cloud2022.MigrateRequestMappingOnFeignClient](https://docs.openrewrite.org/recipes/java/spring/cloud2022/migraterequestmappingonfeignclient): Support for `@RequestMapping` over a `FeignClient` interface was removed in Spring Cloud OpenFeign 2.2.10.RELEASE.
32+
* [org.openrewrite.java.testing.arquillian.ArquillianJUnit4ToArquillianJUnit5](https://docs.openrewrite.org/recipes/java/testing/arquillian/arquillianjunit4toarquillianjunit5): Migrates Arquillian JUnit 4 to JUnit 5.
33+
* [org.openrewrite.java.testing.arquillian.ReplaceArquillianInSequenceAnnotation](https://docs.openrewrite.org/recipes/java/testing/arquillian/replacearquillianinsequenceannotation): Transforms the Arquillian JUnit 4 `@InSequence` to the JUnit Jupiter `@Order`.
34+
* [org.openrewrite.java.testing.assertj.IsEqualToIgnoringMillisToIsCloseToRecipe](https://docs.openrewrite.org/recipes/java/testing/assertj/isequaltoignoringmillistoisclosetorecipe): `isEqualToIgnoringMillis()` is deprecated in favor of `isCloseTo()`.
35+
* [org.openrewrite.maven.EnableDevelocityBuildCache](https://docs.openrewrite.org/recipes/maven/enabledevelocitybuildcache): Add Develocity build cache configuration to any `.mvn/` Develocity configuration file that lack existing configuration.
36+
* [org.openrewrite.openapi.swagger.MigrateApiImplicitParam](https://docs.openrewrite.org/recipes/openapi/swagger/migrateapiimplicitparam): Migrate `@ApiImplicitParam` to `@Parameter`.
37+
* [org.openrewrite.openapi.swagger.MigrateApiParamDefaultValue](https://docs.openrewrite.org/recipes/openapi/swagger/migrateapiparamdefaultvalue): Migrate `@ApiParam(defaultValue)` to `@Parameter(schema = @Schema(defaultValue))`.
38+
* [org.openrewrite.openapi.swagger.MigrateSwaggerDefinitionToOpenAPIDefinition](https://docs.openrewrite.org/recipes/openapi/swagger/migrateswaggerdefinitiontoopenapidefinition): Migrate from `@SwaggerDefinition` to `@OpenAPIDefinition`.
39+
* [software.amazon.awssdk.v2migration.S3MethodsToV2](https://docs.openrewrite.org/recipes/software/amazon/awssdk/v2migration/s3methodstov2): Change S3 methods to v2.
4040

4141
## Removed Recipes
4242

43-
* **org.openrewrite.java.dependencies.RemoveExpiredSuppressions**: Remove expired vulnerability suppressions from `DependencyCheck` `suppression.xml` files.
44-
* **org.openrewrite.openapi.swagger.MigrateApiImplicitParamDataTypeClass**: Migrate `@ApiImplicitParam(dataTypeClass=Foo.class)` to `@Parameter(schema=@Schema(implementation=Foo.class))`.
43+
* **org.openrewrite.java.dependencies.RemoveExpiredSuppressions**: Remove expired vulnerability suppressions from `DependencyCheck` `suppression.xml` files.
44+
* **org.openrewrite.openapi.swagger.MigrateApiImplicitParamDataTypeClass**: Migrate `@ApiImplicitParam(dataTypeClass=Foo.class)` to `@Parameter(schema=@Schema(implementation=Foo.class))`.
4545

4646
## Changed Recipes
4747

0 commit comments

Comments
 (0)