diff --git a/src/main/resources/CHANGELOG-2024-01-16.md b/src/main/resources/CHANGELOG-2024-01-16.md new file mode 100644 index 0000000..772c7b6 --- /dev/null +++ b/src/main/resources/CHANGELOG-2024-01-16.md @@ -0,0 +1,12 @@ +# 8.13.4 release (2024-01-16) + +{% hint style="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). +{% endhint %} + +## New Recipes + +* [org.openrewrite.java.migrate.guava.PreferJavaStringJoin](https://docs.openrewrite.org/recipes/java/migrate/guava/preferjavastringjoin): Replaces supported calls to `com.google.common.base.Joiner#join()` with `java.lang.String#join()`. +* [org.openrewrite.java.recipes.MissingOptionExample](https://docs.openrewrite.org/recipes/java/recipes/missingoptionexample): Find `@Option` annotations that are missing `example` values for documentation. +* [org.openrewrite.micrometer.dropwizard.FindDropwizardMetrics](https://docs.openrewrite.org/recipes/micrometer/dropwizard/finddropwizardmetrics): Find uses of Dropwizard metrics that could be converted to a more modern metrics instrumentation library. + diff --git a/src/main/resources/CHANGELOG-2023-12-28.md b/src/main/resources/old-changelogs/CHANGELOG-2023-12-28.md similarity index 100% rename from src/main/resources/CHANGELOG-2023-12-28.md rename to src/main/resources/old-changelogs/CHANGELOG-2023-12-28.md diff --git a/src/main/resources/CHANGELOG-2024-01-09.md b/src/main/resources/old-changelogs/CHANGELOG-2024-01-09.md similarity index 100% rename from src/main/resources/CHANGELOG-2024-01-09.md rename to src/main/resources/old-changelogs/CHANGELOG-2024-01-09.md diff --git a/src/main/resources/recipeDescriptors.yml b/src/main/resources/recipeDescriptors.yml index ec0d315..7c2cdd6 100644 --- a/src/main/resources/recipeDescriptors.yml +++ b/src/main/resources/recipeDescriptors.yml @@ -1,6 +1,6 @@ rewrite-analysis: artifactId: "rewrite-analysis" - version: "2.2.1" + version: "2.2.2" markdownRecipeDescriptors: org.openrewrite.analysis.controlflow.ControlFlowVisualization: name: "org.openrewrite.analysis.controlflow.ControlFlowVisualization" @@ -63,7 +63,7 @@ rewrite-analysis: artifactId: "rewrite-analysis" rewrite-circleci: artifactId: "rewrite-circleci" - version: "2.1.1" + version: "2.1.2" markdownRecipeDescriptors: org.openrewrite.circleci.InstallOrb: name: "org.openrewrite.circleci.InstallOrb" @@ -91,7 +91,7 @@ rewrite-circleci: artifactId: "rewrite-circleci" rewrite-cloud-suitability-analyzer: artifactId: "rewrite-cloud-suitability-analyzer" - version: "2.1.1" + version: "2.1.2" markdownRecipeDescriptors: org.openrewrite.cloudsuitability.FindCacheUses: name: "org.openrewrite.cloudsuitability.FindCacheUses" @@ -269,7 +269,7 @@ rewrite-cloud-suitability-analyzer: artifactId: "rewrite-cloud-suitability-analyzer" rewrite-concourse: artifactId: "rewrite-concourse" - version: "2.1.1" + version: "2.1.2" markdownRecipeDescriptors: org.openrewrite.concourse.ChangeResourceVersion: name: "org.openrewrite.concourse.ChangeResourceVersion" @@ -349,7 +349,7 @@ rewrite-concourse: artifactId: "rewrite-concourse" rewrite-core: artifactId: "rewrite-core" - version: "8.13.1" + version: "8.13.4" markdownRecipeDescriptors: org.openrewrite.DeleteSourceFiles: name: "org.openrewrite.DeleteSourceFiles" @@ -655,7 +655,7 @@ rewrite-core: artifactId: "rewrite-core" rewrite-cucumber-jvm: artifactId: "rewrite-cucumber-jvm" - version: "1.1.0" + version: "1.1.1" markdownRecipeDescriptors: org.openrewrite.cucumber.jvm.CucumberAnnotationToSuite: name: "org.openrewrite.cucumber.jvm.CucumberAnnotationToSuite" @@ -734,7 +734,7 @@ rewrite-cucumber-jvm: artifactId: "rewrite-cucumber-jvm" rewrite-github-actions: artifactId: "rewrite-github-actions" - version: "2.1.1" + version: "2.1.2" markdownRecipeDescriptors: org.openrewrite.github.AddCronTrigger: name: "org.openrewrite.github.AddCronTrigger" @@ -884,7 +884,7 @@ rewrite-github-actions: artifactId: "rewrite-github-actions" rewrite-gradle: artifactId: "rewrite-gradle" - version: "8.13.1" + version: "8.13.4" markdownRecipeDescriptors: org.openrewrite.gradle.AddDependency: name: "org.openrewrite.gradle.AddDependency" @@ -1455,7 +1455,7 @@ rewrite-gradle: artifactId: "rewrite-gradle" rewrite-groovy: artifactId: "rewrite-groovy" - version: "8.13.1" + version: "8.13.4" markdownRecipeDescriptors: org.openrewrite.groovy.format.OmitParenthesesForLastArgumentLambda: name: "org.openrewrite.groovy.format.OmitParenthesesForLastArgumentLambda" @@ -1474,7 +1474,7 @@ rewrite-groovy: artifactId: "rewrite-groovy" rewrite-hcl: artifactId: "rewrite-hcl" - version: "8.13.1" + version: "8.13.4" markdownRecipeDescriptors: org.openrewrite.hcl.DeleteContent: name: "org.openrewrite.hcl.DeleteContent" @@ -1558,7 +1558,7 @@ rewrite-hcl: artifactId: "rewrite-hcl" rewrite-hibernate: artifactId: "rewrite-hibernate" - version: "1.1.0" + version: "1.1.2" markdownRecipeDescriptors: org.openrewrite.hibernate.MigrateToHibernate61: name: "org.openrewrite.hibernate.MigrateToHibernate61" @@ -1625,7 +1625,7 @@ rewrite-hibernate: artifactId: "rewrite-hibernate" rewrite-java: artifactId: "rewrite-java" - version: "8.13.1" + version: "8.13.4" markdownRecipeDescriptors: org.openrewrite.java.AddApache2LicenseHeader: name: "org.openrewrite.java.AddApache2LicenseHeader" @@ -2268,6 +2268,14 @@ rewrite-java: options: [] isImperative: true artifactId: "rewrite-java" + org.openrewrite.java.recipes.MissingOptionExample: + name: "org.openrewrite.java.recipes.MissingOptionExample" + description: "Find `@Option` annotations that are missing `example` values for\ + \ documentation." + docLink: "https://docs.openrewrite.org/recipes/java/recipes/missingoptionexample" + options: [] + isImperative: true + artifactId: "rewrite-java" org.openrewrite.java.recipes.RemoveApplicabilityTestFromYamlRecipe: name: "org.openrewrite.java.recipes.RemoveApplicabilityTestFromYamlRecipe" description: "Removes any-source applicability tests from YAML recipes, as the\ @@ -2682,7 +2690,7 @@ rewrite-java: artifactId: "rewrite-java" rewrite-java-dependencies: artifactId: "rewrite-java-dependencies" - version: "1.3.1" + version: "1.3.2" markdownRecipeDescriptors: org.openrewrite.java.dependencies.AddDependency: name: "org.openrewrite.java.dependencies.AddDependency" @@ -2924,7 +2932,7 @@ rewrite-java-dependencies: artifactId: "rewrite-java-dependencies" rewrite-java-security: artifactId: "rewrite-java-security" - version: "2.2.0" + version: "2.2.1" markdownRecipeDescriptors: org.openrewrite.java.security.FindTextDirectionChanges: name: "org.openrewrite.java.security.FindTextDirectionChanges" @@ -3414,7 +3422,7 @@ rewrite-java-security: artifactId: "rewrite-java-security" rewrite-jenkins: artifactId: "rewrite-jenkins" - version: "0.3.1" + version: "0.3.2" markdownRecipeDescriptors: org.openrewrite.jenkins.AddPluginsBom: name: "org.openrewrite.jenkins.AddPluginsBom" @@ -3557,7 +3565,7 @@ rewrite-jenkins: artifactId: "rewrite-jenkins" rewrite-json: artifactId: "rewrite-json" - version: "8.13.1" + version: "8.13.4" markdownRecipeDescriptors: org.openrewrite.json.ChangeKey: name: "org.openrewrite.json.ChangeKey" @@ -3607,7 +3615,7 @@ rewrite-json: artifactId: "rewrite-json" rewrite-kotlin: artifactId: "rewrite-kotlin" - version: "1.9.1" + version: "1.10.0" markdownRecipeDescriptors: org.openrewrite.kotlin.FindKotlinSources: name: "org.openrewrite.kotlin.FindKotlinSources" @@ -3708,7 +3716,7 @@ rewrite-kotlin: artifactId: "rewrite-kotlin" rewrite-kubernetes: artifactId: "rewrite-kubernetes" - version: "2.1.1" + version: "2.1.2" markdownRecipeDescriptors: org.openrewrite.kubernetes.AddConfiguration: name: "org.openrewrite.kubernetes.AddConfiguration" @@ -4167,7 +4175,7 @@ rewrite-kubernetes: artifactId: "rewrite-kubernetes" rewrite-launchdarkly: artifactId: "rewrite-launchdarkly" - version: "0.1.0" + version: "0.1.1" markdownRecipeDescriptors: org.openrewrite.launchdarkly.ChangeVariationDefault: name: "org.openrewrite.launchdarkly.ChangeVariationDefault" @@ -4236,7 +4244,7 @@ rewrite-launchdarkly: artifactId: "rewrite-launchdarkly" rewrite-liberty: artifactId: "rewrite-liberty" - version: "1.1.0" + version: "1.1.1" markdownRecipeDescriptors: org.openrewrite.java.liberty: name: "org.openrewrite.java.liberty" @@ -4319,7 +4327,7 @@ rewrite-liberty: artifactId: "rewrite-liberty" rewrite-logging-frameworks: artifactId: "rewrite-logging-frameworks" - version: "2.4.0" + version: "2.4.1" markdownRecipeDescriptors: org.openrewrite.java.logging.ChangeLombokLogAnnotation: name: "org.openrewrite.java.logging.ChangeLombokLogAnnotation" @@ -4628,7 +4636,7 @@ rewrite-logging-frameworks: artifactId: "rewrite-logging-frameworks" rewrite-maven: artifactId: "rewrite-maven" - version: "8.13.1" + version: "8.13.4" markdownRecipeDescriptors: org.openrewrite.maven.AddCommentToMavenDependency: name: "org.openrewrite.maven.AddCommentToMavenDependency" @@ -5657,7 +5665,7 @@ rewrite-maven: artifactId: "rewrite-maven" rewrite-micrometer: artifactId: "rewrite-micrometer" - version: "0.1.0" + version: "0.2.0" markdownRecipeDescriptors: org.openrewrite.micrometer.TimerToObservation: name: "org.openrewrite.micrometer.TimerToObservation" @@ -5674,6 +5682,14 @@ rewrite-micrometer: options: [] isImperative: false artifactId: "rewrite-micrometer" + org.openrewrite.micrometer.dropwizard.FindDropwizardMetrics: + name: "org.openrewrite.micrometer.dropwizard.FindDropwizardMetrics" + description: "Find uses of Dropwizard metrics that could be converted to a more\ + \ modern metrics instrumentation library." + docLink: "https://docs.openrewrite.org/recipes/micrometer/dropwizard/finddropwizardmetrics" + options: [] + isImperative: true + artifactId: "rewrite-micrometer" org.openrewrite.micrometer.misk.MigrateEmptyLabelMiskCounter: name: "org.openrewrite.micrometer.misk.MigrateEmptyLabelMiskCounter" description: "Convert a Misk (Prometheus) counter to a Micrometer counter." @@ -5698,7 +5714,7 @@ rewrite-micrometer: artifactId: "rewrite-micrometer" rewrite-micronaut: artifactId: "rewrite-micronaut" - version: "2.2.0" + version: "2.2.1" markdownRecipeDescriptors: org.openrewrite.java.micronaut.AddAnnotationProcessorPath: name: "org.openrewrite.java.micronaut.AddAnnotationProcessorPath" @@ -6042,7 +6058,7 @@ rewrite-micronaut: artifactId: "rewrite-micronaut" rewrite-migrate-java: artifactId: "rewrite-migrate-java" - version: "2.6.0" + version: "2.7.0" markdownRecipeDescriptors: org.openrewrite.java.migrate.AddJDeprScanPlugin: name: "org.openrewrite.java.migrate.AddJDeprScanPlugin" @@ -6895,6 +6911,14 @@ rewrite-migrate-java: options: [] isImperative: false artifactId: "rewrite-migrate-java" + org.openrewrite.java.migrate.guava.PreferJavaStringJoin: + name: "org.openrewrite.java.migrate.guava.PreferJavaStringJoin" + description: "Replaces supported calls to `com.google.common.base.Joiner#join()`\ + \ with `java.lang.String#join()`." + docLink: "https://docs.openrewrite.org/recipes/java/migrate/guava/preferjavastringjoin" + options: [] + isImperative: true + artifactId: "rewrite-migrate-java" org.openrewrite.java.migrate.guava.PreferJavaUtilCollectionsSynchronizedNavigableMap: name: "org.openrewrite.java.migrate.guava.PreferJavaUtilCollectionsSynchronizedNavigableMap" description: "Prefer `java.util.Collections#synchronizedNavigableMap` instead\ @@ -8682,7 +8706,7 @@ rewrite-migrate-java: artifactId: "rewrite-migrate-java" rewrite-okhttp: artifactId: "rewrite-okhttp" - version: "0.1.0" + version: "0.1.1" markdownRecipeDescriptors: org.openrewrite.okhttp.ReorderRequestBodyCreateArguments: name: "org.openrewrite.okhttp.ReorderRequestBodyCreateArguments" @@ -8739,7 +8763,7 @@ rewrite-okhttp: artifactId: "rewrite-okhttp" rewrite-properties: artifactId: "rewrite-properties" - version: "8.13.1" + version: "8.13.4" markdownRecipeDescriptors: org.openrewrite.properties.AddProperty: name: "org.openrewrite.properties.AddProperty" @@ -8847,7 +8871,7 @@ rewrite-properties: artifactId: "rewrite-properties" rewrite-python: artifactId: "rewrite-python" - version: "1.3.1" + version: "1.3.2" markdownRecipeDescriptors: org.openrewrite.python.ChangeMethodName: name: "org.openrewrite.python.ChangeMethodName" @@ -8892,7 +8916,7 @@ rewrite-python: artifactId: "rewrite-python" rewrite-quarkus: artifactId: "rewrite-quarkus" - version: "2.1.0" + version: "2.1.1" markdownRecipeDescriptors: org.openrewrite.quarkus.AddQuarkusProperty: name: "org.openrewrite.quarkus.AddQuarkusProperty" @@ -9019,7 +9043,7 @@ rewrite-quarkus: artifactId: "rewrite-quarkus" rewrite-recommendations: artifactId: "rewrite-recommendations" - version: "1.1.0" + version: "1.1.1" markdownRecipeDescriptors: org.openrewrite.recommendations.CodeHealth: name: "org.openrewrite.recommendations.CodeHealth" @@ -9051,7 +9075,7 @@ rewrite-recommendations: artifactId: "rewrite-recommendations" rewrite-spring: artifactId: "rewrite-spring" - version: "5.2.0" + version: "5.3.0" markdownRecipeDescriptors: org.openrewrite.gradle.spring.AddSpringDependencyManagementPlugin: name: "org.openrewrite.gradle.spring.AddSpringDependencyManagementPlugin" @@ -10745,7 +10769,7 @@ rewrite-spring: artifactId: "rewrite-spring" rewrite-sql: artifactId: "rewrite-sql" - version: "1.1.1" + version: "1.1.2" markdownRecipeDescriptors: org.openrewrite.sql.FindSql: name: "org.openrewrite.sql.FindSql" @@ -10777,7 +10801,7 @@ rewrite-sql: artifactId: "rewrite-sql" rewrite-static-analysis: artifactId: "rewrite-static-analysis" - version: "1.2.0" + version: "1.2.1" markdownRecipeDescriptors: org.openrewrite.kotlin.StaticAnalysis: name: "org.openrewrite.kotlin.StaticAnalysis" @@ -11985,7 +12009,7 @@ rewrite-static-analysis: artifactId: "rewrite-static-analysis" rewrite-terraform: artifactId: "rewrite-terraform" - version: "2.1.1" + version: "2.1.2" markdownRecipeDescriptors: org.openrewrite.terraform.AddConfiguration: name: "org.openrewrite.terraform.AddConfiguration" @@ -12878,7 +12902,7 @@ rewrite-terraform: artifactId: "rewrite-terraform" rewrite-testing-frameworks: artifactId: "rewrite-testing-frameworks" - version: "2.2.0" + version: "2.3.0" markdownRecipeDescriptors: org.openrewrite.java.testing.archunit.ArchUnit0to1Migration: name: "org.openrewrite.java.testing.archunit.ArchUnit0to1Migration" @@ -13481,8 +13505,8 @@ rewrite-testing-frameworks: artifactId: "rewrite-testing-frameworks" org.openrewrite.java.testing.junit5.UpgradeOkHttpMockWebServer: name: "org.openrewrite.java.testing.junit5.UpgradeOkHttpMockWebServer" - description: "Migrates OkHttp 3 `MockWebServer` to the JUnit Jupiter compatible\ - \ version." + description: "Migrates OkHttp 3 `MockWebServer` to enable JUnit Jupiter Extension\ + \ support" docLink: "https://docs.openrewrite.org/recipes/java/testing/junit5/upgradeokhttpmockwebserver" options: [] isImperative: false @@ -13652,7 +13676,7 @@ rewrite-testing-frameworks: artifactId: "rewrite-testing-frameworks" rewrite-xml: artifactId: "rewrite-xml" - version: "8.13.1" + version: "8.13.4" markdownRecipeDescriptors: org.openrewrite.xml.AddCommentToXmlTag: name: "org.openrewrite.xml.AddCommentToXmlTag" @@ -13882,7 +13906,7 @@ rewrite-xml: artifactId: "rewrite-xml" rewrite-yaml: artifactId: "rewrite-yaml" - version: "8.13.1" + version: "8.13.4" markdownRecipeDescriptors: org.openrewrite.yaml.AppendToSequence: name: "org.openrewrite.yaml.AppendToSequence"