From 867b5d1f0a8ca249280d755ae0f3c2d45333468b Mon Sep 17 00:00:00 2001 From: denobot <33910674+denobot@users.noreply.github.com> Date: Wed, 18 May 2022 09:09:28 -0400 Subject: [PATCH] 0.140.0 (#2242) Co-authored-by: Divy Srivastava --- Releases.md | 11 +++++++++++ node/module_test.ts | 2 +- node/process_test.ts | 2 +- node/worker_threads.ts | 2 -- version.ts | 2 +- 5 files changed, 14 insertions(+), 5 deletions(-) diff --git a/Releases.md b/Releases.md index e27046680..a7157847e 100644 --- a/Releases.md +++ b/Releases.md @@ -1,3 +1,14 @@ +### 0.140.0 / 2022.05.18 + +- feat(http): add onListen option to serve (#2218) +- feat(node/dgram): support dgram (udp) node module compat (#2205) +- fix(assertRejects): fails on synchronous throw #1302 (#2234) +- fix(collections): prevent cycles in deepMerge() (#2228) +- fix(encoding/csv): improve error message for csv's parse function (#2191) +- fix(http/file_server): fix handling of 'W/' prefixed etag (#2229) +- fix(testing/bdd): support using bdd tests with dnt (#2235) +- fix: add toJSON to node/perf_hooks.ts (#2209) + ### 0.139.0 / 2022.05.12 - feat(encoding): add jsonc parser (#2154) diff --git a/node/module_test.ts b/node/module_test.ts index a33878901..58f5dc07d 100644 --- a/node/module_test.ts +++ b/node/module_test.ts @@ -214,7 +214,7 @@ Deno.test("require in a web worker", async () => { `; const worker = new Worker( `data:application/javascript;base64,${btoa(code)}`, - { type: "module", deno: { namespace: true } }, + { type: "module" }, ); await new Promise((resolve, reject) => { worker.addEventListener("message", resolve); diff --git a/node/process_test.ts b/node/process_test.ts index 4678c3312..6885e2e3a 100644 --- a/node/process_test.ts +++ b/node/process_test.ts @@ -405,7 +405,7 @@ Deno.test("process in worker", async () => { const worker = new Worker( new URL("./testdata/process_worker.ts", import.meta.url).href, - { type: "module", deno: true }, + { type: "module" }, ); worker.addEventListener("message", (e) => { assertEquals(e.data, "hello"); diff --git a/node/worker_threads.ts b/node/worker_threads.ts index 3f996b47f..db525562b 100644 --- a/node/worker_threads.ts +++ b/node/worker_threads.ts @@ -57,8 +57,6 @@ class _Worker extends EventEmitter { { name: PRIVATE_WORKER_THREAD_NAME, type: "module", - // unstable - deno: { namespace: true }, } as globalThis.WorkerOptions, // bypass unstable type error ); handle.addEventListener( diff --git a/version.ts b/version.ts index b4cd03618..2ec9f99e5 100644 --- a/version.ts +++ b/version.ts @@ -5,4 +5,4 @@ * the cli's API is stable. In the future when std becomes stable, likely we * will match versions with cli as we have in the past. */ -export const VERSION = "0.139.0"; +export const VERSION = "0.140.0";