From 9ed713153cf357dbf103dac2b8912729b4d10186 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Fri, 26 Jan 2024 19:59:16 +0100 Subject: [PATCH] chore: forward v1.40.2 commit to main (#22133) Co-authored-by: denobot <33910674+denobot@users.noreply.github.com> Co-authored-by: bartlomieju --- .github/workflows/ci.generate.ts | 2 +- .github/workflows/ci.yml | 8 ++--- Cargo.lock | 52 ++++++++++++++++---------------- Cargo.toml | 50 +++++++++++++++--------------- Releases.md | 9 ++++++ bench_util/Cargo.toml | 2 +- cli/Cargo.toml | 2 +- cli/napi/sym/Cargo.toml | 2 +- ext/broadcast_channel/Cargo.toml | 2 +- ext/cache/Cargo.toml | 2 +- ext/canvas/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/webgpu/Cargo.toml | 2 +- ext/webidl/Cargo.toml | 2 +- ext/websocket/Cargo.toml | 2 +- ext/webstorage/Cargo.toml | 2 +- runtime/Cargo.toml | 2 +- 31 files changed, 91 insertions(+), 82 deletions(-) diff --git a/.github/workflows/ci.generate.ts b/.github/workflows/ci.generate.ts index d203c2f5e7..6d9997eff5 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 = 71; +const cacheVersion = 72; const ubuntuRunner = "ubuntu-22.04"; const ubuntuXlRunner = "ubuntu-22.04-xl"; diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 45d0d8dd96..b2d9265a1d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -330,8 +330,8 @@ jobs: path: |- ~/.cargo/registry/index ~/.cargo/registry/cache - key: '71-cargo-home-${{ matrix.os }}-${{ hashFiles(''Cargo.lock'') }}' - restore-keys: '71-cargo-home-${{ matrix.os }}' + key: '72-cargo-home-${{ matrix.os }}-${{ hashFiles(''Cargo.lock'') }}' + restore-keys: '72-cargo-home-${{ matrix.os }}' if: '!(matrix.skip)' - name: Restore cache build output (PR) uses: actions/cache/restore@v3 @@ -343,7 +343,7 @@ jobs: !./target/*/*.zip !./target/*/*.tar.gz key: never_saved - restore-keys: '71-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ matrix.job }}-' + restore-keys: '72-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 @@ -640,7 +640,7 @@ jobs: !./target/*/gn_out !./target/*/*.zip !./target/*/*.tar.gz - key: '71-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ matrix.job }}-${{ github.sha }}' + key: '72-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 c9eea78975..fa3f6de9b5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -964,7 +964,7 @@ dependencies = [ [[package]] name = "deno" -version = "1.40.1" +version = "1.40.2" dependencies = [ "async-trait", "base32", @@ -1110,7 +1110,7 @@ dependencies = [ [[package]] name = "deno_bench_util" -version = "0.128.0" +version = "0.129.0" dependencies = [ "bencher", "deno_core", @@ -1120,7 +1120,7 @@ dependencies = [ [[package]] name = "deno_broadcast_channel" -version = "0.128.0" +version = "0.129.0" dependencies = [ "async-trait", "deno_core", @@ -1130,7 +1130,7 @@ dependencies = [ [[package]] name = "deno_cache" -version = "0.66.0" +version = "0.67.0" dependencies = [ "async-trait", "deno_core", @@ -1161,7 +1161,7 @@ dependencies = [ [[package]] name = "deno_canvas" -version = "0.3.0" +version = "0.4.0" dependencies = [ "deno_core", "deno_webgpu", @@ -1189,7 +1189,7 @@ dependencies = [ [[package]] name = "deno_console" -version = "0.134.0" +version = "0.135.0" dependencies = [ "deno_core", ] @@ -1233,7 +1233,7 @@ checksum = "a13951ea98c0a4c372f162d669193b4c9d991512de9f2381dd161027f34b26b1" [[package]] name = "deno_cron" -version = "0.14.0" +version = "0.15.0" dependencies = [ "anyhow", "async-trait", @@ -1246,7 +1246,7 @@ dependencies = [ [[package]] name = "deno_crypto" -version = "0.148.0" +version = "0.149.0" dependencies = [ "aes", "aes-gcm", @@ -1329,7 +1329,7 @@ dependencies = [ [[package]] name = "deno_fetch" -version = "0.158.0" +version = "0.159.0" dependencies = [ "bytes", "data-url", @@ -1347,7 +1347,7 @@ dependencies = [ [[package]] name = "deno_ffi" -version = "0.121.0" +version = "0.122.0" dependencies = [ "deno_core", "dlopen2", @@ -1363,7 +1363,7 @@ dependencies = [ [[package]] name = "deno_fs" -version = "0.44.0" +version = "0.45.0" dependencies = [ "async-trait", "deno_core", @@ -1407,7 +1407,7 @@ dependencies = [ [[package]] name = "deno_http" -version = "0.131.0" +version = "0.132.0" dependencies = [ "async-compression", "async-trait", @@ -1446,7 +1446,7 @@ dependencies = [ [[package]] name = "deno_io" -version = "0.44.0" +version = "0.45.0" dependencies = [ "async-trait", "deno_core", @@ -1459,7 +1459,7 @@ dependencies = [ [[package]] name = "deno_kv" -version = "0.42.0" +version = "0.43.0" dependencies = [ "anyhow", "async-trait", @@ -1531,7 +1531,7 @@ dependencies = [ [[package]] name = "deno_napi" -version = "0.64.0" +version = "0.65.0" dependencies = [ "deno_core", "libloading 0.7.4", @@ -1552,7 +1552,7 @@ dependencies = [ [[package]] name = "deno_net" -version = "0.126.0" +version = "0.127.0" dependencies = [ "deno_core", "deno_tls", @@ -1569,7 +1569,7 @@ dependencies = [ [[package]] name = "deno_node" -version = "0.71.0" +version = "0.72.0" dependencies = [ "aead-gcm-stream", "aes", @@ -1668,7 +1668,7 @@ dependencies = [ [[package]] name = "deno_runtime" -version = "0.142.0" +version = "0.143.0" dependencies = [ "console_static_text", "deno_ast", @@ -1761,7 +1761,7 @@ dependencies = [ [[package]] name = "deno_tls" -version = "0.121.0" +version = "0.122.0" dependencies = [ "deno_core", "deno_native_certs", @@ -1793,7 +1793,7 @@ dependencies = [ [[package]] name = "deno_url" -version = "0.134.0" +version = "0.135.0" dependencies = [ "deno_bench_util", "deno_console", @@ -1805,7 +1805,7 @@ dependencies = [ [[package]] name = "deno_web" -version = "0.165.0" +version = "0.166.0" dependencies = [ "async-trait", "base64-simd", @@ -1826,7 +1826,7 @@ dependencies = [ [[package]] name = "deno_webgpu" -version = "0.101.0" +version = "0.102.0" dependencies = [ "deno_core", "raw-window-handle", @@ -1839,7 +1839,7 @@ dependencies = [ [[package]] name = "deno_webidl" -version = "0.134.0" +version = "0.135.0" dependencies = [ "deno_bench_util", "deno_core", @@ -1847,7 +1847,7 @@ dependencies = [ [[package]] name = "deno_websocket" -version = "0.139.0" +version = "0.140.0" dependencies = [ "bytes", "deno_core", @@ -1867,7 +1867,7 @@ dependencies = [ [[package]] name = "deno_webstorage" -version = "0.129.0" +version = "0.130.0" dependencies = [ "deno_core", "deno_web", @@ -3855,7 +3855,7 @@ dependencies = [ [[package]] name = "napi_sym" -version = "0.64.0" +version = "0.65.0" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index 73ed9362d0..6868fac1fb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -44,11 +44,11 @@ repository = "https://github.com/denoland/deno" deno_ast = { version = "0.32.0", features = ["transpiling"] } deno_core = { version = "0.254.0" } -deno_bench_util = { version = "0.128.0", path = "./bench_util" } +deno_bench_util = { version = "0.129.0", path = "./bench_util" } deno_lockfile = "0.18.0" deno_media_type = { version = "0.1.1", features = ["module_specifier"] } -deno_runtime = { version = "0.142.0", path = "./runtime" } -napi_sym = { version = "0.64.0", path = "./cli/napi/sym" } +deno_runtime = { version = "0.143.0", path = "./runtime" } +napi_sym = { version = "0.65.0", path = "./cli/napi/sym" } test_util = { path = "./test_util" } denokv_proto = "0.5.0" @@ -57,28 +57,28 @@ denokv_remote = "0.5.0" denokv_sqlite = { default-features = false, version = "0.5.0" } # exts -deno_broadcast_channel = { version = "0.128.0", path = "./ext/broadcast_channel" } -deno_cache = { version = "0.66.0", path = "./ext/cache" } -deno_canvas = { version = "0.3.0", path = "./ext/canvas" } -deno_console = { version = "0.134.0", path = "./ext/console" } -deno_cron = { version = "0.14.0", path = "./ext/cron" } -deno_crypto = { version = "0.148.0", path = "./ext/crypto" } -deno_fetch = { version = "0.158.0", path = "./ext/fetch" } -deno_ffi = { version = "0.121.0", path = "./ext/ffi" } -deno_fs = { version = "0.44.0", path = "./ext/fs" } -deno_http = { version = "0.131.0", path = "./ext/http" } -deno_io = { version = "0.44.0", path = "./ext/io" } -deno_kv = { version = "0.42.0", path = "./ext/kv" } -deno_napi = { version = "0.64.0", path = "./ext/napi" } -deno_net = { version = "0.126.0", path = "./ext/net" } -deno_node = { version = "0.71.0", path = "./ext/node" } -deno_tls = { version = "0.121.0", path = "./ext/tls" } -deno_url = { version = "0.134.0", path = "./ext/url" } -deno_web = { version = "0.165.0", path = "./ext/web" } -deno_webgpu = { version = "0.101.0", path = "./ext/webgpu" } -deno_webidl = { version = "0.134.0", path = "./ext/webidl" } -deno_websocket = { version = "0.139.0", path = "./ext/websocket" } -deno_webstorage = { version = "0.129.0", path = "./ext/webstorage" } +deno_broadcast_channel = { version = "0.129.0", path = "./ext/broadcast_channel" } +deno_cache = { version = "0.67.0", path = "./ext/cache" } +deno_canvas = { version = "0.4.0", path = "./ext/canvas" } +deno_console = { version = "0.135.0", path = "./ext/console" } +deno_cron = { version = "0.15.0", path = "./ext/cron" } +deno_crypto = { version = "0.149.0", path = "./ext/crypto" } +deno_fetch = { version = "0.159.0", path = "./ext/fetch" } +deno_ffi = { version = "0.122.0", path = "./ext/ffi" } +deno_fs = { version = "0.45.0", path = "./ext/fs" } +deno_http = { version = "0.132.0", path = "./ext/http" } +deno_io = { version = "0.45.0", path = "./ext/io" } +deno_kv = { version = "0.43.0", path = "./ext/kv" } +deno_napi = { version = "0.65.0", path = "./ext/napi" } +deno_net = { version = "0.127.0", path = "./ext/net" } +deno_node = { version = "0.72.0", path = "./ext/node" } +deno_tls = { version = "0.122.0", path = "./ext/tls" } +deno_url = { version = "0.135.0", path = "./ext/url" } +deno_web = { version = "0.166.0", path = "./ext/web" } +deno_webgpu = { version = "0.102.0", path = "./ext/webgpu" } +deno_webidl = { version = "0.135.0", path = "./ext/webidl" } +deno_websocket = { version = "0.140.0", path = "./ext/websocket" } +deno_webstorage = { version = "0.130.0", path = "./ext/webstorage" } aes = "=0.8.3" anyhow = "1.0.57" diff --git a/Releases.md b/Releases.md index 12a6ec7cb9..5a9244def5 100644 --- a/Releases.md +++ b/Releases.md @@ -6,6 +6,15 @@ https://github.com/denoland/deno/releases We also have one-line install commands at: https://github.com/denoland/deno_install +### 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) + ### 1.40.1 / 2024.01.25 - fix(lsp): disable experimentalDecorators by default (#22101) diff --git a/bench_util/Cargo.toml b/bench_util/Cargo.toml index 2e68354585..c80f84b546 100644 --- a/bench_util/Cargo.toml +++ b/bench_util/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_bench_util" -version = "0.128.0" +version = "0.129.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 115d51d0e7..a897b4ca66 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno" -version = "1.40.1" +version = "1.40.2" authors.workspace = true default-run = "deno" edition.workspace = true diff --git a/cli/napi/sym/Cargo.toml b/cli/napi/sym/Cargo.toml index a3dfb6789c..7b159246c4 100644 --- a/cli/napi/sym/Cargo.toml +++ b/cli/napi/sym/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "napi_sym" -version = "0.64.0" +version = "0.65.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/broadcast_channel/Cargo.toml b/ext/broadcast_channel/Cargo.toml index 354cac7518..56ca4a59ac 100644 --- a/ext/broadcast_channel/Cargo.toml +++ b/ext/broadcast_channel/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_broadcast_channel" -version = "0.128.0" +version = "0.129.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/cache/Cargo.toml b/ext/cache/Cargo.toml index 8ee893e0c6..4d83dd3be0 100644 --- a/ext/cache/Cargo.toml +++ b/ext/cache/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_cache" -version = "0.66.0" +version = "0.67.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/canvas/Cargo.toml b/ext/canvas/Cargo.toml index 0a88967de4..54cfee1cca 100644 --- a/ext/canvas/Cargo.toml +++ b/ext/canvas/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_canvas" -version = "0.3.0" +version = "0.4.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/console/Cargo.toml b/ext/console/Cargo.toml index b240070cda..36699bf187 100644 --- a/ext/console/Cargo.toml +++ b/ext/console/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_console" -version = "0.134.0" +version = "0.135.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/cron/Cargo.toml b/ext/cron/Cargo.toml index e060e9ae0e..edee8db31a 100644 --- a/ext/cron/Cargo.toml +++ b/ext/cron/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_cron" -version = "0.14.0" +version = "0.15.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/crypto/Cargo.toml b/ext/crypto/Cargo.toml index 8fe829a797..d184715dce 100644 --- a/ext/crypto/Cargo.toml +++ b/ext/crypto/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_crypto" -version = "0.148.0" +version = "0.149.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/fetch/Cargo.toml b/ext/fetch/Cargo.toml index 497c0fcbd5..fd075ba521 100644 --- a/ext/fetch/Cargo.toml +++ b/ext/fetch/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_fetch" -version = "0.158.0" +version = "0.159.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/ffi/Cargo.toml b/ext/ffi/Cargo.toml index 40eba67424..875718d601 100644 --- a/ext/ffi/Cargo.toml +++ b/ext/ffi/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_ffi" -version = "0.121.0" +version = "0.122.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/fs/Cargo.toml b/ext/fs/Cargo.toml index 52a0d96242..bfa7f98854 100644 --- a/ext/fs/Cargo.toml +++ b/ext/fs/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_fs" -version = "0.44.0" +version = "0.45.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/http/Cargo.toml b/ext/http/Cargo.toml index 84c2ea1eaa..ec2a35ebe9 100644 --- a/ext/http/Cargo.toml +++ b/ext/http/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_http" -version = "0.131.0" +version = "0.132.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/io/Cargo.toml b/ext/io/Cargo.toml index 9e3b62c62a..c897456590 100644 --- a/ext/io/Cargo.toml +++ b/ext/io/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_io" -version = "0.44.0" +version = "0.45.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/kv/Cargo.toml b/ext/kv/Cargo.toml index 5af5214a81..7e6239f4b6 100644 --- a/ext/kv/Cargo.toml +++ b/ext/kv/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_kv" -version = "0.42.0" +version = "0.43.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/napi/Cargo.toml b/ext/napi/Cargo.toml index 62bc6bb34f..85fafb3208 100644 --- a/ext/napi/Cargo.toml +++ b/ext/napi/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_napi" -version = "0.64.0" +version = "0.65.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/net/Cargo.toml b/ext/net/Cargo.toml index 6c2f095119..79c983d737 100644 --- a/ext/net/Cargo.toml +++ b/ext/net/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_net" -version = "0.126.0" +version = "0.127.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/node/Cargo.toml b/ext/node/Cargo.toml index 7473a08156..3fefd7760e 100644 --- a/ext/node/Cargo.toml +++ b/ext/node/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_node" -version = "0.71.0" +version = "0.72.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/tls/Cargo.toml b/ext/tls/Cargo.toml index c1272b0190..c5fa29ed2e 100644 --- a/ext/tls/Cargo.toml +++ b/ext/tls/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_tls" -version = "0.121.0" +version = "0.122.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/url/Cargo.toml b/ext/url/Cargo.toml index d948f6c68e..3dfc7ec272 100644 --- a/ext/url/Cargo.toml +++ b/ext/url/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_url" -version = "0.134.0" +version = "0.135.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/web/Cargo.toml b/ext/web/Cargo.toml index 2c4e54c6fe..27e6fb281a 100644 --- a/ext/web/Cargo.toml +++ b/ext/web/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_web" -version = "0.165.0" +version = "0.166.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/webgpu/Cargo.toml b/ext/webgpu/Cargo.toml index 172d97f532..cc093382c8 100644 --- a/ext/webgpu/Cargo.toml +++ b/ext/webgpu/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_webgpu" -version = "0.101.0" +version = "0.102.0" authors = ["the Deno authors"] edition.workspace = true license = "MIT" diff --git a/ext/webidl/Cargo.toml b/ext/webidl/Cargo.toml index 100a989a4a..0222ff1be4 100644 --- a/ext/webidl/Cargo.toml +++ b/ext/webidl/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_webidl" -version = "0.134.0" +version = "0.135.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/websocket/Cargo.toml b/ext/websocket/Cargo.toml index d320754e60..b271632683 100644 --- a/ext/websocket/Cargo.toml +++ b/ext/websocket/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_websocket" -version = "0.139.0" +version = "0.140.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/webstorage/Cargo.toml b/ext/webstorage/Cargo.toml index 199c081819..88cc5ab6a5 100644 --- a/ext/webstorage/Cargo.toml +++ b/ext/webstorage/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_webstorage" -version = "0.129.0" +version = "0.130.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index b4a2543b7a..93ce991e52 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_runtime" -version = "0.142.0" +version = "0.143.0" authors.workspace = true edition.workspace = true license.workspace = true