From 87535b1b40225c9c4012bbfd391d0567bfd6e952 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Thu, 1 Oct 2020 20:49:03 +0200 Subject: [PATCH] doc: harmonize changes list ordering Refs: https://github.com/nodejs/remark-preset-lint-node/pull/139 PR-URL: https://github.com/nodejs/node/pull/35454 Reviewed-By: Rich Trott Reviewed-By: Luigi Pinca Reviewed-By: Ujjwal Sharma Reviewed-By: Trivikram Kamat Reviewed-By: Benjamin Gruenbaum Reviewed-By: Khaidi Chu Reviewed-By: Michael Dawson --- doc/api/crypto.md | 6 ++-- doc/api/dgram.md | 18 ++++++------ doc/api/fs.md | 58 +++++++++++++++++++-------------------- doc/api/http.md | 18 ++++++------ doc/api/http2.md | 8 +++--- doc/api/https.md | 6 ++-- doc/api/packages.md | 20 +++++++------- doc/api/process.md | 6 ++-- doc/api/stream.md | 12 ++++---- doc/api/util.md | 20 +++++++------- doc/api/v8.md | 6 ++-- doc/api/vm.md | 16 +++++------ doc/api/worker_threads.md | 10 +++---- 13 files changed, 102 insertions(+), 102 deletions(-) diff --git a/doc/api/crypto.md b/doc/api/crypto.md index bf94c1bf2c44e8..32e90ca030bbb5 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -882,13 +882,13 @@ console.log(uncompressedKey === ecdh.getPublicKey('hex')); * `otherPublicKey` {string|ArrayBuffer|Buffer|TypedArray|DataView} diff --git a/doc/api/dgram.md b/doc/api/dgram.md index dc42329ec9b6f7..b21ea069ba9be9 100644 --- a/doc/api/dgram.md +++ b/doc/api/dgram.md @@ -411,6 +411,9 @@ changes: - v12.19.0 pr-url: https://github.com/nodejs/node/pull/22413 description: The `msg` parameter can now be any `TypedArray` or `DataView`. + - version: v12.0.0 + pr-url: https://github.com/nodejs/node/pull/26871 + description: Added support for sending data on connected sockets. - version: v8.0.0 pr-url: https://github.com/nodejs/node/pull/11985 description: The `msg` parameter can be an `Uint8Array` now. @@ -425,9 +428,6 @@ changes: pr-url: https://github.com/nodejs/node/pull/4374 description: The `msg` parameter can be an array now. Also, the `offset` and `length` parameters are optional now. - - version: v12.0.0 - pr-url: https://github.com/nodejs/node/pull/26871 - description: Added support for sending data on connected sockets. --> * `msg` {Buffer|TypedArray|DataView|string|Array} Message to be sent. @@ -735,16 +735,16 @@ chained. * `options` {Object} Available options are: diff --git a/doc/api/fs.md b/doc/api/fs.md index b1b35175439609..1b54d944e9eea4 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -1923,12 +1923,12 @@ If `options` is a string, then it specifies the encoding. ## `fs.exists(path, callback)` > Stability: 0 - Deprecated: Use [`fs.stat()`][] or [`fs.access()`][] instead. @@ -2158,6 +2158,10 @@ Synchronous fdatasync(2). Returns `undefined`. * `fd` {integer} @@ -2515,6 +2515,10 @@ Synchronous link(2). Returns `undefined`. * `path` {string|Buffer|URL} @@ -2550,14 +2550,14 @@ not the file that it refers to. * `path` {string|Buffer|URL} @@ -3656,6 +3656,10 @@ utility). Returns `undefined`. * `path` {string|Buffer|URL} @@ -3769,14 +3769,14 @@ Stats { * `path` {string|Buffer|URL} @@ -3791,15 +3791,15 @@ Synchronous stat(2). * `target` {string|Buffer|URL} @@ -3839,15 +3839,15 @@ example/ * `target` {string|Buffer|URL} diff --git a/doc/api/http.md b/doc/api/http.md index 4753cf629e902e..a63e0a0c1b2546 100644 --- a/doc/api/http.md +++ b/doc/api/http.md @@ -1051,20 +1051,20 @@ not be emitted. * `exception` {Error} diff --git a/doc/api/http2.md b/doc/api/http2.md index b2e10c2638619d..86fcc8151b6902 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -2087,6 +2087,10 @@ changes: pr-url: https://github.com/nodejs/node/pull/27782 description: The `options` parameter now supports `net.createServer()` options. + - version: v9.6.0 + pr-url: https://github.com/nodejs/node/pull/15752 + description: Added the `Http1IncomingMessage` and `Http1ServerResponse` + option. - version: v8.9.3 pr-url: https://github.com/nodejs/node/pull/17105 description: Added the `maxOutstandingPings` option with a default limit of @@ -2095,10 +2099,6 @@ changes: pr-url: https://github.com/nodejs/node/pull/16676 description: Added the `maxHeaderListPairs` option with a default limit of 128 header pairs. - - version: v9.6.0 - pr-url: https://github.com/nodejs/node/pull/15752 - description: Added the `Http1IncomingMessage` and `Http1ServerResponse` - option. --> * `options` {Object} diff --git a/doc/api/https.md b/doc/api/https.md index e76a7c9b6a71b7..d8906868a34f43 100644 --- a/doc/api/https.md +++ b/doc/api/https.md @@ -13,13 +13,13 @@ separate module. An [`Agent`][] object for HTTPS similar to [`http.Agent`][]. See diff --git a/doc/api/packages.md b/doc/api/packages.md index 5e2e58239067bf..ffc66077118640 100644 --- a/doc/api/packages.md +++ b/doc/api/packages.md @@ -882,24 +882,24 @@ as ES modules and `.cjs` files are always treated as CommonJS. added: v12.7.0 changes: - version: - - v13.2.0 + - v14.13.0 + pr-url: https://github.com/nodejs/node/pull/34718 + description: Add support for `"exports"` patterns. + - version: + - v13.7.0 - v12.16.0 - pr-url: https://github.com/nodejs/node/pull/29978 - description: Implement conditional exports. + pr-url: https://github.com/nodejs/node/pull/31008 + description: Implement logical conditional exports ordering. - version: - v13.7.0 - v12.16.0 pr-url: https://github.com/nodejs/node/pull/31001 description: Remove the `--experimental-conditional-exports` option. - version: - - v13.7.0 + - v13.2.0 - v12.16.0 - pr-url: https://github.com/nodejs/node/pull/31008 - description: Implement logical conditional exports ordering. - - version: - - v14.13.0 - pr-url: https://github.com/nodejs/node/pull/34718 - description: Add support for `"exports"` patterns. + pr-url: https://github.com/nodejs/node/pull/29978 + description: Implement conditional exports. --> * Type: {Object} | {string} | {string[]} diff --git a/doc/api/process.md b/doc/api/process.md index 7290d561c94b14..119a02aa3d6b87 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -2520,12 +2520,12 @@ To get the version string without the prepended _v_, use * {Object} diff --git a/doc/api/stream.md b/doc/api/stream.md index f51fe0b6b3e797..ff6990edaa005e 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -1651,15 +1651,15 @@ const cleanup = finished(rs, (err) => { * `streams` {Stream[]|Iterable[]|AsyncIterable[]|Function[]} @@ -2215,15 +2215,15 @@ constructor and implement the [`readable._read()`][] method. #### `new stream.Readable([options])` * `options` {Object} diff --git a/doc/api/util.md b/doc/api/util.md index 5b9cf21bee6cc3..eae84efdfd2b96 100644 --- a/doc/api/util.md +++ b/doc/api/util.md @@ -241,10 +241,6 @@ changes: - version: v12.11.0 pr-url: https://github.com/nodejs/node/pull/29606 description: The `%c` specifier is ignored now. - - version: v11.4.0 - pr-url: https://github.com/nodejs/node/pull/23708 - description: The `%d`, `%f` and `%i` specifiers now support Symbols - properly. - version: v12.0.0 pr-url: https://github.com/nodejs/node/pull/23162 description: The `format` argument is now only taken as such if it actually @@ -256,6 +252,10 @@ changes: first argument. This change removes previously present quotes from strings that were being output when the first argument was not a string. + - version: v11.4.0 + pr-url: https://github.com/nodejs/node/pull/23708 + description: The `%d`, `%f` and `%i` specifiers now support Symbols + properly. - version: v11.4.0 pr-url: https://github.com/nodejs/node/pull/24806 description: The `%o` specifier's `depth` has default depth of 4 again. @@ -475,13 +475,13 @@ changes: pr-url: https://github.com/nodejs/node/pull/27109 description: The `compact` options default is changed to `3` and the `breakLength` options default is changed to `80`. - - version: v11.11.0 - pr-url: https://github.com/nodejs/node/pull/26269 - description: The `compact` option accepts numbers for a new output mode. - version: v12.0.0 pr-url: https://github.com/nodejs/node/pull/24971 description: Internal properties no longer appear in the context argument of a custom inspection function. + - version: v11.11.0 + pr-url: https://github.com/nodejs/node/pull/26269 + description: The `compact` option accepts numbers for a new output mode. - version: v11.7.0 pr-url: https://github.com/nodejs/node/pull/25006 description: ArrayBuffers now also show their binary contents. @@ -494,13 +494,13 @@ changes: - version: v11.0.0 pr-url: https://github.com/nodejs/node/pull/22846 description: The `depth` default changed to `20`. - - version: v10.12.0 - pr-url: https://github.com/nodejs/node/pull/22788 - description: The `sorted` option is supported now. - version: v11.0.0 pr-url: https://github.com/nodejs/node/pull/22756 description: The inspection output is now limited to about 128 MB. Data above that size will not be fully inspected. + - version: v10.12.0 + pr-url: https://github.com/nodejs/node/pull/22788 + description: The `sorted` option is supported now. - version: v10.6.0 pr-url: https://github.com/nodejs/node/pull/20725 description: Inspecting linked lists and similar objects is now possible diff --git a/doc/api/v8.md b/doc/api/v8.md index 54e01806079e0a..891060606f6388 100644 --- a/doc/api/v8.md +++ b/doc/api/v8.md @@ -112,13 +112,13 @@ stream.pipe(process.stdout); * Returns: {Object} diff --git a/doc/api/vm.md b/doc/api/vm.md index fcddc6c1fbc1aa..ce5ff95f72bccc 100644 --- a/doc/api/vm.md +++ b/doc/api/vm.md @@ -54,14 +54,14 @@ executed in specific contexts. * `code` {string} The JavaScript code to compile. @@ -813,15 +813,15 @@ const vm = require('vm'); * `code` {string} The body of the function to compile. diff --git a/doc/api/worker_threads.md b/doc/api/worker_threads.md index 526ddb4057eea1..d361e5f5822839 100644 --- a/doc/api/worker_threads.md +++ b/doc/api/worker_threads.md @@ -652,16 +652,16 @@ changes: pr-url: https://github.com/nodejs/node/pull/31664 description: The `filename` parameter can be a WHATWG `URL` object using `file:` protocol. - - version: - - v13.2.0 - - v12.16.0 - pr-url: https://github.com/nodejs/node/pull/26628 - description: The `resourceLimits` option was introduced. - version: - v13.4.0 - v12.16.0 pr-url: https://github.com/nodejs/node/pull/30559 description: The `argv` option was introduced. + - version: + - v13.2.0 + - v12.16.0 + pr-url: https://github.com/nodejs/node/pull/26628 + description: The `resourceLimits` option was introduced. --> * `filename` {string|URL} The path to the Worker’s main script or module. Must