8.1.12 release (2023-07-24)
New Recipes
- org.openrewrite.gradle.plugins.ChangePlugin: Changes the selected Gradle plugin to the new plugin.
- org.openrewrite.java.micronaut.AddHttpRequestTypeParameter: Add an
HttpRequest
type parameter to a classimplements
statement for interfaces that have been generically parameterized where they previously specifiedHttpRequest
explicitly. - org.openrewrite.java.micronaut.AddTestResourcesClientDependencyIfNeeded: This recipe adds the Test Resources Client dependency to pom.xml if test.resources.client.enabled property is true.
- org.openrewrite.java.micronaut.RemoveAnnotationProcessorPath: Remove the Maven annotation processor path that matches the given groupId and artifactId.
- org.openrewrite.java.micronaut.RemoveUnnecessaryDependencies: This recipe will remove dependencies that are no longer explicitly needed.
- org.openrewrite.java.micronaut.UpdateMavenAnnotationProcessors: This recipe will update the version of Maven-configured annotation processors from Micronaut Core.
Removed Recipes
These now exist in the static-analysis repository
- org.openrewrite.java.cleanup.SimplifyBooleanExpression: Checks for over-complicated boolean expressions. Finds code like
if (b == true)
,b || true
,!false
, etc. - org.openrewrite.java.cleanup.SimplifyBooleanReturn: Simplifies Boolean expressions by removing redundancies, e.g.:
a && true
simplifies toa
. - org.openrewrite.java.cleanup.UnnecessaryParentheses: Removes unnecessary parentheses from code where extra parentheses pairs are redundant.