Change8

v25.6.0

📦 node-jsView on GitHub →
7 features🐛 6 fixes🔧 10 symbols

Summary

This release introduces new features like promise tracking in async hooks, TOS methods on sockets, and ESM support in the embedder API, alongside performance improvements for TextEncoder and various dependency upgrades.

✨ New Features

  • Added `trackPromises` option to `async_hooks.createHook()` for better promise tracking.
  • Added `setTOS` and `getTOS` methods to `net.Socket`.
  • Added initial support for ESM in the embedder API.
  • Improved `TextEncoder` encode performance by utilizing `simdutf`.
  • Added `bytes()` method to `node:stream/consumers`.
  • Added `env` option to the `test_runner.run` function.
  • Updated `url` module by upgrading Ada to v3.4.2, which includes support for Unicode 17.

🐛 Bug Fixes

  • Fixed `assert.deepEqual` for arrays containing `undefined` and `null` which were incorrectly failing in loose comparisons.
  • Prevented ArrayBuffer transfer on pooled buffers in the `buffer` module.
  • Fixed compilation issues on Windows with VS2022.
  • Fixed `module._load` wrapping when tracing is disabled.
  • Prevented truncation of long strings when using the `--print` flag.
  • Fixed a segfault in `sqlite` related to SQLTagStore.

Affected Symbols