diff --git a/src/main/resources/CHANGELOG-2024-04-05.md b/src/main/resources/CHANGELOG-2024-04-05.md new file mode 100644 index 0000000..1b20a6d --- /dev/null +++ b/src/main/resources/CHANGELOG-2024-04-05.md @@ -0,0 +1,48 @@ +# 8.23.1 release (2024-04-05) + +{% 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.apache.commons.collections.UpgradeApacheCommonsCollections_3_4](https://docs.openrewrite.org/recipes/apache/commons/collections/upgradeapachecommonscollections_3_4): Migrate applications to the latest Apache Commons Collections 4.x release. This recipe modifies application's build files, make changes to deprecated/preferred APIs, and migrates configuration settings that have changes between versions. +* [org.openrewrite.apache.commons.lang.UpgradeApacheCommonsLang_2_3](https://docs.openrewrite.org/recipes/apache/commons/lang/upgradeapachecommonslang_2_3): Migrate applications to the latest Apache Commons Lang 3.x release. This recipe modifies application's build files, make changes to deprecated/preferred APIs, and migrates configuration settings that have changes between versions. +* [org.openrewrite.apache.commons.math.UpgradeApacheCommonsMath_2_3](https://docs.openrewrite.org/recipes/apache/commons/math/upgradeapachecommonsmath_2_3): Migrate applications to the latest Apache Commons Math 3.x release. This recipe modifies application's build files, make changes to deprecated/preferred APIs, and migrates configuration settings that have changes between versions. + +## Changed Recipes + +* [org.openrewrite.maven.ChangeParentPom](https://docs.openrewrite.org/recipes/maven/changeparentpom) was changed: + * Old Options: + * `allowVersionDowngrades: { type: Boolean, required: false }` + * `newArtifactId: { type: String, required: false }` + * `newGroupId: { type: String, required: false }` + * `newRelativePath: { type: String, required: false }` + * `newVersion: { type: String, required: true }` + * `oldArtifactId: { type: String, required: true }` + * `oldGroupId: { type: String, required: true }` + * `oldRelativePath: { type: String, required: false }` + * `retainVersions: { type: List, required: false }` + * `versionPattern: { type: String, required: false }` + * New Options: + * `allowVersionDowngrades: { type: Boolean, required: false }` + * `newArtifactId: { type: String, required: false }` + * `newGroupId: { type: String, required: false }` + * `newRelativePath: { type: String, required: false }` + * `newVersion: { type: String, required: true }` + * `oldArtifactId: { type: String, required: true }` + * `oldGroupId: { type: String, required: true }` + * `oldRelativePath: { type: String, required: false }` + * `versionPattern: { type: String, required: false }` +* [org.openrewrite.maven.UpgradeParentVersion](https://docs.openrewrite.org/recipes/maven/upgradeparentversion) was changed: + * Old Options: + * `artifactId: { type: String, required: true }` + * `groupId: { type: String, required: true }` + * `newVersion: { type: String, required: true }` + * `retainVersions: { type: List, required: false }` + * `versionPattern: { type: String, required: false }` + * New Options: + * `artifactId: { type: String, required: true }` + * `groupId: { type: String, required: true }` + * `newVersion: { type: String, required: true }` + * `versionPattern: { type: String, required: false }` \ No newline at end of file diff --git a/src/main/resources/CHANGELOG-2024-02-07.md b/src/main/resources/old-changelogs/CHANGELOG-2024-02-07.md similarity index 100% rename from src/main/resources/CHANGELOG-2024-02-07.md rename to src/main/resources/old-changelogs/CHANGELOG-2024-02-07.md diff --git a/src/main/resources/CHANGELOG-2024-02-21.md b/src/main/resources/old-changelogs/CHANGELOG-2024-02-21.md similarity index 100% rename from src/main/resources/CHANGELOG-2024-02-21.md rename to src/main/resources/old-changelogs/CHANGELOG-2024-02-21.md diff --git a/src/main/resources/CHANGELOG-2024-03-13.md b/src/main/resources/old-changelogs/CHANGELOG-2024-03-13.md similarity index 100% rename from src/main/resources/CHANGELOG-2024-03-13.md rename to src/main/resources/old-changelogs/CHANGELOG-2024-03-13.md diff --git a/src/main/resources/CHANGELOG-2024-03-20.md b/src/main/resources/old-changelogs/CHANGELOG-2024-03-20.md similarity index 100% rename from src/main/resources/CHANGELOG-2024-03-20.md rename to src/main/resources/old-changelogs/CHANGELOG-2024-03-20.md diff --git a/src/main/resources/recipeDescriptors.yml b/src/main/resources/recipeDescriptors.yml index 724b1cc..71f827d 100644 --- a/src/main/resources/recipeDescriptors.yml +++ b/src/main/resources/recipeDescriptors.yml @@ -63,7 +63,7 @@ rewrite-analysis: artifactId: "rewrite-analysis" rewrite-apache: artifactId: "rewrite-apache" - version: "0.1.2" + version: "1.0.0" markdownRecipeDescriptors: org.openrewrite.apache.commons.codec.ApacheBase64ToJavaBase64: name: "org.openrewrite.apache.commons.codec.ApacheBase64ToJavaBase64" @@ -73,6 +73,16 @@ rewrite-apache: options: [] isImperative: true artifactId: "rewrite-apache" + org.openrewrite.apache.commons.collections.UpgradeApacheCommonsCollections_3_4: + name: "org.openrewrite.apache.commons.collections.UpgradeApacheCommonsCollections_3_4" + description: "Migrate applications to the latest Apache Commons Collections\ + \ 4.x release. This recipe modifies application's build files, make changes\ + \ to deprecated/preferred APIs, and migrates configuration settings that have\ + \ changes between versions.\n" + docLink: "https://docs.openrewrite.org/recipes/apache/commons/collections/upgradeapachecommonscollections_3_4" + options: [] + isImperative: false + artifactId: "rewrite-apache" org.openrewrite.apache.commons.io.ApacheCommonsFileUtilsRecipes: name: "org.openrewrite.apache.commons.io.ApacheCommonsFileUtilsRecipes" description: "Refaster template recipes for `org.openrewrite.apache.commons.io.ApacheCommonsFileUtils`." @@ -293,6 +303,24 @@ rewrite-apache: options: [] isImperative: true artifactId: "rewrite-apache" + org.openrewrite.apache.commons.lang.UpgradeApacheCommonsLang_2_3: + name: "org.openrewrite.apache.commons.lang.UpgradeApacheCommonsLang_2_3" + description: "Migrate applications to the latest Apache Commons Lang 3.x release.\ + \ This recipe modifies application's build files, make changes to deprecated/preferred\ + \ APIs, and migrates configuration settings that have changes between versions.\n" + docLink: "https://docs.openrewrite.org/recipes/apache/commons/lang/upgradeapachecommonslang_2_3" + options: [] + isImperative: false + artifactId: "rewrite-apache" + org.openrewrite.apache.commons.math.UpgradeApacheCommonsMath_2_3: + name: "org.openrewrite.apache.commons.math.UpgradeApacheCommonsMath_2_3" + description: "Migrate applications to the latest Apache Commons Math 3.x release.\ + \ This recipe modifies application's build files, make changes to deprecated/preferred\ + \ APIs, and migrates configuration settings that have changes between versions.\n" + docLink: "https://docs.openrewrite.org/recipes/apache/commons/math/upgradeapachecommonsmath_2_3" + options: [] + isImperative: false + artifactId: "rewrite-apache" org.openrewrite.apache.httpclient4.MappingDeprecatedClasses: name: "org.openrewrite.apache.httpclient4.MappingDeprecatedClasses" description: "Uses new classes/methods instead of the deprecated ones" @@ -956,7 +984,7 @@ rewrite-concourse: artifactId: "rewrite-concourse" rewrite-core: artifactId: "rewrite-core" - version: "8.21.0" + version: "8.23.1" markdownRecipeDescriptors: org.openrewrite.DeleteSourceFiles: name: "org.openrewrite.DeleteSourceFiles" @@ -1508,7 +1536,7 @@ rewrite-github-actions: artifactId: "rewrite-github-actions" rewrite-gradle: artifactId: "rewrite-gradle" - version: "8.21.0" + version: "8.23.1" markdownRecipeDescriptors: org.openrewrite.gradle.AddDependency: name: "org.openrewrite.gradle.AddDependency" @@ -2130,7 +2158,7 @@ rewrite-gradle: artifactId: "rewrite-gradle" rewrite-groovy: artifactId: "rewrite-groovy" - version: "8.21.0" + version: "8.23.1" markdownRecipeDescriptors: org.openrewrite.groovy.format.AutoFormat: name: "org.openrewrite.groovy.format.AutoFormat" @@ -2166,7 +2194,7 @@ rewrite-groovy: artifactId: "rewrite-groovy" rewrite-hcl: artifactId: "rewrite-hcl" - version: "8.21.0" + version: "8.23.1" markdownRecipeDescriptors: org.openrewrite.hcl.DeleteContent: name: "org.openrewrite.hcl.DeleteContent" @@ -2324,7 +2352,7 @@ rewrite-hibernate: artifactId: "rewrite-hibernate" rewrite-java: artifactId: "rewrite-java" - version: "8.21.0" + version: "8.23.1" markdownRecipeDescriptors: org.openrewrite.java.AddApache2LicenseHeader: name: "org.openrewrite.java.AddApache2LicenseHeader" @@ -4261,7 +4289,7 @@ rewrite-jenkins: artifactId: "rewrite-jenkins" rewrite-json: artifactId: "rewrite-json" - version: "8.21.0" + version: "8.23.1" markdownRecipeDescriptors: org.openrewrite.json.ChangeKey: name: "org.openrewrite.json.ChangeKey" @@ -5341,7 +5369,7 @@ rewrite-logging-frameworks: artifactId: "rewrite-logging-frameworks" rewrite-maven: artifactId: "rewrite-maven" - version: "8.21.0" + version: "8.23.1" markdownRecipeDescriptors: org.openrewrite.maven.AddCommentToMavenDependency: name: "org.openrewrite.maven.AddCommentToMavenDependency" @@ -5745,9 +5773,6 @@ rewrite-maven: - name: "oldRelativePath" type: "String" required: false - - name: "retainVersions" - type: "List" - required: false - name: "versionPattern" type: "String" required: false @@ -6137,8 +6162,8 @@ rewrite-maven: artifactId: "rewrite-maven" org.openrewrite.maven.UpgradeParentVersion: name: "org.openrewrite.maven.UpgradeParentVersion" - description: "Set the parent pom version number according to a node-style semver\ - \ selector or to a specific version number." + description: "Set the parent pom version number according to a [version selector](https://docs.openrewrite.org/reference/dependency-version-selectors)\ + \ or to a specific version number." docLink: "https://docs.openrewrite.org/recipes/maven/upgradeparentversion" options: - name: "artifactId" @@ -6150,9 +6175,6 @@ rewrite-maven: - name: "newVersion" type: "String" required: true - - name: "retainVersions" - type: "List" - required: false - name: "versionPattern" type: "String" required: false @@ -9238,7 +9260,7 @@ rewrite-openapi: artifactId: "rewrite-openapi" rewrite-properties: artifactId: "rewrite-properties" - version: "8.21.0" + version: "8.23.1" markdownRecipeDescriptors: org.openrewrite.properties.AddProperty: name: "org.openrewrite.properties.AddProperty" @@ -14254,7 +14276,7 @@ rewrite-testing-frameworks: artifactId: "rewrite-testing-frameworks" rewrite-xml: artifactId: "rewrite-xml" - version: "8.21.0" + version: "8.23.1" markdownRecipeDescriptors: org.openrewrite.xml.AddCommentToXmlTag: name: "org.openrewrite.xml.AddCommentToXmlTag" @@ -14487,7 +14509,7 @@ rewrite-xml: artifactId: "rewrite-xml" rewrite-yaml: artifactId: "rewrite-yaml" - version: "8.21.0" + version: "8.23.1" markdownRecipeDescriptors: org.openrewrite.yaml.AppendToSequence: name: "org.openrewrite.yaml.AppendToSequence"