diff --git a/.github/workflows/ci.generate.ts b/.github/workflows/ci.generate.ts index aaf96c807c..9da201f351 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 = 49; +const cacheVersion = 50; const Runners = (() => { const ubuntuRunner = "ubuntu-22.04"; diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 45607d82ed..e82b54d9e8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -315,8 +315,8 @@ jobs: path: |- ~/.cargo/registry/index ~/.cargo/registry/cache - key: '49-cargo-home-${{ matrix.os }}-${{ hashFiles(''Cargo.lock'') }}' - restore-keys: '49-cargo-home-${{ matrix.os }}' + key: '50-cargo-home-${{ matrix.os }}-${{ hashFiles(''Cargo.lock'') }}' + restore-keys: '50-cargo-home-${{ matrix.os }}' if: '!(github.event_name == ''pull_request'' && matrix.skip_pr)' - name: Restore cache build output (PR) uses: actions/cache/restore@v3 @@ -328,7 +328,7 @@ jobs: !./target/*/*.zip !./target/*/*.tar.gz key: never_saved - restore-keys: '49-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ matrix.job }}-' + restore-keys: '50-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 @@ -616,7 +616,7 @@ jobs: !./target/*/gn_out !./target/*/*.zip !./target/*/*.tar.gz - key: '49-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ matrix.job }}-${{ github.sha }}' + key: '50-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 b597710fdd..6be5cf9222 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -783,7 +783,7 @@ checksum = "8d7439c3735f405729d52c3fbbe4de140eaf938a1fe47d227c27f8254d4302a5" [[package]] name = "deno" -version = "1.36.1" +version = "1.36.2" dependencies = [ "async-trait", "atty", @@ -940,7 +940,7 @@ dependencies = [ [[package]] name = "deno_bench_util" -version = "0.109.0" +version = "0.110.0" dependencies = [ "bencher", "deno_core", @@ -950,7 +950,7 @@ dependencies = [ [[package]] name = "deno_broadcast_channel" -version = "0.109.0" +version = "0.110.0" dependencies = [ "async-trait", "deno_core", @@ -960,7 +960,7 @@ dependencies = [ [[package]] name = "deno_cache" -version = "0.47.0" +version = "0.48.0" dependencies = [ "async-trait", "deno_core", @@ -1009,7 +1009,7 @@ dependencies = [ [[package]] name = "deno_console" -version = "0.115.0" +version = "0.116.0" dependencies = [ "deno_core", ] @@ -1043,7 +1043,7 @@ dependencies = [ [[package]] name = "deno_crypto" -version = "0.129.0" +version = "0.130.0" dependencies = [ "aes", "aes-gcm", @@ -1112,7 +1112,7 @@ dependencies = [ [[package]] name = "deno_fetch" -version = "0.139.0" +version = "0.140.0" dependencies = [ "bytes", "data-url", @@ -1128,7 +1128,7 @@ dependencies = [ [[package]] name = "deno_ffi" -version = "0.102.0" +version = "0.103.0" dependencies = [ "deno_core", "dlopen", @@ -1144,7 +1144,7 @@ dependencies = [ [[package]] name = "deno_fs" -version = "0.25.0" +version = "0.26.0" dependencies = [ "async-trait", "deno_core", @@ -1184,7 +1184,7 @@ dependencies = [ [[package]] name = "deno_http" -version = "0.110.0" +version = "0.111.0" dependencies = [ "async-compression", "async-trait", @@ -1220,7 +1220,7 @@ dependencies = [ [[package]] name = "deno_io" -version = "0.25.0" +version = "0.26.0" dependencies = [ "async-trait", "deno_core", @@ -1233,7 +1233,7 @@ dependencies = [ [[package]] name = "deno_kv" -version = "0.23.0" +version = "0.24.0" dependencies = [ "anyhow", "async-trait", @@ -1297,7 +1297,7 @@ dependencies = [ [[package]] name = "deno_napi" -version = "0.45.0" +version = "0.46.0" dependencies = [ "deno_core", "libloading", @@ -1305,7 +1305,7 @@ dependencies = [ [[package]] name = "deno_net" -version = "0.107.0" +version = "0.108.0" dependencies = [ "deno_core", "deno_tls", @@ -1321,7 +1321,7 @@ dependencies = [ [[package]] name = "deno_node" -version = "0.52.0" +version = "0.53.0" dependencies = [ "aes", "brotli", @@ -1417,7 +1417,7 @@ dependencies = [ [[package]] name = "deno_runtime" -version = "0.123.0" +version = "0.124.0" dependencies = [ "atty", "console_static_text", @@ -1501,7 +1501,7 @@ dependencies = [ [[package]] name = "deno_tls" -version = "0.102.0" +version = "0.103.0" dependencies = [ "deno_core", "once_cell", @@ -1524,7 +1524,7 @@ dependencies = [ [[package]] name = "deno_url" -version = "0.115.0" +version = "0.116.0" dependencies = [ "deno_bench_util", "deno_core", @@ -1535,7 +1535,7 @@ dependencies = [ [[package]] name = "deno_web" -version = "0.146.0" +version = "0.147.0" dependencies = [ "async-trait", "base64-simd", @@ -1556,7 +1556,7 @@ dependencies = [ [[package]] name = "deno_webidl" -version = "0.115.0" +version = "0.116.0" dependencies = [ "deno_bench_util", "deno_core", @@ -1564,7 +1564,7 @@ dependencies = [ [[package]] name = "deno_websocket" -version = "0.120.0" +version = "0.121.0" dependencies = [ "bytes", "deno_core", @@ -1581,7 +1581,7 @@ dependencies = [ [[package]] name = "deno_webstorage" -version = "0.110.0" +version = "0.111.0" dependencies = [ "deno_core", "deno_web", @@ -3161,7 +3161,7 @@ dependencies = [ [[package]] name = "napi_sym" -version = "0.45.0" +version = "0.46.0" dependencies = [ "proc-macro2 1.0.66", "quote 1.0.32", diff --git a/Cargo.toml b/Cargo.toml index 866b87049b..566e25282b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -42,9 +42,9 @@ deno_ast = { version = "0.28.0", features = ["transpiling"] } deno_core = "0.204.0" -deno_runtime = { version = "0.123.0", path = "./runtime" } -napi_sym = { version = "0.45.0", path = "./cli/napi/sym" } -deno_bench_util = { version = "0.109.0", path = "./bench_util" } +deno_runtime = { version = "0.124.0", path = "./runtime" } +napi_sym = { version = "0.46.0", path = "./cli/napi/sym" } +deno_bench_util = { version = "0.110.0", path = "./bench_util" } test_util = { path = "./test_util" } deno_lockfile = "0.15.0" deno_media_type = { version = "0.1.1", features = ["module_specifier"] } @@ -52,25 +52,25 @@ deno_npm = "0.12.0" deno_semver = "0.4.0" # exts -deno_broadcast_channel = { version = "0.109.0", path = "./ext/broadcast_channel" } -deno_cache = { version = "0.47.0", path = "./ext/cache" } -deno_console = { version = "0.115.0", path = "./ext/console" } -deno_crypto = { version = "0.129.0", path = "./ext/crypto" } -deno_fetch = { version = "0.139.0", path = "./ext/fetch" } -deno_ffi = { version = "0.102.0", path = "./ext/ffi" } -deno_fs = { version = "0.25.0", path = "./ext/fs" } -deno_http = { version = "0.110.0", path = "./ext/http" } -deno_io = { version = "0.25.0", path = "./ext/io" } -deno_net = { version = "0.107.0", path = "./ext/net" } -deno_node = { version = "0.52.0", path = "./ext/node" } -deno_kv = { version = "0.23.0", path = "./ext/kv" } -deno_tls = { version = "0.102.0", path = "./ext/tls" } -deno_url = { version = "0.115.0", path = "./ext/url" } -deno_web = { version = "0.146.0", path = "./ext/web" } -deno_webidl = { version = "0.115.0", path = "./ext/webidl" } -deno_websocket = { version = "0.120.0", path = "./ext/websocket" } -deno_webstorage = { version = "0.110.0", path = "./ext/webstorage" } -deno_napi = { version = "0.45.0", path = "./ext/napi" } +deno_broadcast_channel = { version = "0.110.0", path = "./ext/broadcast_channel" } +deno_cache = { version = "0.48.0", path = "./ext/cache" } +deno_console = { version = "0.116.0", path = "./ext/console" } +deno_crypto = { version = "0.130.0", path = "./ext/crypto" } +deno_fetch = { version = "0.140.0", path = "./ext/fetch" } +deno_ffi = { version = "0.103.0", path = "./ext/ffi" } +deno_fs = { version = "0.26.0", path = "./ext/fs" } +deno_http = { version = "0.111.0", path = "./ext/http" } +deno_io = { version = "0.26.0", path = "./ext/io" } +deno_net = { version = "0.108.0", path = "./ext/net" } +deno_node = { version = "0.53.0", path = "./ext/node" } +deno_kv = { version = "0.24.0", path = "./ext/kv" } +deno_tls = { version = "0.103.0", path = "./ext/tls" } +deno_url = { version = "0.116.0", path = "./ext/url" } +deno_web = { version = "0.147.0", path = "./ext/web" } +deno_webidl = { version = "0.116.0", path = "./ext/webidl" } +deno_websocket = { version = "0.121.0", path = "./ext/websocket" } +deno_webstorage = { version = "0.111.0", path = "./ext/webstorage" } +deno_napi = { version = "0.46.0", path = "./ext/napi" } aes = "=0.8.2" anyhow = "1.0.57" diff --git a/Releases.md b/Releases.md index 0dceb9c4af..dfbc84eef1 100644 --- a/Releases.md +++ b/Releases.md @@ -6,6 +6,55 @@ https://github.com/denoland/deno/releases We also have one-line install commands at: https://github.com/denoland/deno_install +### 1.36.2 / 2023.08.24 + +- feat(ext/kv): connect to remote database (#20178) +- feat(ext/kv): key expiration (#20091) +- feat(ext/node): eagerly bootstrap node (#20153) +- feat(ext/web): resourceForReadableStream (#20180) +- feat(unstable): Improve FFI types (#20215) +- fix(cli) error gracefully when script arg is not present and `--v8-flags` is present in `deno run` (#20145) +- fix(cli): add timeout on inspector tests (#20225) +- fix(cli): handle missing `now` field in cache (#20192) +- fix(ext/fetch): clone second branch chunks in Body.clone() (#20057) +- fix(ext/http): ensure request body resource lives as long as response is alive (#20206) +- fix(ext/kv): retry transaction on `SQLITE_BUSY` errors (#20189) +- fix(ext/net): implement a graceful error on an invalid SSL certificate (#20157) +- fix(ext/node): allow for the reassignment of userInfo() on Windows (#20165) +- fix(ext/node): simultaneous reads can leak into each other (#20223) +- fix(ext/node): support dictionary option in zlib init (#20035) +- fix(ext/web): add stream tests to detect v8slice split bug (#20253) +- fix(ext/web): better handling of errors in resourceForReadableStream (#20238) +- fix(lint): erroneous remove await in async (#20235) +- fix(lsp): pass fmt options to completion requests (#20184) +- fix(node): don't print warning on process.dlopen.flags (#20124) +- fix(node): implement TLSSocket._start (#20120) +- fix(node): object keys in publicEncrypt (#20128) +- fix(node/http): emit error when addr in use (#20200) +- fix(npm): do not panic providing file url to require.resolve paths (#20182) +- fix(require): use canonicalized path for loading content (#20133) +- fix(runtime): navigator.userAgent in web worker (#20129) +- fix(runtime): use host header for inspector websocket URL (#20171) +- fix(test): JUnit reporter includes file, line and column attributes (#20174) +- fix(unstable): disable importing from the vendor directory (#20067) +- fix: add missing `URL.canParse()` types (#20244) +- fix: release ReadeableStream in fetch (#17365) +- perf(ext/event): always set timeStamp to 0 (#20191) +- perf(ext/event): optimize Event constructor (#20181) +- perf(ext/event): optimize addEventListener options converter (#20203) +- perf(ext/event): replace ReflectHas with object lookup (#20190) +- perf(ext/headers): cache iterableHeaders for immutable Headers (#20132) +- perf(ext/headers): optimize getHeader using for loop (#20115) +- perf(ext/headers): optimize headers iterable (#20155) +- perf(ext/headers): use regex.test instead of .exec (#20125) +- perf(ext/http): use ServeHandlerInfo class instead of object literal (#20122) +- perf(ext/node): cache `IncomingMessageForServer.headers` (#20147) +- perf(ext/node): optimize http headers (#20163) +- perf(ext/request): optimize Request constructor (#20141) +- perf(ext/request): optimize validate and normalize HTTP method (#20143) +- perf(ext/urlpattern): optimize URLPattern.exec (#20170) +- perf(http): use Cow<[u8]> for setting header (#20112) + ### 1.36.1 / 2023.08.10 - feat(unstable): rename `deno_modules` to `vendor` (#20065) diff --git a/bench_util/Cargo.toml b/bench_util/Cargo.toml index 5100e44ccc..dcbe66fbfb 100644 --- a/bench_util/Cargo.toml +++ b/bench_util/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_bench_util" -version = "0.109.0" +version = "0.110.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 396c0ad54d..abbde9eee5 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno" -version = "1.36.1" +version = "1.36.2" authors.workspace = true default-run = "deno" edition.workspace = true diff --git a/cli/deno_std.rs b/cli/deno_std.rs index bbef0b1c66..a9eb91577b 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.198.0/"; +pub const CURRENT_STD_URL_STR: &str = "https://deno.land/std@0.199.0/"; diff --git a/cli/napi/sym/Cargo.toml b/cli/napi/sym/Cargo.toml index a00f7a732a..f105e905e2 100644 --- a/cli/napi/sym/Cargo.toml +++ b/cli/napi/sym/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "napi_sym" -version = "0.45.0" +version = "0.46.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 5d46a6597d..6e2ed150dc 100644 --- a/ext/broadcast_channel/Cargo.toml +++ b/ext/broadcast_channel/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_broadcast_channel" -version = "0.109.0" +version = "0.110.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/cache/Cargo.toml b/ext/cache/Cargo.toml index aad31ce024..3e3c1dddd1 100644 --- a/ext/cache/Cargo.toml +++ b/ext/cache/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_cache" -version = "0.47.0" +version = "0.48.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/console/Cargo.toml b/ext/console/Cargo.toml index a2e13afc32..e68093bc1d 100644 --- a/ext/console/Cargo.toml +++ b/ext/console/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_console" -version = "0.115.0" +version = "0.116.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/crypto/Cargo.toml b/ext/crypto/Cargo.toml index ea9962e66c..092cefd3f8 100644 --- a/ext/crypto/Cargo.toml +++ b/ext/crypto/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_crypto" -version = "0.129.0" +version = "0.130.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/fetch/Cargo.toml b/ext/fetch/Cargo.toml index 1a28f0c74c..ed1eb3983b 100644 --- a/ext/fetch/Cargo.toml +++ b/ext/fetch/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_fetch" -version = "0.139.0" +version = "0.140.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/ffi/Cargo.toml b/ext/ffi/Cargo.toml index 2e55709236..52ec438a78 100644 --- a/ext/ffi/Cargo.toml +++ b/ext/ffi/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_ffi" -version = "0.102.0" +version = "0.103.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/fs/Cargo.toml b/ext/fs/Cargo.toml index 9a2d175ce6..2f4fe17560 100644 --- a/ext/fs/Cargo.toml +++ b/ext/fs/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_fs" -version = "0.25.0" +version = "0.26.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/http/Cargo.toml b/ext/http/Cargo.toml index 5d17a561ea..2cfe8e11e2 100644 --- a/ext/http/Cargo.toml +++ b/ext/http/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_http" -version = "0.110.0" +version = "0.111.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/io/Cargo.toml b/ext/io/Cargo.toml index 0b7e7839e1..147dd956fc 100644 --- a/ext/io/Cargo.toml +++ b/ext/io/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_io" -version = "0.25.0" +version = "0.26.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/kv/Cargo.toml b/ext/kv/Cargo.toml index bb2503e86c..dda9e8a998 100644 --- a/ext/kv/Cargo.toml +++ b/ext/kv/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_kv" -version = "0.23.0" +version = "0.24.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/napi/Cargo.toml b/ext/napi/Cargo.toml index b8868473a7..59f0760472 100644 --- a/ext/napi/Cargo.toml +++ b/ext/napi/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_napi" -version = "0.45.0" +version = "0.46.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/net/Cargo.toml b/ext/net/Cargo.toml index a0bb2f557f..6fbd302f37 100644 --- a/ext/net/Cargo.toml +++ b/ext/net/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_net" -version = "0.107.0" +version = "0.108.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/node/Cargo.toml b/ext/node/Cargo.toml index 717fd438cd..edbca143df 100644 --- a/ext/node/Cargo.toml +++ b/ext/node/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_node" -version = "0.52.0" +version = "0.53.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/tls/Cargo.toml b/ext/tls/Cargo.toml index 4c67c1edff..7e81c17873 100644 --- a/ext/tls/Cargo.toml +++ b/ext/tls/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_tls" -version = "0.102.0" +version = "0.103.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/url/Cargo.toml b/ext/url/Cargo.toml index e847a3d3e9..05643de14f 100644 --- a/ext/url/Cargo.toml +++ b/ext/url/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_url" -version = "0.115.0" +version = "0.116.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/web/Cargo.toml b/ext/web/Cargo.toml index b923bc95ef..25cef211f8 100644 --- a/ext/web/Cargo.toml +++ b/ext/web/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_web" -version = "0.146.0" +version = "0.147.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/webidl/Cargo.toml b/ext/webidl/Cargo.toml index a84f5986ae..17dec1ea43 100644 --- a/ext/webidl/Cargo.toml +++ b/ext/webidl/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_webidl" -version = "0.115.0" +version = "0.116.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/websocket/Cargo.toml b/ext/websocket/Cargo.toml index d45ac341d4..4b957f68dc 100644 --- a/ext/websocket/Cargo.toml +++ b/ext/websocket/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_websocket" -version = "0.120.0" +version = "0.121.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/ext/webstorage/Cargo.toml b/ext/webstorage/Cargo.toml index 40ac41cfb5..01e8f444cb 100644 --- a/ext/webstorage/Cargo.toml +++ b/ext/webstorage/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_webstorage" -version = "0.110.0" +version = "0.111.0" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index e7ef6e862e..3dbea40e8d 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -2,7 +2,7 @@ [package] name = "deno_runtime" -version = "0.123.0" +version = "0.124.0" authors.workspace = true edition.workspace = true license.workspace = true