summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-06-29feat: 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-28chore: release deno_core (#11164)Bartek Iwańczuk
2021-06-28fix(http): remove unwrap() in HTTP bindings (#11130)Bartek Iwańczuk
2021-06-27chore: split up integration_tests.rs into separate files (#11131)David Sherret
2021-06-27fix(runtime/http): Encode and decode headers as byte strings in the HTTP ↵Andreu Botella
server (#11144)
2021-06-27feat(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-26fix(fetch): encode and decode headers as byte strings (#11070)Andreu Botella
2021-06-26fix: MessagePort in message for postMessage transfers (#11103)Luca Casonato
2021-06-25fix(lsp): reload import registries should not error when the module ↵David Sherret
registries directory does not exist (#11123)
2021-06-26feat(core): Re-export serde_v8 (#11125)Nick Randall
2021-06-26chore: use local deno_std in tools scripts (#11122)Bartek Iwańczuk
2021-06-25chore: move repl integration tests to separate file (#11127)David Sherret
2021-06-26fix: specify AbortSignal for native http requests (#11126)Luca Casonato
2021-06-25chore: upgrade serde_v8 (#11120)Bartek Iwańczuk
2021-06-25upgrade: rusty_v8 0.23.0 (V8 9.2.230.12) (#11113)Ryan Dahl
2021-06-25chore(ext/console): deprecate Deno.customInspect (#10035)Yoshiya Hinosawa
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-06-25fix(runtime/signal): use op_async_unref for op_signal_poll (#11097)Yoshiya Hinosawa
2021-06-25test(cli): refactor the usages of delay (#11098)Yoshiya Hinosawa
This PR refactors the usages of delay utility in js unit testing. The same utiliy is defined in several places with different names. This PR replaces those usages with the one provided in std/async/delay.ts to improve the readability and consistency of test code.
2021-06-25docs(lsp): Add Emacs eglot lsp configuration example (#10006)Daniel Perez Alvarez
Co-authored-by: John Spurlock <john.spurlock@gmail.com>
2021-06-25feat(lsp): dependency hover information (#11090)Kitson Kelly
2021-06-24chore(wpt): clean up temporary files created by the WPT test runner (#11108)Andreu Botella
Fixes #11107.
2021-06-24fix: make readonly `Event` properties readonly (#11106)David Sherret
2021-06-24fix(inspect): eliminate panic inspecting event classes (#10979)David Sherret
2021-06-24feat(repl): support import declarations in the REPL (#11086)David Sherret
2021-06-24fix(lsp): handle invalid config setting better (#11104)Kitson Kelly
Fixes #11100 Fixes #10808
2021-06-24fix(url): use USVStrings in URLSearchParams constructor (#11101)Andreu Botella
2021-06-24docs: fixed spelling mistake (#11096)Nick Williams
2021-06-23ci: fix pushing benchmark results to gh-pages (#11095)Bert Belder
2021-06-23ci: run Linux release builds in sysroot with Ubuntu 18.04 and LLVM (#10920)Bert Belder
2021-06-23ci: make it faster (#10920)Bert Belder
...by avoiding a full clone of crates.io index history.
2021-06-23tests: fix bug in WPT test harness (#10920)Bert Belder
2021-06-23docs(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-23fix(fetch): proxy body for requests created from other requests (#11093)Andreu Botella
Additionally, if the existing `Request`'s body is disturbed, the Request creation should fail. This change also updates the step numbers in the Request constructor to match whatwg/fetch#1249.
2021-06-23fix(webstorage): increase localStorage limit to 10MB (#11081)Yasser A.Idrissi
2021-06-22chore: use lsp to get parent process id (#11083)David Sherret
Removes the previously added internal `--parent-pid` flag. This solution is better.
2021-06-22cleanup(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-22feat(core): support AbortSignal in readFile (#10943)Benjamin Gruenbaum
2021-06-22chore: update release instructions (#11079)William Perron
Add instructions for the release process of `deno_std` and `deno_docker` repos
2021-06-22feat: transfer MessagePort between workers (#11076)Luca Casonato
Add support for transferring `MessagePort`s between workers.
2021-06-22refactor(FormData): refactor formdata serializer to support async blob ↵Jimmy Wärting
backing (#11050)
2021-06-22fix(runtime): fix signal promise API (#11069)Yoshiya Hinosawa
2021-06-22chore: upgrade crates (#11007)Yusuke Tanaka
2021-06-22fix(extensions/fetch): Filter out custom HOST headers (#11020)Vladimir Ivanov
This commit updates "fetch" API to ignore custom "Host" headers and return value provided by "reqwest".
2021-06-22feat(fetch): add programmatic proxy (#10907)Tomofumi Chiba
This commit adds new options to unstable "Deno.createHttpClient" API. "proxy" and "basicAuth" options were added that allow to use custom proxy when client instance is passed to "fetch" API.
2021-06-22fix(core): don't panic on stdout/stderr write failures in Deno.core.print ↵Charlie Moog
(#11039)
2021-06-22docs: fix typo (#11044)Luke Ingalls
2021-06-22fix: move stable/unstable types/APIs to their correct places (#10880)Muthu Kumar
- Moved ppid and memoryUsage types from deno.unstable to deno.ns. - Moved sleepSync to unstable object, shutdown to stable object.
2021-06-22feat(repl): show list completion (#11001)Casper Beyer
2021-06-22refactor: 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-22fix(#10761): graph errors reported as diagnostics for `Deno.emit()` (#10767)Kitson Kelly
Fixes #10761