mirror of
https://github.com/nodejs/node.git
synced 2025-05-17 23:31:07 +00:00
![]() Notable changes: Add initial support for single executable applications Compile a JavaScript file into a single executable application: ```console $ echo 'console.log(`Hello, ${process.argv[2]}!`);' > hello.js $ cp $(command -v node) hello $ npx postject hello NODE_JS_CODE hello.js \ --sentinel-fuse NODE_JS_FUSE_fce680ab2cc467b6e072b8b5df1996b2 $ npx postject hello NODE_JS_CODE hello.js \ --sentinel-fuse NODE_JS_FUSE_fce680ab2cc467b6e072b8b5df1996b2 \ --macho-segment-name NODE_JS $ ./hello world Hello, world! ``` Contributed by Darshan Sen in https://github.com/nodejs/node/pull/45038 Replace url parser with Ada Node.js gets a new URL parser called Ada that is compliant with the WHATWG URL Specification and provides more than 100% performance improvement to the existing implementation. Contributed by Yagiz Nizipli in https://github.com/nodejs/node/pull/46410 Other notable changes: * buffer: * (SEMVER-MINOR) add Buffer.copyBytesFrom(...) (James M Snell) https://github.com/nodejs/node/pull/46500 * doc: * add marco-ippolito to collaborators (Marco Ippolito) https://github.com/nodejs/node/pull/46816 * add debadree25 to collaborators (Debadree Chatterjee) https://github.com/nodejs/node/pull/46716 * add deokjinkim to collaborators (Deokjin Kim) https://github.com/nodejs/node/pull/46444 * events: * (SEMVER-MINOR) add listener argument to listenerCount (Paolo Insogna) https://github.com/nodejs/node/pull/46523 * lib: * (SEMVER-MINOR) add AsyncLocalStorage.bind() and .snapshot() (flakey5) https://github.com/nodejs/node/pull/46387 * (SEMVER-MINOR) add aborted() utility function (Debadree Chatterjee) https://github.com/nodejs/node/pull/46494 * src: * (SEMVER-MINOR) allow optional Isolate termination in node::Stop() (Shelley Vohr) https://github.com/nodejs/node/pull/46583 * (SEMVER-MINOR) allow embedder control of code generation policy (Shelley Vohr) https://github.com/nodejs/node/pull/46368 * stream: * (SEMVER-MINOR) add abort signal for ReadableStream and WritableStream (Debadree Chatterjee) https://github.com/nodejs/node/pull/46273 * tls: * (SEMVER-MINOR) support automatic DHE (Tobias Nießen) https://github.com/nodejs/node/pull/46978 * url: * (SEMVER-MINOR) implement URLSearchParams size getter (James M Snell) https://github.com/nodejs/node/pull/46308 * worker: * (SEMVER-MINOR) add support for worker name in inspector and trace_events (Debadree Chatterjee) https://github.com/nodejs/node/pull/46832 PR-URL: https://github.com/nodejs/node/pull/47502 |
||
---|---|---|
.. | ||
addons.md | ||
assert.md | ||
async_context.md | ||
async_hooks.md | ||
buffer.md | ||
child_process.md | ||
cli.md | ||
cluster.md | ||
console.md | ||
corepack.md | ||
crypto.md | ||
debugger.md | ||
deprecations.md | ||
dgram.md | ||
diagnostics_channel.md | ||
dns.md | ||
documentation.md | ||
domain.md | ||
embedding.md | ||
errors.md | ||
esm.md | ||
events.md | ||
fs.md | ||
globals.md | ||
http2.md | ||
http.md | ||
https.md | ||
index.md | ||
inspector.md | ||
intl.md | ||
module.md | ||
modules.md | ||
n-api.md | ||
net.md | ||
os.md | ||
packages.md | ||
path.md | ||
perf_hooks.md | ||
permissions.md | ||
policy.md | ||
process.md | ||
punycode.md | ||
querystring.md | ||
readline.md | ||
repl.md | ||
report.md | ||
single-executable-applications.md | ||
stream.md | ||
string_decoder.md | ||
synopsis.md | ||
test.md | ||
timers.md | ||
tls.md | ||
tracing.md | ||
tty.md | ||
url.md | ||
util.md | ||
v8.md | ||
vm.md | ||
wasi.md | ||
webcrypto.md | ||
webstreams.md | ||
worker_threads.md | ||
zlib.md |