Change8

v24.3.0

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

Summary

This release introduces the fileURLToPathBuffer API, object property mocking in the test runner, and stabilizes type stripping by removing its experimental warning. It also includes significant dependency updates and reverts changes to test_runner promises.

Migration Steps

  1. If using experimental type stripping, you can now remove logic that suppresses experimental warnings as they are no longer emitted.
  2. Ensure any custom test runners relying on the previously removed t.test() promises are aware that these promises have been restored.

✨ New Features

  • Added fileURLToPathBuffer API to the url module.
  • Added support for object property mocking in the test_runner module.
  • Removed experimental warning from type stripping in the module system.
  • Improved handling of burst fs-events when using AsyncIterator.
  • Added diagnostics channel 'http2.server.stream.close'.
  • Added inspector protocol methods for retrieving sent/received data.
  • Supported DOMException serialization and deserialization.

🐛 Bug Fixes

  • Fixed http keep-alive timeout issues occurring after post-request empty lines.
  • Fixed TypeScript import.meta.main behavior.
  • Made Dir disposers idempotent in the fs module.
  • Fixed DEP0194 message in http2.
  • Reverted the removal of promises returned by t.test() and test() in the test_runner.
  • Fixed test-timeout-flag after revert of auto subtest wait.
  • Fixed typo 'Stoage' to 'Storage' in build help text.

Affected Symbols