1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

chore: forward v2.0.1 release commit to main (#26338)

This is the release commit being forwarded back to main for 2.0.1

Co-authored-by: bartlomieju <bartlomieju@users.noreply.github.com>
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
This commit is contained in:
denobot 2024-10-16 19:48:42 -04:00 committed by GitHub
parent 72dd74d83a
commit 3385d1252e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
34 changed files with 147 additions and 91 deletions

View file

@ -5,7 +5,7 @@ import { stringify } from "jsr:@std/yaml@^0.221/stringify";
// 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 = 19;
const cacheVersion = 20;
const ubuntuX86Runner = "ubuntu-22.04";
const ubuntuX86XlRunner = "ubuntu-22.04-xl";

View file

@ -361,8 +361,8 @@ jobs:
path: |-
~/.cargo/registry/index
~/.cargo/registry/cache
key: '19-cargo-home-${{ matrix.os }}-${{ matrix.arch }}-${{ hashFiles(''Cargo.lock'') }}'
restore-keys: '19-cargo-home-${{ matrix.os }}-${{ matrix.arch }}'
key: '20-cargo-home-${{ matrix.os }}-${{ matrix.arch }}-${{ hashFiles(''Cargo.lock'') }}'
restore-keys: '20-cargo-home-${{ matrix.os }}-${{ matrix.arch }}'
if: '!(matrix.skip)'
- name: Restore cache build output (PR)
uses: actions/cache/restore@v4
@ -375,7 +375,7 @@ jobs:
!./target/*/*.zip
!./target/*/*.tar.gz
key: never_saved
restore-keys: '19-cargo-target-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.profile }}-${{ matrix.job }}-'
restore-keys: '20-cargo-target-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.profile }}-${{ matrix.job }}-'
- name: Apply and update mtime cache
if: '!(matrix.skip) && (!startsWith(github.ref, ''refs/tags/''))'
uses: ./.github/mtime_cache
@ -685,7 +685,7 @@ jobs:
!./target/*/*.zip
!./target/*/*.sha256sum
!./target/*/*.tar.gz
key: '19-cargo-target-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.profile }}-${{ matrix.job }}-${{ github.sha }}'
key: '20-cargo-target-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.profile }}-${{ matrix.job }}-${{ github.sha }}'
publish-canary:
name: publish canary
runs-on: ubuntu-22.04

58
Cargo.lock generated
View file

@ -1154,7 +1154,7 @@ dependencies = [
[[package]]
name = "deno"
version = "2.0.0"
version = "2.0.1"
dependencies = [
"anstream",
"async-trait",
@ -1328,7 +1328,7 @@ dependencies = [
[[package]]
name = "deno_bench_util"
version = "0.165.0"
version = "0.166.0"
dependencies = [
"bencher",
"deno_core",
@ -1337,7 +1337,7 @@ dependencies = [
[[package]]
name = "deno_broadcast_channel"
version = "0.165.0"
version = "0.166.0"
dependencies = [
"async-trait",
"deno_core",
@ -1348,7 +1348,7 @@ dependencies = [
[[package]]
name = "deno_cache"
version = "0.103.0"
version = "0.104.0"
dependencies = [
"async-trait",
"deno_core",
@ -1381,7 +1381,7 @@ dependencies = [
[[package]]
name = "deno_canvas"
version = "0.40.0"
version = "0.41.0"
dependencies = [
"deno_core",
"deno_webgpu",
@ -1416,7 +1416,7 @@ dependencies = [
[[package]]
name = "deno_console"
version = "0.171.0"
version = "0.172.0"
dependencies = [
"deno_core",
]
@ -1461,7 +1461,7 @@ checksum = "a13951ea98c0a4c372f162d669193b4c9d991512de9f2381dd161027f34b26b1"
[[package]]
name = "deno_cron"
version = "0.51.0"
version = "0.52.0"
dependencies = [
"anyhow",
"async-trait",
@ -1474,7 +1474,7 @@ dependencies = [
[[package]]
name = "deno_crypto"
version = "0.185.0"
version = "0.186.0"
dependencies = [
"aes",
"aes-gcm",
@ -1534,7 +1534,7 @@ dependencies = [
[[package]]
name = "deno_fetch"
version = "0.195.0"
version = "0.196.0"
dependencies = [
"base64 0.21.7",
"bytes",
@ -1566,7 +1566,7 @@ dependencies = [
[[package]]
name = "deno_ffi"
version = "0.158.0"
version = "0.159.0"
dependencies = [
"deno_core",
"deno_permissions",
@ -1585,7 +1585,7 @@ dependencies = [
[[package]]
name = "deno_fs"
version = "0.81.0"
version = "0.82.0"
dependencies = [
"async-trait",
"base32",
@ -1635,7 +1635,7 @@ dependencies = [
[[package]]
name = "deno_http"
version = "0.169.0"
version = "0.170.0"
dependencies = [
"async-compression",
"async-trait",
@ -1674,7 +1674,7 @@ dependencies = [
[[package]]
name = "deno_io"
version = "0.81.0"
version = "0.82.0"
dependencies = [
"async-trait",
"deno_core",
@ -1695,7 +1695,7 @@ dependencies = [
[[package]]
name = "deno_kv"
version = "0.79.0"
version = "0.80.0"
dependencies = [
"anyhow",
"async-trait",
@ -1766,7 +1766,7 @@ dependencies = [
[[package]]
name = "deno_napi"
version = "0.102.0"
version = "0.103.0"
dependencies = [
"deno_core",
"deno_permissions",
@ -1788,7 +1788,7 @@ dependencies = [
[[package]]
name = "deno_net"
version = "0.163.0"
version = "0.164.0"
dependencies = [
"deno_core",
"deno_permissions",
@ -1804,7 +1804,7 @@ dependencies = [
[[package]]
name = "deno_node"
version = "0.108.0"
version = "0.109.0"
dependencies = [
"aead-gcm-stream",
"aes",
@ -1953,7 +1953,7 @@ dependencies = [
[[package]]
name = "deno_permissions"
version = "0.31.0"
version = "0.32.0"
dependencies = [
"deno_core",
"deno_path_util",
@ -1970,7 +1970,7 @@ dependencies = [
[[package]]
name = "deno_resolver"
version = "0.3.0"
version = "0.4.0"
dependencies = [
"anyhow",
"base32",
@ -1986,7 +1986,7 @@ dependencies = [
[[package]]
name = "deno_runtime"
version = "0.180.0"
version = "0.181.0"
dependencies = [
"color-print",
"deno_ast",
@ -2102,7 +2102,7 @@ dependencies = [
[[package]]
name = "deno_tls"
version = "0.158.0"
version = "0.159.0"
dependencies = [
"deno_core",
"deno_native_certs",
@ -2151,7 +2151,7 @@ dependencies = [
[[package]]
name = "deno_url"
version = "0.171.0"
version = "0.172.0"
dependencies = [
"deno_bench_util",
"deno_console",
@ -2163,7 +2163,7 @@ dependencies = [
[[package]]
name = "deno_web"
version = "0.202.0"
version = "0.203.0"
dependencies = [
"async-trait",
"base64-simd 0.8.0",
@ -2184,7 +2184,7 @@ dependencies = [
[[package]]
name = "deno_webgpu"
version = "0.138.0"
version = "0.139.0"
dependencies = [
"deno_core",
"raw-window-handle",
@ -2196,7 +2196,7 @@ dependencies = [
[[package]]
name = "deno_webidl"
version = "0.171.0"
version = "0.172.0"
dependencies = [
"deno_bench_util",
"deno_core",
@ -2204,7 +2204,7 @@ dependencies = [
[[package]]
name = "deno_websocket"
version = "0.176.0"
version = "0.177.0"
dependencies = [
"bytes",
"deno_core",
@ -2225,7 +2225,7 @@ dependencies = [
[[package]]
name = "deno_webstorage"
version = "0.166.0"
version = "0.167.0"
dependencies = [
"deno_core",
"deno_web",
@ -4511,7 +4511,7 @@ dependencies = [
[[package]]
name = "napi_sym"
version = "0.101.0"
version = "0.102.0"
dependencies = [
"quote",
"serde",
@ -4580,7 +4580,7 @@ dependencies = [
[[package]]
name = "node_resolver"
version = "0.10.0"
version = "0.11.0"
dependencies = [
"anyhow",
"async-trait",

View file

@ -48,16 +48,16 @@ repository = "https://github.com/denoland/deno"
deno_ast = { version = "=0.42.2", features = ["transpiling"] }
deno_core = { version = "0.313.0" }
deno_bench_util = { version = "0.165.0", path = "./bench_util" }
deno_bench_util = { version = "0.166.0", path = "./bench_util" }
deno_lockfile = "=0.23.1"
deno_media_type = { version = "0.1.4", features = ["module_specifier"] }
deno_npm = "=0.25.4"
deno_path_util = "=0.2.1"
deno_permissions = { version = "0.31.0", path = "./runtime/permissions" }
deno_runtime = { version = "0.180.0", path = "./runtime" }
deno_permissions = { version = "0.32.0", path = "./runtime/permissions" }
deno_runtime = { version = "0.181.0", path = "./runtime" }
deno_semver = "=0.5.14"
deno_terminal = "0.2.0"
napi_sym = { version = "0.101.0", path = "./cli/napi/sym" }
napi_sym = { version = "0.102.0", path = "./cli/napi/sym" }
test_util = { package = "test_server", path = "./tests/util/server" }
denokv_proto = "0.8.1"
@ -66,32 +66,32 @@ denokv_remote = "0.8.1"
denokv_sqlite = { default-features = false, version = "0.8.2" }
# exts
deno_broadcast_channel = { version = "0.165.0", path = "./ext/broadcast_channel" }
deno_cache = { version = "0.103.0", path = "./ext/cache" }
deno_canvas = { version = "0.40.0", path = "./ext/canvas" }
deno_console = { version = "0.171.0", path = "./ext/console" }
deno_cron = { version = "0.51.0", path = "./ext/cron" }
deno_crypto = { version = "0.185.0", path = "./ext/crypto" }
deno_fetch = { version = "0.195.0", path = "./ext/fetch" }
deno_ffi = { version = "0.158.0", path = "./ext/ffi" }
deno_fs = { version = "0.81.0", path = "./ext/fs" }
deno_http = { version = "0.169.0", path = "./ext/http" }
deno_io = { version = "0.81.0", path = "./ext/io" }
deno_kv = { version = "0.79.0", path = "./ext/kv" }
deno_napi = { version = "0.102.0", path = "./ext/napi" }
deno_net = { version = "0.163.0", path = "./ext/net" }
deno_node = { version = "0.108.0", path = "./ext/node" }
deno_tls = { version = "0.158.0", path = "./ext/tls" }
deno_url = { version = "0.171.0", path = "./ext/url" }
deno_web = { version = "0.202.0", path = "./ext/web" }
deno_webgpu = { version = "0.138.0", path = "./ext/webgpu" }
deno_webidl = { version = "0.171.0", path = "./ext/webidl" }
deno_websocket = { version = "0.176.0", path = "./ext/websocket" }
deno_webstorage = { version = "0.166.0", path = "./ext/webstorage" }
deno_broadcast_channel = { version = "0.166.0", path = "./ext/broadcast_channel" }
deno_cache = { version = "0.104.0", path = "./ext/cache" }
deno_canvas = { version = "0.41.0", path = "./ext/canvas" }
deno_console = { version = "0.172.0", path = "./ext/console" }
deno_cron = { version = "0.52.0", path = "./ext/cron" }
deno_crypto = { version = "0.186.0", path = "./ext/crypto" }
deno_fetch = { version = "0.196.0", path = "./ext/fetch" }
deno_ffi = { version = "0.159.0", path = "./ext/ffi" }
deno_fs = { version = "0.82.0", path = "./ext/fs" }
deno_http = { version = "0.170.0", path = "./ext/http" }
deno_io = { version = "0.82.0", path = "./ext/io" }
deno_kv = { version = "0.80.0", path = "./ext/kv" }
deno_napi = { version = "0.103.0", path = "./ext/napi" }
deno_net = { version = "0.164.0", path = "./ext/net" }
deno_node = { version = "0.109.0", path = "./ext/node" }
deno_tls = { version = "0.159.0", path = "./ext/tls" }
deno_url = { version = "0.172.0", path = "./ext/url" }
deno_web = { version = "0.203.0", path = "./ext/web" }
deno_webgpu = { version = "0.139.0", path = "./ext/webgpu" }
deno_webidl = { version = "0.172.0", path = "./ext/webidl" }
deno_websocket = { version = "0.177.0", path = "./ext/websocket" }
deno_webstorage = { version = "0.167.0", path = "./ext/webstorage" }
# resolvers
deno_resolver = { version = "0.3.0", path = "./resolvers/deno" }
node_resolver = { version = "0.10.0", path = "./resolvers/node" }
deno_resolver = { version = "0.4.0", path = "./resolvers/deno" }
node_resolver = { version = "0.11.0", path = "./resolvers/node" }
aes = "=0.8.3"
anyhow = "1.0.57"

View file

@ -6,6 +6,62 @@ https://github.com/denoland/deno/releases
We also have one-line install commands at:
https://github.com/denoland/deno_install
### 2.0.1 / 2024.10.16
- feat(lsp): "deno/didRefreshDenoConfigurationTree" notifications (#26215)
- feat(unstable): `--unstable-detect-cjs` for respecting explicit
`"type": "commonjs"` (#26149)
- fix(add): create deno.json when running `deno add jsr:<pkg>` (#26275)
- fix(add): exact version should not have range `^` specifier (#26302)
- fix(child_process): map node `--no-warnings` flag to `--quiet` (#26288)
- fix(cli): add prefix to install commands in help (#26318)
- fix(cli): consolidate pkg parser for install & remove (#26298)
- fix(cli): named export takes precedence over default export in doc testing
(#26112)
- fix(cli): improve deno info output for npm packages (#25906)
- fix(console/ext/repl): support using parseFloat() (#25900)
- fix(ext/console): apply coloring for console.table (#26280)
- fix(ext/napi): pass user context to napi_threadsafe_fn finalizers (#26229)
- fix(ext/node): allow writing to tty columns (#26201)
- fix(ext/node): compute pem length (upper bound) for key exports (#26231)
- fix(ext/node): fix dns.lookup result ordering (#26264)
- fix(ext/node): handle http2 server ending stream (#26235)
- fix(ext/node): implement TCP.setNoDelay (#26263)
- fix(ext/node): timingSafeEqual account for AB byteOffset (#26292)
- fix(ext/node): use primordials in `ext/node/polyfills/internal/buffer.mjs`
(#24993)
- fix(ext/webgpu): allow GL backend on Windows (#26206)
- fix(install): duplicate dependencies in `package.json` (#26128)
- fix(install): handle pkg with dep on self when pkg part of peer dep resolution
(#26277)
- fix(install): retry downloads of registry info / tarballs (#26278)
- fix(install): support installing npm package with alias (#26246)
- fix(jupyter): copy kernels icons to the kernel directory (#26084)
- fix(jupyter): keep running event loop when waiting for messages (#26049)
- fix(lsp): relative completions for bare import-mapped specifiers (#26137)
- fix(node): make `process.stdout.isTTY` writable (#26130)
- fix(node/util): export `styleText` from `node:util` (#26194)
- fix(npm): support `--allow-scripts` on `deno run` (and `deno add`,
`deno test`, etc) (#26075)
- fix(repl): importing json files (#26053)
- fix(repl): remove check flags (#26140)
- fix(unstable/worker): ensure import permissions are passed (#26101)
- fix: add hint for missing `document` global in terminal error (#26218)
- fix: do not panic on wsl share file paths on windows (#26081)
- fix: do not panic running remote cjs module (#26259)
- fix: do not panic when using methods on classes and interfaces in deno doc
html output (#26100)
- fix: improve suggestions and hints when using CommonJS modules (#26287)
- fix: node-api function call should use preamble (#26297)
- fix: panic in `prepare_stack_trace_callback` when global interceptor throws
(#26241)
- fix: use syntect for deno doc html generation (#26322)
- perf(http): avoid clone getting request method and url (#26250)
- perf(http): cache webidl.converters lookups in ext/fetch/23_response.js
(#26256)
- perf(http): make heap allocation for path conditional (#26289)
- perf: use fast calls for microtask ops (#26236)
### 2.0.0 / 2024.10.09
Read announcement blog post at: https://deno.com/blog/v2

View file

@ -2,7 +2,7 @@
[package]
name = "deno_bench_util"
version = "0.165.0"
version = "0.166.0"
authors.workspace = true
edition.workspace = true
license.workspace = true

View file

@ -2,7 +2,7 @@
[package]
name = "deno"
version = "2.0.0"
version = "2.0.1"
authors.workspace = true
default-run = "deno"
edition.workspace = true

View file

@ -2,7 +2,7 @@
[package]
name = "napi_sym"
version = "0.101.0"
version = "0.102.0"
authors.workspace = true
edition.workspace = true
license.workspace = true

View file

@ -2,7 +2,7 @@
[package]
name = "deno_broadcast_channel"
version = "0.165.0"
version = "0.166.0"
authors.workspace = true
edition.workspace = true
license.workspace = true

View file

@ -2,7 +2,7 @@
[package]
name = "deno_cache"
version = "0.103.0"
version = "0.104.0"
authors.workspace = true
edition.workspace = true
license.workspace = true

View file

@ -2,7 +2,7 @@
[package]
name = "deno_canvas"
version = "0.40.0"
version = "0.41.0"
authors.workspace = true
edition.workspace = true
license.workspace = true

View file

@ -2,7 +2,7 @@
[package]
name = "deno_console"
version = "0.171.0"
version = "0.172.0"
authors.workspace = true
edition.workspace = true
license.workspace = true

View file

@ -2,7 +2,7 @@
[package]
name = "deno_cron"
version = "0.51.0"
version = "0.52.0"
authors.workspace = true
edition.workspace = true
license.workspace = true

View file

@ -2,7 +2,7 @@
[package]
name = "deno_crypto"
version = "0.185.0"
version = "0.186.0"
authors.workspace = true
edition.workspace = true
license.workspace = true

View file

@ -2,7 +2,7 @@
[package]
name = "deno_fetch"
version = "0.195.0"
version = "0.196.0"
authors.workspace = true
edition.workspace = true
license.workspace = true

View file

@ -2,7 +2,7 @@
[package]
name = "deno_ffi"
version = "0.158.0"
version = "0.159.0"
authors.workspace = true
edition.workspace = true
license.workspace = true

View file

@ -2,7 +2,7 @@
[package]
name = "deno_fs"
version = "0.81.0"
version = "0.82.0"
authors.workspace = true
edition.workspace = true
license.workspace = true

View file

@ -2,7 +2,7 @@
[package]
name = "deno_http"
version = "0.169.0"
version = "0.170.0"
authors.workspace = true
edition.workspace = true
license.workspace = true

View file

@ -2,7 +2,7 @@
[package]
name = "deno_io"
version = "0.81.0"
version = "0.82.0"
authors.workspace = true
edition.workspace = true
license.workspace = true

View file

@ -2,7 +2,7 @@
[package]
name = "deno_kv"
version = "0.79.0"
version = "0.80.0"
authors.workspace = true
edition.workspace = true
license.workspace = true

View file

@ -2,7 +2,7 @@
[package]
name = "deno_napi"
version = "0.102.0"
version = "0.103.0"
authors.workspace = true
edition.workspace = true
license.workspace = true

View file

@ -2,7 +2,7 @@
[package]
name = "deno_net"
version = "0.163.0"
version = "0.164.0"
authors.workspace = true
edition.workspace = true
license.workspace = true

View file

@ -2,7 +2,7 @@
[package]
name = "deno_node"
version = "0.108.0"
version = "0.109.0"
authors.workspace = true
edition.workspace = true
license.workspace = true

View file

@ -2,7 +2,7 @@
[package]
name = "deno_tls"
version = "0.158.0"
version = "0.159.0"
authors.workspace = true
edition.workspace = true
license.workspace = true

View file

@ -2,7 +2,7 @@
[package]
name = "deno_url"
version = "0.171.0"
version = "0.172.0"
authors.workspace = true
edition.workspace = true
license.workspace = true

View file

@ -2,7 +2,7 @@
[package]
name = "deno_web"
version = "0.202.0"
version = "0.203.0"
authors.workspace = true
edition.workspace = true
license.workspace = true

View file

@ -2,7 +2,7 @@
[package]
name = "deno_webgpu"
version = "0.138.0"
version = "0.139.0"
authors = ["the Deno authors"]
edition.workspace = true
license = "MIT"

View file

@ -2,7 +2,7 @@
[package]
name = "deno_webidl"
version = "0.171.0"
version = "0.172.0"
authors.workspace = true
edition.workspace = true
license.workspace = true

View file

@ -2,7 +2,7 @@
[package]
name = "deno_websocket"
version = "0.176.0"
version = "0.177.0"
authors.workspace = true
edition.workspace = true
license.workspace = true

View file

@ -2,7 +2,7 @@
[package]
name = "deno_webstorage"
version = "0.166.0"
version = "0.167.0"
authors.workspace = true
edition.workspace = true
license.workspace = true

View file

@ -2,7 +2,7 @@
[package]
name = "deno_resolver"
version = "0.3.0"
version = "0.4.0"
authors.workspace = true
edition.workspace = true
license.workspace = true

View file

@ -2,7 +2,7 @@
[package]
name = "node_resolver"
version = "0.10.0"
version = "0.11.0"
authors.workspace = true
edition.workspace = true
license.workspace = true

View file

@ -2,7 +2,7 @@
[package]
name = "deno_runtime"
version = "0.180.0"
version = "0.181.0"
authors.workspace = true
edition.workspace = true
license.workspace = true

View file

@ -2,7 +2,7 @@
[package]
name = "deno_permissions"
version = "0.31.0"
version = "0.32.0"
authors.workspace = true
edition.workspace = true
license.workspace = true