David Sherret
5d7d9d6443
chore(tests): improve unit tests using deferred
( #11842 )
2021-08-25 16:04:14 -04:00
Percy
66476efec5
docs(README): Change the logo to vector image ( #11841 )
...
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2021-08-25 15:27:18 +02:00
David Sherret
dce70d32a4
chore: add scripts for helping with a release ( #11832 )
2021-08-25 09:02:22 -04:00
Sean Michael Wykes
dccf4cbe36
feat(fetch): mTLS client certificates for fetch() ( #11721 )
...
This commit adds support for specifying client certificates when using fetch, by means of `Deno.createHttpClient`.
2021-08-25 14:25:12 +02:00
Luca Casonato
5d814a4c24
feat: ArrayBuffer in structured clone transfer ( #11840 )
2021-08-25 13:48:53 +02:00
Bartek Iwańczuk
f84cd9403d
refactor: cleanup Inspector and InspectorServer implementations ( #11837 )
2021-08-25 13:39:23 +02:00
Dayan C. Galiazzi
873cce27b8
fix(ext/http): websocket upgrade header check ( #11830 )
2021-08-25 00:55:32 +02:00
Casper Beyer
a3fd4bb998
fix(cli): dispatch unload event on watch drop ( #11696 )
2021-08-24 22:34:09 +02:00
Divy Srivastava
85a56e7144
feat(ext/crypto): implement encrypt, decrypt & generateKey for RSA-OAEP ( #11654 )
2021-08-24 21:59:02 +02:00
Luca Casonato
4853be20f2
refactor(webgpu): use op interface idiomatically ( #11835 )
2021-08-24 20:32:25 +02:00
Sebastien Filion
e10d30c8ea
fix(typings): fix property name in DiagnosticMessageChain interface ( #11821 )
2021-08-24 11:53:38 -04:00
Casper Beyer
a7240c5091
feat(cli): add --ignore flag to test command ( #11712 )
2021-08-24 17:23:29 +02:00
Kitson Kelly
7ae30bcc89
chore: add refactor and chore to exempt stale labels ( #11824 )
2021-08-24 17:18:37 +02:00
Nicolas Stucki
c4561ac969
feat(extensions/console): right align numeric columns in table ( #11748 )
2021-08-24 17:17:40 +02:00
Tilman Roeder
93d83a84db
feat(unstable): Add file locking APIs ( #11746 )
...
This commit adds following unstable APIs:
- Deno.flock()
- Deno.flockSync()
- Deno.funlock()
- Deno.funlockSync()
2021-08-24 15:21:31 +02:00
Divy Srivastava
46e4ba38b2
fix(ext/crypto): KeyAlgorithm typings for supported algorithms ( #11738 )
2021-08-24 15:15:25 +02:00
Nayeem Rahman
1b7848c4a9
feat(unstable): Support file URLs in Deno.dlopen() ( #11658 )
2021-08-24 15:09:00 +02:00
Nayeem Rahman
8c57a6b7e3
BREAKING(unstable): Fix casing in FfiPermissionDescriptor ( #11659 )
2021-08-24 15:08:41 +02:00
Leo K
f4a9db350f
chore(ext/webgpu): update wgpu to 0.10.0 ( #11781 )
...
Co-authored-by: Luca Casonato <hello@lcas.dev>
2021-08-24 13:29:42 +02:00
Luca Casonato
50f69a6996
fix: FileReader.readAsText compat ( #11814 )
...
Fixes a WPT test.
2021-08-24 13:13:22 +02:00
David Sherret
7b882cc05f
1.13.2 ( #11822 )
2021-08-23 16:58:49 -04:00
David Sherret
6db8cbb650
chore: release crates for 1.13.2 ( #11820 )
2021-08-23 15:48:08 -04:00
Luca Casonato
df084b9f14
fix(ext/ffi): don't panic on invalid enum values ( #11815 )
...
Co-authored-by: Feng Yu <f3n67u@gmail.com>
2021-08-23 18:31:19 +02:00
Bartek Iwańczuk
2187c11e5d
fix(ext/http): resource leak on HttpConn.close() ( #11805 )
...
This commit adds tracking of resources that are related
to "HttpConn" so they can be closed automatically
when closing the connection.
2021-08-23 16:15:59 +02:00
Casper Beyer
2c17045aa8
refactor(cli/tools/test): infer disable log from program state ( #11803 )
2021-08-23 16:03:57 +02:00
Bartek Iwańczuk
dbcdd3a18e
fix: duplicate import in cli/main.rs ( #11813 )
2021-08-23 14:08:55 +02:00
Casper Beyer
f3b2f23a1d
refactor(cli/flags): use an optional non zero usize for fail-fast
( #11804 )
...
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-23 12:37:02 +02:00
Casper Beyer
198699faba
fix(cli/flags): require a non zero usize for concurrent jobs ( #11802 )
2021-08-23 12:35:38 +02:00
Feng Yu
856884b2df
fix(ext/crypto): remove duplicate Algorithm interface defination ( #11807 )
2021-08-23 13:54:39 +10:00
Feng Yu
cb8f34c325
doc(test): add --location to unit test command ( #11793 )
2021-08-21 14:32:05 +02:00
Feng Yu
4c1e56b2f0
tests: remove redundant type assertion ( #11794 )
2021-08-21 16:55:28 +10:00
Feng Yu
6f63d739ab
fiz(ext/fetch): Headers constructor error message ( #11778 )
2021-08-21 05:07:30 +02:00
Ikko Ashimine
d81128109f
refactor: fix typo in web_worker.rs ( #11792 )
2021-08-20 22:14:48 +02:00
Yusuke Tanaka
4ae57d185e
chore: upgrade dlint and run prefer-primordials
rule ( #11777 )
2021-08-20 01:14:20 +02:00
Aaron O'Mullan
4f322da07c
perf(url): build with opt-level 3 ( #11779 )
...
A ~25% improvement: `~1950ns/call` => `~1500ns/call`
2021-08-19 19:11:27 +02:00
Aaron O'Mullan
91051047cc
perf(ext/url): use DOMString instead of USVString as webidl converter for URL parsing ( #11775 )
...
A 20% decrease in url parsing:
- before: `~2450ns/parse`
- after: `~1950ns/parse`
2021-08-19 17:36:14 +02:00
Aaron O'Mullan
bfc197f33e
cleanup(core): rename handleAsyncMsgFromRust() to opresolve() ( #11774 )
...
No user impact, but is simpler and aligns with `opcall()`
2021-08-19 17:19:00 +02:00
Aaron O'Mullan
37c983d1e8
perf(ext/url): optimize UrlParts op serialization ( #11765 )
2021-08-19 13:41:47 +02:00
Kitson Kelly
0d83afd939
fix(lsp): better handling of languageId ( #11755 )
...
Fixes #11521
Fixes #11742
2021-08-19 13:19:12 +10:00
Aaron O'Mullan
bf0bacbc0e
perf(ext/url): cleanup and optimize url parsing op args ( #11763 )
...
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-18 23:21:33 +02:00
Pankaj Patil
e55454613c
docs(lsp): change deno/registryStatus -> deno/registryState ( #11760 )
2021-08-18 12:17:52 -04:00
Casper Beyer
71e558c71c
test: re-enable test watch tests and mark as flaky ( #11669 )
2021-08-18 15:35:24 +02:00
Luca Casonato
a66218d457
fix(runtime): event loop panics in classic workers ( #11756 )
...
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-18 15:19:22 +02:00
David Sherret
480cfda8d5
chore(tests): delete the temporary deno dir when dropping the test lsp client ( #11749 )
2021-08-17 22:58:41 -04:00
Casper Beyer
4b800f5d26
refactor(cli): pass optional op_init to create_main_worker ( #11707 )
...
Replaces the testing flag in create_main_worker with a more
general purpose hook to register additional ops.
2021-08-17 12:08:39 +02:00
Antoine du Hamel
7e5698fb2e
chore: add FinalizationRegistry
and WeakRef
to primordials ( #11735 )
...
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: d59db06bf5
2021-08-17 12:04:09 +02:00
David Sherret
5d24ddf9b2
chore: sort items in Releases.md for 1.13.1 release ( #11734 )
2021-08-17 12:03:33 +02:00
Divy Srivastava
af97535b7c
fix(ext/crypto): exportKey() for HMAC ( #11737 )
...
Fixes typings and innerKey processing (WPT doesn't test
exportKey for HMAC so this wasn't caught earlier).
2021-08-17 11:29:32 +02:00
David Sherret
c67f6c13cd
1.13.1
2021-08-16 17:42:52 -04:00
David Sherret
a66a7bebbe
chore: release crates for 1.13.1 ( #11729 )
2021-08-16 16:49:14 -04:00