Skip to content

Releases: denoland/deno

v1.46.3

04 Sep 16:28
a98e146
Compare
Choose a tag to compare

1.46.3 / 2024.09.04

  • feat(upgrade): print info links for Deno 2 RC releases (#25225)
  • fix(cli): Map error kind to PermissionDenied when symlinking fails due to
    permissions (#25398)
  • fix(cli/tools): correct deno init --serve template behavior (#25318)
  • fix(ext/node): session close during stream setup (#25170)
  • fix(publish): ensure provenance is spec compliant (#25200)
  • fix(upgrade): more informative information on invalid version (#25319)
  • fix: fix jupyter display function type (#25326)

v1.46.2

29 Aug 18:42
1b62d42
Compare
Choose a tag to compare

1.46.2 / 2024.08.29

  • Revert "feat(fetch): accept async iterables for body" (#25207)
  • fix(bench): Fix table column alignments and NO_COLOR=1 (#25190)
  • fix(ext/crypto): throw DataError for invalid EC key import (#25181)
  • fix(ext/fetch): percent decode userinfo when parsing proxies (#25229)
  • fix(ext/node): emit online event after worker thread is initialized (#25243)
  • fix(ext/node): export JWK public key (#25239)
  • fix(ext/node): import EC JWK keys (#25266)
  • fix(ext/node): import JWK octet key pairs (#25180)
  • fix(ext/node): import RSA JWK keys (#25267)
  • fix(ext/node): throw when loading cpu-features module (#25257)
  • fix(ext/node): update aead-gcm-stream to 0.3 (#25261)
  • fix(ext/webgpu): allow to build on unsupported platforms (#25202)
  • fix(fmt): fix incorrect quotes in components (#25249)
  • fix(fmt/markdown): fix regression with multi-line footnotes and inline math
    (#25222)
  • fix(install): Use relative symlinks in deno install (#25164)
  • fix(lsp): panic on url_to_uri() (#25238)
  • fix(napi): Don't run microtasks in napi_resolve_deferred (#25246)
  • fix(napi): Fix worker threads importing already-loaded NAPI addon (#25245)
  • fix(node/cluster): improve stubs to make log4js work (#25146)
  • fix(runtime/web_worker): populate SnapshotOptions for WebWorker when
    instantiated without snapshot (#25280)
  • fix(task): support tasks with colons in name in deno run (#25233)
  • fix: handle showing warnings while the progress bar is shown (#25187)
  • fix: reland async context (#25140)
  • fix: removed unstable-htttp from deno help (#25216)
  • fix: replace npm install hint with deno install hint (#25244)
  • fix: update deno_doc (#25290)
  • fix: upgrade deno_core to 0.307.0 (#25287)
  • perf(ext/node): reduce some allocations in require (#25197)

v1.46.1

22 Aug 16:24
de11ff8
Compare
Choose a tag to compare

1.46.1 / 2024.08.22

  • fix(ext/node): http2session ready state (#25143)
  • fix(ext/node): register node:wasi built-in (#25134)
  • fix(urlpattern): fallback to empty string for undefined group values (#25151)
  • fix: trim space around DENO_AUTH_TOKENS (#25147)

v1.46.0

22 Aug 02:16
3314a0c
Compare
Choose a tag to compare

1.46.0 / 2024.08.22

  • BREAKING(temporal/unstable): Remove obsoleted Temporal APIs (#24836)
  • BREAKING(webgpu/unstable): Replace async .requestAdapterInfo() with sync .info
    (#24783)
  • feat: deno compile --icon <ico> (#25039)
  • feat: deno init --serve (#24897)
  • feat: deno upgrade --rc (#24905)
  • feat: Add Deno.ServeDefaultExport type (#24879)
  • feat: async context (#24402)
  • feat: better help output (#24958)
  • feat: codesign for deno compile binaries (#24604)
  • feat: deno clean (#24950)
  • feat: deno remove (#24952)
  • feat: deno run (#24891)
  • feat: Deprecate "import assertions" with a warning (#24743)
  • feat: glob and directory support for deno check and deno cache cli arg
    paths (#25001)
  • feat: Print deprecation message for npm packages (#24992)
  • feat: refresh "Download" progress bar with a spinner (#24913)
  • feat: Rename --unstable-hmr to --watch-hmr (#24975)
  • feat: support short flags for permissions (#24883)
  • feat: treat bare deno command with run arguments as deno run (#24887)
  • feat: upgrade deno_core (#24886)
  • feat: upgrade deno_core (#25042)
  • feat: upgrade V8 to 12.8 (#24693)
  • feat: Upgrade V8 to 12.9 (#25138)
  • feat: vm rewrite (#24596)
  • feat(clean): add progress bar (#25026)
  • feat(cli): Add --env-file as alternative to --env (#24555)
  • feat(cli/tools): add a subcommand --hide-stacktraces for test (#24095)
  • feat(config): Support frozen lockfile config option in deno.json (#25100)
  • feat(config/jsr): add license field (#25056)
  • feat(coverage): add breadcrumbs to deno coverage --html report (#24860)
  • feat(ext/node): rewrite crypto keys (#24463)
  • feat(ext/node): support http2session.socket (#24786)
  • feat(fetch): accept async iterables for body (#24623)
  • feat(flags): improve help output and make deno run list tasks (#25108)
  • feat(fmt): support CSS, SCSS, Sass and Less (#24870)
  • feat(fmt): support HTML, Svelte, Vue, Astro and Angular (#25019)
  • feat(fmt): support YAML (#24717)
  • feat(FUTURE): terse lockfile (v4) (#25059)
  • feat(install): change 'Add ...' message (#24949)
  • feat(lint): Add lint for usage of node globals (with autofix) (#25048)
  • feat(lsp): node specifier completions (#24904)
  • feat(lsp): registry completions for import-mapped specifiers (#24792)
  • feat(node): support username and _password in .npmrc file (#24793)
  • feat(permissions): link to docs in permission prompt (#24948)
  • feat(publish): error on missing license file (#25011)
  • feat(publish): suggest importing jsr:@std/ for deno.land/std urls (#25046)
  • feat(serve): Opt-in parallelism for deno serve (#24920)
  • feat(test): rename --allow-none to --permit-no-files (#24809)
  • feat(unstable): ability to use a local copy of jsr packages (#25068)
  • feat(unstable/fmt): move yaml formatting behind unstable flag (#24848)
  • feat(upgrade): refresh output (#24911)
  • feat(upgrade): support deno upgrade 1.46.0 (#25096)
  • feat(urlpattern): add ignoreCase option & hasRegExpGroups property, and fix
    spec discrepancies (#24741)
  • feat(watch): add watch paths to test subcommand (#24771)
  • fix: node:inspector not being registered (#25007)
  • fix: rename watch event missing (#24893)
  • fix: actually add missing node:readline/promises module (#24772)
  • fix: adapt to new jupyter runtime API and include session IDs (#24762)
  • fix: add permission name when accessing a special file errors (#25085)
  • fix: adjust suggestion for lockfile regeneration (#25107)
  • fix: cache bust jsr meta file when version not found in dynamic branches
    (#24928)
  • fix: CFunctionInfo and CTypeInfo leaks (#24634)
  • fix: clean up flag help output (#24686)
  • fix: correct JSON config schema to show vendor option as stable (#25090)
  • fix: dd-trace http message compat (#25021)
  • fix: deserialize lockfile v3 straight (#25121)
  • fix: Don't panic if fail to handle JS stack frame (#25122)
  • fix: Don't panic if failed to add system certificate (#24823)
  • fix: Don't shell out to unzip in deno upgrade/compile (#24926)
  • fix: enable the reporting of parsing related problems when running deno lint
    (#24332)
  • fix: errors with CallSite methods (#24907)
  • fix: include already seen deps in lockfile dep tracking (#24556)
  • fix: log current version when using deno upgrade (#25079)
  • fix: make deno add output more deterministic (#25083)
  • fix: make vendor cache manifest more deterministic (#24658)
  • fix: missing emitWarning import (#24587)
  • fix: regressions around Error.prepareStackTrace (#24839)
  • fix: stub node:module.register() (#24965)
  • fix: support npm:bindings and npm:callsites packages (#24727)
  • fix: unblock fsevents native module (#24542)
  • fix: update deno_doc (#24972)
  • fix: update dry run success message (#24885)
  • fix: update lsp error message of 'relative import path' to 'use deno add' for
    npm/jsr packages (#24524)
  • fix: upgrade deno_core to 0.298.0 (#24709)
  • fix: warn about import assertions when using typescript (#25135)
  • fix(add): better error message providing scoped pkg missing leading @ symbol
    (#24961)
  • fix(add): Better error message when missing npm specifier (#24970)
  • fix(add): error when config file contains importMap field (#25115)
  • fix(add): Handle packages without root exports (#25102)
  • fix(add): Support dist tags in deno add (#24960)
  • fix(cli): add NAPI support in standalone mode (#24642)
  • fix(cli): Create child node_modules for conflicting dependency versions,
    respect aliases in package.json (#24609)
  • fix(cli): Respect implied BYONM from DENO_FUTURE in deno task (#24652)
  • fix(cli): shorten examples in help text (#24374)
  • fix(cli): support --watch when running cjs npm packages (#25038)
  • fix(cli): Unhide publish subcommand help string (#24787)
  • fix(cli): update permission prompt message for compiled binaries (#24081)
  • fix(cli/init): broken link in deno init sample template (#24545)
  • fix(compile): adhoc codesign mach-o by default (#24824)
  • fix(compile): make output more deterministic (#25092)
  • fix(compile): support workspace members importing other members (#24909)
  • fix(compile/windows): handle cjs re-export of relative path with parent
    component (#24795)
  • fix(config): regression - should not discover npm workspace for nested
    deno.json not in workspace (#24559)
  • fix(cron): improve error message for invalid cron names (#24644)
  • fix(docs): fix some deno.land/manual broken urls (#24557)
  • fix(ext/console): Error Cause Not Inspect-Formatted when printed (#24526)
  • fix(ext/console): render properties of Intl.Locale (#24827)
  • fix(ext/crypto): respect offsets when writing into ab views in randomFillSync
    (#24816)
  • fix(ext/fetch): include TCP src/dst socket info in error messages (#24939)
  • fix(ext/fetch): include URL and error details on fetch failures (#24910)
  • fix(ext/fetch): respect authority from URL (#24705)
  • fix(ext/fetch): use correct ALPN to proxies (#24696)
  • fix(ext/fetch): use correct ALPN to socks5 proxies (#24817)
  • fix(ext/http): correctly consume response body in Deno.serve (#24811)
  • fix(ext/net): validate port in Deno.{connect,serve,listen} (#24399)
  • fix(ext/node): add CipherIv.setAutoPadding() (#24940)
  • fix(ext/node): add crypto.diffieHellman (#24938)
  • fix(ext/node): client closing streaming request shouldn't terminate http
    server (#24946)
  • fix(ext/node): createBrotliCompress params (#24984)
  • fix(ext/node): do not expose self global in node (#24637)
  • fix(ext/node): don't concat set-cookie in ServerResponse.appendHeader (#25000)
  • fix(ext/node): don't throw when calling PerformanceObserver.observe (#25036)
  • fix(ext/node): ed25519 signing and cipheriv autopadding fixes (#24957)
  • fix(ext/node): fix prismjs compatibiliy in Web Worker (#25062)
  • fix(ext/node): handle node child_process with --v8-options flag (#24804)
  • fix(ext/node): handle prefix mapping for IPv4-mapped IPv6 addresses (#24546)
  • fix(ext/node): http request uploads of subarray of buffer should work (#24603)
  • fix(ext/node): improve shelljs compat with managed npm execution (#24912)
  • fix(ext/node): node:zlib coerces quality 10 to 9.5 (#24850)
  • fix(ext/node): pass content-disposition header as string instead of bytes
    (#25128)
  • fix(ext/node): prevent panic in http2.connect with uppercase header names
    (#24780)
  • fix(ext/node): read correct CPU usage stats on Linux (#24732)
  • fix(ext/node): rewrite X509Certificate resource and add publicKey() (#24988)
  • fix(ext/node): stat.mode on windows (#24434)
  • fix(ext/node): support ieee-p1363 ECDSA signatures and pss salt len (#24981)
  • fix(ext/node): use pem private keys in createPublicKey (#24969)
  • fix(ext/node/net): emit error before close when connection is refused
    (#24656)
  • fix(ext/web): make CompressionResource garbage collectable (#24884)
  • fix(ext/web): make TextDecoderResource use cppgc (#24888)
  • fix(ext/webgpu): assign missing constants property of shader about
    GPUDevice.createRenderPipeline[Async] (#24803)
  • fix(ext/webgpu): don't crash while constructing GPUOutOfMemoryError (#24807)
  • fix(ext/webgpu): GPUDevice.createRenderPipelineAsync should return a Promise
    (#24349)
  • fix(ext/websocket): unhandled close rejection in WebsocketStream (#25125)
  • fix(fmt): handle using stmt in for of stmt (#24834)
  • fix(fmt): regression with pipe in code blocks in tables (#25098)
  • fix(fmt): upgrade to dprint-plugin-markdown 0.17.4 (#25075)
  • fix(fmt): was sometimes putting comments in front of commas in parameter lists
    (#24650)
  • fix(future): Emit deno install warning less often, suggest deno install in
    error message (#24706)
  • fix(http): Adjust hostname display for Windows when using 0.0.0.0 (#24698)
  • fix(init): use bare specifier for jsr:@std/assert (#24581)
  • fix(install): Properly handle dist tags when setting up node_modules (#24968)
  • fix(lint): support linting tsx/jsx from stdin (#24955)
  • fix(lsp): directly use file referre...
Read more

v1.45.5

31 Jul 22:06
52fd273
Compare
Choose a tag to compare

1.45.5 / 2024.07.31

  • fix(cli): Unhide publish subcommand help string (#24787)
  • fix(compile/windows): handle cjs re-export of relative path with parent
    component (#24795)
  • fix(ext/node): handle node child_process with --v8-options flag (#24804)
  • fix(ext/node): prevent panic in http2.connect with uppercase header names
    (#24780)
  • fix(ext/webgpu): don't crash while constructing GPUOutOfMemoryError (#24807)
  • fix(http): Adjust hostname display for Windows when using 0.0.0.0 (#24698)
  • fix(node): Rework node:child_process IPC (#24763)
  • fix(node): support wildcards in package.json imports (#24794)
  • fix(node/fs/promises): watch should be async iterable (#24805)
  • fix(node/timers/promises): add scheduler APIs (#24802)
  • fix(npmrc): skip loading .npmrc in home dir on permission error (#24758)
  • fix(types): fix streams types (#24770)
  • fix(unstable/compile): handle byonm import in sub dir (#24755)
  • fix: actually add missing node:readline/promises module (#24772)
  • fix: adapt to new jupyter runtime API and include session IDs (#24762)
  • perf(ext/fetch): speed up resp.clone() (#24812)
  • perf(ext/node): improve Buffer from string performance (#24567)

v1.45.4

26 Jul 18:25
c0b1d19
Compare
Choose a tag to compare

1.45.4 / 2024.07.26

  • Reland "fix: CFunctionInfo and CTypeInfo leaks (#24634)" (#24692)
  • fix(ext/fetch): respect authority from URL (#24705)
  • fix(ext/fetch): use correct ALPN to proxies (#24696)
  • fix(ext/node): read correct CPU usage stats on Linux (#24732)
  • fix(ext/node/net): emit error before close when connection is refused
    (#24656)
  • fix(future): Emit deno install warning less often, suggest deno install in
    error message (#24706)
  • fix(lsp): rewrite import for 'infer return type' action (#24685)
  • fix(node): better detection for when to surface node resolution errors
    (#24653)
  • fix(node): cjs pkg dynamically importing esm-only pkg fails (#24730)
  • fix(node/worker_threads): support port.once() (#24725)
  • fix(publish): workspace included license file had incorrect path (#24747)
  • fix(unstable): move sloppy-import warnings to lint rule (#24710)
  • fix(upgrade): do not error if config in cwd invalid (#24689)
  • fix(workspaces/publish): include the license file from the workspace root if
    not in pkg (#24714)
  • fix: enable the reporting of parsing related problems when running deno lint
    (#24332)
  • fix: support npm:bindings and npm:callsites packages (#24727)
  • fix: update lsp error message of 'relative import path' to 'use deno add' for
    npm/jsr packages (#24524)
  • fix: decode percent-encoding source string in Error.stack (#24709)
  • perf: update deno_doc (#24700)

v1.45.3

23 Jul 01:48
87ce64e
Compare
Choose a tag to compare

1.45.3 / 2024.07.22

  • Reland "refactor(fetch): reimplement fetch with hyper instead of reqwest"
    (#24593)
  • fix(cli): Create child node_modules for conflicting dependency versions,
    respect aliases in package.json (#24609)
  • fix(cli): Respect implied BYONM from DENO_FUTURE in deno task (#24652)
  • fix(cli): add NAPI support in standalone mode (#24642)
  • fix(cron): improve error message for invalid cron names (#24644)
  • fix(docs): fix some deno.land/manual broken urls (#24557)
  • fix(ext/console): Error Cause Not Inspect-Formatted when printed (#24526)
  • fix(ext/node): do not expose self global in node (#24637)
  • fix(ext/node): http request uploads of subarray of buffer should work (#24603)
  • fix(ext/node): stat.mode on windows (#24434)
  • fix(fmt): was sometimes putting comments in front of commas in parameter lists
    (#24650)
  • fix(init): use bare specifier for jsr:@std/assert (#24581)
  • fix(lsp): hang when caching failed (#24651)
  • fix(lsp): scope attribution for asset documents (#24663)
  • fix(lsp): support npm workspaces and fix some resolution issues (#24627)
  • fix(node): Fix --allow-scripts with no deno.json (#24533)
  • fix(node): support tty.hasColors() and tty.getColorDepth() (#24619)
  • fix(npm): handle packages with only pre-released 0.0.0 versions (#24563)
  • fix(publish): surface syntax errors when using --no-check (#24620)
  • fix(publish): warn about missing license file (#24677)
  • fix(std/http2): release window capacity back to remote stream (#24576)
  • fix(types): Conform lib.deno_web.d.ts to lib.dom.d.ts and lib.webworker.d.ts
    (#24599)
  • fix(workspace): do not resolve to self for npm pkg depending on matching req
    (#24591)
  • fix(workspace): support resolving bare specifiers to npm pkgs within a
    workspace (#24611)
  • fix: make vendor cache manifest more deterministic (#24658)
  • fix: missing emitWarning import (#24587)
  • perf(ext/node): optimize fs.exists[Sync] (#24613)

v1.45.2

12 Jul 22:04
85de428
Compare
Choose a tag to compare

1.45.2 / 2024.07.12

  • fix(config): regression - should not discover npm workspace for nested
    deno.json not in workspace (#24559)
  • fix(cli/init): broken link in deno init sample template (#24545)
  • fix(ext/node): handle prefix mapping for IPv4-mapped IPv6 addresses (#24546)
  • fix(ext/webgpu): GPUDevice.createRenderPipelineAsync should return a Promise
    (#24349)
  • fix(node): revert invalid package target change (#24539)
  • fix(publish): show dirty files on dirty check failure (#24541)
  • fix: include already seen deps in lockfile dep tracking (#24556)
  • fix: unblock fsevents native module (#24542)
  • perf(ext/crypto): make randomUUID() 5x faster (#24510)

v1.45.1

11 Jul 23:12
c841d16
Compare
Choose a tag to compare

1.45.1 / 2024.07.11

  • fix(node): Ignore broken default install scripts (#24534)
  • fix(npm): only warn about lifecycle scripts not being run when setting up
    directory (#24530)
  • fix(workspace): allow using --import-map flag with workspace (#24527)

v1.45.0

10 Jul 23:47
04ff5c7
Compare
Choose a tag to compare

1.45.0 / 2024.07.10

  • BREAKING(unstable/ffi): remove callback reentrant flag (#24367)
  • feat(cli): Add --frozen flag to error out if lockfile is out of date
    (#24355)
  • feat(cli): deno init --lib (#22499)
  • feat(compile): support --env (#24166)
  • feat(ext/crypto): make deriveBits length parameter optional and nullable
    (#24426)
  • feat(ext/web): add Blob.prototype.bytes() (#24148)
  • feat(jsr): support publishing jsr packages in npm workspaces (#24507)
  • feat(jupyter): support confirm and prompt in notebooks (#23592)
  • feat(lsp): ts language service scopes (#24345)
  • feat(node): Support executing npm package lifecycle scripts
    (preinstall/install/postinstall) (#24487)
  • feat(workspace): support object config (#24483)
  • feat: Deprecate --lock-write flag (#24436)
  • feat: Upgrade to TypeScript 5.5.2 (#24326)
  • feat: add __tests__ to test file detection defaults (#24443)
  • feat: deprecate deno vendor (#22183)
  • feat: npm workspace and better Deno workspace support (#24334)
  • feat: support wildcards in npm workspaces (#24471)
  • feat: upgrade deno_core (#24364)
  • feat: upgrade deno_core to 0.293.0 (#24482)
  • fix(check): CJS types importing dual ESM/CJS package should prefer CJS types
    (#24492)
  • fix(compile): atomically write compile output (#24378)
  • fix(compile): prevent setting unstable feature twice (#24381)
  • fix(ext/node): Add fs.lutimes / fs.lutimesSync (#23172)
  • fix(ext/node): add Module.parent (#24333)
  • fix(ext/node): add ServerResponse#appendHeader (#24216)
  • fix(ext/node): add Symbol.toStringTag to KeyObject instances (#24377)
  • fix(ext/node): discover .npmrc in user's homedir (#24021)
  • fix(ext/node): don't panic on invalid utf-8 in pem (#24303)
  • fix(ext/node): don't wait for end() call to send http client request (#24390)
  • fix(ext/node): http chunked writes hangs (#24428)
  • fix(ext/node): ignore stream error during enqueue (#24243)
  • fix(ext/node): make next tick queue resilient to Array.prototype tampering
    (#24361)
  • fix(ext/node): rewrite crypto.Hash (#24302)
  • fix(ext/node): rewrite digest handling (#24392)
  • fix(ext/node): use cppgc for node:zlib (#24267)
  • fix(ext/webgpu): fix GPUUncapturedErrorEvent parent type (#24369)
  • fix(ext/websocket): drop connection when close frame not ack (#24301)
  • fix(lsp): correct scope attribution for injected @types/node (#24404)
  • fix(lsp): do sloppy resolution for node-to-node imports in byonm (#24481)
  • fix(lsp): don't use global cache paths for scope allocation (#24353)
  • fix(lsp): inherit workspace-root-only fields in members (#24440)
  • fix(lsp): respect lockfile redirects entries for resolution (#24365)
  • fix(lsp): use CliLockfile (#24387)
  • fix(net): handle panic on Windows for Unix socket usage in Deno.serve()
    (#24423)
  • fix(net): set correct max size for Datagram (#21611)
  • fix(node): Implement fs.lchown (and process.getegid) (#24418)
  • fix(node): add missing readline/promises module (#24336)
  • fix(node/assert): throws not checking error instance (#24466)
  • fix(node/http): don't error if request destroyed before send (#24497)
  • fix(node/http): don't send destroyed requests (#24498)
  • fix(node/http): don't throw on .address() before .listen() (#24432)
  • fix(node/http): support all .writeHead() signatures (#24469)
  • fix(node/perf_hooks): stub eventLoopUtilization (#24501)
  • fix(node/v8): stub serializer methods (#24502)
  • fix(permissions): handle ipv6 addresses correctly (#24397)
  • fix(publish): unfurling should always be done with the package json (#24435)
  • fix(task): do not propagate env changes outside subshells (#24279)
  • fix(windows): check USERPROFILE env var for finding home directory (#24384)
  • fix(workspace): better cli file argument handling (#24447)
  • fix: Add sys permission kinds for node compat (#24242)
  • fix: add warning for invalid unstable feature use in deno.json/jsonc (#24120)
  • fix: do not download compilerOptions -> types when not type checking (#24473)
  • fix: do not return undefined for missing global properties (#24474)
  • fix: make .setup-cache.bin in node_modules more reproducible (#24480)
  • fix: memory leak when transpiling (#24490)
  • fix: node-api get_value_string_utf8 should use utf8_length (#24193)
  • fix: panic when piping "deno help" or "deno --version" (#22917)
  • fix: test in presence of .npmrc (#24486)
  • fix: upgrade deno_core to 0.291.0 (#24297)
  • perf(ext/node): improve Buffer.from(buffer) (#24352)
  • perf(ext/websocket): avoid global interceptor overhead (#24284)
  • perf(ws): optimize fastwebsockets in release profile (#24277)
  • perf: optimize Buffer.from("base64") for forgiving-base64 conforming input
    (#24346)