Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-08-15 | refactor(ops): return BadResource errors in ResourceTable calls (#11710) | Aaron O'Mullan | |
* refactor(ops): return BadResource errors in ResourceTable calls Instead of relying on callers to map Options to Results via `.ok_or_else(bad_resource_id)` at over 176 different call sites ... | |||
2021-08-10 | chore: release crates (#11628) | Bartek Iwańczuk | |
2021-08-10 | upgrade: rusty_v8 0.26.0 (#11625) | Bartek Iwańczuk | |
2021-08-09 | feat(extensions/web): add structuredClone function (#11572) | Leo K | |
Co-authored-by: Luca Casonato <hello@lcas.dev> | |||
2021-08-02 | chore: format toml files internally (#11563) | David Sherret | |
2021-07-30 | chore: upgrade Rust to 1.54.0 (#11554) | Yusuke Tanaka | |
2021-07-30 | chore(core): use oneshot channel in mod_evaluate() (#11556) | Ben Noordhuis | |
Oneshot is more appropriate because mod_evaluate() only sends a single value. It also makes it easier to use it correctly. As an embedder, I wasn't sure if I'm expected to drain the channel or not. | |||
2021-07-26 | chore: release crates (#11519) | Bartek Iwańczuk | |
2021-07-26 | refactor: use `primordials` in runtime, extensions and core (#11500) | Yusuke Tanaka | |
2021-07-19 | chore: release crates (#11454) | Bartek Iwańczuk | |
2021-07-13 | chore: release crates (#11378) | Bartek Iwańczuk | |
2021-07-12 | chore: upgrade rusty_v8 (#11372) | Bartek Iwańczuk | |
2021-07-09 | chore: update crates (#11332) | Luca Casonato | |
2021-07-08 | feat(core): return v8::Value from JsRuntime::execute_script (#11129) | Bartek Iwańczuk | |
This commit changes return type of JsRuntime::execute_script to include v8::Value returned from evaluation. When embedding deno_core it is sometimes useful to be able to inspect script evaluation value without the hoops of adding ops to store the value on the OpState. v8::Global<v8::Value> is used so consumers don't have to pass scope themselves. | |||
2021-07-08 | perf(core): avoid extra alloc in Deno.core.encode() (#11323) | Aaron O'Mullan | |
2021-07-06 | chore: use parking_lot for synchronization primitives to align with tokio ↵ | David Sherret | |
(#11289) parking_lot is already transitively used in tokio via the "full" cargo feature | |||
2021-07-06 | feat: support SharedArrayBuffer sharing between workers (#11040) | Luca Casonato | |
This commit adds support for sharing SABs between workers. | |||
2021-07-06 | refactor: use primordials in extensions/web (#11273) | Bartek Iwańczuk | |
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com> | |||
2021-07-05 | fix(core): Delay deadlock detection for dynamic imports (#11282) | Nayeem Rahman | |
2021-07-05 | chore: upgrade Tokio to 1.8.0 (#11281) | Yusuke Tanaka | |
2021-07-05 | refactor: introduce primordials for web/streams (#11251) | Luca Casonato | |
2021-07-03 | feat: enable WebAssembly.instantiateStreaming and wasm async compilation ↵ | Andreu Botella | |
(#11200) The WebAssembly streaming APIs used to be enabled, but used to take buffer sources as their first argument (see #6154 and #7259). This change re-enables them, requiring a Promise<Response> instead, as well as enabling asynchronous compilation of WebAssembly modules. | |||
2021-07-03 | chore: add TypedArray to primordials typings (#11236) | Luca Casonato | |
2021-07-02 | chore: upgrade rusty_v8 and serde_v8 (#11233) | Bartek Iwańczuk | |
2021-07-02 | refactor: use primordials for extensions/webidl (#11227) | Luca Casonato | |
2021-07-02 | refactor: introduce primordials (#10939) | Luca Casonato | |
This commit introduces primordials to deno_core. Primordials are a frozen set of all intrinsic objects in the runtime. They are not vulnerable to prototype pollution. | |||
2021-07-02 | feat(core): pump V8 message loop on event loop tick (#11221) | Bartek Iwańczuk | |
This commit adds support for Atomics and FinalizationRegistry by integrating V8's message loop into "JsRuntime::poll_event_loop". | |||
2021-07-02 | chore: upgrade rusty_v8 and serde_v8 (#11216) | Bartek Iwańczuk | |
2021-06-29 | fix(core/modules): Fix concurrent loading of dynamic imports (#11089) | Nayeem Rahman | |
This commit changes implementation of module loading in "deno_core" to track all currently fetched modules across all existing module loads. In effect a bug that caused concurrent dynamic imports referencing the same module to fail is fixed. | |||
2021-06-29 | feat: Add "deno_net" extension (#11150) | Bartek Iwańczuk | |
This commits moves implementation of net related APIs available on "Deno" namespace to "deno_net" extension. Following APIs were moved: - Deno.listen() - Deno.connect() - Deno.listenTls() - Deno.serveHttp() - Deno.shutdown() - Deno.resolveDns() - Deno.listenDatagram() - Deno.startTls() - Deno.Conn - Deno.Listener - Deno.DatagramConn | |||
2021-06-28 | chore: release deno_core (#11164) | Bartek Iwańczuk | |
2021-06-27 | feat(inspector): pipe console messages between terminal and inspector (#11134) | Bartek Iwańczuk | |
This commit adds support for piping console messages to inspector. This is done by "wrapping" Deno's console implementation with default console provided by V8 by the means of "Deno.core.callConsole" binding. Effectively each call to "console.*" methods calls a method on Deno's console and V8's console. | |||
2021-06-26 | fix(fetch): encode and decode headers as byte strings (#11070) | Andreu Botella | |
2021-06-26 | fix: MessagePort in message for postMessage transfers (#11103) | Luca Casonato | |
2021-06-26 | feat(core): Re-export serde_v8 (#11125) | Nick Randall | |
2021-06-25 | chore: upgrade serde_v8 (#11120) | Bartek Iwańczuk | |
2021-06-25 | upgrade: rusty_v8 0.23.0 (V8 9.2.230.12) (#11113) | Ryan Dahl | |
2021-06-25 | fix(runtime/signal): use op_async_unref for op_signal_poll (#11097) | Yoshiya Hinosawa | |
2021-06-23 | docs(core): Use op name in example (#11094) | Maxime Guerreiro | |
The first argument to opSync/opAsync is the op name. In the examples, the name is 'hello', and so it should be the first argument. | |||
2021-06-22 | cleanup(core): top-level-await is now always enabled (#11082) | Maxime Guerreiro | |
Starting with V8 9.1, top-level-await is always enabled by default. See https://v8.dev/blog/v8-release-91 for the release notes. - Remove the now redundant v8 flag. - Clarify doc comment and add link to the feature explainer. | |||
2021-06-22 | fix(core): don't panic on stdout/stderr write failures in Deno.core.print ↵ | Charlie Moog | |
(#11039) | |||
2021-06-22 | refactor: unify JavaScript script execution method (#11043) | Bartek Iwańczuk | |
This commit renames "JsRuntime::execute" to "JsRuntime::execute_script". Additionally same renames were applied to methods on "deno_runtime::Worker" and "deno_runtime::WebWorker". A new macro was added to "deno_core" called "located_script_name" which returns the name of Rust file alongside line no and col no of that call site. This macro is useful in combination with "JsRuntime::execute_script" and allows to provide accurate place where "one-off" JavaScript scripts are executed for internal runtime functions. Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com> | |||
2021-06-21 | refactor(core): always attach inspector to isolate (#11042) | Bartek Iwańczuk | |
This commit changes "deno_core::JsRuntime" to always create "deno_core::JsRuntimeInspector" instance. | |||
2021-06-21 | chore: release crates (#11068) | Bartek Iwańczuk | |
2021-06-20 | docs(core): replaces dispatch references with op (#11054) | Max | |
2021-06-19 | fix(core/modules): Prepare modules only once per runtime (#11015) | Nayeem Rahman | |
This commit changes module loading implementation in "deno_core" to call "ModuleLoader::prepare" hook only once per entry point. This is done to avoid multiple type checking of the same code in case of duplicated dynamic imports. Relevant code in "cli/module_graph.rs" was updated as well. | |||
2021-06-19 | chore: upgrade Tokio to 1.7.1 (#11045) | Yusuke Tanaka | |
2021-06-17 | chore: upgrade Rust to 1.53.0 (#11021) | Yusuke Tanaka | |
2021-06-16 | chore: upgrade Tokio to 1.7.0 (#11008) | Yusuke Tanaka | |
2021-06-15 | chore: release crates (#10976) | Bartek Iwańczuk | |