From 43563f2f082caa8b4524a43c761e2ac9436d2604 Mon Sep 17 00:00:00 2001 From: Mike Solomon Date: Wed, 22 Nov 2023 08:57:09 -0800 Subject: [PATCH] 8.9.6 changelog --- src/main/resources/CHANGELOG-2023-11-22.md | 16 +++++++ .../CHANGELOG-2023-11-13.md | 0 .../CHANGELOG-2023-11-20.md | 0 .../CHANGELOG-2023-11-21.md | 7 ++- src/main/resources/recipeDescriptors.yml | 45 +++++++++++++------ 5 files changed, 54 insertions(+), 14 deletions(-) create mode 100644 src/main/resources/CHANGELOG-2023-11-22.md rename src/main/resources/{ => old-changelogs}/CHANGELOG-2023-11-13.md (100%) rename src/main/resources/{ => old-changelogs}/CHANGELOG-2023-11-20.md (100%) rename src/main/resources/{ => old-changelogs}/CHANGELOG-2023-11-21.md (71%) diff --git a/src/main/resources/CHANGELOG-2023-11-22.md b/src/main/resources/CHANGELOG-2023-11-22.md new file mode 100644 index 0000000..e1ab2c4 --- /dev/null +++ b/src/main/resources/CHANGELOG-2023-11-22.md @@ -0,0 +1,16 @@ +# 8.9.6 release (2023-11-22) + +## New Recipes + +* [org.openrewrite.java.ChangeAnnotationAttributeName](https://docs.openrewrite.org/recipes/java/changeannotationattributename): Some annotations accept arguments. This recipe renames an existing attribute. + +## Changed Recipes + +* [org.openrewrite.maven.search.ParentPomInsight](https://docs.openrewrite.org/recipes/maven/search/parentpominsight) was changed: + * Old Options: + * `artifactIdPattern: { type: String, required: true }` + * `groupIdPattern: { type: String, required: true }` + * New Options: + * `artifactIdPattern: { type: String, required: true }` + * `groupIdPattern: { type: String, required: true }` + * `version: { type: String, required: false }` \ No newline at end of file diff --git a/src/main/resources/CHANGELOG-2023-11-13.md b/src/main/resources/old-changelogs/CHANGELOG-2023-11-13.md similarity index 100% rename from src/main/resources/CHANGELOG-2023-11-13.md rename to src/main/resources/old-changelogs/CHANGELOG-2023-11-13.md diff --git a/src/main/resources/CHANGELOG-2023-11-20.md b/src/main/resources/old-changelogs/CHANGELOG-2023-11-20.md similarity index 100% rename from src/main/resources/CHANGELOG-2023-11-20.md rename to src/main/resources/old-changelogs/CHANGELOG-2023-11-20.md diff --git a/src/main/resources/CHANGELOG-2023-11-21.md b/src/main/resources/old-changelogs/CHANGELOG-2023-11-21.md similarity index 71% rename from src/main/resources/CHANGELOG-2023-11-21.md rename to src/main/resources/old-changelogs/CHANGELOG-2023-11-21.md index cc282c0..b2718be 100644 --- a/src/main/resources/CHANGELOG-2023-11-21.md +++ b/src/main/resources/old-changelogs/CHANGELOG-2023-11-21.md @@ -1,8 +1,13 @@ -# X.XX.X release (2023-11-21) +# 8.9.5 release (2023-11-21) + +## New Artifacts +* rewrite-launchdarkly ## New Recipes * [org.openrewrite.java.spring.boot3.EnableVirtualThreads](https://docs.openrewrite.org/recipes/java/spring/boot3/enablevirtualthreads): Set `spring.threads.virtual.enabled` to `true` in `application.properties` or `application.yml`. * [org.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_2](https://docs.openrewrite.org/recipes/java/spring/boot3/upgradespringboot_3_2): Migrate applications to the latest Spring Boot 3.2 release. This recipe will modify an application's build files, make changes to deprecated/preferred APIs, and migrate configuration settings that have changes between versions. This recipe will also chain additional framework migrations (Spring Framework, Spring Data, etc) that are required as part of the migration to Spring Boot 3.1. * [org.openrewrite.java.spring.security6.UpgradeSpringSecurity_6_2](https://docs.openrewrite.org/recipes/java/spring/security6/upgradespringsecurity_6_2): Migrate applications to the latest Spring Security 6.2 release. This recipe will modify an application's build files, make changes to deprecated/preferred APIs, and migrate configuration settings that have changes between versions. +* [org.openrewrite.launchdarkly.UpgradeLaunchDarkly6](https://docs.openrewrite.org/recipes/launchdarkly/upgradelaunchdarkly6): This recipe will apply changes commonly needed when migrating to LaunchDarkly 6.x. +* [org.openrewrite.launchdarkly.UpgradeLaunchDarkly6Dependencies](https://docs.openrewrite.org/recipes/launchdarkly/upgradelaunchdarkly6dependencies): Migrate LaunchDarkly dependencies to 6.x. diff --git a/src/main/resources/recipeDescriptors.yml b/src/main/resources/recipeDescriptors.yml index b0ca392..cef3b41 100644 --- a/src/main/resources/recipeDescriptors.yml +++ b/src/main/resources/recipeDescriptors.yml @@ -349,7 +349,7 @@ rewrite-concourse: artifactId: "rewrite-concourse" rewrite-core: artifactId: "rewrite-core" - version: "8.9.5" + version: "8.9.6" markdownRecipeDescriptors: org.openrewrite.DeleteSourceFiles: name: "org.openrewrite.DeleteSourceFiles" @@ -868,7 +868,7 @@ rewrite-github-actions: artifactId: "rewrite-github-actions" rewrite-gradle: artifactId: "rewrite-gradle" - version: "8.9.5" + version: "8.9.6" markdownRecipeDescriptors: org.openrewrite.gradle.AddDependency: name: "org.openrewrite.gradle.AddDependency" @@ -1437,7 +1437,7 @@ rewrite-gradle: artifactId: "rewrite-gradle" rewrite-groovy: artifactId: "rewrite-groovy" - version: "8.9.5" + version: "8.9.6" markdownRecipeDescriptors: org.openrewrite.groovy.format.OmitParenthesesForLastArgumentLambda: name: "org.openrewrite.groovy.format.OmitParenthesesForLastArgumentLambda" @@ -1456,7 +1456,7 @@ rewrite-groovy: artifactId: "rewrite-groovy" rewrite-hcl: artifactId: "rewrite-hcl" - version: "8.9.5" + version: "8.9.6" markdownRecipeDescriptors: org.openrewrite.hcl.DeleteContent: name: "org.openrewrite.hcl.DeleteContent" @@ -1607,7 +1607,7 @@ rewrite-hibernate: artifactId: "rewrite-hibernate" rewrite-java: artifactId: "rewrite-java" - version: "8.9.5" + version: "8.9.6" markdownRecipeDescriptors: org.openrewrite.java.AddApache2LicenseHeader: name: "org.openrewrite.java.AddApache2LicenseHeader" @@ -1649,6 +1649,23 @@ rewrite-java: required: true isImperative: true artifactId: "rewrite-java" + org.openrewrite.java.ChangeAnnotationAttributeName: + name: "org.openrewrite.java.ChangeAnnotationAttributeName" + description: "Some annotations accept arguments. This recipe renames an existing\ + \ attribute." + docLink: "https://docs.openrewrite.org/recipes/java/changeannotationattributename" + options: + - name: "annotationType" + type: "String" + required: true + - name: "newAttributeName" + type: "String" + required: true + - name: "oldAttributeName" + type: "String" + required: true + isImperative: true + artifactId: "rewrite-java" org.openrewrite.java.ChangeMethodAccessLevel: name: "org.openrewrite.java.ChangeMethodAccessLevel" description: "Change the access level (public, protected, private, package private)\ @@ -2181,8 +2198,7 @@ rewrite-java: org.openrewrite.java.recipes.RemoveApplicabilityTestFromYamlRecipe: name: "org.openrewrite.java.recipes.RemoveApplicabilityTestFromYamlRecipe" description: "Remove the applicability test from the YAML recipe when migrating\ - \ from Rewrite 7 to 8, as it is no longer supported and may require migrating\ - \ the recipe to Java code." + \ from Rewrite 7 to 8, as these have been replaced by preconditions." docLink: "https://docs.openrewrite.org/recipes/java/recipes/removeapplicabilitytestfromyamlrecipe" options: [] isImperative: true @@ -3440,7 +3456,7 @@ rewrite-jhipster: artifactId: "rewrite-jhipster" rewrite-json: artifactId: "rewrite-json" - version: "8.9.5" + version: "8.9.6" markdownRecipeDescriptors: org.openrewrite.json.ChangeKey: name: "org.openrewrite.json.ChangeKey" @@ -3490,7 +3506,7 @@ rewrite-json: artifactId: "rewrite-json" rewrite-kotlin: artifactId: "rewrite-kotlin" - version: "1.7.4" + version: "1.7.5" markdownRecipeDescriptors: org.openrewrite.kotlin.FindKotlinSources: name: "org.openrewrite.kotlin.FindKotlinSources" @@ -4384,7 +4400,7 @@ rewrite-logging-frameworks: artifactId: "rewrite-logging-frameworks" rewrite-maven: artifactId: "rewrite-maven" - version: "8.9.5" + version: "8.9.6" markdownRecipeDescriptors: org.openrewrite.maven.AddCommentToMavenDependency: name: "org.openrewrite.maven.AddCommentToMavenDependency" @@ -5392,6 +5408,9 @@ rewrite-maven: - name: "groupIdPattern" type: "String" required: true + - name: "version" + type: "String" + required: false isImperative: true artifactId: "rewrite-maven" org.openrewrite.maven.security.UseHttpsForRepositories: @@ -8256,7 +8275,7 @@ rewrite-okhttp: artifactId: "rewrite-okhttp" rewrite-properties: artifactId: "rewrite-properties" - version: "8.9.5" + version: "8.9.6" markdownRecipeDescriptors: org.openrewrite.properties.AddProperty: name: "org.openrewrite.properties.AddProperty" @@ -13006,7 +13025,7 @@ rewrite-testing-frameworks: artifactId: "rewrite-testing-frameworks" rewrite-xml: artifactId: "rewrite-xml" - version: "8.9.5" + version: "8.9.6" markdownRecipeDescriptors: org.openrewrite.xml.AddCommentToXmlTag: name: "org.openrewrite.xml.AddCommentToXmlTag" @@ -13212,7 +13231,7 @@ rewrite-xml: artifactId: "rewrite-xml" rewrite-yaml: artifactId: "rewrite-yaml" - version: "8.9.5" + version: "8.9.6" markdownRecipeDescriptors: org.openrewrite.yaml.AppendToSequence: name: "org.openrewrite.yaml.AppendToSequence"