2024-12-03, Version 22.12.0 'Jod' (LTS)

Notable changes:

assert:
  * (SEMVER-MINOR) make assertion_error use Myers diff algorithm (Giovanni Bucci) https://github.com/nodejs/node/pull/54862
buffer:
  * (SEMVER-MINOR) make Buffer work with resizable ArrayBuffer (James M Snell) https://github.com/nodejs/node/pull/55377
crypto:
  * update root certificates to NSS 3.104 (Richard Lau) https://github.com/nodejs/node/pull/55681
doc:
  * enforce strict policy to semver-major releases (Rafael Gonzaga) https://github.com/nodejs/node/pull/55732
  * add jazelly to collaborators (Jason Zhang) https://github.com/nodejs/node/pull/55531
esm:
  * mark import attributes and JSON module as stable (Nicolò Ribaudo) https://github.com/nodejs/node/pull/55333
http:
  * (SEMVER-MINOR) add diagnostic channel `http.client.request.created` (Marco Ippolito) https://github.com/nodejs/node/pull/55586
lib:
  * (SEMVER-MINOR) add UV_UDP_REUSEPORT for udp (theanarkh) https://github.com/nodejs/node/pull/55403
module:
  * (SEMVER-MINOR) unflag --experimental-require-module (Joyee Cheung) https://github.com/nodejs/node/pull/55085
net:
  * (SEMVER-MINOR) add UV_TCP_REUSEPORT for tcp (theanarkh) https://github.com/nodejs/node/pull/55408
sqlite:
  * (SEMVER-MINOR) add support for SQLite Session Extension (Bart Louwers) https://github.com/nodejs/node/pull/54181
tools:
  * fix root certificate updater (Richard Lau) https://github.com/nodejs/node/pull/55681

PR-URL: https://github.com/nodejs/node/pull/56040
This commit is contained in:
Ruy Adorno committed 2024-12-03 14:44:27 -05:00
1 parent b915124e49
commit 7924ea3518
11 files changed
+340 -18

No files matched your search

+15 -5
View File
@@ -157,7 +157,9 @@ around [`sqlite3_prepare_v2()`][].
### `database.createSession([options])`
<!-- YAML
added: v23.3.0
added:
- v23.3.0
- v22.12.0
-->
* `options` {Object} The configuration options for the session.
@@ -170,7 +172,9 @@ Creates and attaches a session to the database. This method is a wrapper around
### `database.applyChangeset(changeset[, options])`
<!-- YAML
added: v23.3.0
added:
- v23.3.0
- v22.12.0
-->
* `changeset` {Uint8Array} A binary changeset or patchset.
@@ -207,13 +211,17 @@ targetDb.applyChangeset(changeset);
## Class: `Session`
<!-- YAML
added: v23.3.0
added:
- v23.3.0
- v22.12.0
-->
### `session.changeset()`
<!-- YAML
added: v23.3.0
added:
- v23.3.0
- v22.12.0
-->
* Returns: {Uint8Array} Binary changeset that can be applied to other databases.
@@ -224,7 +232,9 @@ An exception is thrown if the database or the session is not open. This method i
### `session.patchset()`
<!-- YAML
added: v23.3.0
added:
- v23.3.0
- v22.12.0
-->
* Returns: {Uint8Array} Binary patchset that can be applied to other databases.