-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4d942e6
commit f8cbf67
Showing
4 changed files
with
444 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# 8.7.0 release (2023-10-02) | ||
|
||
## New Recipes | ||
|
||
* [org.openrewrite.maven.BestPractices](https://docs.openrewrite.org/recipes/maven/bestpractices): Applies best practices to Maven POMs. | ||
* [org.openrewrite.maven.cleanup.ExplicitPluginGroupId](https://docs.openrewrite.org/recipes/maven/cleanup/explicitplugingroupid): Add the default `<groupId>org.apache.maven.plugins</groupId>` to plugins for clarity. | ||
* [org.openrewrite.maven.cleanup.PrefixlessExpressions](https://docs.openrewrite.org/recipes/maven/cleanup/prefixlessexpressions): MNG-7404 drops support for prefixless in POMs. This recipe will add the `project.` prefix where missing. | ||
* [org.openrewrite.maven.search.ParentPomInsight](https://docs.openrewrite.org/recipes/maven/search/parentpominsight): Find Maven parents matching a `groupId` and `artifactId`. | ||
|
||
## Removed Recipes | ||
|
||
* **org.openrewrite.java.migrate.apache.commons.io.ApacheCommonsFileUtilsRecipes**: Refaster template recipes for `org.openrewrite.java.migrate.apache.commons.io.ApacheCommonsFileUtils`. | ||
* **org.openrewrite.java.migrate.apache.commons.lang.ApacheCommonsStringUtilsRecipes**: Refaster template recipes for `org.openrewrite.java.migrate.apache.commons.lang.ApacheCommonsStringUtils`. | ||
* **org.openrewrite.java.migrate.lang.StringRulesRecipes**: Refaster template recipes for `org.openrewrite.java.migrate.lang.StringRules`. | ||
* **org.openrewrite.java.migrate.lang.UseStringIsEmptyRecipe**: Recipe created for the following Refaster template: | ||
```java | ||
public class UseStringIsEmpty { | ||
|
||
@BeforeTemplate | ||
boolean before(String s) { | ||
return s.length() > 0; | ||
} | ||
|
||
@AfterTemplate | ||
boolean after(String s) { | ||
return !s.isEmpty(); | ||
} | ||
} | ||
``` | ||
* **org.openrewrite.java.migrate.maven.shared.MavenSharedStringUtilsRecipes**: Refaster template recipes for `org.openrewrite.java.migrate.maven.shared.MavenSharedStringUtils`. | ||
* **org.openrewrite.java.migrate.plexus.PlexusFileUtilsRecipes**: Refaster template recipes for `org.openrewrite.java.migrate.plexus.PlexusFileUtils`. | ||
* **org.openrewrite.java.migrate.plexus.PlexusStringUtilsRecipes**: Refaster template recipes for `org.openrewrite.java.migrate.plexus.PlexusStringUtils`. | ||
|
||
## Changed Recipes | ||
|
||
* [org.openrewrite.java.search.FindDeprecatedFields](https://docs.openrewrite.org/recipes/java/search/finddeprecatedfields) was changed: | ||
* Old Options: | ||
* `ignoreDeprecatedScopes: { type: Boolean, required: false }` | ||
* `typePattern: { type: String, required: false }` | ||
* New Options: | ||
* `ignoreDeprecatedScopes: { type: Boolean, required: false }` | ||
* `matchInherited: { type: Boolean, required: false }` | ||
* `typePattern: { type: String, required: false }` | ||
* [org.openrewrite.java.search.FindFields](https://docs.openrewrite.org/recipes/java/search/findfields) was changed: | ||
* Old Options: | ||
* `fieldName: { type: String, required: true }` | ||
* `fullyQualifiedTypeName: { type: String, required: true }` | ||
* New Options: | ||
* `fieldName: { type: String, required: true }` | ||
* `fullyQualifiedTypeName: { type: String, required: true }` | ||
* `matchInherited: { type: Boolean, required: false }` | ||
* [org.openrewrite.java.search.FindFieldsOfType](https://docs.openrewrite.org/recipes/java/search/findfieldsoftype) was changed: | ||
* Old Options: | ||
* `fullyQualifiedTypeName: { type: String, required: true }` | ||
* New Options: | ||
* `fullyQualifiedTypeName: { type: String, required: true }` | ||
* `matchInherited: { type: Boolean, required: false }` | ||
* [org.openrewrite.java.search.FindImplementations](https://docs.openrewrite.org/recipes/java/search/findimplementations) was changed: | ||
* Old Options: | ||
* `None` | ||
* New Options: | ||
* `interfaceFullyQualifiedName: { type: String, required: true }` | ||
* `matchInherited: { type: Boolean, required: false }` | ||
* [org.openrewrite.java.search.FindImports](https://docs.openrewrite.org/recipes/java/search/findimports) was changed: | ||
* Old Options: | ||
* `typePattern: { type: String, required: false }` | ||
* New Options: | ||
* `matchInherited: { type: Boolean, required: false }` | ||
* `typePattern: { type: String, required: false }` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.