summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-08-25feat(fetch): mTLS client certificates for fetch() (#11721)Sean Michael Wykes
This commit adds support for specifying client certificates when using fetch, by means of `Deno.createHttpClient`.
2021-08-25feat: ArrayBuffer in structured clone transfer (#11840)Luca Casonato
2021-08-25refactor: cleanup Inspector and InspectorServer implementations (#11837)Bartek Iwańczuk
2021-08-25fix(ext/http): websocket upgrade header check (#11830)Dayan C. Galiazzi
2021-08-24fix(cli): dispatch unload event on watch drop (#11696)Casper Beyer
2021-08-24feat(ext/crypto): implement encrypt, decrypt & generateKey for RSA-OAEP (#11654)Divy Srivastava
2021-08-24refactor(webgpu): use op interface idiomatically (#11835)Luca Casonato
2021-08-24fix(typings): fix property name in DiagnosticMessageChain interface (#11821)Sebastien Filion
2021-08-24feat(cli): add --ignore flag to test command (#11712)Casper Beyer
2021-08-24chore: add refactor and chore to exempt stale labels (#11824)Kitson Kelly
2021-08-24feat(extensions/console): right align numeric columns in table (#11748)Nicolas Stucki
2021-08-24feat(unstable): Add file locking APIs (#11746)Tilman Roeder
This commit adds following unstable APIs: - Deno.flock() - Deno.flockSync() - Deno.funlock() - Deno.funlockSync()
2021-08-24fix(ext/crypto): KeyAlgorithm typings for supported algorithms (#11738)Divy Srivastava
2021-08-24feat(unstable): Support file URLs in Deno.dlopen() (#11658)Nayeem Rahman
2021-08-24BREAKING(unstable): Fix casing in FfiPermissionDescriptor (#11659)Nayeem Rahman
2021-08-24chore(ext/webgpu): update wgpu to 0.10.0 (#11781)Leo K
Co-authored-by: Luca Casonato <hello@lcas.dev>
2021-08-24fix: FileReader.readAsText compat (#11814)Luca Casonato
Fixes a WPT test.
2021-08-231.13.2 (#11822)David Sherret
2021-08-23chore: release crates for 1.13.2 (#11820)David Sherret
2021-08-23fix(ext/ffi): don't panic on invalid enum values (#11815)Luca Casonato
Co-authored-by: Feng Yu <f3n67u@gmail.com>
2021-08-23fix(ext/http): resource leak on HttpConn.close() (#11805)Bartek Iwańczuk
This commit adds tracking of resources that are related to "HttpConn" so they can be closed automatically when closing the connection.
2021-08-23refactor(cli/tools/test): infer disable log from program state (#11803)Casper Beyer
2021-08-23fix: duplicate import in cli/main.rs (#11813)Bartek Iwańczuk
2021-08-23refactor(cli/flags): use an optional non zero usize for `fail-fast` (#11804)Casper Beyer
Changes the type of the `fail_fast` flag from `Option<usize>` to `Option<NonZeroUsize>` as an optional value of zero isn't sound.
2021-08-23fix(cli/flags): require a non zero usize for concurrent jobs (#11802)Casper Beyer
2021-08-23fix(ext/crypto): remove duplicate Algorithm interface defination (#11807)Feng Yu
2021-08-21doc(test): add --location to unit test command (#11793)Feng Yu
2021-08-21tests: remove redundant type assertion (#11794)Feng Yu
2021-08-21fiz(ext/fetch): Headers constructor error message (#11778)Feng Yu
2021-08-20refactor: fix typo in web_worker.rs (#11792)Ikko Ashimine
2021-08-20chore: upgrade dlint and run `prefer-primordials` rule (#11777)Yusuke Tanaka
2021-08-19perf(url): build with opt-level 3 (#11779)Aaron O'Mullan
A ~25% improvement: `~1950ns/call` => `~1500ns/call`
2021-08-19perf(ext/url): use DOMString instead of USVString as webidl converter for ↵Aaron O'Mullan
URL parsing (#11775) A 20% decrease in url parsing: - before: `~2450ns/parse` - after: `~1950ns/parse`
2021-08-19cleanup(core): rename handleAsyncMsgFromRust() to opresolve() (#11774)Aaron O'Mullan
No user impact, but is simpler and aligns with `opcall()`
2021-08-19perf(ext/url): optimize UrlParts op serialization (#11765)Aaron O'Mullan
2021-08-19fix(lsp): better handling of languageId (#11755)Kitson Kelly
Fixes #11521 Fixes #11742
2021-08-18perf(ext/url): cleanup and optimize url parsing op args (#11763)Aaron O'Mullan
This splits the previous `op_url_parse` into: - `op_url_parse`: parses a href with an optional base - `op_url_reparse`: reparses a href with a modifier This is a cleaner separation of concerns and it allows us to optimize & simplify args passed. Resulting in a 25% reduction in call overhead (~5000ns/call => ~3700ns/call in url_ops bench on my M1 Air)
2021-08-18docs(lsp): change deno/registryStatus -> deno/registryState (#11760)Pankaj Patil
2021-08-18test: re-enable test watch tests and mark as flaky (#11669)Casper Beyer
2021-08-18fix(runtime): event loop panics in classic workers (#11756)Luca Casonato
Classic worker scripts are now executed in the context of a Tokio runtime. This does mean we can not spawn more tokio runtimes in "op_worker_sync_fetch". We instead spawn a new thread there, that can create a new Tokio runtime that we can use to block the worker thread.
2021-08-17chore(tests): delete the temporary deno dir when dropping the test lsp ↵David Sherret
client (#11749)
2021-08-17refactor(cli): pass optional op_init to create_main_worker (#11707)Casper Beyer
Replaces the testing flag in create_main_worker with a more general purpose hook to register additional ops.
2021-08-17chore: add `FinalizationRegistry` and `WeakRef` to primordials (#11735)Antoine du Hamel
Because it was possible to disable those with a runtime flag, they were not available through primordials. The flag has since been removed upstream. Refs: https://github.com/v8/v8/commit/d59db06bf5425ddb388fb5a576f4bf39bdcc0f8f
2021-08-17chore: sort items in Releases.md for 1.13.1 release (#11734)David Sherret
2021-08-17fix(ext/crypto): exportKey() for HMAC (#11737)Divy Srivastava
Fixes typings and innerKey processing (WPT doesn't test exportKey for HMAC so this wasn't caught earlier).
2021-08-161.13.1David Sherret
2021-08-16chore: release crates for 1.13.1 (#11729)David Sherret
2021-08-16fix(ext/fetch): better error if no content-typeBen Noordhuis
The streaming WASM support code inspects the Response object's Content-Type header but if that was missing, it failed with a fairly inscrutable "String.prototype.toLowerCase called on null or undefined" exception. Now it raises a more legible "Invalid WebAssembly content type" exception.
2021-08-16fix(ext/fetch): don't use global Deno objectBen Noordhuis
Don't use `Deno.core`, it's not present in embedders that don't expose the Deno global object.
2021-08-16fix(ext/crypto): enable non-extractable keys (#11705)Divy Srivastava