From 1ac5fddf54a828f1372e1ff10559d1a4bc70e5c9 Mon Sep 17 00:00:00 2001 From: denobot <33910674+denobot@users.noreply.github.com> Date: Tue, 4 Jul 2023 17:58:01 -0600 Subject: [PATCH] 1.35.0 (#19717) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumped versions for 1.35.0 Co-authored-by: bartlomieju Co-authored-by: Bartek Iwańczuk --- .github/workflows/ci.generate.ts | 2 +- .github/workflows/ci.yml | 8 +++--- Cargo.lock | 46 ++++++++++++++++---------------- Cargo.toml | 44 +++++++++++++++--------------- Releases.md | 36 +++++++++++++++++++++++++ bench_util/Cargo.toml | 2 +- cli/Cargo.toml | 2 +- cli/deno_std.rs | 2 +- cli/napi/sym/Cargo.toml | 2 +- ext/broadcast_channel/Cargo.toml | 2 +- ext/cache/Cargo.toml | 2 +- ext/console/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 +- 29 files changed, 110 insertions(+), 74 deletions(-) diff --git a/.github/workflows/ci.generate.ts b/.github/workflows/ci.generate.ts index 6fbe41778a..6b959d5d89 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 = 42; +const cacheVersion = 43; const Runners = (() => { const ubuntuRunner = "ubuntu-22.04"; diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 62ed56aa3b..c261514aca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -304,8 +304,8 @@ jobs: path: |- ~/.cargo/registry/index ~/.cargo/registry/cache - key: '42-cargo-home-${{ matrix.os }}-${{ hashFiles(''Cargo.lock'') }}' - restore-keys: '42-cargo-home-${{ matrix.os }}' + key: '43-cargo-home-${{ matrix.os }}-${{ hashFiles(''Cargo.lock'') }}' + restore-keys: '43-cargo-home-${{ matrix.os }}' if: '!(github.event_name == ''pull_request'' && matrix.skip_pr)' - name: Restore cache build output (PR) uses: actions/cache/restore@v3 @@ -317,7 +317,7 @@ jobs: !./target/*/*.zip !./target/*/*.tar.gz key: never_saved - restore-keys: '42-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ matrix.job }}-' + restore-keys: '43-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ matrix.job }}-' - name: Apply and update mtime cache if: '!(github.event_name == ''pull_request'' && matrix.skip_pr) && (!startsWith(github.ref, ''refs/tags/''))' uses: ./.github/mtime_cache @@ -605,7 +605,7 @@ jobs: !./target/*/gn_out !./target/*/*.zip !./target/*/*.tar.gz - key: '42-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ matrix.job }}-${{ github.sha }}' + key: '43-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 a1d6e8120c..d98e7842f1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -773,7 +773,7 @@ checksum = "8d7439c3735f405729d52c3fbbe4de140eaf938a1fe47d227c27f8254d4302a5" [[package]] name = "deno" -version = "1.34.3" +version = "1.35.0" dependencies = [ "async-trait", "atty", @@ -919,7 +919,7 @@ dependencies = [ [[package]] name = "deno_bench_util" -version = "0.103.0" +version = "0.104.0" dependencies = [ "bencher", "deno_core", @@ -929,7 +929,7 @@ dependencies = [ [[package]] name = "deno_broadcast_channel" -version = "0.103.0" +version = "0.104.0" dependencies = [ "async-trait", "deno_core", @@ -939,7 +939,7 @@ dependencies = [ [[package]] name = "deno_cache" -version = "0.41.0" +version = "0.42.0" dependencies = [ "async-trait", "deno_core", @@ -951,7 +951,7 @@ dependencies = [ [[package]] name = "deno_console" -version = "0.109.0" +version = "0.110.0" dependencies = [ "deno_core", ] @@ -984,7 +984,7 @@ dependencies = [ [[package]] name = "deno_crypto" -version = "0.123.0" +version = "0.124.0" dependencies = [ "aes", "aes-gcm", @@ -1054,7 +1054,7 @@ dependencies = [ [[package]] name = "deno_fetch" -version = "0.133.0" +version = "0.134.0" dependencies = [ "bytes", "data-url", @@ -1071,7 +1071,7 @@ dependencies = [ [[package]] name = "deno_ffi" -version = "0.96.0" +version = "0.97.0" dependencies = [ "deno_core", "dlopen", @@ -1087,7 +1087,7 @@ dependencies = [ [[package]] name = "deno_fs" -version = "0.19.0" +version = "0.20.0" dependencies = [ "async-trait", "deno_core", @@ -1127,7 +1127,7 @@ dependencies = [ [[package]] name = "deno_http" -version = "0.104.0" +version = "0.105.0" dependencies = [ "async-compression 0.3.15", "async-trait", @@ -1163,7 +1163,7 @@ dependencies = [ [[package]] name = "deno_io" -version = "0.19.0" +version = "0.20.0" dependencies = [ "async-trait", "deno_core", @@ -1177,7 +1177,7 @@ dependencies = [ [[package]] name = "deno_kv" -version = "0.17.0" +version = "0.18.0" dependencies = [ "anyhow", "async-trait", @@ -1235,7 +1235,7 @@ dependencies = [ [[package]] name = "deno_napi" -version = "0.39.0" +version = "0.40.0" dependencies = [ "deno_core", "libloading", @@ -1243,7 +1243,7 @@ dependencies = [ [[package]] name = "deno_net" -version = "0.101.0" +version = "0.102.0" dependencies = [ "deno_core", "deno_tls", @@ -1259,7 +1259,7 @@ dependencies = [ [[package]] name = "deno_node" -version = "0.46.0" +version = "0.47.0" dependencies = [ "aes", "brotli", @@ -1353,7 +1353,7 @@ dependencies = [ [[package]] name = "deno_runtime" -version = "0.117.0" +version = "0.118.0" dependencies = [ "atty", "console_static_text", @@ -1436,7 +1436,7 @@ dependencies = [ [[package]] name = "deno_tls" -version = "0.96.0" +version = "0.97.0" dependencies = [ "deno_core", "once_cell", @@ -1450,7 +1450,7 @@ dependencies = [ [[package]] name = "deno_url" -version = "0.109.0" +version = "0.110.0" dependencies = [ "deno_bench_util", "deno_core", @@ -1462,7 +1462,7 @@ dependencies = [ [[package]] name = "deno_web" -version = "0.140.0" +version = "0.141.0" dependencies = [ "async-trait", "base64-simd", @@ -1481,7 +1481,7 @@ dependencies = [ [[package]] name = "deno_webidl" -version = "0.109.0" +version = "0.110.0" dependencies = [ "deno_bench_util", "deno_core", @@ -1489,7 +1489,7 @@ dependencies = [ [[package]] name = "deno_websocket" -version = "0.114.0" +version = "0.115.0" dependencies = [ "bytes", "deno_core", @@ -1506,7 +1506,7 @@ dependencies = [ [[package]] name = "deno_webstorage" -version = "0.104.0" +version = "0.105.0" dependencies = [ "deno_core", "deno_web", @@ -3103,7 +3103,7 @@ dependencies = [ [[package]] name = "napi_sym" -version = "0.39.0" +version = "0.40.0" dependencies = [ "proc-macro2 1.0.60", "quote 1.0.28", diff --git a/Cargo.toml b/Cargo.toml index 75c03c7dbf..0121181ad3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -45,9 +45,9 @@ deno_core = { version = "0.194.0" } deno_ops = { version = "0.71.0" } serde_v8 = { version = "0.104.0" } -deno_runtime = { version = "0.117.0", path = "./runtime" } -napi_sym = { version = "0.39.0", path = "./cli/napi/sym" } -deno_bench_util = { version = "0.103.0", path = "./bench_util" } +deno_runtime = { version = "0.118.0", path = "./runtime" } +napi_sym = { version = "0.40.0", path = "./cli/napi/sym" } +deno_bench_util = { version = "0.104.0", path = "./bench_util" } test_util = { path = "./test_util" } deno_lockfile = "0.14.1" deno_media_type = { version = "0.1.0", features = ["module_specifier"] } @@ -55,25 +55,25 @@ deno_npm = "0.9.1" deno_semver = "0.2.2" # exts -deno_broadcast_channel = { version = "0.103.0", path = "./ext/broadcast_channel" } -deno_cache = { version = "0.41.0", path = "./ext/cache" } -deno_console = { version = "0.109.0", path = "./ext/console" } -deno_crypto = { version = "0.123.0", path = "./ext/crypto" } -deno_fetch = { version = "0.133.0", path = "./ext/fetch" } -deno_ffi = { version = "0.96.0", path = "./ext/ffi" } -deno_fs = { version = "0.19.0", path = "./ext/fs" } -deno_http = { version = "0.104.0", path = "./ext/http" } -deno_io = { version = "0.19.0", path = "./ext/io" } -deno_net = { version = "0.101.0", path = "./ext/net" } -deno_node = { version = "0.46.0", path = "./ext/node" } -deno_kv = { version = "0.17.0", path = "./ext/kv" } -deno_tls = { version = "0.96.0", path = "./ext/tls" } -deno_url = { version = "0.109.0", path = "./ext/url" } -deno_web = { version = "0.140.0", path = "./ext/web" } -deno_webidl = { version = "0.109.0", path = "./ext/webidl" } -deno_websocket = { version = "0.114.0", path = "./ext/websocket" } -deno_webstorage = { version = "0.104.0", path = "./ext/webstorage" } -deno_napi = { version = "0.39.0", path = "./ext/napi" } +deno_broadcast_channel = { version = "0.104.0", path = "./ext/broadcast_channel" } +deno_cache = { version = "0.42.0", path = "./ext/cache" } +deno_console = { version = "0.110.0", path = "./ext/console" } +deno_crypto = { version = "0.124.0", path = "./ext/crypto" } +deno_fetch = { version = "0.134.0", path = "./ext/fetch" } +deno_ffi = { version = "0.97.0", path = "./ext/ffi" } +deno_fs = { version = "0.20.0", path = "./ext/fs" } +deno_http = { version = "0.105.0", path = "./ext/http" } +deno_io = { version = "0.20.0", path = "./ext/io" } +deno_net = { version = "0.102.0", path = "./ext/net" } +deno_node = { version = "0.47.0", path = "./ext/node" } +deno_kv = { version = "0.18.0", path = "./ext/kv" } +deno_tls = { version = "0.97.0", path = "./ext/tls" } +deno_url = { version = "0.110.0", path = "./ext/url" } +deno_web = { version = "0.141.0", path = "./ext/web" } +deno_webidl = { version = "0.110.0", path = "./ext/webidl" } +deno_websocket = { version = "0.115.0", path = "./ext/websocket" } +deno_webstorage = { version = "0.105.0", path = "./ext/webstorage" } +deno_napi = { version = "0.40.0", path = "./ext/napi" } aes = "=0.8.2" anyhow = "1.0.57" diff --git a/Releases.md b/Releases.md index 4739d8b167..e201e28ea4 100644 --- a/Releases.md +++ b/Releases.md @@ -6,6 +6,42 @@ https://github.com/denoland/deno/releases We also have one-line install commands at: https://github.com/denoland/deno_install +### 1.35.0 / 2023.07.04 + +- feat: add more Deno.errors classes (#19514) +- feat: ReadableStream.from (#19446) +- feat: stabilize 'alpnProtocols' setting (#19704) +- feat: Stabilize Deno.serve() API (#19141) +- feat: upgrade to TypeScript 5.1.6 (#19695) +- feat(ext/fetch): add Headers#getSetCookie (#13542) +- feat(ext/url): URLSearchParams two-argument delete() and has() (#19654) +- feat(lock): skip saving declaration files in the lockfile (#19447) +- feat(lsp): basic support of auto-imports for npm specifiers (#19675) +- feat(lsp): support import maps in quick fix and auto-imports (#19692) +- fix: add `exactOptionalPropertyTypes` for configuration file JSON schema + (#19647) +- fix: bump default @types/node version range to 18.16.19 (#19706) +- fix(cli): don't store blob and data urls in the module cache (#18581) +- fix(cli): Fix the bug where the command description is not displayed. (#19604) +- fix(cli/napi): `napi_get_buffer_info` accepts `ArrayBufferView` … (#19551) +- fix(cli/napi): property with getter/setter always failed (#19562) +- fix(console): correct the parseCssColor algorithm (#19645) +- fix(dts): make globals available on globalThis (#19438) +- fix(ext/crypto): Fix WebCrypto API's deriveKey (#19545) +- fix(ext/fs): fix boolean checks in JS parser (#19586) +- fix(ext/http): Catch errors in eager stream timeout to avoid uncaught promise + rejections (#19691) +- fix(ext/kv): expose Deno.AtomicOperation (#19674) +- fix(ext/node): Define performance.timeOrigin as getter property (#19714) +- fix(ext/node): ignore cancelled timer when node timer refresh (#19637) +- fix(ext/node): support brotli APIs (#19223) +- fix(ext/websocket): Ensure that errors are available after async response + returns (#19642) +- fix(node/http): add setKeepAlive to FakeSocket (#19659) +- fix(npm): escape export identifier in double quoted string (#19694) +- fix(npm): handle more reserved words as cjs exports (#19672) +- fix(npm): support siblings that are peer dependencies of each other (#19657) + ### 1.34.3 / 2023.06.15 - feat(UNSTABLE) kv queue implementation (#19459) diff --git a/bench_util/Cargo.toml b/bench_util/Cargo.toml index 57f782e8e0..78595e5373 100644 --- a/bench_util/Cargo.toml +++ b/bench_util/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_bench_util" -version = "0.103.0" +version = "0.104.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 960c183d93..30480016a6 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno" -version = "1.34.3" +version = "1.35.0" authors.workspace = true default-run = "deno" edition.workspace = true diff --git a/cli/deno_std.rs b/cli/deno_std.rs index dcc930a344..fd54b8335a 100644 --- a/cli/deno_std.rs +++ b/cli/deno_std.rs @@ -2,4 +2,4 @@ // WARNING: Ensure this is the only deno_std version reference as this // is automatically updated by the version bump workflow. -pub const CURRENT_STD_URL_STR: &str = "https://deno.land/std@0.192.0/"; +pub const CURRENT_STD_URL_STR: &str = "https://deno.land/std@0.193.0/"; diff --git a/cli/napi/sym/Cargo.toml b/cli/napi/sym/Cargo.toml index a25beeda2d..16eaecaef9 100644 --- a/cli/napi/sym/Cargo.toml +++ b/cli/napi/sym/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "napi_sym" -version = "0.39.0" +version = "0.40.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 bf565ef6d8..d5feb0c456 100644 --- a/ext/broadcast_channel/Cargo.toml +++ b/ext/broadcast_channel/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_broadcast_channel" -version = "0.103.0" +version = "0.104.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/cache/Cargo.toml b/ext/cache/Cargo.toml index 41ebb2a151..c49adc303c 100644 --- a/ext/cache/Cargo.toml +++ b/ext/cache/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_cache" -version = "0.41.0" +version = "0.42.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/console/Cargo.toml b/ext/console/Cargo.toml index 6f0f556849..ebae7f7294 100644 --- a/ext/console/Cargo.toml +++ b/ext/console/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_console" -version = "0.109.0" +version = "0.110.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/crypto/Cargo.toml b/ext/crypto/Cargo.toml index f1b55c1c70..d1c74cea43 100644 --- a/ext/crypto/Cargo.toml +++ b/ext/crypto/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_crypto" -version = "0.123.0" +version = "0.124.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/fetch/Cargo.toml b/ext/fetch/Cargo.toml index 7216e82244..634ed39a10 100644 --- a/ext/fetch/Cargo.toml +++ b/ext/fetch/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_fetch" -version = "0.133.0" +version = "0.134.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/ffi/Cargo.toml b/ext/ffi/Cargo.toml index 2b2f0b657f..990793bf39 100644 --- a/ext/ffi/Cargo.toml +++ b/ext/ffi/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_ffi" -version = "0.96.0" +version = "0.97.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/fs/Cargo.toml b/ext/fs/Cargo.toml index 68eb32c643..b93212a28e 100644 --- a/ext/fs/Cargo.toml +++ b/ext/fs/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_fs" -version = "0.19.0" +version = "0.20.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/http/Cargo.toml b/ext/http/Cargo.toml index 95451c4067..5bbfc35ea0 100644 --- a/ext/http/Cargo.toml +++ b/ext/http/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_http" -version = "0.104.0" +version = "0.105.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/io/Cargo.toml b/ext/io/Cargo.toml index d8466660d4..1ff3a135a7 100644 --- a/ext/io/Cargo.toml +++ b/ext/io/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_io" -version = "0.19.0" +version = "0.20.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/kv/Cargo.toml b/ext/kv/Cargo.toml index dd74565cab..8c2c97fdfa 100644 --- a/ext/kv/Cargo.toml +++ b/ext/kv/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_kv" -version = "0.17.0" +version = "0.18.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/napi/Cargo.toml b/ext/napi/Cargo.toml index 107015a137..b90a922c35 100644 --- a/ext/napi/Cargo.toml +++ b/ext/napi/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_napi" -version = "0.39.0" +version = "0.40.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/net/Cargo.toml b/ext/net/Cargo.toml index 9c39f9fa27..6625cbbd63 100644 --- a/ext/net/Cargo.toml +++ b/ext/net/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_net" -version = "0.101.0" +version = "0.102.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/node/Cargo.toml b/ext/node/Cargo.toml index 75d19e917a..de4256d796 100644 --- a/ext/node/Cargo.toml +++ b/ext/node/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_node" -version = "0.46.0" +version = "0.47.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/tls/Cargo.toml b/ext/tls/Cargo.toml index 00812dce27..7cfc14f2e9 100644 --- a/ext/tls/Cargo.toml +++ b/ext/tls/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_tls" -version = "0.96.0" +version = "0.97.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/url/Cargo.toml b/ext/url/Cargo.toml index 2d5a3be51e..174356060e 100644 --- a/ext/url/Cargo.toml +++ b/ext/url/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_url" -version = "0.109.0" +version = "0.110.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/web/Cargo.toml b/ext/web/Cargo.toml index 1bff138395..3950f3d3d2 100644 --- a/ext/web/Cargo.toml +++ b/ext/web/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_web" -version = "0.140.0" +version = "0.141.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/webidl/Cargo.toml b/ext/webidl/Cargo.toml index 4c489f3208..0ef423ecf9 100644 --- a/ext/webidl/Cargo.toml +++ b/ext/webidl/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_webidl" -version = "0.109.0" +version = "0.110.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/websocket/Cargo.toml b/ext/websocket/Cargo.toml index bef031adae..b8378696bf 100644 --- a/ext/websocket/Cargo.toml +++ b/ext/websocket/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_websocket" -version = "0.114.0" +version = "0.115.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/webstorage/Cargo.toml b/ext/webstorage/Cargo.toml index bd102fd947..136b6c23ff 100644 --- a/ext/webstorage/Cargo.toml +++ b/ext/webstorage/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_webstorage" -version = "0.104.0" +version = "0.105.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 27faa977c9..e2fe7c78e9 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_runtime" -version = "0.117.0" +version = "0.118.0" authors.workspace = true edition.workspace = true license.workspace = true