You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Node.js now includes an experimental node:ffi module for loading dynamic
libraries and calling native symbols from JavaScript.
The API is gated behind the --experimental-ffi flag and, when the Permission
Model is enabled, requires --allow-ffi.
This API is inherently unsafe. Invalid pointers, incorrect signatures, or accessing memory
after it has been freed can crash the process or corrupt memory.
Contributed by Paolo Insogna and Colin Ihrig in #62072.
Other Notable Changes
[34a6454fe3] - (SEMVER-MINOR)buffer: add end parameter (Robert Nagy) #62390
[073e84d7fe] - (SEMVER-MINOR)crypto: accept key data in crypto.diffieHellman() and cleanup DH jobs (Filip Skokan) #62527
Experimental
node:ffimoduleNode.js now includes an experimental
node:ffimodule for loading dynamiclibraries and calling native symbols from JavaScript.
The API is gated behind the
--experimental-ffiflag and, when the PermissionModel is enabled, requires
--allow-ffi.This API is inherently unsafe. Invalid pointers, incorrect signatures, or accessing memory
after it has been freed can crash the process or corrupt memory.
Contributed by Paolo Insogna and Colin Ihrig in #62072.
Other Notable Changes
34a6454fe3] - (SEMVER-MINOR) buffer: addendparameter (Robert Nagy) #62390073e84d7fe] - (SEMVER-MINOR) crypto: accept key data incrypto.diffieHellman()and cleanup DH jobs (Filip Skokan) #625275b9cb10a5f] - (SEMVER-MINOR) crypto: implementrandomUUIDv7()(nabeel378) #6255398f9becd16] - (SEMVER-MINOR) debugger: add edit-free runtime expression probes tonode inspect(Joyee Cheung) #6271306defaa2ea] - (SEMVER-MINOR) fs: addsignaloption tofs.stat()(Mert Can Altin) #57775db66a963bf] - (SEMVER-MINOR) fs: exposefrsizefield instatfs(Jinho Jang) #6227787adb3472b] - (SEMVER-MINOR) http: hardenClientRequestoptions merge (Matteo Collina) #630829047ec12ce] - (SEMVER-MINOR) http: addreq.signaltoIncomingMessage(Akshat) #62541ab66de8eaa] - (SEMVER-MINOR) process: throw onexecve(2)failure instead of aborting (Bryan English) #628788273682c87] - (SEMVER-MINOR) src: allow empty--experimental-config-file(Marco Ippolito) #61610fbff28f7e6] - (SEMVER-MINOR) stream: propagate destruction induplexPair(Ahmed Elhor) #61098a8c773a0c7] - (SEMVER-MINOR) test_runner: align mock timeout api (sangwook) #62820b883a5eaea] - (SEMVER-MINOR) test_runner: add mock-timers support forAbortSignal.timeout(DeveloperViraj) #60751a21ae1771e] - (SEMVER-MINOR) test_runner: support test order randomization (Pietro Marchini) #61747b85c73ff10] - (SEMVER-MINOR) util: colorize text with hex colors (Guilherme Araújo) #61556Commits
1b959d02c2] - assert,util: fix stale nested cycle memo entries (Ruben Bridgewater) #62509bbeb38d210] - buffer: fix end parameter bugs in indexOf/lastIndexOf (Robert Nagy) #6271134a6454fe3] - (SEMVER-MINOR) buffer: add end parameter (Robert Nagy) #623908b91526cd5] - build: track PDL files as inputs in inspector GN build (Robo) #62888da40ed7842] - build: remove armv6 from experimental platforms (René) #63063b36e55a23e] - build: make test-addons dependency-free (Joyee Cheung)