From bd7a6bb0161c3f75785dc6431220c20f0d50c8fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Wed, 6 Dec 2023 01:53:16 +0100 Subject: [PATCH] chore: forward v1.38.5 release commit to main (#21472) Co-authored-by: denobot <33910674+denobot@users.noreply.github.com> --- .github/workflows/ci.generate.ts | 2 +- .github/workflows/ci.yml | 8 ++-- Cargo.lock | 48 ++++++++++----------- Cargo.toml | 46 ++++++++++---------- Releases.md | 8 ++++ bench_util/Cargo.toml | 2 +- cli/Cargo.toml | 2 +- cli/napi/sym/Cargo.toml | 2 +- cli/tests/unit/kv_queue_undelivered_test.ts | 18 ++++---- ext/broadcast_channel/Cargo.toml | 2 +- ext/cache/Cargo.toml | 2 +- ext/console/Cargo.toml | 2 +- ext/cron/Cargo.toml | 2 +- ext/crypto/Cargo.toml | 2 +- ext/fetch/Cargo.toml | 2 +- ext/ffi/Cargo.toml | 2 +- ext/fs/Cargo.toml | 2 +- ext/http/Cargo.toml | 2 +- ext/io/Cargo.toml | 2 +- ext/kv/Cargo.toml | 2 +- ext/napi/Cargo.toml | 2 +- ext/net/Cargo.toml | 2 +- ext/node/Cargo.toml | 2 +- ext/tls/Cargo.toml | 2 +- ext/url/Cargo.toml | 2 +- ext/web/Cargo.toml | 2 +- ext/webidl/Cargo.toml | 2 +- ext/websocket/Cargo.toml | 2 +- ext/webstorage/Cargo.toml | 2 +- runtime/Cargo.toml | 2 +- 30 files changed, 94 insertions(+), 84 deletions(-) diff --git a/.github/workflows/ci.generate.ts b/.github/workflows/ci.generate.ts index e1729b34be51d9..37a473cab79ae5 100755 --- a/.github/workflows/ci.generate.ts +++ b/.github/workflows/ci.generate.ts @@ -5,7 +5,7 @@ import * as yaml from "https://deno.land/std@0.173.0/encoding/yaml.ts"; // Bump this number when you want to purge the cache. // Note: the tools/release/01_bump_crate_versions.ts script will update this version // automatically via regex, so ensure that this line maintains this format. -const cacheVersion = 61; +const cacheVersion = 62; const ubuntuRunner = "ubuntu-22.04"; const ubuntuXlRunner = "ubuntu-22.04-xl"; diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 756a3ff94b1f05..88e194b0cc7a4a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -329,8 +329,8 @@ jobs: path: |- ~/.cargo/registry/index ~/.cargo/registry/cache - key: '61-cargo-home-${{ matrix.os }}-${{ hashFiles(''Cargo.lock'') }}' - restore-keys: '61-cargo-home-${{ matrix.os }}' + key: '62-cargo-home-${{ matrix.os }}-${{ hashFiles(''Cargo.lock'') }}' + restore-keys: '62-cargo-home-${{ matrix.os }}' if: '!(matrix.skip)' - name: Restore cache build output (PR) uses: actions/cache/restore@v3 @@ -342,7 +342,7 @@ jobs: !./target/*/*.zip !./target/*/*.tar.gz key: never_saved - restore-keys: '61-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ matrix.job }}-' + restore-keys: '62-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ matrix.job }}-' - name: Apply and update mtime cache if: '!(matrix.skip) && (!startsWith(github.ref, ''refs/tags/''))' uses: ./.github/mtime_cache @@ -639,7 +639,7 @@ jobs: !./target/*/gn_out !./target/*/*.zip !./target/*/*.tar.gz - key: '61-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ matrix.job }}-${{ github.sha }}' + key: '62-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ matrix.job }}-${{ github.sha }}' publish-canary: name: publish canary runs-on: ubuntu-22.04 diff --git a/Cargo.lock b/Cargo.lock index 4a645ac0a5b905..1c3fdb16843ba8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -851,7 +851,7 @@ dependencies = [ [[package]] name = "deno" -version = "1.38.4" +version = "1.38.5" dependencies = [ "async-trait", "base32", @@ -993,7 +993,7 @@ dependencies = [ [[package]] name = "deno_bench_util" -version = "0.120.0" +version = "0.121.0" dependencies = [ "bencher", "deno_core", @@ -1003,7 +1003,7 @@ dependencies = [ [[package]] name = "deno_broadcast_channel" -version = "0.120.0" +version = "0.121.0" dependencies = [ "async-trait", "deno_core", @@ -1013,7 +1013,7 @@ dependencies = [ [[package]] name = "deno_cache" -version = "0.58.0" +version = "0.59.0" dependencies = [ "async-trait", "deno_core", @@ -1060,7 +1060,7 @@ dependencies = [ [[package]] name = "deno_console" -version = "0.126.0" +version = "0.127.0" dependencies = [ "deno_core", ] @@ -1093,7 +1093,7 @@ dependencies = [ [[package]] name = "deno_cron" -version = "0.6.0" +version = "0.7.0" dependencies = [ "anyhow", "async-trait", @@ -1106,7 +1106,7 @@ dependencies = [ [[package]] name = "deno_crypto" -version = "0.140.0" +version = "0.141.0" dependencies = [ "aes", "aes-gcm", @@ -1179,7 +1179,7 @@ dependencies = [ [[package]] name = "deno_fetch" -version = "0.150.0" +version = "0.151.0" dependencies = [ "bytes", "data-url", @@ -1196,7 +1196,7 @@ dependencies = [ [[package]] name = "deno_ffi" -version = "0.113.0" +version = "0.114.0" dependencies = [ "deno_core", "dlopen2", @@ -1212,7 +1212,7 @@ dependencies = [ [[package]] name = "deno_fs" -version = "0.36.0" +version = "0.37.0" dependencies = [ "async-trait", "deno_core", @@ -1255,7 +1255,7 @@ dependencies = [ [[package]] name = "deno_http" -version = "0.123.0" +version = "0.124.0" dependencies = [ "async-compression", "async-trait", @@ -1292,7 +1292,7 @@ dependencies = [ [[package]] name = "deno_io" -version = "0.36.0" +version = "0.37.0" dependencies = [ "async-trait", "deno_core", @@ -1305,7 +1305,7 @@ dependencies = [ [[package]] name = "deno_kv" -version = "0.34.0" +version = "0.35.0" dependencies = [ "anyhow", "async-trait", @@ -1377,7 +1377,7 @@ dependencies = [ [[package]] name = "deno_napi" -version = "0.56.0" +version = "0.57.0" dependencies = [ "deno_core", "libloading", @@ -1398,7 +1398,7 @@ dependencies = [ [[package]] name = "deno_net" -version = "0.118.0" +version = "0.119.0" dependencies = [ "deno_core", "deno_tls", @@ -1415,7 +1415,7 @@ dependencies = [ [[package]] name = "deno_node" -version = "0.63.0" +version = "0.64.0" dependencies = [ "aead-gcm-stream", "aes", @@ -1510,7 +1510,7 @@ dependencies = [ [[package]] name = "deno_runtime" -version = "0.134.0" +version = "0.135.0" dependencies = [ "console_static_text", "deno_ast", @@ -1596,7 +1596,7 @@ dependencies = [ [[package]] name = "deno_tls" -version = "0.113.0" +version = "0.114.0" dependencies = [ "deno_core", "deno_native_certs", @@ -1628,7 +1628,7 @@ dependencies = [ [[package]] name = "deno_url" -version = "0.126.0" +version = "0.127.0" dependencies = [ "deno_bench_util", "deno_console", @@ -1640,7 +1640,7 @@ dependencies = [ [[package]] name = "deno_web" -version = "0.157.0" +version = "0.158.0" dependencies = [ "async-trait", "base64-simd", @@ -1661,7 +1661,7 @@ dependencies = [ [[package]] name = "deno_webidl" -version = "0.126.0" +version = "0.127.0" dependencies = [ "deno_bench_util", "deno_core", @@ -1669,7 +1669,7 @@ dependencies = [ [[package]] name = "deno_websocket" -version = "0.131.0" +version = "0.132.0" dependencies = [ "bytes", "deno_core", @@ -1687,7 +1687,7 @@ dependencies = [ [[package]] name = "deno_webstorage" -version = "0.121.0" +version = "0.122.0" dependencies = [ "deno_core", "deno_web", @@ -3334,7 +3334,7 @@ dependencies = [ [[package]] name = "napi_sym" -version = "0.56.0" +version = "0.57.0" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index 743cfe78f73cb2..07c56eee95b300 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,9 +42,9 @@ repository = "https://github.com/denoland/deno" deno_ast = { version = "0.31.6", features = ["transpiling"] } deno_core = { version = "0.234.0" } -deno_runtime = { version = "0.134.0", path = "./runtime" } -napi_sym = { version = "0.56.0", path = "./cli/napi/sym" } -deno_bench_util = { version = "0.120.0", path = "./bench_util" } +deno_runtime = { version = "0.135.0", path = "./runtime" } +napi_sym = { version = "0.57.0", path = "./cli/napi/sym" } +deno_bench_util = { version = "0.121.0", path = "./bench_util" } test_util = { path = "./test_util" } deno_lockfile = "0.17.2" deno_media_type = { version = "0.1.1", features = ["module_specifier"] } @@ -55,26 +55,26 @@ denokv_sqlite = { default-features = false, version = "0.5.0" } denokv_remote = "0.5.0" # exts -deno_broadcast_channel = { version = "0.120.0", path = "./ext/broadcast_channel" } -deno_cache = { version = "0.58.0", path = "./ext/cache" } -deno_console = { version = "0.126.0", path = "./ext/console" } -deno_cron = { version = "0.6.0", path = "./ext/cron" } -deno_crypto = { version = "0.140.0", path = "./ext/crypto" } -deno_fetch = { version = "0.150.0", path = "./ext/fetch" } -deno_ffi = { version = "0.113.0", path = "./ext/ffi" } -deno_fs = { version = "0.36.0", path = "./ext/fs" } -deno_http = { version = "0.123.0", path = "./ext/http" } -deno_io = { version = "0.36.0", path = "./ext/io" } -deno_net = { version = "0.118.0", path = "./ext/net" } -deno_node = { version = "0.63.0", path = "./ext/node" } -deno_kv = { version = "0.34.0", path = "./ext/kv" } -deno_tls = { version = "0.113.0", path = "./ext/tls" } -deno_url = { version = "0.126.0", path = "./ext/url" } -deno_web = { version = "0.157.0", path = "./ext/web" } -deno_webidl = { version = "0.126.0", path = "./ext/webidl" } -deno_websocket = { version = "0.131.0", path = "./ext/websocket" } -deno_webstorage = { version = "0.121.0", path = "./ext/webstorage" } -deno_napi = { version = "0.56.0", path = "./ext/napi" } +deno_broadcast_channel = { version = "0.121.0", path = "./ext/broadcast_channel" } +deno_cache = { version = "0.59.0", path = "./ext/cache" } +deno_console = { version = "0.127.0", path = "./ext/console" } +deno_cron = { version = "0.7.0", path = "./ext/cron" } +deno_crypto = { version = "0.141.0", path = "./ext/crypto" } +deno_fetch = { version = "0.151.0", path = "./ext/fetch" } +deno_ffi = { version = "0.114.0", path = "./ext/ffi" } +deno_fs = { version = "0.37.0", path = "./ext/fs" } +deno_http = { version = "0.124.0", path = "./ext/http" } +deno_io = { version = "0.37.0", path = "./ext/io" } +deno_net = { version = "0.119.0", path = "./ext/net" } +deno_node = { version = "0.64.0", path = "./ext/node" } +deno_kv = { version = "0.35.0", path = "./ext/kv" } +deno_tls = { version = "0.114.0", path = "./ext/tls" } +deno_url = { version = "0.127.0", path = "./ext/url" } +deno_web = { version = "0.158.0", path = "./ext/web" } +deno_webidl = { version = "0.127.0", path = "./ext/webidl" } +deno_websocket = { version = "0.132.0", path = "./ext/websocket" } +deno_webstorage = { version = "0.122.0", path = "./ext/webstorage" } +deno_napi = { version = "0.57.0", path = "./ext/napi" } aes = "=0.8.3" anyhow = "1.0.57" diff --git a/Releases.md b/Releases.md index 7acd8917dc7df8..ba1a51993313eb 100644 --- a/Releases.md +++ b/Releases.md @@ -6,6 +6,14 @@ https://github.com/denoland/deno/releases We also have one-line install commands at: https://github.com/denoland/deno_install +### 1.38.5 / 2023.12.05 + +- feat(unstable): kv.watch() (#21147) +- perf(lsp): better op performance logging (#21423) +- perf(lsp): check tsc request cancellation before execution (#21447) +- perf(lsp): fix redundant clones for ts responses (#21445) +- perf(lsp): fix redundant serialization of sources (#21435) + ### 1.38.4 / 2023.11.30 - fix(node): `spawnSync`'s `status` was incorrect (#21359) diff --git a/bench_util/Cargo.toml b/bench_util/Cargo.toml index 169a508ac9c098..2535e678869661 100644 --- a/bench_util/Cargo.toml +++ b/bench_util/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_bench_util" -version = "0.120.0" +version = "0.121.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 4873a21ccba4bd..82aedcec0023cd 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno" -version = "1.38.4" +version = "1.38.5" authors.workspace = true default-run = "deno" edition.workspace = true diff --git a/cli/napi/sym/Cargo.toml b/cli/napi/sym/Cargo.toml index 9966a24eb50101..7ab2056624fa90 100644 --- a/cli/napi/sym/Cargo.toml +++ b/cli/napi/sym/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "napi_sym" -version = "0.56.0" +version = "0.57.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/cli/tests/unit/kv_queue_undelivered_test.ts b/cli/tests/unit/kv_queue_undelivered_test.ts index c2c02905c99541..2b1a2b0aa18ce7 100644 --- a/cli/tests/unit/kv_queue_undelivered_test.ts +++ b/cli/tests/unit/kv_queue_undelivered_test.ts @@ -3,18 +3,20 @@ import { assertEquals } from "./test_util.ts"; const sleep = (time: number) => new Promise((r) => setTimeout(r, time)); -let isCI: boolean; -try { - isCI = Deno.env.get("CI") !== undefined; -} catch { - isCI = true; -} +// TODO(igorzi): https://github.com/denoland/deno/issues/21437 +// let isCI: boolean; +// try { +// isCI = Deno.env.get("CI") !== undefined; +// } catch { +// isCI = true; +// } function queueTest(name: string, fn: (db: Deno.Kv) => Promise) { - Deno.test({ + // TODO(igorzi): https://github.com/denoland/deno/issues/21437 + Deno.test.ignore({ name, // https://github.com/denoland/deno/issues/18363 - ignore: Deno.build.os === "darwin" && isCI, + // ignore: Deno.build.os === "darwin" && isCI, async fn() { const db: Deno.Kv = await Deno.openKv( ":memory:", diff --git a/ext/broadcast_channel/Cargo.toml b/ext/broadcast_channel/Cargo.toml index 0413de04386f69..89a0eeb0374dc5 100644 --- a/ext/broadcast_channel/Cargo.toml +++ b/ext/broadcast_channel/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_broadcast_channel" -version = "0.120.0" +version = "0.121.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/cache/Cargo.toml b/ext/cache/Cargo.toml index 1fad0f08457d62..1beb1235c7beef 100644 --- a/ext/cache/Cargo.toml +++ b/ext/cache/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_cache" -version = "0.58.0" +version = "0.59.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/console/Cargo.toml b/ext/console/Cargo.toml index 90a61af24fe572..bef4308aa778cb 100644 --- a/ext/console/Cargo.toml +++ b/ext/console/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_console" -version = "0.126.0" +version = "0.127.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/cron/Cargo.toml b/ext/cron/Cargo.toml index 50ddcf4d6c31f1..c528c4804af7c3 100644 --- a/ext/cron/Cargo.toml +++ b/ext/cron/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_cron" -version = "0.6.0" +version = "0.7.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/crypto/Cargo.toml b/ext/crypto/Cargo.toml index 61e4bd24533c58..301f4cf9b1f097 100644 --- a/ext/crypto/Cargo.toml +++ b/ext/crypto/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_crypto" -version = "0.140.0" +version = "0.141.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/fetch/Cargo.toml b/ext/fetch/Cargo.toml index ede514b97d4578..bca947d5908112 100644 --- a/ext/fetch/Cargo.toml +++ b/ext/fetch/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_fetch" -version = "0.150.0" +version = "0.151.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/ffi/Cargo.toml b/ext/ffi/Cargo.toml index 385ac29f767296..858e03df26ce75 100644 --- a/ext/ffi/Cargo.toml +++ b/ext/ffi/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_ffi" -version = "0.113.0" +version = "0.114.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/fs/Cargo.toml b/ext/fs/Cargo.toml index f260df28d0eff8..db64f8ce7fe8e5 100644 --- a/ext/fs/Cargo.toml +++ b/ext/fs/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_fs" -version = "0.36.0" +version = "0.37.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/http/Cargo.toml b/ext/http/Cargo.toml index 67bcc34d96d2bc..2b873b05099a80 100644 --- a/ext/http/Cargo.toml +++ b/ext/http/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_http" -version = "0.123.0" +version = "0.124.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/io/Cargo.toml b/ext/io/Cargo.toml index a6c40d3a5de959..e6bae79d5ee37e 100644 --- a/ext/io/Cargo.toml +++ b/ext/io/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_io" -version = "0.36.0" +version = "0.37.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/kv/Cargo.toml b/ext/kv/Cargo.toml index 6a6b00885ab075..c100b3e0fbeab8 100644 --- a/ext/kv/Cargo.toml +++ b/ext/kv/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_kv" -version = "0.34.0" +version = "0.35.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/napi/Cargo.toml b/ext/napi/Cargo.toml index 6445c7878e7720..7c3f7b0c9e4a6b 100644 --- a/ext/napi/Cargo.toml +++ b/ext/napi/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_napi" -version = "0.56.0" +version = "0.57.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/net/Cargo.toml b/ext/net/Cargo.toml index ee3fd595aa8cd6..9f54ab48c8e829 100644 --- a/ext/net/Cargo.toml +++ b/ext/net/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_net" -version = "0.118.0" +version = "0.119.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/node/Cargo.toml b/ext/node/Cargo.toml index 11bbfef2d49546..1393c82c093d59 100644 --- a/ext/node/Cargo.toml +++ b/ext/node/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_node" -version = "0.63.0" +version = "0.64.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/tls/Cargo.toml b/ext/tls/Cargo.toml index 34cbbe99734ca1..508da6899d888f 100644 --- a/ext/tls/Cargo.toml +++ b/ext/tls/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_tls" -version = "0.113.0" +version = "0.114.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/url/Cargo.toml b/ext/url/Cargo.toml index 5938c427a4db93..8db94fe3d00e08 100644 --- a/ext/url/Cargo.toml +++ b/ext/url/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_url" -version = "0.126.0" +version = "0.127.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/web/Cargo.toml b/ext/web/Cargo.toml index 21c813659b8e71..3c0d4455e3cfb2 100644 --- a/ext/web/Cargo.toml +++ b/ext/web/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_web" -version = "0.157.0" +version = "0.158.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/webidl/Cargo.toml b/ext/webidl/Cargo.toml index 31cc7c88909f07..72fe0a23ebfba3 100644 --- a/ext/webidl/Cargo.toml +++ b/ext/webidl/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_webidl" -version = "0.126.0" +version = "0.127.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/websocket/Cargo.toml b/ext/websocket/Cargo.toml index feb99653483767..13d269568d7148 100644 --- a/ext/websocket/Cargo.toml +++ b/ext/websocket/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_websocket" -version = "0.131.0" +version = "0.132.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/webstorage/Cargo.toml b/ext/webstorage/Cargo.toml index 0e8b5a075e14ab..fa0015f95e28ae 100644 --- a/ext/webstorage/Cargo.toml +++ b/ext/webstorage/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_webstorage" -version = "0.121.0" +version = "0.122.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 8eda96933302d1..b8c012f63ba24e 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_runtime" -version = "0.134.0" +version = "0.135.0" authors.workspace = true edition.workspace = true license.workspace = true