diff --git a/.github/workflows/ci.generate.ts b/.github/workflows/ci.generate.ts index 148fb1b26e..63a89bf9f4 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 = 47; +const cacheVersion = 48; const Runners = (() => { const ubuntuRunner = "ubuntu-22.04"; diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f777026f84..9fe9d49093 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -311,8 +311,8 @@ jobs: path: |- ~/.cargo/registry/index ~/.cargo/registry/cache - key: '47-cargo-home-${{ matrix.os }}-${{ hashFiles(''Cargo.lock'') }}' - restore-keys: '47-cargo-home-${{ matrix.os }}' + key: '48-cargo-home-${{ matrix.os }}-${{ hashFiles(''Cargo.lock'') }}' + restore-keys: '48-cargo-home-${{ matrix.os }}' if: '!(github.event_name == ''pull_request'' && matrix.skip_pr)' - name: Restore cache build output (PR) uses: actions/cache/restore@v3 @@ -324,7 +324,7 @@ jobs: !./target/*/*.zip !./target/*/*.tar.gz key: never_saved - restore-keys: '47-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ matrix.job }}-' + restore-keys: '48-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 @@ -612,7 +612,7 @@ jobs: !./target/*/gn_out !./target/*/*.zip !./target/*/*.tar.gz - key: '47-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ matrix.job }}-${{ github.sha }}' + key: '48-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 67608b9bec..7b8f5064c9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -796,7 +796,7 @@ checksum = "8d7439c3735f405729d52c3fbbe4de140eaf938a1fe47d227c27f8254d4302a5" [[package]] name = "deno" -version = "1.35.3" +version = "1.36.0" dependencies = [ "async-trait", "atty", @@ -943,7 +943,7 @@ dependencies = [ [[package]] name = "deno_bench_util" -version = "0.107.0" +version = "0.108.0" dependencies = [ "bencher", "deno_core", @@ -953,7 +953,7 @@ dependencies = [ [[package]] name = "deno_broadcast_channel" -version = "0.107.0" +version = "0.108.0" dependencies = [ "async-trait", "deno_core", @@ -963,7 +963,7 @@ dependencies = [ [[package]] name = "deno_cache" -version = "0.45.0" +version = "0.46.0" dependencies = [ "async-trait", "deno_core", @@ -975,7 +975,7 @@ dependencies = [ [[package]] name = "deno_console" -version = "0.113.0" +version = "0.114.0" dependencies = [ "deno_core", ] @@ -1008,7 +1008,7 @@ dependencies = [ [[package]] name = "deno_crypto" -version = "0.127.0" +version = "0.128.0" dependencies = [ "aes", "aes-gcm", @@ -1077,7 +1077,7 @@ dependencies = [ [[package]] name = "deno_fetch" -version = "0.137.0" +version = "0.138.0" dependencies = [ "bytes", "data-url", @@ -1093,7 +1093,7 @@ dependencies = [ [[package]] name = "deno_ffi" -version = "0.100.0" +version = "0.101.0" dependencies = [ "deno_core", "dlopen", @@ -1109,7 +1109,7 @@ dependencies = [ [[package]] name = "deno_fs" -version = "0.23.0" +version = "0.24.0" dependencies = [ "async-trait", "deno_core", @@ -1149,7 +1149,7 @@ dependencies = [ [[package]] name = "deno_http" -version = "0.108.0" +version = "0.109.0" dependencies = [ "async-compression 0.3.15", "async-trait", @@ -1185,7 +1185,7 @@ dependencies = [ [[package]] name = "deno_io" -version = "0.23.0" +version = "0.24.0" dependencies = [ "async-trait", "deno_core", @@ -1198,7 +1198,7 @@ dependencies = [ [[package]] name = "deno_kv" -version = "0.21.0" +version = "0.22.0" dependencies = [ "anyhow", "async-trait", @@ -1256,7 +1256,7 @@ dependencies = [ [[package]] name = "deno_napi" -version = "0.43.0" +version = "0.44.0" dependencies = [ "deno_core", "libloading", @@ -1264,7 +1264,7 @@ dependencies = [ [[package]] name = "deno_net" -version = "0.105.0" +version = "0.106.0" dependencies = [ "deno_core", "deno_tls", @@ -1280,7 +1280,7 @@ dependencies = [ [[package]] name = "deno_node" -version = "0.50.0" +version = "0.51.0" dependencies = [ "aes", "brotli", @@ -1375,7 +1375,7 @@ dependencies = [ [[package]] name = "deno_runtime" -version = "0.121.0" +version = "0.122.0" dependencies = [ "atty", "console_static_text", @@ -1459,7 +1459,7 @@ dependencies = [ [[package]] name = "deno_tls" -version = "0.100.0" +version = "0.101.0" dependencies = [ "deno_core", "once_cell", @@ -1473,7 +1473,7 @@ dependencies = [ [[package]] name = "deno_url" -version = "0.113.0" +version = "0.114.0" dependencies = [ "deno_bench_util", "deno_core", @@ -1484,7 +1484,7 @@ dependencies = [ [[package]] name = "deno_web" -version = "0.144.0" +version = "0.145.0" dependencies = [ "async-trait", "base64-simd", @@ -1503,7 +1503,7 @@ dependencies = [ [[package]] name = "deno_webidl" -version = "0.113.0" +version = "0.114.0" dependencies = [ "deno_bench_util", "deno_core", @@ -1511,7 +1511,7 @@ dependencies = [ [[package]] name = "deno_websocket" -version = "0.118.0" +version = "0.119.0" dependencies = [ "bytes", "deno_core", @@ -1528,7 +1528,7 @@ dependencies = [ [[package]] name = "deno_webstorage" -version = "0.108.0" +version = "0.109.0" dependencies = [ "deno_core", "deno_web", @@ -3153,7 +3153,7 @@ dependencies = [ [[package]] name = "napi_sym" -version = "0.43.0" +version = "0.44.0" dependencies = [ "proc-macro2 1.0.66", "quote 1.0.28", diff --git a/Cargo.toml b/Cargo.toml index ae8696b3af..5cd5193896 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -45,9 +45,9 @@ deno_core = "0.199.0" deno_ops = "0.77.0" serde_v8 = "0.110.0" -deno_runtime = { version = "0.121.0", path = "./runtime" } -napi_sym = { version = "0.43.0", path = "./cli/napi/sym" } -deno_bench_util = { version = "0.107.0", path = "./bench_util" } +deno_runtime = { version = "0.122.0", path = "./runtime" } +napi_sym = { version = "0.44.0", path = "./cli/napi/sym" } +deno_bench_util = { version = "0.108.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.10.1" deno_semver = "0.3.0" # exts -deno_broadcast_channel = { version = "0.107.0", path = "./ext/broadcast_channel" } -deno_cache = { version = "0.45.0", path = "./ext/cache" } -deno_console = { version = "0.113.0", path = "./ext/console" } -deno_crypto = { version = "0.127.0", path = "./ext/crypto" } -deno_fetch = { version = "0.137.0", path = "./ext/fetch" } -deno_ffi = { version = "0.100.0", path = "./ext/ffi" } -deno_fs = { version = "0.23.0", path = "./ext/fs" } -deno_http = { version = "0.108.0", path = "./ext/http" } -deno_io = { version = "0.23.0", path = "./ext/io" } -deno_net = { version = "0.105.0", path = "./ext/net" } -deno_node = { version = "0.50.0", path = "./ext/node" } -deno_kv = { version = "0.21.0", path = "./ext/kv" } -deno_tls = { version = "0.100.0", path = "./ext/tls" } -deno_url = { version = "0.113.0", path = "./ext/url" } -deno_web = { version = "0.144.0", path = "./ext/web" } -deno_webidl = { version = "0.113.0", path = "./ext/webidl" } -deno_websocket = { version = "0.118.0", path = "./ext/websocket" } -deno_webstorage = { version = "0.108.0", path = "./ext/webstorage" } -deno_napi = { version = "0.43.0", path = "./ext/napi" } +deno_broadcast_channel = { version = "0.108.0", path = "./ext/broadcast_channel" } +deno_cache = { version = "0.46.0", path = "./ext/cache" } +deno_console = { version = "0.114.0", path = "./ext/console" } +deno_crypto = { version = "0.128.0", path = "./ext/crypto" } +deno_fetch = { version = "0.138.0", path = "./ext/fetch" } +deno_ffi = { version = "0.101.0", path = "./ext/ffi" } +deno_fs = { version = "0.24.0", path = "./ext/fs" } +deno_http = { version = "0.109.0", path = "./ext/http" } +deno_io = { version = "0.24.0", path = "./ext/io" } +deno_net = { version = "0.106.0", path = "./ext/net" } +deno_node = { version = "0.51.0", path = "./ext/node" } +deno_kv = { version = "0.22.0", path = "./ext/kv" } +deno_tls = { version = "0.101.0", path = "./ext/tls" } +deno_url = { version = "0.114.0", path = "./ext/url" } +deno_web = { version = "0.145.0", path = "./ext/web" } +deno_webidl = { version = "0.114.0", path = "./ext/webidl" } +deno_websocket = { version = "0.119.0", path = "./ext/websocket" } +deno_webstorage = { version = "0.109.0", path = "./ext/webstorage" } +deno_napi = { version = "0.44.0", path = "./ext/napi" } aes = "=0.8.2" anyhow = "1.0.57" diff --git a/Releases.md b/Releases.md index bf35787507..2cfb37ad41 100644 --- a/Releases.md +++ b/Releases.md @@ -6,6 +6,49 @@ https://github.com/denoland/deno/releases We also have one-line install commands at: https://github.com/denoland/deno_install +### 1.36.0 / 2023.08.03 + +- feat(bench): add BenchContext::start() and BenchContext::end() (#18734) +- feat(bench): print iter/s in the report (#19994) +- feat(cli): Add dot test reporter (#19804) +- feat(cli): Adding JUnit test reports (#19747) +- feat(compile): Add `--no-terminal` to compile command (#17991) +- feat(ext/http): Upgrade to hyper1.0-rc4 (#19987) +- feat(ext/websocket): allow HTTP(S) protocol in URL (#19862) +- feat(node): add polyfill for node:test module (#20002) +- feat(node/os): implement getPriority, setPriority & userInfo (#19370) +- feat(npm): support running non-bin scripts in npm pkgs via `deno run` (#19975) +- feat(permissions): add "--deny-*" flags (#19070) +- feat(unstable): optional `deno_modules` directory (#19977) +- feat(unstable/lsp): support navigating to deno_modules folder (#20030) +- feat: Deno.createHttpClient allowHost (#19689) +- fix(Deno.serve): accessing .url on cloned request throws (#19869) +- fix(bench): iter/s calculation (#20016) +- fix(check): should bust check cache when json module or npm resolution changes + (#19941) +- fix(ext/compression): throw TypeError on corrupt input (#19979) +- fix(ext/fs): fix MaybeArc when not sync_fs (#19950) +- fix(ext/node): fix import json using npm specifier (#19723) +- fix(lsp): handle import mapped `node:` specifier (#19956) +- fix(node): node:test reports correct location (#20025) +- fix(node): package path not exported error - add if types resolution was + occurring (#19963) +- fix(npm): improve declaration resolution for filename with different + extensions (#19966) +- fix(repl): highlight from ident in import from or export from (#20023) +- fix(test): request cloning should throw if body stream is locked (#19990) +- fix: call setIsTrusted for generated events (MessageEvent) (#19919) +- fix: deno diagnostic - clarify where to put triple-slash directive (#20009) +- fix: do not include jsx without `@ts-check` in tsc roots (#19964) +- fix: error on invalid & unsupported jsx compiler options (#19954) +- fix: make "suggest.autoImports" to switch completions from external modules + (#19845) +- fix: regression in workers using dynamic imports (#20006) +- fix: retry module download once if server errored (#17252) +- perf(ext/ffi): Avoid receiving on FFI async work channel when no + UnsafeCallback exists (#19454) +- perf: faster node globals access in cjs (#19997) + ### 1.35.3 / 2023.07.26 - feat(runtime): sys_info.rs - Use KERN_OSRELEASE on {Free,Open}BSD (#19849) diff --git a/bench_util/Cargo.toml b/bench_util/Cargo.toml index 0d538d90f8..ace55526ef 100644 --- a/bench_util/Cargo.toml +++ b/bench_util/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_bench_util" -version = "0.107.0" +version = "0.108.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 3fb22eee1b..5ee0bd22da 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno" -version = "1.35.3" +version = "1.36.0" authors.workspace = true default-run = "deno" edition.workspace = true diff --git a/cli/deno_std.rs b/cli/deno_std.rs index a3ed7a3433..b7cf25ff0f 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.196.0/"; +pub const CURRENT_STD_URL_STR: &str = "https://deno.land/std@0.197.0/"; diff --git a/cli/napi/sym/Cargo.toml b/cli/napi/sym/Cargo.toml index 3bec299ee9..3c49403b88 100644 --- a/cli/napi/sym/Cargo.toml +++ b/cli/napi/sym/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "napi_sym" -version = "0.43.0" +version = "0.44.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 1b26bc6610..d28759eb4f 100644 --- a/ext/broadcast_channel/Cargo.toml +++ b/ext/broadcast_channel/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_broadcast_channel" -version = "0.107.0" +version = "0.108.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/cache/Cargo.toml b/ext/cache/Cargo.toml index 9f10bd8625..76567ea4a2 100644 --- a/ext/cache/Cargo.toml +++ b/ext/cache/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_cache" -version = "0.45.0" +version = "0.46.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/console/Cargo.toml b/ext/console/Cargo.toml index 8a00d3609a..d42ef47a2c 100644 --- a/ext/console/Cargo.toml +++ b/ext/console/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_console" -version = "0.113.0" +version = "0.114.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/crypto/Cargo.toml b/ext/crypto/Cargo.toml index ea3da27a91..119c489ffa 100644 --- a/ext/crypto/Cargo.toml +++ b/ext/crypto/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_crypto" -version = "0.127.0" +version = "0.128.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/fetch/Cargo.toml b/ext/fetch/Cargo.toml index 3476af2206..5d6b07af67 100644 --- a/ext/fetch/Cargo.toml +++ b/ext/fetch/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_fetch" -version = "0.137.0" +version = "0.138.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/ffi/Cargo.toml b/ext/ffi/Cargo.toml index f51742b8ab..1e1d29243c 100644 --- a/ext/ffi/Cargo.toml +++ b/ext/ffi/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_ffi" -version = "0.100.0" +version = "0.101.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/fs/Cargo.toml b/ext/fs/Cargo.toml index 18d1ef427c..484285f858 100644 --- a/ext/fs/Cargo.toml +++ b/ext/fs/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_fs" -version = "0.23.0" +version = "0.24.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/http/Cargo.toml b/ext/http/Cargo.toml index 6c7d6e7bb6..1ac4c638fe 100644 --- a/ext/http/Cargo.toml +++ b/ext/http/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_http" -version = "0.108.0" +version = "0.109.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/io/Cargo.toml b/ext/io/Cargo.toml index 5b9d8ac422..0c9dedec1e 100644 --- a/ext/io/Cargo.toml +++ b/ext/io/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_io" -version = "0.23.0" +version = "0.24.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/kv/Cargo.toml b/ext/kv/Cargo.toml index b93cb1246c..e819796eee 100644 --- a/ext/kv/Cargo.toml +++ b/ext/kv/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_kv" -version = "0.21.0" +version = "0.22.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/napi/Cargo.toml b/ext/napi/Cargo.toml index 9ee51730ec..aeae702c91 100644 --- a/ext/napi/Cargo.toml +++ b/ext/napi/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_napi" -version = "0.43.0" +version = "0.44.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/net/Cargo.toml b/ext/net/Cargo.toml index 13a655cc4c..f6036db2e2 100644 --- a/ext/net/Cargo.toml +++ b/ext/net/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_net" -version = "0.105.0" +version = "0.106.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/node/Cargo.toml b/ext/node/Cargo.toml index 834493d5a3..9f4ba46948 100644 --- a/ext/node/Cargo.toml +++ b/ext/node/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_node" -version = "0.50.0" +version = "0.51.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/tls/Cargo.toml b/ext/tls/Cargo.toml index fb2beb88ba..068cfb62dd 100644 --- a/ext/tls/Cargo.toml +++ b/ext/tls/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_tls" -version = "0.100.0" +version = "0.101.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/url/Cargo.toml b/ext/url/Cargo.toml index f5d9d68dd1..de76572e13 100644 --- a/ext/url/Cargo.toml +++ b/ext/url/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_url" -version = "0.113.0" +version = "0.114.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/web/Cargo.toml b/ext/web/Cargo.toml index 71e7763d4d..7de084d7f8 100644 --- a/ext/web/Cargo.toml +++ b/ext/web/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_web" -version = "0.144.0" +version = "0.145.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/webidl/Cargo.toml b/ext/webidl/Cargo.toml index ddd0d220ed..91e58be003 100644 --- a/ext/webidl/Cargo.toml +++ b/ext/webidl/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_webidl" -version = "0.113.0" +version = "0.114.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/websocket/Cargo.toml b/ext/websocket/Cargo.toml index 7e5284bd59..21434cf3da 100644 --- a/ext/websocket/Cargo.toml +++ b/ext/websocket/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_websocket" -version = "0.118.0" +version = "0.119.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/webstorage/Cargo.toml b/ext/webstorage/Cargo.toml index 5212057672..0461e74e37 100644 --- a/ext/webstorage/Cargo.toml +++ b/ext/webstorage/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_webstorage" -version = "0.108.0" +version = "0.109.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index 50da5ff7ae..4850a52559 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_runtime" -version = "0.121.0" +version = "0.122.0" authors.workspace = true edition.workspace = true license.workspace = true