v2.6.10
📦 denoView on GitHub →
✨ 3 features🐛 26 fixes🔧 23 symbols
Summary
This release introduces support for Deno compilation during installation and enhances TLS key logging capabilities. It also includes numerous fixes across Node.js compatibility, Web APIs, and the testing framework.
✨ New Features
- Add support for `SSLKEYLOGFILE` environment variable for TLS key logging in extensions.
- Support more license file types for publishing.
- Add `deno install --compile` functionality.
🐛 Bug Fixes
- Remove redundant `data.is_empty()` check in compilation process.
- Bypass `minimumDependencyAge` check during deployment.
- Do not mark accessor properties as read-only in `napi_define_class`.
- Fix `assert.ok` compatibility in Node.js extension.
- Fix `fs.rmdir` compatibility in Node.js extension.
- Add `parentPath` to `Dirent` from `fs.opendir` and support Buffer paths in `lstat`.
- Add worker_threads stdin support.
- Export `File` class from `node:buffer` module.
- Fix `test-worker-process-argv.js` test.
- Fix worker exit code propagation in `worker_threads`.
- Fix `worker.terminate()` return value and exit code.
- Forward stdout from `worker_threads` to parent.
- Make `worker_threads` ref/unref idempotent like Node.js.
- Normalize trailing dot in TLS servername.
- Ensure `process.exit()` in a worker immediately halts execution.
- Support `O_RDONLY | O_CREAT` in `fs.openSync`.
- Use primordials in `ext/node/polyfills/_fs/_fs_lchown.ts`.
- Validate `execArgv` flags in `worker_threads` instead of rejecting all.
- Prevent garbage collection of `AbortSignal.any()`.
- Recheck state after signaling abort on writable stream.
- Clean up `node_modules` folder during installation.
- Replace `lsp-types` with `tower-lsp-community/ls-types` for LSP.
- Unconditionally call `Module.prototype._compile` with file content in `loadMaybeCjs`.
- Make zlib write callback async to match Node.js behavior.
- Preserve request body on stale keepalive retry in HTTP module.
- Throw an error when `Deno.test()` is called during test execution.
Affected Symbols
napi_define_classassert.okfs.rmdirfs.opendirlstatworker_threadsFilenode:bufferworker.terminate()process.exit()fs.openSyncext/node/polyfills/_fs/_fs_lchown.tsexecArgvAbortSignal.any()writable streamnode_moduleslsp-typestower-lsp-community/ls-typesModule.prototype._compileloadMaybeCjszlib write callbackHTTP keepalive retryDeno.test()