v24.1.0
📦 node-jsView on GitHub →
✨ 4 features🐛 6 fixes🔧 9 symbols
Summary
This release introduces explicit resource management for fs.Dir and stabilizes fs.glob. It also includes a major V8 update to 13.6 and various bug fixes for AsyncLocalStorage and file system operations.
Migration Steps
- If using fs.glob, you can now remove any logic handling experimental warnings as the API is now stable.
- If using 32-bit architectures, note that FILE_OFFSET_BITS=64 is now explicitly used in builds.
✨ New Features
- Added support for explicit resource management (using [Symbol.dispose]) to the fs.Dir class.
- Added support for URL objects in the 'cwd' option of fs.glob.
- Stabilized fs.glob, removing experimental warnings.
- Improved debuggability by giving names to previously anonymous or misnamed functions in buffer, child_process, and http/https modules.
🐛 Bug Fixes
- Ensured AsyncLocalStore instances work in isolation.
- Fixed fs.dir.read() to prevent it from throwing synchronously.
- Handled missing OPENSSL_TLS_SECURITY_LEVEL in crypto module.
- Fixed uvwasi package name in build process.
- Reverted the change to TypeScript default glob in test_runner.
- Fixed metacharacter escaping in vcbuild for Windows.