Change8

v24.10.0

Breaking Changes
📦 node-jsView on GitHub →
1 breaking4 features🐛 4 fixes🔧 6 symbols

Summary

This release introduces a new authorization API for SQLite, stabilizes .env file support, and removes the util.getCallSite internal utility. It also includes significant dependency updates for OpenSSL, npm, and V8.

⚠️ Breaking Changes

  • The internal utility 'util.getCallSite' has been removed. Code relying on this non-public API will break and should use alternative stack trace mechanisms.

Migration Steps

  1. Replace any usage of the removed 'util.getCallSite' with standard Error stack parsing or alternative diagnostic APIs.
  2. Update any code using '.env' files to reflect its new status as a stable feature.
  3. If using the experimental SQLite module, review the new authorization API to implement restricted access patterns.

✨ New Features

  • console: Added support for per-stream 'inspectOptions' to allow fine-grained control over output formatting.
  • sqlite: Introduced a new authorization API for better security control over database operations.
  • doc: Support for '.env' files has been marked as stable.
  • module: Added support for using synchronous CommonJS when importing '.cts' files.

🐛 Bug Fixes

  • perf_hooks: Fixed histogram fast call signatures.
  • lib: Implemented passive listener behavior to align with specifications.
  • doc: Fixed various typos in child_process, worker_threads, and built-in module specifiers.
  • benchmark: Fixed unused variables and naming inconsistencies in dgram and permission benchmarks.

Affected Symbols