diff --git a/.github/workflows/ci.generate.ts b/.github/workflows/ci.generate.ts index 23e5227283..c785f081f5 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 = 45; +const cacheVersion = 46; const Runners = (() => { const ubuntuRunner = "ubuntu-22.04"; diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d95710cfed..c0a8b9bb77 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -304,8 +304,8 @@ jobs: path: |- ~/.cargo/registry/index ~/.cargo/registry/cache - key: '45-cargo-home-${{ matrix.os }}-${{ hashFiles(''Cargo.lock'') }}' - restore-keys: '45-cargo-home-${{ matrix.os }}' + key: '46-cargo-home-${{ matrix.os }}-${{ hashFiles(''Cargo.lock'') }}' + restore-keys: '46-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: '45-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ matrix.job }}-' + restore-keys: '46-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: '45-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ matrix.job }}-${{ github.sha }}' + key: '46-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 62b02d9a40..ae7b5a87e8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -782,7 +782,7 @@ checksum = "8d7439c3735f405729d52c3fbbe4de140eaf938a1fe47d227c27f8254d4302a5" [[package]] name = "deno" -version = "1.35.1" +version = "1.35.2" dependencies = [ "async-trait", "atty", @@ -929,7 +929,7 @@ dependencies = [ [[package]] name = "deno_bench_util" -version = "0.105.0" +version = "0.106.0" dependencies = [ "bencher", "deno_core", @@ -939,7 +939,7 @@ dependencies = [ [[package]] name = "deno_broadcast_channel" -version = "0.105.0" +version = "0.106.0" dependencies = [ "async-trait", "deno_core", @@ -949,7 +949,7 @@ dependencies = [ [[package]] name = "deno_cache" -version = "0.43.0" +version = "0.44.0" dependencies = [ "async-trait", "deno_core", @@ -961,7 +961,7 @@ dependencies = [ [[package]] name = "deno_console" -version = "0.111.0" +version = "0.112.0" dependencies = [ "deno_core", ] @@ -994,7 +994,7 @@ dependencies = [ [[package]] name = "deno_crypto" -version = "0.125.0" +version = "0.126.0" dependencies = [ "aes", "aes-gcm", @@ -1064,7 +1064,7 @@ dependencies = [ [[package]] name = "deno_fetch" -version = "0.135.0" +version = "0.136.0" dependencies = [ "bytes", "data-url", @@ -1081,7 +1081,7 @@ dependencies = [ [[package]] name = "deno_ffi" -version = "0.98.0" +version = "0.99.0" dependencies = [ "deno_core", "dlopen", @@ -1097,7 +1097,7 @@ dependencies = [ [[package]] name = "deno_fs" -version = "0.21.0" +version = "0.22.0" dependencies = [ "async-trait", "deno_core", @@ -1137,7 +1137,7 @@ dependencies = [ [[package]] name = "deno_http" -version = "0.106.0" +version = "0.107.0" dependencies = [ "async-compression 0.3.15", "async-trait", @@ -1173,7 +1173,7 @@ dependencies = [ [[package]] name = "deno_io" -version = "0.21.0" +version = "0.22.0" dependencies = [ "async-trait", "deno_core", @@ -1187,7 +1187,7 @@ dependencies = [ [[package]] name = "deno_kv" -version = "0.19.0" +version = "0.20.0" dependencies = [ "anyhow", "async-trait", @@ -1245,7 +1245,7 @@ dependencies = [ [[package]] name = "deno_napi" -version = "0.41.0" +version = "0.42.0" dependencies = [ "deno_core", "libloading", @@ -1253,7 +1253,7 @@ dependencies = [ [[package]] name = "deno_net" -version = "0.103.0" +version = "0.104.0" dependencies = [ "deno_core", "deno_tls", @@ -1269,7 +1269,7 @@ dependencies = [ [[package]] name = "deno_node" -version = "0.48.0" +version = "0.49.0" dependencies = [ "aes", "brotli", @@ -1363,7 +1363,7 @@ dependencies = [ [[package]] name = "deno_runtime" -version = "0.119.0" +version = "0.120.0" dependencies = [ "atty", "console_static_text", @@ -1446,7 +1446,7 @@ dependencies = [ [[package]] name = "deno_tls" -version = "0.98.0" +version = "0.99.0" dependencies = [ "deno_core", "once_cell", @@ -1460,7 +1460,7 @@ dependencies = [ [[package]] name = "deno_url" -version = "0.111.0" +version = "0.112.0" dependencies = [ "deno_bench_util", "deno_core", @@ -1472,7 +1472,7 @@ dependencies = [ [[package]] name = "deno_web" -version = "0.142.0" +version = "0.143.0" dependencies = [ "async-trait", "base64-simd", @@ -1491,7 +1491,7 @@ dependencies = [ [[package]] name = "deno_webidl" -version = "0.111.0" +version = "0.112.0" dependencies = [ "deno_bench_util", "deno_core", @@ -1499,7 +1499,7 @@ dependencies = [ [[package]] name = "deno_websocket" -version = "0.116.0" +version = "0.117.0" dependencies = [ "bytes", "deno_core", @@ -1516,7 +1516,7 @@ dependencies = [ [[package]] name = "deno_webstorage" -version = "0.106.0" +version = "0.107.0" dependencies = [ "deno_core", "deno_web", @@ -3112,7 +3112,7 @@ dependencies = [ [[package]] name = "napi_sym" -version = "0.41.0" +version = "0.42.0" dependencies = [ "proc-macro2 1.0.60", "quote 1.0.28", diff --git a/Cargo.toml b/Cargo.toml index 4bf61c7249..7333039398 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -45,9 +45,9 @@ deno_core = { version = "0.195.0" } deno_ops = { version = "0.72.0" } serde_v8 = { version = "0.105.0" } -deno_runtime = { version = "0.119.0", path = "./runtime" } -napi_sym = { version = "0.41.0", path = "./cli/napi/sym" } -deno_bench_util = { version = "0.105.0", path = "./bench_util" } +deno_runtime = { version = "0.120.0", path = "./runtime" } +napi_sym = { version = "0.42.0", path = "./cli/napi/sym" } +deno_bench_util = { version = "0.106.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.105.0", path = "./ext/broadcast_channel" } -deno_cache = { version = "0.43.0", path = "./ext/cache" } -deno_console = { version = "0.111.0", path = "./ext/console" } -deno_crypto = { version = "0.125.0", path = "./ext/crypto" } -deno_fetch = { version = "0.135.0", path = "./ext/fetch" } -deno_ffi = { version = "0.98.0", path = "./ext/ffi" } -deno_fs = { version = "0.21.0", path = "./ext/fs" } -deno_http = { version = "0.106.0", path = "./ext/http" } -deno_io = { version = "0.21.0", path = "./ext/io" } -deno_net = { version = "0.103.0", path = "./ext/net" } -deno_node = { version = "0.48.0", path = "./ext/node" } -deno_kv = { version = "0.19.0", path = "./ext/kv" } -deno_tls = { version = "0.98.0", path = "./ext/tls" } -deno_url = { version = "0.111.0", path = "./ext/url" } -deno_web = { version = "0.142.0", path = "./ext/web" } -deno_webidl = { version = "0.111.0", path = "./ext/webidl" } -deno_websocket = { version = "0.116.0", path = "./ext/websocket" } -deno_webstorage = { version = "0.106.0", path = "./ext/webstorage" } -deno_napi = { version = "0.41.0", path = "./ext/napi" } +deno_broadcast_channel = { version = "0.106.0", path = "./ext/broadcast_channel" } +deno_cache = { version = "0.44.0", path = "./ext/cache" } +deno_console = { version = "0.112.0", path = "./ext/console" } +deno_crypto = { version = "0.126.0", path = "./ext/crypto" } +deno_fetch = { version = "0.136.0", path = "./ext/fetch" } +deno_ffi = { version = "0.99.0", path = "./ext/ffi" } +deno_fs = { version = "0.22.0", path = "./ext/fs" } +deno_http = { version = "0.107.0", path = "./ext/http" } +deno_io = { version = "0.22.0", path = "./ext/io" } +deno_net = { version = "0.104.0", path = "./ext/net" } +deno_node = { version = "0.49.0", path = "./ext/node" } +deno_kv = { version = "0.20.0", path = "./ext/kv" } +deno_tls = { version = "0.99.0", path = "./ext/tls" } +deno_url = { version = "0.112.0", path = "./ext/url" } +deno_web = { version = "0.143.0", path = "./ext/web" } +deno_webidl = { version = "0.112.0", path = "./ext/webidl" } +deno_websocket = { version = "0.117.0", path = "./ext/websocket" } +deno_webstorage = { version = "0.107.0", path = "./ext/webstorage" } +deno_napi = { version = "0.42.0", path = "./ext/napi" } aes = "=0.8.2" anyhow = "1.0.57" diff --git a/Releases.md b/Releases.md index 3d4ca9f3e8..d1c3d35165 100644 --- a/Releases.md +++ b/Releases.md @@ -6,6 +6,27 @@ https://github.com/denoland/deno/releases We also have one-line install commands at: https://github.com/denoland/deno_install +### 1.35.2 / 2023.07.20 + +- fix(bench): run warmup benchmark to break JIT bias (#19844) +- fix(ext/node): check if resource can be used with write_vectored (#19868) +- fix(ext/node): fix stream/promises export (#19820) +- fix(ext/node): properly segregate node globals (#19307) +- fix(napi): update env_test.js (#19876) +- fix(node): add process.dlopen API (#19860) +- fix(node): improve error message requiring non-npm es module (#19856) +- fix(node): improve require esm error messages (#19853) +- fix(node/http): call callback after request is sent (#19871) +- fix(node/net): Server connection callback include socket value (#19779) +- fix(npm): improve error message importing non-existent file in a node_modules + npm package (#19835) +- fix(npm): improve error message on directory import in npm package (#19538) +- fix(npm): support dynamic import of Deno TS from npm package (#19858) +- fix(runtime): print process name in case of spawn error (#19855) +- fix(tsc): more informative diagnostic when `Deno` does not exist (#19825) +- fix(vendor): do not panic vendoring with jsxImportSource and no jsx files + (#19837) + ### 1.35.1 / 2023.07.12 - fix(ext/http): Use brotli compression params (#19758) diff --git a/bench_util/Cargo.toml b/bench_util/Cargo.toml index 55acbfc97b..5ee40967c3 100644 --- a/bench_util/Cargo.toml +++ b/bench_util/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_bench_util" -version = "0.105.0" +version = "0.106.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 6f3726853f..604f9dfbee 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno" -version = "1.35.1" +version = "1.35.2" authors.workspace = true default-run = "deno" edition.workspace = true diff --git a/cli/deno_std.rs b/cli/deno_std.rs index 510d490896..f965fb8bb2 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.194.0/"; +pub const CURRENT_STD_URL_STR: &str = "https://deno.land/std@0.195.0/"; diff --git a/cli/napi/sym/Cargo.toml b/cli/napi/sym/Cargo.toml index 1fa018e41c..5121172716 100644 --- a/cli/napi/sym/Cargo.toml +++ b/cli/napi/sym/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "napi_sym" -version = "0.41.0" +version = "0.42.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 7e1b18b4d2..d11c85a5e8 100644 --- a/ext/broadcast_channel/Cargo.toml +++ b/ext/broadcast_channel/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_broadcast_channel" -version = "0.105.0" +version = "0.106.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/cache/Cargo.toml b/ext/cache/Cargo.toml index d9fb25fa27..d75e3d60ac 100644 --- a/ext/cache/Cargo.toml +++ b/ext/cache/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_cache" -version = "0.43.0" +version = "0.44.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/console/Cargo.toml b/ext/console/Cargo.toml index 05cf114512..74f674c494 100644 --- a/ext/console/Cargo.toml +++ b/ext/console/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_console" -version = "0.111.0" +version = "0.112.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/crypto/Cargo.toml b/ext/crypto/Cargo.toml index 77a67a33d7..48b67c8a59 100644 --- a/ext/crypto/Cargo.toml +++ b/ext/crypto/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_crypto" -version = "0.125.0" +version = "0.126.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/fetch/Cargo.toml b/ext/fetch/Cargo.toml index c2e74702e9..515b1813d8 100644 --- a/ext/fetch/Cargo.toml +++ b/ext/fetch/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_fetch" -version = "0.135.0" +version = "0.136.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/ffi/Cargo.toml b/ext/ffi/Cargo.toml index 6ffe34aaa8..8d437afb0b 100644 --- a/ext/ffi/Cargo.toml +++ b/ext/ffi/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_ffi" -version = "0.98.0" +version = "0.99.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/fs/Cargo.toml b/ext/fs/Cargo.toml index c1a330bcf2..84c420d844 100644 --- a/ext/fs/Cargo.toml +++ b/ext/fs/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_fs" -version = "0.21.0" +version = "0.22.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/http/Cargo.toml b/ext/http/Cargo.toml index f741d3472a..1414e881a8 100644 --- a/ext/http/Cargo.toml +++ b/ext/http/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_http" -version = "0.106.0" +version = "0.107.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/io/Cargo.toml b/ext/io/Cargo.toml index 12e850086f..42e303d202 100644 --- a/ext/io/Cargo.toml +++ b/ext/io/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_io" -version = "0.21.0" +version = "0.22.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/kv/Cargo.toml b/ext/kv/Cargo.toml index cfee25fe25..7f3291f45b 100644 --- a/ext/kv/Cargo.toml +++ b/ext/kv/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_kv" -version = "0.19.0" +version = "0.20.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/napi/Cargo.toml b/ext/napi/Cargo.toml index c3c5954ee0..0185e6f645 100644 --- a/ext/napi/Cargo.toml +++ b/ext/napi/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_napi" -version = "0.41.0" +version = "0.42.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/net/Cargo.toml b/ext/net/Cargo.toml index 0436e8fdb6..62a54b4f9f 100644 --- a/ext/net/Cargo.toml +++ b/ext/net/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_net" -version = "0.103.0" +version = "0.104.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/node/Cargo.toml b/ext/node/Cargo.toml index 0d3a9c1638..fca91a12b0 100644 --- a/ext/node/Cargo.toml +++ b/ext/node/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_node" -version = "0.48.0" +version = "0.49.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/tls/Cargo.toml b/ext/tls/Cargo.toml index 223fa1d5ce..bab1ef29cd 100644 --- a/ext/tls/Cargo.toml +++ b/ext/tls/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_tls" -version = "0.98.0" +version = "0.99.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/url/Cargo.toml b/ext/url/Cargo.toml index 2e5282fd8d..d022a5d5eb 100644 --- a/ext/url/Cargo.toml +++ b/ext/url/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_url" -version = "0.111.0" +version = "0.112.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/web/Cargo.toml b/ext/web/Cargo.toml index 6d11f0b61e..f4ec16f762 100644 --- a/ext/web/Cargo.toml +++ b/ext/web/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_web" -version = "0.142.0" +version = "0.143.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/webidl/Cargo.toml b/ext/webidl/Cargo.toml index 6326fdb1fb..10cad7db29 100644 --- a/ext/webidl/Cargo.toml +++ b/ext/webidl/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_webidl" -version = "0.111.0" +version = "0.112.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/websocket/Cargo.toml b/ext/websocket/Cargo.toml index 656dca303e..fddb990875 100644 --- a/ext/websocket/Cargo.toml +++ b/ext/websocket/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_websocket" -version = "0.116.0" +version = "0.117.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/webstorage/Cargo.toml b/ext/webstorage/Cargo.toml index b1d06be8d7..d248edbf7c 100644 --- a/ext/webstorage/Cargo.toml +++ b/ext/webstorage/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_webstorage" -version = "0.106.0" +version = "0.107.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 72631c9c76..098a45665f 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_runtime" -version = "0.119.0" +version = "0.120.0" authors.workspace = true edition.workspace = true license.workspace = true