diff --git a/.github/workflows/ci.generate.ts b/.github/workflows/ci.generate.ts index 4b595d7f68..5ca7b6c178 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 = 39; +const cacheVersion = 40; const Runners = (() => { const ubuntuRunner = "ubuntu-22.04"; diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 392d427d78..3171439ff8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -298,8 +298,8 @@ jobs: path: |- ~/.cargo/registry/index ~/.cargo/registry/cache - key: '39-cargo-home-${{ matrix.os }}-${{ hashFiles(''Cargo.lock'') }}' - restore-keys: '39-cargo-home-${{ matrix.os }}' + key: '40-cargo-home-${{ matrix.os }}-${{ hashFiles(''Cargo.lock'') }}' + restore-keys: '40-cargo-home-${{ matrix.os }}' if: '!(github.event_name == ''pull_request'' && matrix.skip_pr)' - name: Restore cache build output (PR) uses: actions/cache/restore@v3 @@ -311,7 +311,7 @@ jobs: !./target/*/*.zip !./target/*/*.tar.gz key: never_saved - restore-keys: '39-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ matrix.job }}-' + restore-keys: '40-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 @@ -592,7 +592,7 @@ jobs: !./target/*/gn_out !./target/*/*.zip !./target/*/*.tar.gz - key: '39-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ matrix.job }}-${{ github.sha }}' + key: '40-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 2d0b32eb65..d18d32ee52 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -782,7 +782,7 @@ checksum = "8d7439c3735f405729d52c3fbbe4de140eaf938a1fe47d227c27f8254d4302a5" [[package]] name = "deno" -version = "1.34.2" +version = "1.34.3" dependencies = [ "async-trait", "atty", @@ -905,7 +905,7 @@ dependencies = [ [[package]] name = "deno_bench_util" -version = "0.102.0" +version = "0.103.0" dependencies = [ "bencher", "deno_core", @@ -915,7 +915,7 @@ dependencies = [ [[package]] name = "deno_broadcast_channel" -version = "0.102.0" +version = "0.103.0" dependencies = [ "async-trait", "deno_core", @@ -925,7 +925,7 @@ dependencies = [ [[package]] name = "deno_cache" -version = "0.40.0" +version = "0.41.0" dependencies = [ "async-trait", "deno_core", @@ -937,14 +937,14 @@ dependencies = [ [[package]] name = "deno_console" -version = "0.108.0" +version = "0.109.0" dependencies = [ "deno_core", ] [[package]] name = "deno_core" -version = "0.190.0" +version = "0.191.0" dependencies = [ "anyhow", "bytes", @@ -969,7 +969,7 @@ dependencies = [ [[package]] name = "deno_crypto" -version = "0.122.0" +version = "0.123.0" dependencies = [ "aes", "aes-gcm", @@ -1039,7 +1039,7 @@ dependencies = [ [[package]] name = "deno_fetch" -version = "0.132.0" +version = "0.133.0" dependencies = [ "bytes", "data-url", @@ -1056,7 +1056,7 @@ dependencies = [ [[package]] name = "deno_ffi" -version = "0.95.0" +version = "0.96.0" dependencies = [ "deno_core", "dlopen", @@ -1072,7 +1072,7 @@ dependencies = [ [[package]] name = "deno_fs" -version = "0.18.0" +version = "0.19.0" dependencies = [ "async-trait", "deno_core", @@ -1112,7 +1112,7 @@ dependencies = [ [[package]] name = "deno_http" -version = "0.103.0" +version = "0.104.0" dependencies = [ "async-compression 0.3.15", "async-trait", @@ -1148,7 +1148,7 @@ dependencies = [ [[package]] name = "deno_io" -version = "0.18.0" +version = "0.19.0" dependencies = [ "async-trait", "deno_core", @@ -1162,7 +1162,7 @@ dependencies = [ [[package]] name = "deno_kv" -version = "0.16.0" +version = "0.17.0" dependencies = [ "anyhow", "async-trait", @@ -1220,7 +1220,7 @@ dependencies = [ [[package]] name = "deno_napi" -version = "0.38.0" +version = "0.39.0" dependencies = [ "deno_core", "libloading", @@ -1228,7 +1228,7 @@ dependencies = [ [[package]] name = "deno_net" -version = "0.100.0" +version = "0.101.0" dependencies = [ "deno_core", "deno_tls", @@ -1244,7 +1244,7 @@ dependencies = [ [[package]] name = "deno_node" -version = "0.45.0" +version = "0.46.0" dependencies = [ "aes", "cbc", @@ -1315,7 +1315,7 @@ dependencies = [ [[package]] name = "deno_ops" -version = "0.68.0" +version = "0.69.0" dependencies = [ "lazy-regex", "once_cell", @@ -1333,7 +1333,7 @@ dependencies = [ [[package]] name = "deno_runtime" -version = "0.116.0" +version = "0.117.0" dependencies = [ "atty", "console_static_text", @@ -1416,7 +1416,7 @@ dependencies = [ [[package]] name = "deno_tls" -version = "0.95.0" +version = "0.96.0" dependencies = [ "deno_core", "once_cell", @@ -1430,7 +1430,7 @@ dependencies = [ [[package]] name = "deno_url" -version = "0.108.0" +version = "0.109.0" dependencies = [ "deno_bench_util", "deno_core", @@ -1442,7 +1442,7 @@ dependencies = [ [[package]] name = "deno_web" -version = "0.139.0" +version = "0.140.0" dependencies = [ "async-trait", "base64-simd", @@ -1461,7 +1461,7 @@ dependencies = [ [[package]] name = "deno_webidl" -version = "0.108.0" +version = "0.109.0" dependencies = [ "deno_bench_util", "deno_core", @@ -1469,7 +1469,7 @@ dependencies = [ [[package]] name = "deno_websocket" -version = "0.113.0" +version = "0.114.0" dependencies = [ "bytes", "deno_core", @@ -1486,7 +1486,7 @@ dependencies = [ [[package]] name = "deno_webstorage" -version = "0.103.0" +version = "0.104.0" dependencies = [ "deno_core", "deno_web", @@ -3083,7 +3083,7 @@ dependencies = [ [[package]] name = "napi_sym" -version = "0.38.0" +version = "0.39.0" dependencies = [ "proc-macro2 1.0.56", "quote 1.0.26", @@ -4356,7 +4356,7 @@ dependencies = [ [[package]] name = "serde_v8" -version = "0.101.0" +version = "0.102.0" dependencies = [ "bencher", "bytes", diff --git a/Cargo.toml b/Cargo.toml index 6af7fd720a..befd1c94e5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -44,12 +44,12 @@ repository = "https://github.com/denoland/deno" v8 = { version = "0.73.0", default-features = false } deno_ast = { version = "0.27.0", features = ["transpiling"] } -deno_core = { version = "0.190.0", path = "./core" } -deno_ops = { version = "0.68.0", path = "./ops" } -serde_v8 = { version = "0.101.0", path = "./serde_v8" } -deno_runtime = { version = "0.116.0", path = "./runtime" } -napi_sym = { version = "0.38.0", path = "./cli/napi/sym" } -deno_bench_util = { version = "0.102.0", path = "./bench_util" } +deno_core = { version = "0.191.0", path = "./core" } +deno_ops = { version = "0.69.0", path = "./ops" } +serde_v8 = { version = "0.102.0", path = "./serde_v8" } +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" } test_util = { path = "./test_util" } deno_lockfile = "0.14.1" deno_media_type = { version = "0.1.0", features = ["module_specifier"] } @@ -57,25 +57,25 @@ deno_npm = "0.8.1" deno_semver = "0.2.2" # exts -deno_broadcast_channel = { version = "0.102.0", path = "./ext/broadcast_channel" } -deno_cache = { version = "0.40.0", path = "./ext/cache" } -deno_console = { version = "0.108.0", path = "./ext/console" } -deno_crypto = { version = "0.122.0", path = "./ext/crypto" } -deno_fetch = { version = "0.132.0", path = "./ext/fetch" } -deno_ffi = { version = "0.95.0", path = "./ext/ffi" } -deno_fs = { version = "0.18.0", path = "./ext/fs" } -deno_http = { version = "0.103.0", path = "./ext/http" } -deno_io = { version = "0.18.0", path = "./ext/io" } -deno_net = { version = "0.100.0", path = "./ext/net" } -deno_node = { version = "0.45.0", path = "./ext/node" } -deno_kv = { version = "0.16.0", path = "./ext/kv" } -deno_tls = { version = "0.95.0", path = "./ext/tls" } -deno_url = { version = "0.108.0", path = "./ext/url" } -deno_web = { version = "0.139.0", path = "./ext/web" } -deno_webidl = { version = "0.108.0", path = "./ext/webidl" } -deno_websocket = { version = "0.113.0", path = "./ext/websocket" } -deno_webstorage = { version = "0.103.0", path = "./ext/webstorage" } -deno_napi = { version = "0.38.0", path = "./ext/napi" } +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" } aes = "=0.8.2" anyhow = "1.0.57" diff --git a/Releases.md b/Releases.md index 9e5e62b19c..7acdc583e8 100644 --- a/Releases.md +++ b/Releases.md @@ -6,6 +6,37 @@ https://github.com/denoland/deno/releases We also have one-line install commands at: https://github.com/denoland/deno_install +### 1.34.3 / 2023.06.15 + +- feat(UNSTABLE) kv queue implementation (#19459) +- fix(cli): avoid crash on import of invalid module names (#19523) +- fix(compile): some npm dependencies were missing in compiled output (#19503) +- fix(config): do not canonicalize config file path before loading (#19436) +- fix(ext/http): Include hostname in onListen argument (#19497) +- fix(ext/http): replace await Deno.serve with await Deno.serve().finished + (#19485) +- fix(ext/node): HTTPS server (#19362) +- fix(ext/node): handle 'upgrade' responses (#19412) +- fix(ext/node): make Buffer.slice be the same as subarray (#19481) +- fix(ext/websockets): ensure we fully send frames before close (#19484) +- fix(fmt): do not panic formatting json with multiple values (#19442) +- fix(lsp): don't pre-load documents matched in the config file's "exclude" + (#19431) +- fix(lsp): update import map config when deno.json changes (#19476) +- fix(ext/node): Worker constructor doesn't check type: module of package.json + (#19480) +- fix(npm): warn when tarball contains hardlink or symlink (#19474) +- fix: reload config files on watcher restarts (#19487) +- perf(ext/http): from_maybe_shared_unchecked for header values (#19478) +- perf(http): cache verified headers (#19465) +- perf(node): cache realpath_sync calls in read permission check (#19379) +- perf(serve): hoist promise error callback (#19456) +- perf(serve): hoist repeated condition (#19449) +- perf(web): optimize timer resolution (#19493) +- perf: don't run microtask checkpoint if macrotask callback did no work + (#19492) +- perf: optimize ByteString checks, hoist server rid getter (#19452) + ### 1.34.2 / 2023.06.08 - fix: do not show cache initialization errors if stderr is piped (#18920) diff --git a/bench_util/Cargo.toml b/bench_util/Cargo.toml index 824c776120..57f782e8e0 100644 --- a/bench_util/Cargo.toml +++ b/bench_util/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_bench_util" -version = "0.102.0" +version = "0.103.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/cli/Cargo.toml b/cli/Cargo.toml index fe9f358445..bbb7b0236a 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno" -version = "1.34.2" +version = "1.34.3" authors.workspace = true default-run = "deno" edition.workspace = true diff --git a/cli/deno_std.rs b/cli/deno_std.rs index 4bf4167196..dcc930a344 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.191.0/"; +pub const CURRENT_STD_URL_STR: &str = "https://deno.land/std@0.192.0/"; diff --git a/cli/napi/sym/Cargo.toml b/cli/napi/sym/Cargo.toml index 76fab95f6a..a25beeda2d 100644 --- a/cli/napi/sym/Cargo.toml +++ b/cli/napi/sym/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "napi_sym" -version = "0.38.0" +version = "0.39.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/core/Cargo.toml b/core/Cargo.toml index b9cb265e88..05da36f55a 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_core" -version = "0.190.0" +version = "0.191.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 8c6c4c0df1..bf565ef6d8 100644 --- a/ext/broadcast_channel/Cargo.toml +++ b/ext/broadcast_channel/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_broadcast_channel" -version = "0.102.0" +version = "0.103.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/cache/Cargo.toml b/ext/cache/Cargo.toml index c2b10b8b7a..41ebb2a151 100644 --- a/ext/cache/Cargo.toml +++ b/ext/cache/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_cache" -version = "0.40.0" +version = "0.41.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/console/Cargo.toml b/ext/console/Cargo.toml index 4a167cc83f..6f0f556849 100644 --- a/ext/console/Cargo.toml +++ b/ext/console/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_console" -version = "0.108.0" +version = "0.109.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/crypto/Cargo.toml b/ext/crypto/Cargo.toml index 055a38dcbe..f1b55c1c70 100644 --- a/ext/crypto/Cargo.toml +++ b/ext/crypto/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_crypto" -version = "0.122.0" +version = "0.123.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/fetch/Cargo.toml b/ext/fetch/Cargo.toml index 61c1e65ff2..7216e82244 100644 --- a/ext/fetch/Cargo.toml +++ b/ext/fetch/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_fetch" -version = "0.132.0" +version = "0.133.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/ffi/Cargo.toml b/ext/ffi/Cargo.toml index 2e60bcbea8..3a1c9d7a33 100644 --- a/ext/ffi/Cargo.toml +++ b/ext/ffi/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_ffi" -version = "0.95.0" +version = "0.96.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/fs/Cargo.toml b/ext/fs/Cargo.toml index 65c89bb99a..68eb32c643 100644 --- a/ext/fs/Cargo.toml +++ b/ext/fs/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_fs" -version = "0.18.0" +version = "0.19.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/http/Cargo.toml b/ext/http/Cargo.toml index 2ad2dd3331..95451c4067 100644 --- a/ext/http/Cargo.toml +++ b/ext/http/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_http" -version = "0.103.0" +version = "0.104.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/io/Cargo.toml b/ext/io/Cargo.toml index 2a5b858634..d98e2318ad 100644 --- a/ext/io/Cargo.toml +++ b/ext/io/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_io" -version = "0.18.0" +version = "0.19.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/kv/Cargo.toml b/ext/kv/Cargo.toml index b25837143a..dd74565cab 100644 --- a/ext/kv/Cargo.toml +++ b/ext/kv/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_kv" -version = "0.16.0" +version = "0.17.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/napi/Cargo.toml b/ext/napi/Cargo.toml index 6757b89462..107015a137 100644 --- a/ext/napi/Cargo.toml +++ b/ext/napi/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_napi" -version = "0.38.0" +version = "0.39.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/net/Cargo.toml b/ext/net/Cargo.toml index 26e8018dda..9c39f9fa27 100644 --- a/ext/net/Cargo.toml +++ b/ext/net/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_net" -version = "0.100.0" +version = "0.101.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/node/Cargo.toml b/ext/node/Cargo.toml index e3ed2a42e2..125f585719 100644 --- a/ext/node/Cargo.toml +++ b/ext/node/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_node" -version = "0.45.0" +version = "0.46.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/tls/Cargo.toml b/ext/tls/Cargo.toml index 3acf2dc188..00812dce27 100644 --- a/ext/tls/Cargo.toml +++ b/ext/tls/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_tls" -version = "0.95.0" +version = "0.96.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/url/Cargo.toml b/ext/url/Cargo.toml index 039ea889d3..2d5a3be51e 100644 --- a/ext/url/Cargo.toml +++ b/ext/url/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_url" -version = "0.108.0" +version = "0.109.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/web/Cargo.toml b/ext/web/Cargo.toml index 165f0d1248..1bff138395 100644 --- a/ext/web/Cargo.toml +++ b/ext/web/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_web" -version = "0.139.0" +version = "0.140.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/webidl/Cargo.toml b/ext/webidl/Cargo.toml index aa65962c5c..4c489f3208 100644 --- a/ext/webidl/Cargo.toml +++ b/ext/webidl/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_webidl" -version = "0.108.0" +version = "0.109.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/websocket/Cargo.toml b/ext/websocket/Cargo.toml index 1d701fb5ec..bef031adae 100644 --- a/ext/websocket/Cargo.toml +++ b/ext/websocket/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_websocket" -version = "0.113.0" +version = "0.114.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/webstorage/Cargo.toml b/ext/webstorage/Cargo.toml index 9120289e0f..bd102fd947 100644 --- a/ext/webstorage/Cargo.toml +++ b/ext/webstorage/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_webstorage" -version = "0.103.0" +version = "0.104.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ops/Cargo.toml b/ops/Cargo.toml index b1407b8330..f142e4449b 100644 --- a/ops/Cargo.toml +++ b/ops/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_ops" -version = "0.68.0" +version = "0.69.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 77571b2102..27faa977c9 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_runtime" -version = "0.116.0" +version = "0.117.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/serde_v8/Cargo.toml b/serde_v8/Cargo.toml index 260c4cef2e..527bc27a06 100644 --- a/serde_v8/Cargo.toml +++ b/serde_v8/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "serde_v8" -version = "0.101.0" +version = "0.102.0" authors.workspace = true edition.workspace = true license.workspace = true