Change8

v24.14.0

📦 node-jsView on GitHub →
17 features🐛 1 fixes🔧 11 symbols

Summary

This release introduces several minor features across core modules like async_hooks, fs, http, and stream, alongside dependency updates and build improvements. Key additions include better promise tracking in async hooks and new configuration options for fs.watch and http proxy settings.

✨ New Features

  • Added `trackPromises` option to `async_hooks.createHook()` for better promise tracking.
  • Replaced `cjs-module-lexer` with `merve` in build dependencies.
  • Added LIEF as a dependency.
  • Repurposed `events.listenerCount()` to accept EventTargets.
  • Added `ignore` option to `fs.watch`.
  • Added `http.setGlobalProxyFromEnv()`.
  • Allow subpath imports that start with `#/` in modules.
  • Preserve `AsyncLocalStorage` in `queueMicrotask` only when necessary.
  • Split SEA binary manipulation code.
  • Enabled defensive mode by default for the `sqlite` module.
  • Added sqlite prepare options arguments.
  • Added initial support for ESM in the embedder API.
  • Added `bytes()` method to `node:stream/consumers`.
  • Prevented `readable.compose()` output from being passed via `Readable.from()`.
  • Added `env` option to the `test_runner.run()` function.
  • Added support for expecting a test-case to fail in `test_runner`.
  • Added `convertProcessSignalToExitCode` utility to `util`.

🐛 Bug Fixes

  • Fixed loose `deepEqual` for arrays containing `undefined` and `null` failing in `assert`.

Affected Symbols