Skip to content

Releases: denoland/deno

v2.1.4

11 Dec 12:07
b32ed75
Compare
Choose a tag to compare

2.1.4 / 2024.12.11

  • feat(unstable): support caching npm dependencies only as they're needed
    (#27300)
  • fix(compile): correct read length for transpiled typescript files (#27301)
  • fix(ext/node): accept file descriptor in fs.readFile(Sync) (#27252)
  • fix(ext/node): handle Float16Array in node:v8 module (#27285)
  • fix(lint): do not error providing --allow-import (#27321)
  • fix(node): update list of builtin node modules, add missing export to
    _http_common (#27294)
  • fix(outdated): error when there are no config files (#27306)
  • fix(outdated): respect --quiet flag for hints (#27317)
  • fix(outdated): show a suggestion for updating (#27304)
  • fix(task): do not always kill child on ctrl+c on windows (#27269)
  • fix(unstable): don't unwrap optional state in otel (#27292)
  • fix: do not error when subpath has an @ symbol (#27290)
  • fix: do not panic when fetching invalid file url on Windows (#27259)
  • fix: replace the @deno-types with @ts-types (#27310)
  • perf(compile): improve FileBackedVfsFile (#27299)

v2.1.3

06 Dec 01:12
7f9b1ff
Compare
Choose a tag to compare

2.1.3 / 2024.12.05

  • feat(unstable): add metrics to otel (#27143)
  • fix(fmt): stable formatting of HTML files with JS (#27164)
  • fix(install): use locked version of jsr package when fetching exports (#27237)
  • fix(node/fs): support recursive option in readdir (#27179)
  • fix(node/worker_threads): data url not encoded properly with eval (#27184)
  • fix(outdated): allow --latest without --update (#27227)
  • fix(task): --recursive option not working (#27183)
  • fix(task): don't panic with filter on missing task argument (#27180)
  • fix(task): forward signals to spawned sub-processes on unix (#27141)
  • fix(task): kill descendants when killing task process on Windows (#27163)
  • fix(task): only pass args to root task (#27213)
  • fix(unstable): otel context with multiple keys (#27230)
  • fix(unstable/temporal): respect locale in Duration.prototype.toLocaleString
    (#27000)
  • fix: clear dep analysis when module loading is done (#27204)
  • fix: improve auto-imports for npm packages (#27224)
  • fix: support workspace:^ and workspace:~ version constraints (#27096)

v2.1.2

28 Nov 17:22
2039abe
Compare
Choose a tag to compare

2.1.2 / 2024.11.28

  • feat(unstable): Instrument Deno.serve (#26964)
  • feat(unstable): Instrument fetch (#27057)
  • feat(unstable): repurpose --unstable-detect-cjs to attempt loading more
    modules as cjs (#27094)
  • fix(check): support jsdoc @import tag (#26991)
  • fix(compile): correct buffered reading of assets and files (#27008)
  • fix(compile): do not error embedding same symlink via multiple methods
    (#27015)
  • fix(compile): handle TypeScript file included as asset (#27032)
  • fix(ext/fetch): don't throw when bodyUsed inspect after upgrade (#27088)
  • fix(ext/node): tls.connect socket upgrades (#27125)
  • fix(ext/node): add fs.promises.fstat and FileHandle#stat (#26719)
  • fix(ext/webgpu): normalize limits to number (#27072)
  • fix(ext/webgpu): use correct variable name (#27108)
  • fix(ext/websocket): don't throw exception when sending to closed socket
    (#26932)
  • fix(fmt): return None if sql fmt result is the same (#27014)
  • fix(info): resolve bare specifier pointing to workspace member (#27020)
  • fix(init): always force managed node modules (#27047)
  • fix(init): support scoped npm packages (#27128)
  • fix(install): don't re-set up node_modules if running lifecycle script
    (#26984)
  • fix(lsp): remove stray debug output (#27010)
  • fix(lsp): support task object notation for tasks request (#27076)
  • fix(lsp): wasm file import completions (#27018)
  • fix(node): correct resolution of dynamic import of esm from cjs (#27071)
  • fix(node/fs): add missing stat path argument validation (#27086)
  • fix(node/fs): missing uv error context for readFile (#27011)
  • fix(node/http): casing ignored in ServerResponse.hasHeader() (#27105)
  • fix(node/timers): error when passing id to clearTimeout/clearInterval (#27130)
  • fix(runtime/ops): Fix watchfs remove event (#27041)
  • fix(streams): reject string in ReadableStream.from type (#25116)
  • fix(task): handle carriage return in task description (#27099)
  • fix(task): handle multiline descriptions properly (#27069)
  • fix(task): strip ansi codes and control chars when printing tasks (#27100)
  • fix(tools/doc): HTML resolve main entrypoint from config file (#27103)
  • fix: support bun specifiers in JSR publish (#24588)
  • fix: support non-function exports in Wasm modules (#26992)
  • perf(compile): read embedded files as static references when UTF-8 and reading
    as strings (#27033)
  • perf(ext/webstorage): use object wrap for Storage (#26931)

v2.1.1

21 Nov 19:10
5d71b46
Compare
Choose a tag to compare

2.1.1 / 2024.11.21

  • docs(add): clarification to add command (#26968)
  • docs(doc): fix typo in doc subcommand help output (#26321)
  • fix(node): regression where ts files were sometimes resolved instead of js
    (#26971)
  • fix(task): ensure root config always looks up dependencies in root (#26959)
  • fix(watch): don't panic if there's no path provided (#26972)
  • fix: Buffer global in --unstable-node-globals (#26973)

v2.1.0

21 Nov 04:12
3da4eca
Compare
Choose a tag to compare

2.1.0 / 2024.11.21

  • feat(cli): add --unstable-node-globals flag (#26617)
  • feat(cli): support multiple env file argument (#26527)
  • feat(compile): ability to embed directory in executable (#26939)
  • feat(compile): ability to embed local data files (#26934)
  • feat(ext/fetch): Make fetch client parameters configurable (#26909)
  • feat(ext/fetch): allow embedders to use hickory_dns_resolver instead of
    default GaiResolver (#26740)
  • feat(ext/fs): add ctime to Deno.stats and use it in node compat layer (#24801)
  • feat(ext/http): Make http server parameters configurable (#26785)
  • feat(ext/node): perf_hooks.monitorEventLoopDelay() (#26905)
  • feat(fetch): accept async iterables for body (#26882)
  • feat(fmt): support SQL (#26750)
  • feat(info): show location for Web Cache (#26205)
  • feat(init): add --npm flag to initialize npm projects (#26896)
  • feat(jupyter): Add Deno.jupyter.image API (#26284)
  • feat(lint): Add checked files list to the JSON output(#26936)
  • feat(lsp): auto-imports with @deno-types directives (#26821)
  • feat(node): stabilize detecting if CJS via "type": "commonjs" in a
    package.json (#26439)
  • feat(permission): support suffix wildcards in --allow-env flag (#25255)
  • feat(publish): add --set-version <version> flag (#26141)
  • feat(runtime): remove public OTEL trace API (#26854)
  • feat(task): add --eval flag (#26943)
  • feat(task): dependencies (#26467)
  • feat(task): support object notation, remove support for JSDocs (#26886)
  • feat(task): workspace support with --filter and --recursive (#26949)
  • feat(watch): log which file changed on HMR or watch change (#25801)
  • feat: OpenTelemetry Tracing API and Exporting (#26710)
  • feat: Wasm module support (#26668)
  • feat: fmt and lint respect .gitignore file (#26897)
  • feat: permission stack traces in ops (#26938)
  • feat: subcommand to view and update outdated dependencies (#26942)
  • feat: upgrade V8 to 13.0 (#26851)
  • fix(cli): preserve comments in doc tests (#26828)
  • fix(cli): show prefix hint when installing a package globally (#26629)
  • fix(ext/cache): gracefully error when cache creation failed (#26895)
  • fix(ext/http): prefer brotli for accept-encoding: gzip, deflate, br, zstd
    (#26814)
  • fix(ext/node): New async setInterval function to improve the nodejs
    compatibility (#26703)
  • fix(ext/node): add autoSelectFamily option to net.createConnection (#26661)
  • fix(ext/node): handle --allow-sys=inspector (#26836)
  • fix(ext/node): increase tolerance for interval test (#26899)
  • fix(ext/node): process.getBuiltinModule (#26833)
  • fix(ext/node): use ERR_NOT_IMPLEMENTED for notImplemented (#26853)
  • fix(ext/node): zlib.crc32() (#26856)
  • fix(ext/webgpu): Create GPUQuerySet converter before usage (#26883)
  • fix(ext/websocket): initialize error attribute of WebSocket ErrorEvent
    (#26796)
  • fix(ext/webstorage): use error class for sqlite error case (#26806)
  • fix(fmt): error instead of panic on unstable format (#26859)
  • fix(fmt): formatting of .svelte files (#26948)
  • fix(install): percent encodings in interactive progress bar (#26600)
  • fix(install): re-setup bin entries after running lifecycle scripts (#26752)
  • fix(lockfile): track dependencies specified in TypeScript compiler options
    (#26551)
  • fix(lsp): ignore editor indent settings if deno.json is present (#26912)
  • fix(lsp): skip code action edits that can't be converted (#26831)
  • fix(node): handle resolving ".//" in npm packages (#26920)
  • fix(node/crypto): support promisify on generateKeyPair (#26913)
  • fix(permissions): say to use --allow-run instead of --allow-all (#26842)
  • fix(publish): improve error message when missing exports (#26945)
  • fix: otel resiliency (#26857)
  • fix: update message for unsupported schemes with npm and jsr (#26884)
  • perf(compile): code cache (#26528)
  • perf(windows): delay load webgpu and some other dlls (#26917)
  • perf: use available system memory for v8 isolate memory limit (#26868)

v2.0.6

10 Nov 06:00
8f59d18
Compare
Choose a tag to compare

2.0.6 / 2024.11.10

  • feat(ext/http): abort event when request is cancelled (#26781)
  • feat(ext/http): abort signal when request is cancelled (#26761)
  • feat(lsp): auto-import completions from byonm dependencies (#26680)
  • fix(ext/cache): don't panic when creating cache (#26780)
  • fix(ext/node): better inspector support (#26471)
  • fix(fmt): don't use self-closing tags in HTML (#26754)
  • fix(install): cache jsr deps from all workspace config files (#26779)
  • fix(node:zlib): gzip & gzipSync should accept ArrayBuffer (#26762)
  • fix: performance.timeOrigin (#26787)

v2.0.5

06 Nov 01:47
78a799b
Compare
Choose a tag to compare

2.0.5 / 2024.11.05

  • fix(add): better error message when adding package that only has pre-release
    versions (#26724)
  • fix(add): only add npm deps to package.json if it's at least as close as
    deno.json (#26683)
  • fix(cli): set npm_config_user_agent when running npm packages or tasks
    (#26639)
  • fix(coverage): exclude comment lines from coverage reports (#25939)
  • fix(ext/node): add findSourceMap to the default export of node:module
    (#26720)
  • fix(ext/node): convert errors from fs.readFile/fs.readFileSync to node
    format (#26632)
  • fix(ext/node): resolve exports even if parent module filename isn't present
    (#26553)
  • fix(ext/node): return this from http.Server.ref/unref() (#26647)
  • fix(fmt): do not panic for jsx ignore container followed by jsx text (#26723)
  • fix(fmt): fix several HTML and components issues (#26654)
  • fix(fmt): ignore file directive for YAML files (#26717)
  • fix(install): handle invalid function error, and fallback to junctions
    regardless of the error (#26730)
  • fix(lsp): include unstable features from editor settings (#26655)
  • fix(lsp): scope attribution for lazily loaded assets (#26699)
  • fix(node): Implement os.userInfo properly, add missing toPrimitive
    (#24702)
  • fix(serve): support serve hmr (#26078)
  • fix(types): missing import permission on PermissionOptionsObject (#26627)
  • fix(workspace): support wildcard packages (#26568)
  • fix: clamp smi in fast calls by default (#26506)
  • fix: improved support for cjs and cts modules (#26558)
  • fix: op_run_microtasks crash (#26718)
  • fix: panic_hook hangs without procfs (#26732)
  • fix: remove permission check in op_require_node_module_paths (#26645)
  • fix: surface package.json location on dep parse failure (#26665)
  • perf(lsp): don't walk coverage directory (#26715)

v2.0.4

30 Oct 03:38
b7c282d
Compare
Choose a tag to compare

2.0.4 / 2024.10.29

  • Revert "fix(ext/node): fix dns.lookup result ordering (#26264)" (#26621)
  • Revert "fix(ext/node): use primordials in ext/node/polyfills/https.ts
    (#26323)" (#26613)
  • feat(lsp): "typescript.preferences.preferTypeOnlyAutoImports" setting (#26546)
  • fix(check): expose more globals from @types/node (#26603)
  • fix(check): ignore resolving jsxImportSource when jsx is not used in graph
    (#26548)
  • fix(cli): Make --watcher CLEAR_SCREEN clear scrollback buffer as well as
    visible screen (#25997)
  • fix(compile): regression handling redirects (#26586)
  • fix(ext/napi): export dynamic symbols list for {Free,Open}BSD (#26605)
  • fix(ext/node): add path to fs.stat and fs.statSync error (#26037)
  • fix(ext/node): compatibility with {Free,Open}BSD (#26604)
  • fix(ext/node): use primordials in
    ext\node\polyfills\internal\crypto_randomInt.ts (#26534)
  • fix(install): cache json exports of JSR packages (#26552)
  • fix(install): regression - do not panic when config file contains \r\n
    newlines (#26547)
  • fix(lsp): make missing import action fix infallible (#26539)
  • fix(npm): match npm bearer token generation (#26544)
  • fix(upgrade): stop running deno lsp processes on windows before attempting
    to replace executable (#26542)
  • fix(watch): don't panic on invalid file specifiers (#26577)
  • fix: do not panic when failing to write to http cache (#26591)
  • fix: provide hints in terminal errors for Node.js globals (#26610)
  • fix: report exceptions from nextTick (#26579)
  • fix: support watch flag to enable watching other files than the main module on
    serve subcommand (#26622)
  • perf: pass transpiled module to deno_core as known string (#26555)

v2.0.3

25 Oct 12:54
997bd47
Compare
Choose a tag to compare

2.0.3 / 2024.10.25

  • feat(lsp): interactive inlay hints (#26382)
  • fix: support node-api in denort (#26389)
  • fix(check): support --frozen on deno check (#26479)
  • fix(cli): increase size of blocking task threadpool on windows (#26465)
  • fix(config): schemas for lint rule and tag autocompletion (#26515)
  • fix(ext/console): ignore casing for named colors in css parsing (#26466)
  • fix(ext/ffi): return u64/i64 as bigints from nonblocking ffi calls (#26486)
  • fix(ext/node): cancel pending ipc writes on channel close (#26504)
  • fix(ext/node): map ERROR_INVALID_NAME to ENOENT on windows (#26475)
  • fix(ext/node): only set our end of child process pipe to nonblocking mode
    (#26495)
  • fix(ext/node): properly map reparse point error in readlink (#26375)
  • fix(ext/node): refactor http.ServerResponse into function class (#26210)
  • fix(ext/node): stub HTTPParser internal binding (#26401)
  • fix(ext/node): use primordials in ext/node/polyfills/https.ts (#26323)
  • fix(fmt): --ext flag requires to pass files (#26525)
  • fix(fmt): upgrade formatters (#26469)
  • fix(help): missing package specifier (#26380)
  • fix(info): resolve workspace member mappings (#26350)
  • fix(install): better json editing (#26450)
  • fix(install): cache all exports of JSR packages listed in deno.json (#26501)
  • fix(install): cache type only module deps in deno install (#26497)
  • fix(install): don't cache json exports of JSR packages (for now) (#26530)
  • fix(install): update lockfile when using package.json (#26458)
  • fix(lsp): import-map-remap quickfix for type imports (#26454)
  • fix(node/util): support array formats in styleText (#26507)
  • fix(node:tls): set TLSSocket.alpnProtocol for client connections (#26476)
  • fix(npm): ensure scoped package name is encoded in URLs (#26390)
  • fix(npm): support version ranges with && or comma (#26453)
  • fix: .npmrc settings not being passed to install/add command (#26473)
  • fix: add 'fmt-component' to unstable features in schema file (#26526)
  • fix: share inotify fd across watchers (#26200)
  • fix: unpin tokio version (#26457)
  • perf(compile): pass module source data from binary directly to v8 (#26494)
  • perf: avoid multiple calls to runMicrotask (#26378)

v2.0.2

18 Oct 02:29
22a79ea
Compare
Choose a tag to compare

2.0.2 / 2024.10.17

  • fix(cli): set napi object property properly (#26344)
  • fix(ext/node): add null check for kStreamBaseField (#26368)
  • fix(install): don't attempt to cache specifiers that point to directories
    (#26369)
  • fix(jupyter): fix panics for overslow subtraction (#26371)
  • fix(jupyter): update to the new logo (#26353)
  • fix(net): don't try to set nodelay on upgrade streams (#26342)
  • fix(node/fs): copyFile with COPYFILE_EXCL should not throw if the
    destination doesn't exist (#26360)
  • fix(node/http): normalize header names in ServerResponse (#26339)
  • fix(runtime): send ws ping frames from inspector server (#26352)
  • fix: don't warn on ignored signals on windows (#26332)