summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.github/workflows/ci.generate.ts2
-rw-r--r--.github/workflows/ci.yml8
-rw-r--r--Cargo.lock48
-rw-r--r--Cargo.toml46
-rw-r--r--Releases.md26
-rw-r--r--bench_util/Cargo.toml2
-rw-r--r--cli/Cargo.toml2
-rw-r--r--cli/deno_std.rs2
-rw-r--r--cli/napi/sym/Cargo.toml2
-rw-r--r--ext/broadcast_channel/Cargo.toml2
-rw-r--r--ext/cache/Cargo.toml2
-rw-r--r--ext/console/Cargo.toml2
-rw-r--r--ext/cron/Cargo.toml2
-rw-r--r--ext/crypto/Cargo.toml2
-rw-r--r--ext/fetch/Cargo.toml2
-rw-r--r--ext/ffi/Cargo.toml2
-rw-r--r--ext/fs/Cargo.toml2
-rw-r--r--ext/http/Cargo.toml2
-rw-r--r--ext/io/Cargo.toml2
-rw-r--r--ext/kv/Cargo.toml2
-rw-r--r--ext/napi/Cargo.toml2
-rw-r--r--ext/net/Cargo.toml2
-rw-r--r--ext/node/Cargo.toml2
-rw-r--r--ext/tls/Cargo.toml2
-rw-r--r--ext/url/Cargo.toml2
-rw-r--r--ext/web/Cargo.toml4
-rw-r--r--ext/webidl/Cargo.toml2
-rw-r--r--ext/websocket/Cargo.toml2
-rw-r--r--ext/webstorage/Cargo.toml2
-rw-r--r--runtime/Cargo.toml3
-rw-r--r--runtime/build.rs22
31 files changed, 127 insertions, 78 deletions
diff --git a/.github/workflows/ci.generate.ts b/.github/workflows/ci.generate.ts
index 05657e1ab..666d0d3c1 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 = 58;
+const cacheVersion = 59;
const Runners = (() => {
const ubuntuRunner = "ubuntu-22.04";
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 1b87295b3..c0d957fb4 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -315,8 +315,8 @@ jobs:
path: |-
~/.cargo/registry/index
~/.cargo/registry/cache
- key: '58-cargo-home-${{ matrix.os }}-${{ hashFiles(''Cargo.lock'') }}'
- restore-keys: '58-cargo-home-${{ matrix.os }}'
+ key: '59-cargo-home-${{ matrix.os }}-${{ hashFiles(''Cargo.lock'') }}'
+ restore-keys: '59-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: '58-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ matrix.job }}-'
+ restore-keys: '59-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
@@ -609,7 +609,7 @@ jobs:
!./target/*/gn_out
!./target/*/*.zip
!./target/*/*.tar.gz
- key: '58-cargo-target-${{ matrix.os }}-${{ matrix.profile }}-${{ matrix.job }}-${{ github.sha }}'
+ key: '59-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 11775d274..1f2c47bbd 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -870,7 +870,7 @@ dependencies = [
[[package]]
name = "deno"
-version = "1.38.1"
+version = "1.38.2"
dependencies = [
"async-trait",
"base32",
@@ -1010,7 +1010,7 @@ dependencies = [
[[package]]
name = "deno_bench_util"
-version = "0.117.0"
+version = "0.118.0"
dependencies = [
"bencher",
"deno_core",
@@ -1020,7 +1020,7 @@ dependencies = [
[[package]]
name = "deno_broadcast_channel"
-version = "0.117.0"
+version = "0.118.0"
dependencies = [
"async-trait",
"deno_core",
@@ -1030,7 +1030,7 @@ dependencies = [
[[package]]
name = "deno_cache"
-version = "0.55.0"
+version = "0.56.0"
dependencies = [
"async-trait",
"deno_core",
@@ -1077,7 +1077,7 @@ dependencies = [
[[package]]
name = "deno_console"
-version = "0.123.0"
+version = "0.124.0"
dependencies = [
"deno_core",
]
@@ -1109,7 +1109,7 @@ dependencies = [
[[package]]
name = "deno_cron"
-version = "0.3.0"
+version = "0.4.0"
dependencies = [
"anyhow",
"async-trait",
@@ -1122,7 +1122,7 @@ dependencies = [
[[package]]
name = "deno_crypto"
-version = "0.137.0"
+version = "0.138.0"
dependencies = [
"aes",
"aes-gcm",
@@ -1195,7 +1195,7 @@ dependencies = [
[[package]]
name = "deno_fetch"
-version = "0.147.0"
+version = "0.148.0"
dependencies = [
"bytes",
"data-url",
@@ -1211,7 +1211,7 @@ dependencies = [
[[package]]
name = "deno_ffi"
-version = "0.110.0"
+version = "0.111.0"
dependencies = [
"deno_core",
"dlopen2",
@@ -1227,7 +1227,7 @@ dependencies = [
[[package]]
name = "deno_fs"
-version = "0.33.0"
+version = "0.34.0"
dependencies = [
"async-trait",
"deno_core",
@@ -1269,7 +1269,7 @@ dependencies = [
[[package]]
name = "deno_http"
-version = "0.118.0"
+version = "0.119.0"
dependencies = [
"async-compression",
"async-trait",
@@ -1306,7 +1306,7 @@ dependencies = [
[[package]]
name = "deno_io"
-version = "0.33.0"
+version = "0.34.0"
dependencies = [
"async-trait",
"deno_core",
@@ -1319,7 +1319,7 @@ dependencies = [
[[package]]
name = "deno_kv"
-version = "0.31.0"
+version = "0.32.0"
dependencies = [
"anyhow",
"async-trait",
@@ -1391,7 +1391,7 @@ dependencies = [
[[package]]
name = "deno_napi"
-version = "0.53.0"
+version = "0.54.0"
dependencies = [
"deno_core",
"libloading",
@@ -1412,7 +1412,7 @@ dependencies = [
[[package]]
name = "deno_net"
-version = "0.115.0"
+version = "0.116.0"
dependencies = [
"deno_core",
"deno_tls",
@@ -1429,7 +1429,7 @@ dependencies = [
[[package]]
name = "deno_node"
-version = "0.60.0"
+version = "0.61.0"
dependencies = [
"aead-gcm-stream",
"aes",
@@ -1524,7 +1524,7 @@ dependencies = [
[[package]]
name = "deno_runtime"
-version = "0.131.0"
+version = "0.132.0"
dependencies = [
"console_static_text",
"deno_ast",
@@ -1610,7 +1610,7 @@ dependencies = [
[[package]]
name = "deno_tls"
-version = "0.110.0"
+version = "0.111.0"
dependencies = [
"deno_core",
"deno_native_certs",
@@ -1642,7 +1642,7 @@ dependencies = [
[[package]]
name = "deno_url"
-version = "0.123.0"
+version = "0.124.0"
dependencies = [
"deno_bench_util",
"deno_core",
@@ -1653,7 +1653,7 @@ dependencies = [
[[package]]
name = "deno_web"
-version = "0.154.0"
+version = "0.155.0"
dependencies = [
"async-trait",
"base64-simd",
@@ -1674,7 +1674,7 @@ dependencies = [
[[package]]
name = "deno_webidl"
-version = "0.123.0"
+version = "0.124.0"
dependencies = [
"deno_bench_util",
"deno_core",
@@ -1682,7 +1682,7 @@ dependencies = [
[[package]]
name = "deno_websocket"
-version = "0.128.0"
+version = "0.129.0"
dependencies = [
"bytes",
"deno_core",
@@ -1700,7 +1700,7 @@ dependencies = [
[[package]]
name = "deno_webstorage"
-version = "0.118.0"
+version = "0.119.0"
dependencies = [
"deno_core",
"deno_web",
@@ -3363,7 +3363,7 @@ dependencies = [
[[package]]
name = "napi_sym"
-version = "0.53.0"
+version = "0.54.0"
dependencies = [
"proc-macro2",
"quote",
diff --git a/Cargo.toml b/Cargo.toml
index c9f59745c..3a6a9c00a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -42,9 +42,9 @@ repository = "https://github.com/denoland/deno"
deno_ast = { version = "0.31.5", features = ["transpiling"] }
deno_core = { version = "0.230.0" }
-deno_runtime = { version = "0.131.0", path = "./runtime" }
-napi_sym = { version = "0.53.0", path = "./cli/napi/sym" }
-deno_bench_util = { version = "0.117.0", path = "./bench_util" }
+deno_runtime = { version = "0.132.0", path = "./runtime" }
+napi_sym = { version = "0.54.0", path = "./cli/napi/sym" }
+deno_bench_util = { version = "0.118.0", path = "./bench_util" }
test_util = { path = "./test_util" }
deno_lockfile = "0.17.2"
deno_media_type = { version = "0.1.1", features = ["module_specifier"] }
@@ -55,26 +55,26 @@ denokv_sqlite = { default-features = false, version = "0.2.1" }
denokv_remote = "0.2.3"
# exts
-deno_broadcast_channel = { version = "0.117.0", path = "./ext/broadcast_channel" }
-deno_cache = { version = "0.55.0", path = "./ext/cache" }
-deno_console = { version = "0.123.0", path = "./ext/console" }
-deno_cron = { version = "0.3.0", path = "./ext/cron" }
-deno_crypto = { version = "0.137.0", path = "./ext/crypto" }
-deno_fetch = { version = "0.147.0", path = "./ext/fetch" }
-deno_ffi = { version = "0.110.0", path = "./ext/ffi" }
-deno_fs = { version = "0.33.0", path = "./ext/fs" }
-deno_http = { version = "0.118.0", path = "./ext/http" }
-deno_io = { version = "0.33.0", path = "./ext/io" }
-deno_net = { version = "0.115.0", path = "./ext/net" }
-deno_node = { version = "0.60.0", path = "./ext/node" }
-deno_kv = { version = "0.31.0", path = "./ext/kv" }
-deno_tls = { version = "0.110.0", path = "./ext/tls" }
-deno_url = { version = "0.123.0", path = "./ext/url" }
-deno_web = { version = "0.154.0", path = "./ext/web" }
-deno_webidl = { version = "0.123.0", path = "./ext/webidl" }
-deno_websocket = { version = "0.128.0", path = "./ext/websocket" }
-deno_webstorage = { version = "0.118.0", path = "./ext/webstorage" }
-deno_napi = { version = "0.53.0", path = "./ext/napi" }
+deno_broadcast_channel = { version = "0.118.0", path = "./ext/broadcast_channel" }
+deno_cache = { version = "0.56.0", path = "./ext/cache" }
+deno_console = { version = "0.124.0", path = "./ext/console" }
+deno_cron = { version = "0.4.0", path = "./ext/cron" }
+deno_crypto = { version = "0.138.0", path = "./ext/crypto" }
+deno_fetch = { version = "0.148.0", path = "./ext/fetch" }
+deno_ffi = { version = "0.111.0", path = "./ext/ffi" }
+deno_fs = { version = "0.34.0", path = "./ext/fs" }
+deno_http = { version = "0.119.0", path = "./ext/http" }
+deno_io = { version = "0.34.0", path = "./ext/io" }
+deno_net = { version = "0.116.0", path = "./ext/net" }
+deno_node = { version = "0.61.0", path = "./ext/node" }
+deno_kv = { version = "0.32.0", path = "./ext/kv" }
+deno_tls = { version = "0.111.0", path = "./ext/tls" }
+deno_url = { version = "0.124.0", path = "./ext/url" }
+deno_web = { version = "0.155.0", path = "./ext/web" }
+deno_webidl = { version = "0.124.0", path = "./ext/webidl" }
+deno_websocket = { version = "0.129.0", path = "./ext/websocket" }
+deno_webstorage = { version = "0.119.0", path = "./ext/webstorage" }
+deno_napi = { version = "0.54.0", path = "./ext/napi" }
aes = "=0.8.3"
anyhow = "1.0.57"
diff --git a/Releases.md b/Releases.md
index f4ea3a366..f7693d42d 100644
--- a/Releases.md
+++ b/Releases.md
@@ -6,6 +6,32 @@ https://github.com/denoland/deno/releases
We also have one-line install commands at:
https://github.com/denoland/deno_install
+### 1.38.2 / 2023.11.17
+
+- feat(ext/web): add `AbortSignal.any()` (#21087)
+- feat(lsp): upgrade check on init and notification (#21105)
+- fix(cli): Allow executable name start with digit (#21214)
+- fix(doc): issue discovering re-exports of re-exports sometimes (#21223)
+- fix(ext/node): Re-enable alloc max size test (#21059)
+- fix(ext/node): add APIs perf_hook.performance (#21192)
+- fix(ext/node): implement process.geteuid (#21151)
+- fix(ext/web): Prevent TextDecoderStream resource leak on stream cancellation
+ (#21074)
+- fix(ext/web): webstorage has trap for symbol (#21090)
+- fix(install): should work with non-existent relative root (#21161)
+- fix(lsp): update tsconfig after refreshing settings on init (#21170)
+- fix(node/http): export globalAgent (#21081)
+- fix(npm): support cjs entrypoint in node_modules folder (#21224)
+- fix(runtime): fix Deno.noColor when stdout is not tty (#21208)
+- fix: improve `deno doc --lint` error messages (#21156)
+- fix: use short git hash for deno version (#21218)
+- perf(cli): strace mode for ops (undocumented) (#21131)
+- perf(ext/http): Object pooling for HttpRecord and HeaderMap (#20809)
+- perf: lazy bootstrap options - first pass (#21164)
+- perf: move jupyter esm out of main snapshot (#21163)
+- perf: snapshot runtime ops (#21127)
+- perf: static bootstrap options in snapshot (#21213)
+
### 1.38.1 / 2023.11.10
- feat(ext/kv): increase checks limit (#21055)
diff --git a/bench_util/Cargo.toml b/bench_util/Cargo.toml
index d72f2bcae..28c184856 100644
--- a/bench_util/Cargo.toml
+++ b/bench_util/Cargo.toml
@@ -2,7 +2,7 @@
[package]
name = "deno_bench_util"
-version = "0.117.0"
+version = "0.118.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
diff --git a/cli/Cargo.toml b/cli/Cargo.toml
index 37250f328..a4615ccb5 100644
--- a/cli/Cargo.toml
+++ b/cli/Cargo.toml
@@ -2,7 +2,7 @@
[package]
name = "deno"
-version = "1.38.1"
+version = "1.38.2"
authors.workspace = true
default-run = "deno"
edition.workspace = true
diff --git a/cli/deno_std.rs b/cli/deno_std.rs
index 9f10e3268..c92f8c31a 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.206.0/";
+pub const CURRENT_STD_URL_STR: &str = "https://deno.land/std@0.207.0/";
diff --git a/cli/napi/sym/Cargo.toml b/cli/napi/sym/Cargo.toml
index 21c9a071a..959ef1e76 100644
--- a/cli/napi/sym/Cargo.toml
+++ b/cli/napi/sym/Cargo.toml
@@ -2,7 +2,7 @@
[package]
name = "napi_sym"
-version = "0.53.0"
+version = "0.54.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 af2944112..145973988 100644
--- a/ext/broadcast_channel/Cargo.toml
+++ b/ext/broadcast_channel/Cargo.toml
@@ -2,7 +2,7 @@
[package]
name = "deno_broadcast_channel"
-version = "0.117.0"
+version = "0.118.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
diff --git a/ext/cache/Cargo.toml b/ext/cache/Cargo.toml
index fcbb4ed5e..1d3b43b3c 100644
--- a/ext/cache/Cargo.toml
+++ b/ext/cache/Cargo.toml
@@ -2,7 +2,7 @@
[package]
name = "deno_cache"
-version = "0.55.0"
+version = "0.56.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
diff --git a/ext/console/Cargo.toml b/ext/console/Cargo.toml
index 9532a7a7c..6e3fb8d05 100644
--- a/ext/console/Cargo.toml
+++ b/ext/console/Cargo.toml
@@ -2,7 +2,7 @@
[package]
name = "deno_console"
-version = "0.123.0"
+version = "0.124.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
diff --git a/ext/cron/Cargo.toml b/ext/cron/Cargo.toml
index c464d05ba..4479912c9 100644
--- a/ext/cron/Cargo.toml
+++ b/ext/cron/Cargo.toml
@@ -2,7 +2,7 @@
[package]
name = "deno_cron"
-version = "0.3.0"
+version = "0.4.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
diff --git a/ext/crypto/Cargo.toml b/ext/crypto/Cargo.toml
index bf26d96a2..a8d06ace1 100644
--- a/ext/crypto/Cargo.toml
+++ b/ext/crypto/Cargo.toml
@@ -2,7 +2,7 @@
[package]
name = "deno_crypto"
-version = "0.137.0"
+version = "0.138.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
diff --git a/ext/fetch/Cargo.toml b/ext/fetch/Cargo.toml
index 56b2f3c97..8f6343ec7 100644
--- a/ext/fetch/Cargo.toml
+++ b/ext/fetch/Cargo.toml
@@ -2,7 +2,7 @@
[package]
name = "deno_fetch"
-version = "0.147.0"
+version = "0.148.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
diff --git a/ext/ffi/Cargo.toml b/ext/ffi/Cargo.toml
index c1de0776d..ea6624d6f 100644
--- a/ext/ffi/Cargo.toml
+++ b/ext/ffi/Cargo.toml
@@ -2,7 +2,7 @@
[package]
name = "deno_ffi"
-version = "0.110.0"
+version = "0.111.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
diff --git a/ext/fs/Cargo.toml b/ext/fs/Cargo.toml
index 3f3ff53f1..02755cfdc 100644
--- a/ext/fs/Cargo.toml
+++ b/ext/fs/Cargo.toml
@@ -2,7 +2,7 @@
[package]
name = "deno_fs"
-version = "0.33.0"
+version = "0.34.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
diff --git a/ext/http/Cargo.toml b/ext/http/Cargo.toml
index 2ad654ed1..871b133bd 100644
--- a/ext/http/Cargo.toml
+++ b/ext/http/Cargo.toml
@@ -2,7 +2,7 @@
[package]
name = "deno_http"
-version = "0.118.0"
+version = "0.119.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
diff --git a/ext/io/Cargo.toml b/ext/io/Cargo.toml
index 405520cb8..3cc57fcfe 100644
--- a/ext/io/Cargo.toml
+++ b/ext/io/Cargo.toml
@@ -2,7 +2,7 @@
[package]
name = "deno_io"
-version = "0.33.0"
+version = "0.34.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
diff --git a/ext/kv/Cargo.toml b/ext/kv/Cargo.toml
index adc2a4ac2..81b2af4f4 100644
--- a/ext/kv/Cargo.toml
+++ b/ext/kv/Cargo.toml
@@ -2,7 +2,7 @@
[package]
name = "deno_kv"
-version = "0.31.0"
+version = "0.32.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
diff --git a/ext/napi/Cargo.toml b/ext/napi/Cargo.toml
index 682325509..49a2a5435 100644
--- a/ext/napi/Cargo.toml
+++ b/ext/napi/Cargo.toml
@@ -2,7 +2,7 @@
[package]
name = "deno_napi"
-version = "0.53.0"
+version = "0.54.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
diff --git a/ext/net/Cargo.toml b/ext/net/Cargo.toml
index c9c30b9a2..b82b8a927 100644
--- a/ext/net/Cargo.toml
+++ b/ext/net/Cargo.toml
@@ -2,7 +2,7 @@
[package]
name = "deno_net"
-version = "0.115.0"
+version = "0.116.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
diff --git a/ext/node/Cargo.toml b/ext/node/Cargo.toml
index 2d227394a..d82211563 100644
--- a/ext/node/Cargo.toml
+++ b/ext/node/Cargo.toml
@@ -2,7 +2,7 @@
[package]
name = "deno_node"
-version = "0.60.0"
+version = "0.61.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
diff --git a/ext/tls/Cargo.toml b/ext/tls/Cargo.toml
index 0f4b5c480..6dcc54d10 100644
--- a/ext/tls/Cargo.toml
+++ b/ext/tls/Cargo.toml
@@ -2,7 +2,7 @@
[package]
name = "deno_tls"
-version = "0.110.0"
+version = "0.111.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
diff --git a/ext/url/Cargo.toml b/ext/url/Cargo.toml
index 542cc9fc5..4ba42217d 100644
--- a/ext/url/Cargo.toml
+++ b/ext/url/Cargo.toml
@@ -2,7 +2,7 @@
[package]
name = "deno_url"
-version = "0.123.0"
+version = "0.124.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
diff --git a/ext/web/Cargo.toml b/ext/web/Cargo.toml
index c349c68ff..9d0c89ecd 100644
--- a/ext/web/Cargo.toml
+++ b/ext/web/Cargo.toml
@@ -2,7 +2,7 @@
[package]
name = "deno_web"
-version = "0.154.0"
+version = "0.155.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
@@ -19,7 +19,7 @@ base64-simd = "0.8"
bytes.workspace = true
deno_core.workspace = true
encoding_rs.workspace = true
-flate2.workspace = true
+flate2 = { workspace = true, features = ["default"] }
futures.workspace = true
serde = "1.0.149"
tokio.workspace = true
diff --git a/ext/webidl/Cargo.toml b/ext/webidl/Cargo.toml
index 2810b4f66..4009af7e7 100644
--- a/ext/webidl/Cargo.toml
+++ b/ext/webidl/Cargo.toml
@@ -2,7 +2,7 @@
[package]
name = "deno_webidl"
-version = "0.123.0"
+version = "0.124.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
diff --git a/ext/websocket/Cargo.toml b/ext/websocket/Cargo.toml
index 68ed7aeb1..5a013df12 100644
--- a/ext/websocket/Cargo.toml
+++ b/ext/websocket/Cargo.toml
@@ -2,7 +2,7 @@
[package]
name = "deno_websocket"
-version = "0.128.0"
+version = "0.129.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
diff --git a/ext/webstorage/Cargo.toml b/ext/webstorage/Cargo.toml
index 3b8be2b56..69cc2198f 100644
--- a/ext/webstorage/Cargo.toml
+++ b/ext/webstorage/Cargo.toml
@@ -2,7 +2,7 @@
[package]
name = "deno_webstorage"
-version = "0.118.0"
+version = "0.119.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml
index f4dfc8c2b..fcb84113b 100644
--- a/runtime/Cargo.toml
+++ b/runtime/Cargo.toml
@@ -2,7 +2,7 @@
[package]
name = "deno_runtime"
-version = "0.131.0"
+version = "0.132.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
@@ -62,6 +62,7 @@ deno_websocket.workspace = true
deno_webstorage.workspace = true
deno_napi.workspace = true
flate2 = { workspace = true, features = ["default"] }
+serde.workspace = true
[target.'cfg(windows)'.build-dependencies]
winres.workspace = true
diff --git a/runtime/build.rs b/runtime/build.rs
index 606d341f3..f77f3ed07 100644
--- a/runtime/build.rs
+++ b/runtime/build.rs
@@ -13,13 +13,34 @@ mod startup_snapshot {
use super::*;
use deno_cache::SqliteBackedCache;
use deno_core::error::AnyError;
+ use deno_core::op2;
use deno_core::snapshot_util::*;
use deno_core::Extension;
+ use deno_core::OpState;
use deno_http::DefaultHttpPropertyExtractor;
use shared::maybe_transpile_source;
use shared::runtime;
use std::path::Path;
+ // Keep in sync with `runtime/ops/bootstrap.rs`
+ #[derive(serde::Serialize, Default)]
+ #[serde(rename_all = "camelCase")]
+ pub struct SnapshotOptions {
+ pub deno_version: String,
+ pub ts_version: String,
+ pub v8_version: &'static str,
+ pub target: String,
+ }
+
+ // TODO(@littledivy): Remove this once we get rid of deno_runtime snapshots.
+ #[op2]
+ #[serde]
+ pub fn op_snapshot_options(_: &mut OpState) -> SnapshotOptions {
+ SnapshotOptions::default()
+ }
+
+ deno_core::extension!(snapshot, ops = [op_snapshot_options],);
+
#[derive(Clone)]
struct Permissions;
@@ -232,6 +253,7 @@ mod startup_snapshot {
deno_fs::deno_fs::init_ops_and_esm::<Permissions>(fs.clone()),
deno_node::deno_node::init_ops_and_esm::<Permissions>(None, fs),
runtime::init_ops_and_esm(),
+ snapshot::init_ops_and_esm(),
];
for extension in &mut extensions {