Skip to content

Commit

Permalink
Changelogs 8.8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-solomon committed Oct 31, 2023
1 parent 927e222 commit 823f52d
Show file tree
Hide file tree
Showing 6 changed files with 442 additions and 62 deletions.
51 changes: 51 additions & 0 deletions src/main/resources/CHANGELOG-2023-10-31.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# 8.8.3 release (2023-10-31)

## New Recipes

* [org.openrewrite.java.migrate.UseTabsOrSpaces](https://docs.openrewrite.org/recipes/java/migrate/usetabsorspaces): This is useful for one-off migrations of a codebase that has mixed indentation styles, while preserving all other auto-detected formatting rules.
* [org.openrewrite.java.migrate.guava.NoGuavaJava21](https://docs.openrewrite.org/recipes/java/migrate/guava/noguavajava21): Guava filled in important gaps in the Java standard library and still does. But at least some of Guava's API surface area is covered by the Java standard library now, and some projects may be able to remove Guava altogether if they migrate to standard library for these functions.
* [org.openrewrite.java.migrate.guava.PreferMathClamp](https://docs.openrewrite.org/recipes/java/migrate/guava/prefermathclamp): Prefer `java.lang.Math#clamp` instead of using `com.google.common.primitives.*#constrainToRange`.
* [org.openrewrite.java.migrate.jakarta.RemovedJakartaFacesExpressionLanguageClasses](https://docs.openrewrite.org/recipes/java/migrate/jakarta/removedjakartafacesexpressionlanguageclasses): Several classes were removed and replaced in Jakarta Faces 4.0. The only Object definition not removed in the jakarta.faces.el package is the CompositeComponentExpressionHolder interface.
* [org.openrewrite.java.migrate.jakarta.RemovedStateManagerMethods](https://docs.openrewrite.org/recipes/java/migrate/jakarta/removedstatemanagermethods): Methods that were removed from the `jakarta.faces.application.StateManager` and `javax.faces.application.StateManager` classes in Jakarta Faces 4.0 are replaced by `jakarta.faces.view.StateManagementStrategy` or `javax.faces.view.StateManagementStrategy` based on Jakarta10 migration in Faces 4.0
* [org.openrewrite.java.migrate.lombok.LombokValueToRecord](https://docs.openrewrite.org/recipes/java/migrate/lombok/lombokvaluetorecord): Convert Lombok `@Value` annotated classes to standard Java Records.
* [org.openrewrite.java.security.ImproperPrivilegeManagement](https://docs.openrewrite.org/recipes/java/security/improperprivilegemanagement): Marking code as privileged enables a piece of trusted code to temporarily enable access to more resources than are available directly to the code that called it.
* [org.openrewrite.java.security.OwaspA04](https://docs.openrewrite.org/recipes/java/security/owaspa04): OWASP [A04:2021](https://owasp.org/Top10/A04_2021-Insecure_Design/) focuses on risks related to design and architectural flaws, with a call for more use of threat modeling, secure design patterns, and reference architectures. This recipe seeks to remediate these vulnerabilities.
* [org.openrewrite.java.security.marshalling.InsecureJmsDeserialization](https://docs.openrewrite.org/recipes/java/security/marshalling/insecurejmsdeserialization): JMS `Object` messages depend on Java Serialization for marshalling/unmarshalling of the message payload when `ObjectMessage#getObject` is called. Deserialization of untrusted data can lead to security flaws.
* [org.openrewrite.java.testing.cleanup.AssertEqualsBooleanToAssertBoolean](https://docs.openrewrite.org/recipes/java/testing/cleanup/assertequalsbooleantoassertboolean): Using `assertFalse` or `assertTrue` is simpler and more clear.
* [org.openrewrite.java.testing.cleanup.AssertNotEqualsBooleanToAssertBoolean](https://docs.openrewrite.org/recipes/java/testing/cleanup/assertnotequalsbooleantoassertboolean): Using `assertFalse` or `assertTrue` is simpler and more clear.
* [org.openrewrite.java.testing.jmockit.JMockitExpectationsToMockitoWhen](https://docs.openrewrite.org/recipes/java/testing/jmockit/jmockitexpectationstomockitowhen): Rewrites JMockit `Expectations` to `Mockito.when`.
* [org.openrewrite.java.testing.jmockit.JMockitToMockito](https://docs.openrewrite.org/recipes/java/testing/jmockit/jmockittomockito): This recipe will apply changes commonly needed when migrating from JMockit to Mockito.

## Changed Recipes

* [org.openrewrite.java.dependencies.AddDependency](https://docs.openrewrite.org/recipes/java/dependencies/adddependency) was changed:
* Old Options:
* `acceptTransitive: { type: Boolean, required: false }`
* `artifactId: { type: String, required: true }`
* `classifier: { type: String, required: false }`
* `configuration: { type: String, required: false }`
* `extension: { type: String, required: false }`
* `familyPattern: { type: String, required: false }`
* `groupId: { type: String, required: true }`
* `onlyIfUsing: { type: String, required: true }`
* `optional: { type: Boolean, required: false }`
* `releasesOnly: { type: Boolean, required: false }`
* `scope: { type: String, required: false }`
* `type: { type: String, required: false }`
* `version: { type: String, required: false }`
* `versionPattern: { type: String, required: false }`
* New Options:
* `acceptTransitive: { type: Boolean, required: false }`
* `artifactId: { type: String, required: true }`
* `classifier: { type: String, required: false }`
* `configuration: { type: String, required: false }`
* `extension: { type: String, required: false }`
* `familyPattern: { type: String, required: false }`
* `groupId: { type: String, required: true }`
* `onlyIfUsing: { type: String, required: false }`
* `optional: { type: Boolean, required: false }`
* `releasesOnly: { type: Boolean, required: false }`
* `scope: { type: String, required: false }`
* `type: { type: String, required: false }`
* `version: { type: String, required: false }`
* `versionPattern: { type: String, required: false }`
File renamed without changes.
Loading

0 comments on commit 823f52d

Please sign in to comment.