This PR contains the following updates:
Release Notes
denoland/deno (deno)
Compare Source
- Revert "chore: update urlpattern (#31054)" (#31117)
- fix(ext/node): implement StatementSync#columns() method (#31119)
- fix(windows): re-allow spawning bat and cmd files (#31118)
- fix(windows): strip periods and trailing slashes when normalizing paths
(#31131)
Compare Source
- feat(unstable): ability to exclude packages from minimum dependency age
constraint (#31031)
- feat(unstable): ability to only install dependencies older than a certain date
(#30752)
- feat(unstable): ability to specify minimum dependency age in deno.json file
(#31007)
- feat(unstable): add
deno audit subcommand (#30966)
- feat(unstable): add process id to permission broker messages (#31050)
- feat(unstable): dynamic command-line completions for deno task (#30670)
- feat(unstable): typescript-go integration for deno check (#30920)
- fix(audit): handle 'review' actions (#31100)
- fix(check): error when type checking after deduping packages (#31049)
- fix(check): fall back to copying tsgo binary if rename fails (#31074)
- fix(check): respect "compilerOptions.skipLibCheck" for graph errors (#30989)
- fix(check): support isolatedDeclarations (#31061)
- fix(check): support text and bytes imports with --unstable-tsgo (#31084)
- fix(cli/args): empty permissions in config should not require -P (#31063)
- fix(coverage): don't process coverage for blob: urls (#31035)
- fix(docs): Deno.args example doesn't work (#30969)
- fix(docs): documented allowed subdomain should be gist and not user for
githubusercontent.com (#30913)
- fix(ext/http): display localhost url once on windows (#31088)
- fix(ext/http): make websocket response headers mutable (#31000)
- fix(ext/node):
dns.resolve6 compatibility (#30974)
- fix(ext/node):
fs.read/fs.readSync and fs.write/fs.writeSync compatibility
(#31013)
- fix(ext/node):
path.matchesGlob compatibility (#30976)
- fix(ext/node): checking
Symbol in env should not ask for permission
(#30965)
- fix(ext/node): cpus() should not error when there's no cpu info (#31097)
- fix(ext/node): false deprecation warning on
crypto.createHmac (#31025)
- fix(ext/node): handle empty writes in chunked HTTP requests (#31066)
- fix(ext/node): handle multiple calls in inspector.Session.post() (#31067)
- fix(ext/node): impl sqlite 'backup' capability (#29842)
- fix(ext/node): implement FileHandle.readLines() (#31107)
- fix(ext/node): inconsistent error message thrown by AssertionError (#31089)
- fix(ext/node): make
kReinitializeHandle work for TLS wrap (#31079)
- fix(ext/node): process.moduleLoadList as undefined (#31022)
- fix(ext/node): support option object parameter on
fs.write and
fs.writeSync (#30999)
- fix(ext/web): fix promise chain leak of ReadableStream (#30871)
- fix(fmt/json): support hexadecimal numbers, plus sign on numbers, and words
with underscores (#31057)
- fix(kv): do not error when creating kv db with relative path and
-A (#31021)
- fix(lockfile): purged package reqs should be removed from the jsr deps when
changing workspace config (#30998)
- fix(lsp): add support for
source.organizeImports (#31016)
- fix(lsp): refresh configuration when tsconfig.json is changed (#30993)
- fix(napi): Fix misused
napi_callback_info in CallbackInfo (#30983)
- fix(npm): add a deduplication pass and reduce lockfile diffs (#30973)
- fix(npm): handle deno run/install of npm package with only directories.bin
(#30919)
- fix(npm): occasional panic when upgrading npm package constraints (#31006)
- fix(npm): regression resolving npm bin for default when only one entry
(#31055)
- fix(process): case insenstive check for disallowing .bat and .cmd (#30967)
- fix(rt): prevent
Event to be overwritten on bootstrap (#30971)
- fix(unstable): read npm lazy caching from unstable config in deno.json as well
(#31026)
- fix: Deno.serve correctly passes tcpBacklog option (#30748)
- fix: debug log for package.json being found was incorrect (#31062)
- fix: regex pattern syntax in config-file.v1.json (#31038)
- fix: show referrer range in deno_core loader errors (#30981)
Compare Source
- fix(cache): don't try to set up node_modules with node_modules_dir manual in
deno cache (#30957)
- fix(cli): jsx pragma-related swc panics (#30935)
- fix(ext/node):
fs.cp and fs.cpSync compatibility (#30502)
- fix(ext/node):
fs.stat and fs.statSync compatibility (#30866)
- fix(ext/node): avoid stack overflow in
node:zlib's gunzip (#30865)
- fix(ext/node): fs.realpath buffer encoding (#30885)
- fix(ext/node): inspect X509Certificate class (#30882)
- fix(ext/node): map BadResource error to the corresponding node error (#30926)
- fix(ext/node): omit
smi from zlib.crc32 op function (#30907)
- fix(tunnel): prevent auth subprocess loop with tasks (#30896)
- fix(tunnel): unhide --tunnel flag (#30940)
- fix(update): preserve tilde in version range (#30946)
- fix(webgpu): crash after isolate disposal (#30909)
- fix: use ArrayIsArray primordial (#30927)
Compare Source
- feat(unstable): add permission broker (#30826)
- feat(unstable): permission broker - support custom error messages (#30902)
- feat(unstable): support named pipes on Windows for the permission broker
(#30894)
- fix(check): do not error for unsupported URL schemes (#30904)
- fix(clean): do not panic on failure to get local cache path in clean --except
(#30895)
- fix(cli/util): terminate watch file with sigint (#30635)
- fix(dts): update some GPU types to not cause errors in upcoming DOM type
declarations (#30893)
- fix(ext/node): allow ATTACH DATABASE with
--allow-all (#30763)
- fix(ext/node): setTimeout promisified to handle abort signal (#30855)
- fix(fs): improve file stat checks (#30876)
- fix(fs): improve file utime checks (#30872)
- fix(npm): do not error when packument version contains both bundleDependencies
and bundledDependencies (#30875)
- fix(unstable/tunnel): rename
--connected to --tunnel and better handle
DENO_DEPLOY_TOKEN env variable (#30786)
- fix: add support for passing v8 flags on
deno check (#30868)
- fix: do not purge lockfile when linking and the linked package's reqs have not
changed (#30877)
- fix: show --permission-set help only once (#30844)
Compare Source
- feat(lsp): describe/it test editor support (#30802)
- fix(bundle): reload html entrypoints with --watch (#30790)
- fix(check): support "compilerOptions.paths" (#30766)
- fix(cli/bundle): respect --frozen flag deno bundle command (#30825)
- fix(coverage): collect coverage data for workers (#30807)
- fix(dts): add
Uint8Array base64/hex methods (#30686)
- fix(dts): update stream type declarations to use
Promise<void> (#30820)
- fix(ext/node):
fs.readFile, fs.readFileSync assert encoding (#30830)
- fix(ext/node):
fs.statfsSync and fs.statfs compatibility (#30662)
- fix(ext/node): accept ArrayBuffer on crypto.timingSafeEqual (#30773)
- fix(ext/node): crypto
Cipheriv and Decipheriv base64 encoding (#30806)
- fix(ext/ws): send User-Agent header in WS handshake (#30758)
- fix(fetch): handle proxied urls correctly and add test (#30794)
- fix(lint): skip module graph validation (#30815)
- fix(tunnel): make auth more robust (#30731)
- fix: add top level permissions key to config file schema (#30765)
- fix: reject running
.bat and .cmd directly on windows (#30818)
- fix: restore Windows debug info (#30778)
- perf(lsp): don't watch node_modules files (#30768)
- perf: stack allocated v8 scopes (#30827)
- perf: support negative caching of package.json (#30792)
Compare Source
- feat(unstable): support
Deno.HttpClient in WebSocket (#30692)
- feat(unstable): tcp proxy for
Deno.HttpClient (#30700)
- fix(bundle): set the type of the outputFile in the deno bundle to
Uint8Array<ArrayBuffer> (#30716)
- fix(check): filter resolution errors for bare ambient modules (#30690)
- fix(ext/fetch): mark unix and vsock proxy conns as proxy (#30699)
- fix(ext/node): handle falsy values enumerability in process.env (#30708)
- fix(ext/node): implement
fchmod on windows (#30704)
- fix(ext/node): make
fs.glob accepts URL cwd (#30705)
- fix(ext/node): set default callback for
fs.close (#30720)
- fix(ext/node): validate
fs.close callback function (#30679)
- fix(ext/node): validate fs.read on empty buffer (#30706)
- fix(ext/node): validate readlink arguments (#30691)
- fix(ffi): check that fast calls are taken (#30658)
- fix(http): duplicate listener should inherit onError and signal (#30680)
- fix(init): regression where
deno init --npm stopped working on mac (#30730)
- fix(lsp): don't write lockfile during cache-on-save (#30733)
- fix(node): reduce chance of module not found error due to missing copy package
(#30744)
- fix(permissions): point to correct config file in error message in workspace
containing permissions at root (#30742)
- fix: Add info/hint for unstable Deno.bundle API (#30682)
Compare Source
Read more: http://deno.com/blog/v2.5
- feat(BREAKING/fmt): prompt or require
deno fmt . when providing no files and
no config files discovered (#30623)
- feat(bundle): runtime API for deno bundle (#29949)
- feat(bundle): support html entrypoint (#29856)
- feat(cli): reload environment variables with
--watch and --env-file
(#30197)
- feat(ext/fetch): Parse unix socket and vsock proxies from env var (#30377)
- feat(ext/node): add sqlite-type symbol for DatabaseSync (#30511)
- feat(ext/process): add collector utilities to
ChildProcess.stdout &
ChildProcess.stderr (#30552)
- feat(fmt): apply object spacing to import/export lines (#30371)
- feat(install): refresh install report (#30615)
- feat(install): update warning for npm package build scripts (#30527)
- feat(lint): no-import-prefix workspace rule (#30598)
- feat(lint): no-unversioned-import rule (#30609)
- feat(node): implement async hooks for nextTick TickObject tracking (#30578)
- feat(npm): support
bundleDependencies in npm dependencies (#30521)
- feat(test): Add setup and teardown APIs to
Deno.test API (#30504)
- feat(unstable): WebSocket headers field (#30321)
- feat(unstable): use Node.js
setTimeout and setInterval (#29993)
- feat: TypeScript 5.9.2 (#30601)
- feat: V8 14.0.0 (#30629)
- feat:
deno run with no arguments prints list of available tasks (#30592)
- feat: add
tcpBacklog arg to Deno.listen{Tls} and Deno.serve (#30541)
- feat: allow disable hostname verification in TLS (#30409)
- feat: permission audit log (#30575)
- feat: permissions in the config file (#30330)
- fix(bundle): avoid cloning parsed source, restore owned transpile assertion
(#30624)
- fix(bundle): do not error on fallible dynamic imports/requires (#30522)
- fix(bundle): don't error when using npm package without bin as entrypoint
(#30523)
- fix(bundle): properly display error on invalid config in watch mode (#30621)
- fix(cache): cache and uninstall are package manager subcommands (#30613)
- fix(check): don't ignore ambient declarations for existent files (#30591)
- fix(check): support "compilerOptions.rootDirs" in tsconfig (#30495)
- fix(check): support "moduleResolution": "bundler" in compiler options (#30603)
- fix(cli): support data urls in preload by not splitting on comma. (#30544)
- fix(cli/run): resolve conflict when dir has same name as a task (#29538)
- fix(dts): align crypto.getRandomValues in lib.deno_crypto.d.ts with
lib.dom.d.ts and lib.webworker.d.ts (#30647)
- fix(dts): specify the underlying buffer type in more places (#30640)
- fix(ext/fetch): only uppercase known methods (#30290)
- fix(ext/node): Readable adapter cancel semantics (#30526)
- fix(ext/node):
crypto.hkdfSync returns wrong result for non-Uint8Array
TypedArray inputs (#30463)
- fix(ext/node):
fs.exists and fs.existsSync compatibility (#30507)
- fix(ext/node):
fs.mkdtemp and fs.mkdtempSync compatibility (#30602)
- fix(ext/node):
fs.path' makelong and resolve compatibility (#30503)
- fix(ext/node): fix hang induced by maxSockets bounds (#30622)
- fix(ext/node): fs.symlink and fs.symlinkSync compatibility (#30555)
- fix(ext/node): handle
null keypair in tls connect (#30516)
- fix(ext/node): http.server.listen to handle signal option (#30515)
- fix(ext/node): ignore Node.js'
--experimental-* flags when spawning child
process (#26351)
- fix(ext/node): implement http.res.setHeaders (#30586)
- fix(ext/node): path.normalize compatibility (#30537)
- fix(ext/node): path.relative compatibility (#30566)
- fix(ext/node): readline line separators (#30630)
- fix(ext/node): set socket.authorized to true for https request (#30641)
- fix(ext/node): support JS underlying stream in TLS (#30465)
- fix(ext/webgpu): add illegal constructor errors (#30500)
- fix(init): eliminate flickering progress bar (#30496)
- fix(init): use temp
node_modules folders for deno init --npm ... (#30492)
- fix(install): don't try to re-symlink binaries in node_modules if the symlink
is correct (#30546)
- fix(install): force refresh if cannot find version (#30483)
- fix(install): print install report on
add, cache, and all install
variants, move scripts and deprecation warnings after the report (#30549)
- fix(install/cache): better discovery for config file based on entrypoint
(#30608)
- fix(lsp): auto-import dep entries from workspace member import maps (#30667)
- fix(lsp): goto-type-definition for builtin on startup (#30499)
- fix(lsp): import rewrites in moved file (#30628)
- fix(napi): buffer finalizer is nullable (#30514)
- fix(node): improve directory import error suggestion (#30619)
- fix(node): regression where Node fs APIs required elevated permissions on
Windows (#30535)
- fix(node_resolver): incorrect resolution of
require("..") (#30524)
- fix(npm): do not error on failure to write warned script file (#30479)
- fix(publish): unfurl import.meta.resolve calls (#30663)
- fix(tests): Switch from --nocapture to --no-capture (#30638)
- fix(types): specify
ArrayBuffer as a backing buffer type for Response.body
and Response.bytes (#30435)
- fix(types): specify
ArrayBuffer as a backing buffer type for
TextEncoder.encode() (#30434)
- fix(unstable): make QuicListener yield QuicIncoming (#30150)
- fix(unstable): support unstable-raw-imports when prewarmed (#30530)
- fix: add another space after warning symbol (#30482)
- fix: do not have duplicate progress bars for post install scripts (#30489)
- fix: pass npm process state when spawning script in npm package via Node APIs
(#30490)
- fix: upgrade to swc_ecma_parser 23 (#30564)
Compare Source
- feat(unstable): add json repl (#30307)
- feat(unstable): allow setting headers on EventSource (#30278)
- feat(unstable): allow specifying default path and path prefix (#30320)
- feat(unstable): implement custom inspect for AtomicOperation (#30077)
- fix(bundle): require of sub directory in npm package should consult
package.json (#30253)
- fix(bundle): support importing directories with a package.json from an es
module when bundling (#30273)
- fix(bundle): use non-node conditions for --platform=browser (#30250)
- fix(check): do not surface code resolution errors in declaration file
dependencies (#30296)
- fix(compile): ensure
Deno.build.standalone is set in workers (#30335)
- fix(ext/node):
fs.open and fs.openSync compatibility (#30191)
- fix(ext/node):
fs.rename and fs.renameSync compatibility (#30245)
- fix(ext/node):
fs.unlink and fs.unlinkSync compatibility (#30257)
- fix(ext/node): accept
base64url encoding on StringDecoder (#30366)
- fix(ext/node): assign 'ERR_BUFFER_TOO_LARGE' to codes (#30311)
- fix(ext/node): avoid panic when
crypto.randomInt has no arguments (#30314)
- fix(ext/node): define fs constants correctly across platforms (#30113)
- fix(ext/node): fs readv promisify compatibility (#30149)
- fix(ext/node): handle large buffer correctly (#30369)
- fix(ext/node): incorrect
ERR_INVALID_ARG_VALUE constructor arguments
position (#30309)
- fix(ext/node): make some
os exported properties read only (#30374)
- fix(ext/node): parse fs open options correctly (#30300)
- fix(ext/node): support TLS for unix sockets (#30169)
- fix(ext/node): use custom allocator for brotli (#30277)
- fix(ext/node): use primordials in
ext/node/polyfills/internal_binding/buffer.ts (#30287)
- fix(ext/node): use primordials in
ext/node/polyfills/internal_binding/node_file.ts (#30066)
- fix(ext/node): worker_threads handles basic
require calls (#30279)
- fix(io): do not autoClose stdin readable stream (#30345)
- fix(lsp): use referrer compiler options for node_modules files (#30275)
- fix(publish): remove incorrect
relative-package-import diagnostic when root
of workspace is package (#30333)
- fix(unstable): lint node properties should be enumerable (#30391)
- fix(unstable): update deno_tunnel for better reconnect errors (#30381)
- fix(update): update version reqs even if locked to latest version (#30249)
- fix: android build (#30360)
- fix: improve handling of linked jsr packages in lockfile (#30289)
- fix: make unmet peer dep error message less verbose (#30312)
- fix: reduce progress bar flickering (#30349)
- fix: upgrade @node/types to 24 (#30343)
- fix: upgrade deno_core to 0.355.0 (#30352)
- perf(napi): misc napi optimizations (#30291)
- perf: use more efficient structuredClone API (#30258)
- perf: reduce heap allocations and memory creating cjs wrapper module (#30344)
Compare Source
- feat(unstable): add useful metadata to tunnel (#30161)
- fix(bundle): don't force managed npm resolution (#30200)
- fix(check): ensure module not found errors are surfaced (#30181)
- fix(compile): do not error including npm packages that don't match current
system (#30188)
- fix(compile): do not include managed npm deps when graph does not have any npm
pkgs (#30189)
- fix(ext/node):
fs.read and fs.write promisify compatibility (#30152)
- fix(ext/node): add process._rawDebug (#30141)
- fix(ext/node): fix segmentation fault when spkac is empty (#30207)
- fix(ext/node): implement TLSSocket.getPeerCertificate (#30146)
- fix(ext/node): implement tls.checkServerIdentitiy (#30148)
- fix(ext/node): use Zlib base for brotli handles (#30112)
- fix(ext/node): use primordials in
ext/node/polyfills/internal_binding/_listen.ts (#30100)
- fix(ext/node): use primordials in
ext/node/polyfills/internal_binding/pipe_wrap.ts (#30241)
- fix(ext/node): validate
fd is integer on fsync and fdatasync (#30215)
- fix(http): catch more tunnel close errors (#30236)
- fix(lib/node): change ERR_INVALID_PACKAGE_TARGET to
ERR_PACKAGE_PATH_NOT_EXPORTED when no package.json#exports condition matches
(#29841)
- fix(lsp): do not error for bytes or text import of json module (#30137)
- fix(lsp): improve renaming a file with bytes or text imports (#30142)
- fix(publish): improve diagnostic when importing from another package using a
relative import (#30203)
- fix(regression): do not error when specifying
--config flag with ../
component (#30208)
- fix(task):
--recursive - order tasks by package dependencies (#30129)
- fix(task): improve parsing of quotes in command substitution (#30162)
- fix(task): show package name of task when --recursive (#30136)
- fix(tsconfig): don't use tsc-compatible defaults for deno.json compiler
options (#30242)
- fix: do not panic deserializing config with invalid number value (#30171)
- fix: don't invoke
Proxy getter trap on console.log (#30230)
- fix: ensure coverage dir is stored absolute to prevent issues when cwd changes
(#30225)
- fix: reduce change of corrupt lockfile error when updating dependencies in the
config file (#30239)
- fix: support package.json imports in a Deno workspace (#30198)
- fix: tunnels in processes that don't listen (#30178)
- fix: update setTimeout and setInterval callback type to support strin...
(#30183)
- fix: use 'deno_signals' crate for signal handling (#30204)
- perf(buffer): optimize Buffer.subarray and Buffer.prototype.utf8Slice (#30213)
Compare Source
- fix(bundle): default "jsxImportSource" to "react" (#30082)
- fix(check): temporarily ignore ERR_TYPES_NOT_FOUND (#29926)
- fix(ext/node): don't throw error on invalid path input on
exists and
existsSync (#29971)
- fix(ext/node): validate path parameters on
link and linkSync (#30061)
- fix(lint): do not panic for many overlapping lint fixes (#30104)
- fix(lsp): tsconfig features for 'deno check' parity (#30007)
- fix(tsconfig): prioritize deno.json if it has compiler options (#30056)
- fix(tsconfig): use tsc defaults for 'strict' and 'noImplicitOverride' (#30045)
- fix(unstable): support importing files in npm packages as bytes and text
(#30065)
- fix:
global global should be writeable (#30032)
- fix: early init logging (#30034)
- fix: new signal handling (#30029)
- fix: upgrade deno_core to 0.352.1 (#30119)
Compare Source
- feat(unstable/otel): support vsock transport for telemetry (#30001)
- feat(unstable): tunnelling (#30022)
- fix(bundle): don't use createRequire when targeting browser, make hack not
depend on variable names (#30023)
- fix(bundle): make the "dynamic require" hack work on minified output (#29997)
- fix(bundle): resolve "sloppy imports" in npm packages when bundling (#29989)
- fix(ext/http2): fix oob buffer reads in http2 requests (#29969)
- fix(serve): actually wire up resolving main module with import map for deno
serve (#29974)
- fix(unstable): bytes and text imports from npm dependencies should require
--allow-read (#29990)
- Revert "fix(ext/napi): ensure the finalizer callback will be called (...
(#30018)
- Revert "fix(otel): flush data when terminating signal is received (#2...
(#30019)
- perf: bust emit cache only on deno_ast version change (#29984)
- perf: skip jsx transpile when disabled (#29995)
Compare Source
Read more: http://deno.com/blog/v2.4
- feat(bundle): support text and bytes imports in bundle (#29908)
- feat(check): tsconfig "references", "extends", "files", "include" and
"exclude" (#29843)
- feat(cli): add
--coverage flag to deno run command (#29329)
- feat(cli): alias --unstable-sloppy-imports to --sloppy-imports (#29780)
- feat(ext/http): support
onListen() callback in deno serve (#29449)
- feat(fmt): add support for .xml, .svg and .mustache files (#29851)
- feat(fmt): remove UTF-8 BOM instead of maintaining it (#29796)
- feat(node API): add
fs.glob, fs.globSync, fs.promises.glob (#28972)
- feat(otel): stabilize OpenTelemetry support (#29822)
- feat(process): add detached option to
Deno.Command (#29933)
- feat(run): resolve main module with workspace resolver (#29928)
- feat(signals): support listening for ctrl+close on Windows (#27880)
- feat(unstable): add DENO_NODE_CONDITIONS env var (#29848)
- feat(unstable): bytes and text imports (#29855)
- feat(unstable): support bytes and text imports in
deno compile (#29924)
- feat: --allow-net supports CIDR ranges (#29704)
- feat: Add --deny-import flag (#29702)
- feat: Deno.execPath() no longer requires --allow-read permission (#29620)
- feat: add 'deno update' subcommand (#29187)
- feat: add
DENO_AUTO_SERVE env var (#29852)
- feat: add
DENO_COMPAT env var (#29889)
- feat: add support for --preload/--import flag (#29626)
- feat: deprecate --unstable-node-globals flag (#29887)
- feat: make 'Buffer' and 'global' available as globals (#29416)
- feat: make
setImmediate and clearImmediate as globals (#29877)
- feat: rename --unstable-node-conditions to --unstable-conditions (#29885)
- feat: stabilize --allow-net subdomain wildcards (#29902)
- feat: stabilize --node-conditions flag (#29628)
- feat: unflag the deploy subcommand (#29863)
- fix(bench): Make output table markdown compatible (#29532)
- fix(bundle): only replace require shim in js files, spruce up output (#29892)
- fix(check): don't detect tsconfigs with no deno.json/package.json or
--no-config (#29925)
- fix(coverage): Make output table markdown compatible (#29533)
- fix(ext/node): add
lchmod, lchmod promise, lchmodSync to node:fs
(#29833)
- fix(ext/node): add type check to LibuvStreamWrap.writeBuffer (#29879)
- fix(ext/node): don't show deprecation warnings for dependencies (#29909)
- fix(ext/node): export promise based
lchown and lutimes from
node:fs/promises (#29870)
- fix(ext/node): fix reference error in node:stream (#29894)
- fix(ext/node): improve assert.fail (#29850)
- fix(ext/node): improve input validations of stream/consumers (#29880)
- fix(ext/node): keep BOM in buffer.toString('utf8') (#29896)
- fix(ext/node): remove duplicated stream classes (#29860)
- fix(fmt/css): prefer collapsing font-family values (#29864)
- fix(install): purge more packages from lockfile on config change (#29953)
- fix(install/global): resolve bin name from npm packument (#29884)
- fix(lsp): don't show no-export diagnostics for type-only npm imports (#29888)
- fix(node): use primordials more consistently in
_events.mjs (#29930)
- fix(publish): disallow publishing with bytes or text imports (#29954)
- fix: support
Deno.permissions.query({name:"import"}) (#29610)
- perf: skip loading bytes and text imports into memory when already cached and
building module graph (#29931)
Compare Source
- feat(unstable): add
--platform flag to deno bundle (#29697)
- feat(unstable): add
--sourcemap flag to deno bundle (#29735)
- feat(unstable): add watch mode to deno bundle (#29795)
- feat: allow base64 ca cert in args (#29814)
- fix(bundle): enable sloppy imports by default when bundling (#29731)
- fix(bundle): improve error handling and reporting (#29744)
- fix(bundle): parse the allow-import flag, fix example in help text (#29733)
- fix(bundle): transform import.meta.main (#29830)
- fix(ext/napi): ensure the finalizer callback will be called (#29710)
- fix(ext/node): DiffieHellman constructor behaviors (#29718)
- fix(ext/node): Fix
crypto.pbkdf2 compat (#29738)
- fix(ext/node): Module.wrap cleanup for npm:v8-code-cache (#29725)
- fix(ext/node): add
fchmod and fchmodSync (#29791)
- fix(ext/node): add key length validation in
DiffieHellman.prototype.computeSecret (#29757)
- fix(ext/node): add validation to Cipheriv methods (#29800)
- fix(ext/node): crypto.timingSafeEqual (#29758)
- fix(ext/node): deprecate Hash and Hmac constructors (#29774)
- fix(ext/node): fix assertion error message of assert.ok (#29803)
- fix(ext/node): fix error type in DiffieHellman constructor (#29721)
- fix(ext/node): fix events.once (#29716)
- fix(ext/node): fix input validation of crypto hkdf (#29775)
- fix(ext/node): fix oneshot hash validation (#29661)
- fix(ext/node): implement Certificate API (#29828)
- fix(ext/node): improve assert.ifError (#29846)
- fix(ext/node): improve comparison of faked objects in
deepStrictEqual
(#29819)
- fix(ext/node): improve scrypt support (#29773)
- fix(ext/node): support KeyObject in publicEncrypt/privateDecrypt (#29798)
- fix(ext/node): throw invalid state from
getAuthTag (#29752)
- fix(ext/node): use primordials in
ext/node/polyfills/internal/event_target.mjs (#29772)
- fix(ext/node): use primordials in
ext/node/polyfills/internal/fs/utils.mjs
(#29708)
- fix(ext/node): validate auth tag for GCM mode cipher (#29739)
- fix(fmt): fix handling of indent inside template language (#29616)
- fix(fmt): handle TS as syntax in Svelte each block (#29789)
- fix(install): ignore unknown JSR export errors on top level install (#29807)
- fix(install): infer name from @scope/cli pattern (#29694)
- fix(install,outdated): try to avoid building graph with incorrect exports
(#29713)
- fix(jsr): allow using
import.meta.resolve to resolve non-jsr remote urls
(#29831)
- fix(lsp): respect media type for tsx jupyter cells (#29712)
- fix(npm): support resolving npm specifiers not in graph with
import.meta.resolve for resolved packages (#29732)
- fix:
import.meta.resolve - do not error for non-existent files in npm
packages (#29741)
- fix: do not panic when logging from outside a tokio runtime (#29728)
- fix: move win32job under windows dependencies in tests/util/server (#29745)
- fix: remove
self from global middleware (#29734)
Compare Source
- feat(bundle, unstable): bundling backed by esbuild (#29470)
- feat(ext/fetch): add support for fetch on vsock sockets (#29692)
- feat(unstable): add --unstable-node-conditions flag for node resolution
([#29586](https://redi
Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.
This PR contains the following updates:
v2.2.4->2.5.6Release Notes
denoland/deno (deno)
v2.5.6Compare Source
(#31131)
v2.5.5Compare Source
constraint (#31031)
(#30752)
(#31007)
deno auditsubcommand (#30966)githubusercontent.com (#30913)
dns.resolve6compatibility (#30974)fs.read/fs.readSyncandfs.write/fs.writeSynccompatibility(#31013)
path.matchesGlobcompatibility (#30976)Symbolinenvshould not ask for permission(#30965)
crypto.createHmac(#31025)kReinitializeHandlework for TLS wrap (#31079)fs.writeandfs.writeSync(#30999)with underscores (#31057)
-A(#31021)changing workspace config (#30998)
source.organizeImports(#31016)napi_callback_infoinCallbackInfo(#30983)(#30919)
(#31055)
Eventto be overwritten on bootstrap (#30971)(#31026)
v2.5.4Compare Source
deno cache (#30957)
fs.cpandfs.cpSynccompatibility (#30502)fs.statandfs.statSynccompatibility (#30866)node:zlib'sgunzip(#30865)smifromzlib.crc32op function (#30907)v2.5.3Compare Source
(#30894)
(#30895)
declarations (#30893)
--allow-all(#30763)and bundledDependencies (#30875)
--connectedto--tunneland better handleDENO_DEPLOY_TOKENenv variable (#30786)deno check(#30868)changed (#30877)
v2.5.2Compare Source
Uint8Arraybase64/hex methods (#30686)Promise<void>(#30820)fs.readFile,fs.readFileSyncassert encoding (#30830)fs.statfsSyncandfs.statfscompatibility (#30662)CipherivandDecipherivbase64 encoding (#30806).batand.cmddirectly on windows (#30818)v2.5.1Compare Source
Deno.HttpClientinWebSocket(#30692)Deno.HttpClient(#30700)Uint8Array<ArrayBuffer>(#30716)fchmodon windows (#30704)fs.globacceptsURLcwd (#30705)fs.close(#30720)fs.closecallback function (#30679)deno init --npmstopped working on mac (#30730)(#30744)
containing permissions at root (#30742)
v2.5.0Compare Source
Read more: http://deno.com/blog/v2.5
deno fmt .when providing no files andno config files discovered (#30623)
--watchand--env-file(#30197)
ChildProcess.stdout&ChildProcess.stderr(#30552)bundleDependenciesin npm dependencies (#30521)Deno.testAPI (#30504)setTimeoutandsetInterval(#29993)deno runwith no arguments prints list of available tasks (#30592)tcpBacklogarg toDeno.listen{Tls}andDeno.serve(#30541)(#30624)
(#30523)
lib.dom.d.ts and lib.webworker.d.ts (#30647)
crypto.hkdfSyncreturns wrong result for non-Uint8ArrayTypedArray inputs (#30463)
fs.existsandfs.existsSynccompatibility (#30507)fs.mkdtempandfs.mkdtempSynccompatibility (#30602)fs.path'makelongandresolvecompatibility (#30503)nullkeypair in tls connect (#30516)--experimental-*flags when spawning childprocess (#26351)
node_modulesfolders fordeno init --npm ...(#30492)is correct (#30546)
add,cache, and allinstallvariants, move scripts and deprecation warnings after the report (#30549)
(#30608)
Windows (#30535)
require("..")(#30524)ArrayBufferas a backing buffer type forResponse.bodyand
Response.bytes(#30435)ArrayBufferas a backing buffer type forTextEncoder.encode()(#30434)(#30490)
v2.4.4Compare Source
package.json (#30253)
module when bundling (#30273)
dependencies (#30296)
Deno.build.standaloneis set in workers (#30335)fs.openandfs.openSynccompatibility (#30191)fs.renameandfs.renameSynccompatibility (#30245)fs.unlinkandfs.unlinkSynccompatibility (#30257)base64urlencoding on StringDecoder (#30366)crypto.randomInthas no arguments (#30314)ERR_INVALID_ARG_VALUEconstructor argumentsposition (#30309)
osexported properties read only (#30374)ext/node/polyfills/internal_binding/buffer.ts(#30287)ext/node/polyfills/internal_binding/node_file.ts(#30066)requirecalls (#30279)relative-package-importdiagnostic when rootof workspace is package (#30333)
v2.4.3Compare Source
system (#30188)
pkgs (#30189)
fs.readandfs.writepromisify compatibility (#30152)ext/node/polyfills/internal_binding/_listen.ts(#30100)ext/node/polyfills/internal_binding/pipe_wrap.ts(#30241)fdis integer onfsyncandfdatasync(#30215)ERR_PACKAGE_PATH_NOT_EXPORTED when no package.json#exports condition matches
(#29841)
relative import (#30203)
--configflag with../component (#30208)
--recursive- order tasks by package dependencies (#30129)options (#30242)
Proxygetter trap onconsole.log(#30230)(#30225)
config file (#30239)
(#30183)
v2.4.2Compare Source
existsandexistsSync(#29971)linkandlinkSync(#30061)(#30065)
globalglobal should be writeable (#30032)v2.4.1Compare Source
depend on variable names (#30023)
serve (#29974)
--allow-read(#29990)(#30018)
(#30019)
v2.4.0Compare Source
Read more: http://deno.com/blog/v2.4
"exclude" (#29843)
--coverageflag todeno runcommand (#29329)onListen()callback indeno serve(#29449)fs.glob,fs.globSync,fs.promises.glob(#28972)Deno.Command(#29933)deno compile(#29924)DENO_AUTO_SERVEenv var (#29852)DENO_COMPATenv var (#29889)setImmediateandclearImmediateas globals (#29877)--no-config (#29925)
lchmod,lchmodpromise,lchmodSynctonode:fs(#29833)
lchownandlutimesfromnode:fs/promises(#29870)_events.mjs(#29930)Deno.permissions.query({name:"import"})(#29610)building module graph (#29931)
v2.3.7Compare Source
--platformflag to deno bundle (#29697)--sourcemapflag to deno bundle (#29735)crypto.pbkdf2compat (#29738)fchmodandfchmodSync(#29791)DiffieHellman.prototype.computeSecret(#29757)deepStrictEqual(#29819)
getAuthTag(#29752)ext/node/polyfills/internal/event_target.mjs(#29772)ext/node/polyfills/internal/fs/utils.mjs(#29708)
(#29713)
import.meta.resolveto resolve non-jsr remote urls(#29831)
import.meta.resolvefor resolved packages (#29732)import.meta.resolve- do not error for non-existent files in npmpackages (#29741)
selffrom global middleware (#29734)v2.3.6Compare Source
([#29586](https://redi
Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.