Opened 7 months ago
Closed 7 months ago
#20259 closed enhancement (fixed)
node.js-20.17.0
Reported by: | Bruce Dubbs | Owned by: | Bruce Dubbs |
---|---|---|---|
Priority: | normal | Milestone: | 12.3 |
Component: | BOOK | Version: | git |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
New minor version.
Change History (3)
comment:1 by , 7 months ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 7 months ago
comment:3 by , 7 months ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed at commits
12dbf77af Update to mesa-24.2.1. aeb0a9c897 Update to rust-bindgen-0.70.1. f295379438 Update to node-20.17.0. 7ad1d4e8e2 Update to apr-1.7.5.
Note:
See TracTickets
for help on using tickets.
2024-08-21, Version 20.17.0 (LTS)
### module: support require()ing synchronous ESM graphs
This release adds
require()
support for synchronous ESM graphs under the flag--experimental-require-module
.If
--experimental-require-module
is enabled, and the ECMAScript module being loaded byrequire()
meets the following requirements:require()
will load the requested module as an ES Module, and return the module name space object. In this case it is similar to dynamicimport()
but is run synchronously and returns the name space object directly.### path: add
matchesGlob
methodGlob patterns can now be tested against individual paths via the
path.matchesGlob(path, pattern)
method.### stream: expose DuplexPair API
The function
duplexPair
returns an array with two items, each being aDuplex
stream connected to the other side:`js const [ sideA, sideB ] = duplexPair();
`
Whatever is written to one stream is made readable on the other. It provides behavior analogous to a network connection, where the data written by the client becomes readable by the server, and vice-versa.
### Other Notable Changes
http.client.request.error
min
option forReadableStreamBYOBReader.read
There were about 175 commits for this release.