Skip to content

Releases: denoland/deno

v1.41.0

22 Feb 03:33
1184451
Compare
Choose a tag to compare
  • BREAKING(net/unstable): remove Deno.DatagramConn.rid (#22475)
  • BREAKING(unstable): remove Deno.HttpClient.rid (#22075)
  • BREAKING: add Deno.CreateHttpClientOptions.{cert,key} (#22280)
  • feat(fs): Deno.FsFile.{isTerminal,setRaw}() (#22234)
  • feat(lsp): auto-import completions for jsr specifiers (#22462)
  • feat(publish): type check on publish (#22506)
  • feat(unstable): single checksum per JSR package in the lockfile (#22421)
  • feat(unstable/lint): no-slow-types for JSR packages (#22430)
  • feat: Deno.ConnectTlsOptions.{cert,key} (#22274)
  • fix(compile): respect compiler options for emit (#22521)
  • fix(ext/fs): make errors in tempfile creation clearer (#22498)
  • fix(ext/node): pass alpnProtocols to Deno.startTls (#22512)
  • fix(ext/node): permission prompt for missing process.env permissions
    (#22487)
  • fix(fmt): remove debug output when formatting dynamic imports (#22433)
  • fix(lsp): add schema for JSR related config options (#22497)
  • fix(node/test): disable Deno test sanitizers (#22480)
  • fix(publish): better no-slow-types type discovery (#22517)
  • fix(publish): ignore .DS_Store while publishing (#22478)
  • fix(publish): print files that will be published (#22495)
  • fix: util.parseArgs() missing node:process import (#22405)
  • fix: write lockfile in deno info (#22272)
  • perf(jsr): fast check cache and lazy fast check graph (#22485)
  • perf: linter lsp memory leak fix and deno_graph executor (#22519)
  • perf: strip denort on unix (#22426)

v1.40.5

15 Feb 06:45
2c97831
Compare
Choose a tag to compare

1.40.5 / 2024.02.15

  • feat(lsp): jsr support first pass (#22382)
  • feat(lsp): jsr support with cache probing (#22418)
  • feat(publish): allow passing config flag (#22416)
  • feat(unstable): define config in publish url (#22406)
  • perf: denort binary for deno compile (#22205)
  • fix(console): support NO_COLOR and colors option in all scenarios (#21910)
  • fix(ext/node): export process.umask (#22348)
  • fix(ext/web): Prevent (De-)CompressionStream resource leak on stream
    cancellation (#21199)
  • fix(lsp): complete npm specifier versions correctly (#22332)
  • fix: cache bust jsr deps on constraint failure (#22372)
  • fix: handle non-file scopes in synthetic import map (#22361)
  • fix: lockfile was sometimes getting corrupt when changing config deps (#22359)
  • fix: upgrade to deno_ast 0.33 (#22341)

v1.40.4

08 Feb 12:19
49214d3
Compare
Choose a tag to compare

1.40.4 / 2024.02.08

  • feat(unstable): Deno.FsFile.lock[Sync]() and Deno.FsFile.unlock[Sync]()
    (#22235)
  • feat: ARM64 builds (#22298)
  • fix(cli): Add IP address support to DENO_AUTH_TOKEN (#22297)
  • fix(ext/node): Ensure os.cpus() works on arm64 linux (#22302)
  • fix(ext/node): fix timeout param validation in cp.execFile (#22262)
  • fix(jupyter): ensure op is available (#22240)
  • fix(lint): point to migration docs in deprecated APIs rule (#22338)
  • fix(lsp): disable no-cache diagnostics for jsr specifiers (#22284)
  • fix(node): add cp to fs/promises (#22263)
  • fix(node): handle brotli compression end chunk sizes (#22322)
  • fix(os): total and free memory in bytes (#22247)
  • fix(publish): 'explit' typo (#22296)
  • fix(publish): handle diagnostic outside graph (#22310)
  • fix(publish): lazily parse sources (#22301)
  • fix(publish): use lighter crate for opening browser (#22224)
  • fix(test/regression): handle CLI arg directory using ../ in path (#22244)
  • fix(unstable): validate kv list selector (#22265)
  • fix: Fix segmentation fault in tests on CPUs with PKU support (#22152)
  • fix: Support Symbol.metadata (#22282)
  • fix: enable "--allow-sys=cpus" for "deno run" (#22260)
  • perf: remove duplicate env::current_dir call in package.json search (#22255)

v1.40.3

01 Feb 08:19
887fd59
Compare
Choose a tag to compare

1.40.3 / 2024.02.01

  • Revert "refactor(cli): use new sanitizer for resources (#22125)" (#22153)
  • feat(unstable): implement navigator.gpu.getPreferredCanvasFormat() (#22149)
  • fix(ext/node): add aes256 algorithm support (#22198)
  • fix(ext/node): limit OpState borrow in op_napi_open (#22151)
  • fix(fs): copyFile NUL path on macOS (#22216)
  • fix(install): forward granular --unstable-* flags (#22164)
  • fix(lockfile): only consider package.json beside lockfile in workspace
    property (#22179)
  • fix(lsp): don't normalize urls in cache command params (#22182)
  • fix(node): util.callbackify (#22200)
  • fix(node): add ppid getter for node:process (#22167)
  • fix(publish): add node specifiers (#22213)
  • fix(publish): rename --no-fast-check to --no-zap (#22214)
  • fix(runtime): return number from op_ppid instead of bigint (#22169)
  • fix: canary for arm64 macos (#22187)

v1.40.2

26 Jan 18:20
9a55a72
Compare
Choose a tag to compare

1.40.2 / 2024.01.26

  • feat(lsp): complete parameters as tab stops and placeholders (#22126)
  • fix(ext/http): smarter handling of Accept-Encoding (#22130)
  • fix(fs): instanceof check for Deno.FsFile (#22121)
  • fix(node): remove deprecation warnings (#22120)
  • fix(testing): add op_spawn_wait mapping in resource sanitizer (#22129)
  • fix: make deprecation warnings less verbose (#22128)

v1.40.1

25 Jan 17:03
b003ece
Compare
Choose a tag to compare

1.40.1 / 2024.01.25

  • fix(lsp): disable experimentalDecorators by default (#22101)

v1.40.0

25 Jan 04:19
9e575a2
Compare
Choose a tag to compare

1.40.0 / 2024.01.25

  • feat(unstable): remove Deno.cron() overload (#22035)
  • feat: improved diagnostics printing (#22049)
  • feat(jupyter): don't require --unstable flag (#21963)
  • feat(lockfile): track JSR and npm dependencies in config file (#22004)
  • feat(lsp): include scope uri in "deno/didChangeDenoConfiguration" (#22002)
  • feat(lsp): send "deno/didChangeDenoConfiguration" on init (#21965)
  • feat(publish): error on invalid external imports (#22088)
  • feat(publish): exclude and include (#22055)
  • feat(publish): give diagnostic on invalid package files (#22082)
  • feat(unstable): add Temporal API support (#21738)
  • feat(unstable): remove Deno.upgradeHttp API (#21856)
  • feat(web): ImageBitmap (#21898)
  • feat: "rejectionhandled" Web event and "rejectionHandled" Node event (#21875)
  • feat: Expand 'imports' section of deno.json (#22087)
  • feat: Stabilize Deno.connect for 'unix' transport (#21937)
  • feat: Stabilize Deno.listen for 'unix' transport (#21938)
  • feat: TC39 decorator proposal support (#22040)
  • feat: Deno.FsFile.dataSync() and Deno.FsFile.dataSyncSync() (#22019)
  • feat: Deno.FsFile.{utime,utimeSync}() and deprecate
    Deno.{futime,futimeSync} (#22070)
  • feat: Deno.{stdin,stdout,stderr}.isTerminal(), deprecate Deno.isatty()
    (#22011)
  • feat: FsFile.sync() and FsFile.syncSync() (#22017)
  • feat: deprecate Deno.serveHttp API (#21874)
  • feat: deprecate Deno.FsFile constructor and Deno.FsFile.rid (#22072)
  • feat: deprecate Deno.FsWatcher.rid (#22074)
  • feat: deprecate Deno.Listener.rid (#22076)
  • feat: deprecate Deno.close() (#22066)
  • feat: deprecate Deno.fstat() and Deno.fstatSync() (#22068)
  • feat: deprecate Deno.ftruncate() and Deno.ftruncateSync() (#22069)
  • feat: deprecate Deno.read() and Deno.readSync() (#22063)
  • feat: deprecate Deno.resources() (#22059)
  • feat: deprecate Deno.seek() and Deno.seekSync() (#22065)
  • feat: deprecate Deno.shutdown() (#22067)
  • feat: deprecate Deno.write() and Deno.writeSync() (#22064)
  • feat: deprecate Deno.{Conn,TcpConn,TlsConn,UnixConn}.rid (#22077)
  • feat: deprecate Deno.{stdin,stdout,stderr}.rid (#22073)
  • feat: deprecate window global (#22057)
  • feat: import.meta.filename and import.meta.dirname (#22061)
  • feat: remove conditional unstable type-checking (#21825)
  • feat: stabilize Deno.Conn.ref/unref (#21890)
  • feat: stabilize Deno.connectTls options and Deno.TlsConn.handshake (#21889)
  • feat: warn when using --unstable, prefer granular flags (#21452)
  • feat: External webgpu surfaces / BYOW (#21835)
  • fix(BREAKING): remove dead --prompt flag (#22038)
  • fix(ext/cron): automatically override unspecified values (#22042)
  • fix(ext/node): fix no arg call of fs.promises.readFile (#22030)
  • fix(info): return proper exit code on error (#21952)
  • fix(lsp): improved npm specifier to import map entry mapping (#22016)
  • fix(lsp): regression - formatting was broken on windows (#21972)
  • fix(node): remove use of non existing FunctionPrototypeApply primordial
    (#21986)
  • fix(node): update req.socket on WS upgrade (#21984)
  • fix(node): use cppgc for managing X509Certificate (#21999)
  • fix(node/fs): promises not exporting fs constants (#21997)
  • fix(node/http): remoteAddress and remotePort not being set (#21998)
  • fix(types): align global deno worker type with deno.worker/webworker one
    (#21936)

v1.39.4

14 Jan 01:30
be4d0b7
Compare
Choose a tag to compare

1.39.4 / 2024.01.13

  • fix(config): regression - handle relative patterns with leading dot slash
    (#21922)
  • fix(check): should not panic when all specified files excluded (#21929)

v1.39.3

12 Jan 16:57
aa23ccd
Compare
Choose a tag to compare

1.39.3 / 2024.01.12

  • feat(unstable): fast subset type checking of JSR dependencies (#21873)
  • fix(ci): update copright year for _fs_cp.js (#21803)
  • fix(cli): update import map url (#21824)
  • fix(compile): preserve granular unstable features (#21827)
  • fix(ext): enable prefer-primordials for internal TypeScript (#21813)
  • fix(ext/crypto): initial support for p521 in generateKey and importKey
    (#21815)
  • fix(ext/node): add WriteStream.isTTY (#21801)
  • fix(ext/node): add fs.cp, fs.cpSync, promises.cp (#21745)
  • fix(ext/websocket): pass on uncaught errors in idleTimeout (#21846)
  • fix(fast_check): analyze identifiers in type assertions/as exprs (#21899)
  • fix(kv): improve .listenQueue types (#21781)
  • fix(lsp): implement host.getGlobalTypingsCacheLocation() (#21882)
  • fix(lsp): show test code lens for template literal names (#21798)
  • fix(lsp): use a dedicated thread for the parent process checker (#21869)
  • fix(registry): wait for already pending publish (#21663)
  • fix(task): do not eagerly auto-install packages in package.json when
    "nodeModulesDir": false (#21858)
  • fix(unstable/tar): skip node_modules, .git, and config "exclude" (#21816)
  • fix(web): use rustyline for prompt (#21893)
  • fix: add EventSource typings (#21908)
  • fix: android support (#19437)
  • fix: cjs export rewritten to invalid identifier (#21853)
  • fix: update deno_lint and swc (#21718)
  • perf(lsp): use host-owned cache for auto-import completions (#21852)
  • perf: skip expanding exclude globs (#21817)

v1.39.2

05 Jan 00:21
6af25c0
Compare
Choose a tag to compare

1.39.2 / 2024.01.04

  • Revert "fix(runtime): Make native modal keyboard interaction consistent with
    browsers" (#21739)
  • feat(lsp): allow to connect V8 inspector (#21482)
  • feat(lsp): cache jsxImportSource automatically (#21687)
  • feat(unstable): only allow http2 for kv remote backend (#21616)
  • fix(ci): copyright year for console_test.ts (#21787)
  • fix(cli): harden permission stdio check (#21778)
  • fix(cli): make signals tests more reliable (#21772)
  • fix(cli): respect exclude option for deno check command (#21779)
  • fix(ext/http): use arraybuffer binaryType for server websocket (#21741)
  • fix(ext/node): Implement aes-192-ecb and aes-256-ecb (#21710)
  • fix(ext/node): UdpSocket ref and unref (#21777)
  • fix(ext/node): add ClientRequest#setNoDelay (#21694)
  • fix(ext/node): add process.abort() (#21742)
  • fix(ext/node): implement os.machine (#21751)
  • fix(ext/node): querystring stringify without encode callback (#21740)
  • fix(ext/node): use node:process in _streams.mjs (#21755)
  • fix(http_client): Fix Deno.createHttpClient to accept poolIdleTimeout
    parameter (#21603)
  • fix(jupyter): error message when install fails due to jupyter command not
    being on PATH (#21767)
  • fix(lsp): support test code lens for Deno.test.{ignore,only}() (#21775)
  • fix(node): Implement os.cpus() (#21697)
  • fix(node): support nested tests in "node:test" (#21717)
  • fix(node/zlib): accept dataview and buffer in zlib bindings (#21756)
  • fix(node/zlib): cast Dataview and Buffer to uint8 (#21746)
  • fix(node/zlib): consistently return buffer (#21747)
  • fix(unstable): kv watch should stop when db is closed (#21665)
  • fix(unstable/byonm): support using an import map with byonm (#21786)
  • fix: Object.groupBy return type should be a partial (#21680)
  • fix: allow npm: specifiers in import.meta.resolve (#21716)
  • fix: strict type check for cross realms (#21669)
  • perf(coverage): faster source mapping (#21783)
  • perf(lsp): use LanguageServiceHost::getProjectVersion() (#21719)
  • perf: remove opAsync (#21690)