-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Comparing changes
Open a pull request
base repository: denoland/deno
base: v1.38.5
head repository: denoland/deno
compare: v1.39.0
Commits on Nov 10, 2023
-
chore: forward v1.38.1 release commit to main (#21144)
This is the release commit being forwarded back to main for 1.38.1 Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com> Co-authored-by: littledivy <littledivy@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 1ece7df - Browse repository at this point
Copy the full SHA 1ece7dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 81fd514 - Browse repository at this point
Copy the full SHA 81fd514View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ecb649 - Browse repository at this point
Copy the full SHA 8ecb649View commit details -
chore: use internal namespace in 40_testing.js (#21141)
Towards #21136 - [x] assign serializePermissions, setTimeout and setExitHandler APIs to internal namespace - [x] remove usage of assert
Configuration menu - View commit details
-
Copy full SHA for 9f2e56b - Browse repository at this point
Copy the full SHA 9f2e56bView commit details -
chore: use pure rust secp256k1 crate (#21154)
Saves ~40s in fresh debug build
Configuration menu - View commit details
-
Copy full SHA for 05704fb - Browse repository at this point
Copy the full SHA 05704fbView commit details -
perf(cli): strace mode for ops (undocumented) (#21131)
Example usage: ``` # Trace every op except op_*tick* cargo run -- run --unstable -A --strace-ops=-tick '/Users/matt/Documents/github/deno/deno/ext/websocket/autobahn/autobahn_server.js # Trace any op matching op_*http* cargo run -- run --unstable -A --strace-ops=http ... ``` Example output: ``` [ 11.478] op_ws_get_buffer : Dispatched Slow [ 11.478] op_ws_get_buffer : Completed Slow [ 11.478] op_ws_send_binary : Dispatched Fast [ 11.478] op_ws_send_binary : Completed Fast [ 11.478] op_ws_next_event : Dispatched Async [ 11.478] op_try_close : Dispatched Fast [ 11.478] op_try_close : Completed Fast [ 11.478] op_timer_handle : Dispatched Fast [ 11.478] op_timer_handle : Completed Fast [ 11.478] op_sleep : Dispatched Asyn ```
Configuration menu - View commit details
-
Copy full SHA for 68607b5 - Browse repository at this point
Copy the full SHA 68607b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 882c54d - Browse repository at this point
Copy the full SHA 882c54dView commit details -
fix: improve
deno doc --lint
error messages (#21156)This also updates deno_graph, which has the JSR change to use "exports". It's not yet useful atm, so I've made this PR a fix about the deno doc --lint error message improvements. I'll do a follow-up PR that adds exports to the deno.json
Configuration menu - View commit details
-
Copy full SHA for b78c713 - Browse repository at this point
Copy the full SHA b78c713View commit details -
Configuration menu - View commit details
-
Copy full SHA for df14835 - Browse repository at this point
Copy the full SHA df14835View commit details -
chore(cli): Migrate some unit tests to "Promise.withResolvers()" (#21128
) Migrate to use `Promise.withResolvers()` instead of `deferred` in some of the tests in `cli/tests/unit/`. Issue: #21041
Configuration menu - View commit details
-
Copy full SHA for eff3e43 - Browse repository at this point
Copy the full SHA eff3e43View commit details
Commits on Nov 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b2e3389 - Browse repository at this point
Copy the full SHA b2e3389View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c1ab2c - Browse repository at this point
Copy the full SHA 0c1ab2cView commit details -
chore(ext/node): use libz-sys w/
zlib-ng
feature in node (#21158)We only want one zlib dependency. Zlib dependencies are reorganized so they use a hidden `__vendored_zlib_ng` flag in cli that enables zlib-ng for both libz-sys (used by ext/node) and flate2 (used by deno_web).
Configuration menu - View commit details
-
Copy full SHA for 56e7624 - Browse repository at this point
Copy the full SHA 56e7624View commit details -
perf: snapshot runtime ops (#21127)
Closes #21135 ~1ms startup time improvement --------- Signed-off-by: Divy Srivastava <dj.srivastava23@gmail.com> Co-authored-by: David Sherret <dsherret@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 9f4a455 - Browse repository at this point
Copy the full SHA 9f4a455View commit details
Commits on Nov 12, 2023
-
fix(ext/web): Prevent TextDecoderStream resource leak on stream cance…
Configuration menu - View commit details
-
Copy full SHA for 3a7abe6 - Browse repository at this point
Copy the full SHA 3a7abe6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 55e0483 - Browse repository at this point
Copy the full SHA 55e0483View commit details
Commits on Nov 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 39223f7 - Browse repository at this point
Copy the full SHA 39223f7View commit details -
perf: lazy bootstrap options - first pass (#21164)
Move most runtime options to be lazily loaded. Constant options will be covered in a different PR. Towards #21133
Configuration menu - View commit details
-
Copy full SHA for 1ef617e - Browse repository at this point
Copy the full SHA 1ef617eView commit details -
refactor(ext/http): refer to HttpRecord directly using v8::External (#…
…20770) Makes the JavaScript Request use a v8:External opaque pointer to directly refer to the Rust HttpRecord. The HttpRecord is now reference counted. To avoid leaks the strong count is checked at request completion. Performance seems unchanged on the minimal benchmark. 118614 req/s this branch vs 118564 req/s on main, but variance between runs on my laptop is pretty high. --------- Co-authored-by: Matt Mastracci <matthew@mastracci.com>
Configuration menu - View commit details
-
Copy full SHA for 542314a - Browse repository at this point
Copy the full SHA 542314aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e1f3aa - Browse repository at this point
Copy the full SHA 6e1f3aaView commit details -
perf(ext/http): Object pooling for HttpRecord and HeaderMap (#20809)
Reuse existing existing allocations for HttpRecord and response HeaderMap where possible. At request end used allocations are returned to the pool and the pool and the pool sized to 1/8th the current number of inflight requests. For http1 hyper will reuse the response HeaderMap for the following request on the connection. Builds upon #20770 --------- Co-authored-by: Matt Mastracci <matthew@mastracci.com>
Configuration menu - View commit details
-
Copy full SHA for 25950ba - Browse repository at this point
Copy the full SHA 25950baView commit details -
Configuration menu - View commit details
-
Copy full SHA for 65b9150 - Browse repository at this point
Copy the full SHA 65b9150View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5fbf3d9 - Browse repository at this point
Copy the full SHA 5fbf3d9View commit details -
chore(cli): unflake signal test (#21185)
If these tests do eventually break, they'll time out.
Configuration menu - View commit details
-
Copy full SHA for fe0d9e0 - Browse repository at this point
Copy the full SHA fe0d9e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0209f7b - Browse repository at this point
Copy the full SHA 0209f7bView commit details -
refactor(ext/http): Use HttpRecord as response body to track until bo…
…dy completion (#20822) Use HttpRecord as response body so requests can be tracked all the way to response body completion. This allows Request properties to be accessed while the response body is streaming. Graceful shutdown now awaits a future instead of async spinning waiting for requests to finish. On the minimal benchmark this refactor improves performance an additional 2% over pooling alone for a net 3% increase over the previous deno main branch. Builds upon #20809 and #20770. --------- Co-authored-by: Matt Mastracci <matthew@mastracci.com>
Configuration menu - View commit details
-
Copy full SHA for e581977 - Browse repository at this point
Copy the full SHA e581977View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9fed7b9 - Browse repository at this point
Copy the full SHA 9fed7b9View commit details -
Revert "fix(ext/console): fix inspecting iterators error. (#20720)" (#…
…21191) This reverts commit 0209f7b. Reverting because it causes failures on `main`: #20720 (comment)
Configuration menu - View commit details
-
Copy full SHA for 9b9ec44 - Browse repository at this point
Copy the full SHA 9b9ec44View commit details
Commits on Nov 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e54e8d4 - Browse repository at this point
Copy the full SHA e54e8d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8866521 - Browse repository at this point
Copy the full SHA 8866521View commit details -
fix(ext/node): add APIs perf_hook.performance (#21192)
Required for Next.js.
Configuration menu - View commit details
-
Copy full SHA for cf6673b - Browse repository at this point
Copy the full SHA cf6673bView commit details -
Configuration menu - View commit details
-
Copy full SHA for eab7555 - Browse repository at this point
Copy the full SHA eab7555View commit details -
Configuration menu - View commit details
-
Copy full SHA for d342c0d - Browse repository at this point
Copy the full SHA d342c0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ab0c637 - Browse repository at this point
Copy the full SHA ab0c637View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4913274 - Browse repository at this point
Copy the full SHA 4913274View commit details
Commits on Nov 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c67de43 - Browse repository at this point
Copy the full SHA c67de43View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f3902b - Browse repository at this point
Copy the full SHA 7f3902bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7687ec8 - Browse repository at this point
Copy the full SHA 7687ec8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4072672 - Browse repository at this point
Copy the full SHA 4072672View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b42cec - Browse repository at this point
Copy the full SHA 6b42cecView commit details
Commits on Nov 16, 2023
-
feat(ext/cron) modify Deno.cron API to make handler arg last (#21225)
This PR changes the `Deno.cron` API: * Marks the existing function as deprecated * Introduces 2 new overloads, where the handler arg is always last: ```ts Deno.cron( name: string, schedule: string, handler: () => Promise<void> | void, ) Deno.cron( name: string, schedule: string, options?: { backoffSchedule?: number[]; signal?: AbortSignal }, handler: () => Promise<void> | void, ) ``` This PR also fixes a bug, when other crons continue execution after one of the crons was closed using `signal`.
Igor Zinkovsky authoredNov 16, 2023 Configuration menu - View commit details
-
Copy full SHA for b572abf - Browse repository at this point
Copy the full SHA b572abfView commit details -
Configuration menu - View commit details
-
Copy full SHA for ceca097 - Browse repository at this point
Copy the full SHA ceca097View commit details -
Configuration menu - View commit details
-
Copy full SHA for 544923a - Browse repository at this point
Copy the full SHA 544923aView commit details
Commits on Nov 17, 2023
-
feat(unstable): Workspaces support (#20410)
This commit adds unstable workspace support. This is extremely bare-bones and minimal first-pass at this. With this change `deno.json` supports specifying `workspaces` key, that accepts a list of subdirectories. Each workspace can have its own import map. It's required to specify a `"name"` and `"version"` properties in the configuration file for the workspace: ```jsonc // deno.json { "workspaces": [ "a", "b" }, "imports": { "express": "npm:express@5" } } ``` ``` jsonc // a/deno.json { "name": "a", "version": "1.0.2", "imports": { "kleur": "npm:kleur" } } ``` ```jsonc // b/deno.json { "name": "b", "version": "0.51.0", "imports": { "chalk": "npm:chalk" } } ``` `--unstable-workspaces` flag is required to use this feature: ``` $ deno run --unstable-workspaces mod.ts ``` --------- Co-authored-by: David Sherret <dsherret@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 9534e6e - Browse repository at this point
Copy the full SHA 9534e6eView commit details -
chore: forward v1.38.2 release commit to main (#21236)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 21e6a76 - Browse repository at this point
Copy the full SHA 21e6a76View commit details -
Configuration menu - View commit details
-
Copy full SHA for b7d14d9 - Browse repository at this point
Copy the full SHA b7d14d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29011d5 - Browse repository at this point
Copy the full SHA 29011d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a1c697 - Browse repository at this point
Copy the full SHA 9a1c697View commit details -
Configuration menu - View commit details
-
Copy full SHA for daab366 - Browse repository at this point
Copy the full SHA daab366View commit details -
Configuration menu - View commit details
-
Copy full SHA for b563e76 - Browse repository at this point
Copy the full SHA b563e76View commit details
There are no files selected for viewing