Skip to content

Commit 44c80ff

Browse files
committed
Update staging CLI version to v3.55.3 and clean up changelog
1 parent d6e2dc0 commit 44c80ff

File tree

1 file changed

+8
-211
lines changed

1 file changed

+8
-211
lines changed

src/main/resources/8-72-0-Release.md

Lines changed: 8 additions & 211 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This changelog only shows what recipes have been added, removed, or changed. Ope
1313
## Corresponding CLI version
1414

1515
* Stable CLI version `v3.53.2`
16-
* Staging CLI version: `v3.55.2`
16+
* Staging CLI version: `v3.55.3`
1717

1818
## New Artifacts
1919

@@ -82,132 +82,9 @@ This changelog only shows what recipes have been added, removed, or changed. Ope
8282
* [org.openrewrite.tapestry.UpdateTapestryDependencies](https://docs.openrewrite.org/recipes/tapestry/updatetapestrydependencies): Updates dependencies from Tapestry 4 to Tapestry 5.
8383
* [org.openrewrite.xml.ChangeTagAttributeKey](https://docs.openrewrite.org/recipes/xml/changetagattributekey): Change an attributes key on XML elements using an XPath expression.
8484
* [tech.picnic.errorprone.refasterrules.AllRefasterRules](https://docs.openrewrite.org/recipes/tech/picnic/errorprone/refasterrules/allrefasterrules): Collection of all Refaster rules from Picnic's error-prone-contrib project.
85-
* [tech.picnic.errorprone.refasterrules.AssertJStreamRulesRecipes$AssertThatHasSizeRecipe](https://docs.openrewrite.org/recipes/tech/picnic/errorprone/refasterrules/assertjstreamrulesrecipes$assertthathassizerecipe): Recipe created for the following Refaster template:
86-
```java
87-
static final class AssertThatHasSize<T> {
88-
89-
@BeforeTemplate
90-
AbstractLongAssert<?> before(Stream<T> stream, int size) {
91-
return assertThat(stream.count()).isEqualTo(size);
92-
}
93-
94-
@AfterTemplate
95-
@UseImportPolicy(value = STATIC_IMPORT_ALWAYS)
96-
ListAssert<T> after(Stream<T> stream, int size) {
97-
return assertThat(stream).hasSize(size);
98-
}
99-
}
100-
```
101-
.
102-
* [tech.picnic.errorprone.refasterrules.AssertJStreamRulesRecipes$AssertThatIsEmptyRecipe](https://docs.openrewrite.org/recipes/tech/picnic/errorprone/refasterrules/assertjstreamrulesrecipes$assertthatisemptyrecipe): Recipe created for the following Refaster template:
103-
```java
104-
static final class AssertThatIsEmpty<T, S> {
105-
106-
@BeforeTemplate
107-
void before(Stream<T> stream) {
108-
assertThat(stream.findAny()).isEmpty();
109-
}
110-
111-
@BeforeTemplate
112-
void before2(Stream<T> stream) {
113-
assertThat(stream.findFirst()).isEmpty();
114-
}
115-
116-
@BeforeTemplate
117-
void before3(Stream<T> stream) {
118-
assertThat(stream.toArray()).isEmpty();
119-
}
120-
121-
@BeforeTemplate
122-
void before4(Stream<T> stream, IntFunction<S[]> generator) {
123-
assertThat(stream.toArray(generator)).isEmpty();
124-
}
125-
126-
@BeforeTemplate
127-
void before5(Stream<T> stream) {
128-
assertThat(stream.toList()).isEmpty();
129-
}
130-
131-
@BeforeTemplate
132-
void before6(Stream<T> stream, Collector<T, ?, ? extends Iterable<S>> collector) {
133-
assertThat(stream.collect(collector)).isEmpty();
134-
}
135-
136-
@BeforeTemplate
137-
void before7(Stream<T> stream, Collector<T, ?, ? extends Collection<S>> collector) {
138-
assertThat(stream.collect(collector)).isEmpty();
139-
}
140-
141-
@BeforeTemplate
142-
void before8(Stream<T> stream, Collector<T, ?, ? extends List<S>> collector) {
143-
assertThat(stream.collect(collector)).isEmpty();
144-
}
145-
146-
@AfterTemplate
147-
@UseImportPolicy(value = STATIC_IMPORT_ALWAYS)
148-
void after(Stream<T> stream) {
149-
assertThat(stream).isEmpty();
150-
}
151-
}
152-
```
153-
.
154-
* [tech.picnic.errorprone.refasterrules.AssertJStreamRulesRecipes$AssertThatIsNotEmptyRecipe](https://docs.openrewrite.org/recipes/tech/picnic/errorprone/refasterrules/assertjstreamrulesrecipes$assertthatisnotemptyrecipe): Recipe created for the following Refaster template:
155-
```java
156-
static final class AssertThatIsNotEmpty<T, S> {
157-
158-
@BeforeTemplate
159-
void before(Stream<T> stream) {
160-
assertThat(stream.count()).isNotEqualTo(0);
161-
}
162-
163-
@BeforeTemplate
164-
void before2(Stream<T> stream) {
165-
assertThat(stream.findAny()).isPresent();
166-
}
167-
168-
@BeforeTemplate
169-
void before3(Stream<T> stream) {
170-
assertThat(stream.findFirst()).isPresent();
171-
}
172-
173-
@BeforeTemplate
174-
void before4(Stream<T> stream) {
175-
assertThat(stream.toArray()).isNotEmpty();
176-
}
177-
178-
@BeforeTemplate
179-
void before5(Stream<T> stream, IntFunction<S[]> generator) {
180-
assertThat(stream.toArray(generator)).isNotEmpty();
181-
}
182-
183-
@BeforeTemplate
184-
void before6(Stream<T> stream) {
185-
assertThat(stream.toList()).isNotEmpty();
186-
}
187-
188-
@BeforeTemplate
189-
void before7(Stream<T> stream, Collector<? super T, ?, ? extends Iterable<S>> collector) {
190-
assertThat(stream.collect(collector)).isNotEmpty();
191-
}
192-
193-
@BeforeTemplate
194-
void before8(Stream<T> stream, Collector<? super T, ?, ? extends Collection<S>> collector) {
195-
assertThat(stream.collect(collector)).isNotEmpty();
196-
}
197-
198-
@BeforeTemplate
199-
void before9(Stream<T> stream, Collector<? super T, ?, ? extends List<S>> collector) {
200-
assertThat(stream.collect(collector)).isNotEmpty();
201-
}
202-
203-
@AfterTemplate
204-
@UseImportPolicy(value = STATIC_IMPORT_ALWAYS)
205-
void after(Stream<T> stream) {
206-
assertThat(stream).isNotEmpty();
207-
}
208-
}
209-
```
210-
.
85+
* [tech.picnic.errorprone.refasterrules.AssertJStreamRulesRecipes$AssertThatHasSizeRecipe](https://docs.openrewrite.org/recipes/tech/picnic/errorprone/refasterrules/assertjstreamrulesrecipes$assertthathassizerecipe): Recipe created for the following Refaster template.
86+
* [tech.picnic.errorprone.refasterrules.AssertJStreamRulesRecipes$AssertThatIsEmptyRecipe](https://docs.openrewrite.org/recipes/tech/picnic/errorprone/refasterrules/assertjstreamrulesrecipes$assertthatisemptyrecipe): Recipe created for the following Refaster template.
87+
* [tech.picnic.errorprone.refasterrules.AssertJStreamRulesRecipes$AssertThatIsNotEmptyRecipe](https://docs.openrewrite.org/recipes/tech/picnic/errorprone/refasterrules/assertjstreamrulesrecipes$assertthatisnotemptyrecipe): Recipe created for the following Refaster template.
21188
* [tech.picnic.errorprone.refasterrules.DequeRulesRecipes](https://docs.openrewrite.org/recipes/tech/picnic/errorprone/refasterrules/dequerulesrecipes): Refaster rules related to expressions dealing with `Deque` instances.
21289
[Source](https://error-prone.picnic.tech/refasterrules/DequeRules).
21390
* [tech.picnic.errorprone.refasterrules.DequeRulesRecipes$DequeAddFirstRecipe](https://docs.openrewrite.org/recipes/tech/picnic/errorprone/refasterrules/dequerulesrecipes$dequeaddfirstrecipe): Prefer `Deque#addLast(Object)` over less clear alternatives.
@@ -226,94 +103,14 @@ static final class AssertThatIsNotEmpty<T, S> {
226103

227104
## Removed Recipes
228105

229-
* **org.openrewrite.node.dependency-vulnerability-check**: This software composition analysis (SCA) tool detects and upgrades dependencies with publicly disclosed vulnerabilities. This recipe both generates a report of vulnerable dependencies and upgrades to newer versions with fixes. This recipe by default only upgrades to the latest **patch** version. If a minor or major upgrade is required to reach the fixed version, this can be controlled using the `maximumUpgradeDelta` option. Vulnerability information comes from the GitHub Security Advisory Database.
230-
* **org.openrewrite.node.migrate.buffer.replace-deprecated-slice**: Replace deprecated `buffer.slice()` calls with `buffer.subarray()` for compatibility with Uint8Array.prototype.slice().
231-
* **org.openrewrite.node.migrate.buffer.replace-slow-buffer**: Replace deprecated `new SlowBuffer(size)` calls with `Buffer.allocUnsafeSlow(size)`. SlowBuffer was used to create un-pooled Buffer instances, but has been removed in favor of the explicit Buffer.allocUnsafeSlow() method.
232-
* **org.openrewrite.node.migrate.crypto.replace-crypto-fips**: Replace deprecated `crypto.fips` property access with `crypto.getFips()` for reads and `crypto.setFips(value)` for writes.
233-
* **org.openrewrite.node.migrate.crypto.replace-hash-constructor**: Replace deprecated `new crypto.Hash(algorithm)` constructor calls with `crypto.createHash(algorithm)` and `new crypto.Hmac(algorithm, key)` with `crypto.createHmac(algorithm, key)` factory methods.
234-
* **org.openrewrite.node.migrate.fs.replace-dirent-path**: Replaces deprecated `dirent.path` property access with `dirent.parentPath` on `fs.Dirent` instances to address DEP0178 deprecation.
235-
* **org.openrewrite.node.migrate.fs.replace-fs-access-constants**: Replace deprecated file access constants (`fs.F_OK`, `fs.R_OK`, `fs.W_OK`, `fs.X_OK`) with their equivalents from `fs.constants`. These constants were removed in Node.js v24+ and should be accessed through the constants namespace.
236-
* **org.openrewrite.node.migrate.fs.replace-fs-truncate-fd**: Replace deprecated `fs.truncate(fd, ...)` and `fs.truncateSync(fd, ...)` calls with `fs.ftruncate(fd, ...)` and `fs.ftruncateSync(fd, ...)` when the first argument is a file descriptor (number).
237-
* **org.openrewrite.node.migrate.fs.replace-stats-constructor**: Replace deprecated `new fs.Stats()` constructor calls with an object literal containing Stats properties initialized to undefined.
238-
* **org.openrewrite.node.migrate.http.replace-outgoing-message-headers**: Replace deprecated `OutgoingMessage.prototype._headers` with `getHeaders()`, `setHeader()`, `removeHeader()` and `OutgoingMessage.prototype._headerNames` with `getHeaderNames()` to address DEP0066 deprecation.
239-
* **org.openrewrite.node.migrate.process.coerce-process-exit-code**: Wraps non-integer values passed to `process.exit()` or assigned to `process.exitCode` with `Math.trunc()` to avoid the DEP0164 deprecation warning about implicit coercion to integer.
240-
* **org.openrewrite.node.migrate.process.remove-usage-of-features-tls-underscore_constants**: Remove references to deprecated `process.features.tls_*` properties, replace with `process.features.tls`.
241-
* **org.openrewrite.node.migrate.tls.replace-internal-modules**: Replace deprecated internal TLS module imports `require('node:_tls_common')` and `require('node:_tls_wrap')` with the public `node:tls` module.
242-
* **org.openrewrite.node.migrate.upgrade-node-22**: Migrate deprecated APIs for Node.js 22 compatibility. Addresses Node 22 runtime deprecations and deprecations from earlier versions.
243-
* **org.openrewrite.node.migrate.upgrade-node-24**: Migrate deprecated APIs for Node.js 24 compatibility. Includes all migrations from Node.js 22, plus Node 23 and Node 24 deprecations.
244-
* **org.openrewrite.node.migrate.util.remove-promisify-on-promise**: Removes `util.promisify()` calls on functions that already return a Promise. Since Node.js v17.0.0, calling promisify on a function that returns a Promise emits a runtime deprecation warning (DEP0174).
245-
* **org.openrewrite.node.migrate.util.replace-is-webassembly-compiled-module**: Replace `util.types.isWebAssemblyCompiledModule(value)` with `value instanceof WebAssembly.Module`.
246-
* **org.openrewrite.node.migrate.util.replace-util-extend**: Replace deprecated `util._extend(target, source)` calls with `Object.assign(target, source)` which preserves the mutation behavior.
247-
* **org.openrewrite.node.migrate.util.replace-util-log**: Replace deprecated `util.log()` calls with `console.log()`. Note: `util.log()` included timestamps, but `console.log()` does not.
248-
* **org.openrewrite.node.migrate.util.use-native-type-checking-methods**: The `util` module's type-checking methods have been removed in Node 22.
249-
* **org.openrewrite.node.migrate.zlib.replace-bytes-read**: Replace deprecated `bytesRead` property on zlib streams with `bytesWritten`.
250-
* **tech.picnic.errorprone.refasterrules.AssertJRulesRecipes$AssertThatStreamHasSizeRecipe**: Recipe created for the following Refaster template:
251-
```java
252-
static final class AssertThatStreamHasSize<T> {
253-
254-
@BeforeTemplate
255-
void before(Stream<T> stream, int size) {
256-
assertThat(stream.count()).isEqualTo(size);
257-
}
258-
259-
@AfterTemplate
260-
@UseImportPolicy(value = STATIC_IMPORT_ALWAYS)
261-
void after(Stream<T> stream, int size) {
262-
assertThat(stream).hasSize(size);
263-
}
264-
}
265-
```
266-
.
267-
* **tech.picnic.errorprone.refasterrules.AssertJRulesRecipes$AssertThatStreamIsEmptyRecipe**: Recipe created for the following Refaster template:
268-
```java
269-
static final class AssertThatStreamIsEmpty<S, T extends S> {
270-
271-
@BeforeTemplate
272-
void before(Stream<S> stream, Collector<S, ?, ? extends Iterable<T>> collector) {
273-
assertThat(stream.collect(collector)).isEmpty();
274-
}
275-
276-
@BeforeTemplate
277-
void before2(Stream<S> stream, Collector<S, ?, ? extends List<T>> collector) {
278-
assertThat(stream.collect(collector)).isEmpty();
279-
}
280-
281-
@AfterTemplate
282-
@UseImportPolicy(value = STATIC_IMPORT_ALWAYS)
283-
void after(Stream<S> stream) {
284-
assertThat(stream).isEmpty();
285-
}
286-
}
287-
```
288-
.
289-
* **tech.picnic.errorprone.refasterrules.AssertJRulesRecipes$AssertThatStreamIsNotEmptyRecipe**: Recipe created for the following Refaster template:
290-
```java
291-
static final class AssertThatStreamIsNotEmpty<S, T extends S> {
292-
293-
@BeforeTemplate
294-
void before(Stream<S> stream, Collector<S, ?, ? extends Iterable<T>> collector) {
295-
assertThat(stream.collect(collector)).isNotEmpty();
296-
}
297-
298-
@BeforeTemplate
299-
void before2(Stream<S> stream, Collector<S, ?, ? extends List<T>> collector) {
300-
assertThat(stream.collect(collector)).isNotEmpty();
301-
}
302-
303-
@AfterTemplate
304-
@UseImportPolicy(value = STATIC_IMPORT_ALWAYS)
305-
void after(Stream<S> stream) {
306-
assertThat(stream).isNotEmpty();
307-
}
308-
}
309-
```
310-
.
311-
* **tech.picnic.errorprone.refasterrules.tech.picnic.errorprone.refasterrules.AllRefasterRules**: Collection of all Refaster rules from Picnic's error-prone-contrib project.
106+
* **tech.picnic.errorprone.refasterrules.AssertJRulesRecipes$AssertThatStreamHasSizeRecipe**: Recipe created for the following Refaster template.
107+
* **tech.picnic.errorprone.refasterrules.AssertJRulesRecipes$AssertThatStreamIsEmptyRecipe**: Recipe created for the following Refaster template.
108+
* **tech.picnic.errorprone.refasterrules.AssertJRulesRecipes$AssertThatStreamIsNotEmptyRecipe**: Recipe created for the following Refaster template.
312109

313110
## Changed Recipes
314111

315112
* [org.openrewrite.java.dependencies.RemoveUnusedDependencies](https://docs.openrewrite.org/recipes/java/dependencies/removeunuseddependencies) was changed:
316113
* Old Options:
317114
* `None`
318115
* New Options:
319-
* `ignoredDependencies: { type: List, required: false }`
116+
* `ignoredDependencies: { type: List, required: false }`

0 commit comments

Comments
 (0)