Luca Casonato
340e36cc2c
fix: uuid crate needs 'serde' feature ( #11318 )
2021-07-07 18:13:56 +02:00
Divy Srivastava
a8dcf9e261
fix(extensions/console): left align table entries ( #11295 )
2021-07-07 08:56:30 -07:00
Divy Srivastava
e3a4e9cf11
fix(crypto): hash input for RSASSA-PKCS1-v1_5 before signing ( #11314 )
2021-07-07 16:33:58 +02:00
Luca Casonato
b091b8fefb
fix(webgpu): align error scopes to spec ( #9797 )
2021-07-07 14:38:24 +02:00
David Sherret
7fc0e8ec8c
chore: use parking_lot for synchronization primitives to align with tokio ( #11289 )
...
parking_lot is already transitively used in tokio via the "full" cargo feature
2021-07-06 23:48:01 -04:00
Bartek Iwańczuk
672a88f272
refactor: use primordials in extensions/web, part2 ( #11299 )
2021-07-06 16:20:21 +02:00
Bartek Iwańczuk
1aac47720b
refactor: use primordials in extensions/web ( #11273 )
...
Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com>
2021-07-06 14:38:12 +02:00
Andreu Botella
f139a0cc11
perf: don't double convert to USVString for TextEncoder ( #11297 )
...
This works since both core.encode and the ops bindings to a Rust String
will already replace any lone surrogates with the replacement character.
2021-07-06 14:23:31 +02:00
Divy Srivastava
570309d795
feat(crypto): implement generateKey() and sign() ( #9614 )
...
Co-authored-by: Luca Casonato <hello@lcas.dev>
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-07-06 14:16:04 +02:00
Divy Srivastava
2ed222fceb
refactor: use primordials for extensions/console ( #11249 )
2021-07-06 12:03:12 +02:00
Satya Rohith
ab6b0cefd3
refactor: use primordials in extensions/fetch ( #11266 )
2021-07-06 11:32:59 +02:00
Simon Rask
e0f67098aa
refactor: use primordials for extensions/timers ( #11256 )
2021-07-05 19:39:33 +02:00
Yusuke Tanaka
0a33cc1951
chore: upgrade Tokio to 1.8.0 ( #11281 )
2021-07-05 15:50:56 +02:00
Jimmy Wärting
2c0b0e45b7
refactor: asynchronous blob backing store ( #10969 )
...
Co-authored-by: Luca Casonato <hello@lcas.dev>
2021-07-05 15:34:37 +02:00
Leo K
220104f577
fix: spec conformance for performance API ( #10887 )
2021-07-05 13:17:11 +02:00
Craig Morten
a6c840d150
fix(fetch): OPTIONS should be allowed a non-null body ( #11242 )
2021-07-05 12:38:12 +02:00
Luca Casonato
3ee0c36453
refactor: introduce primordials for web/streams ( #11251 )
2021-07-05 12:18:41 +02:00
Divy Srivastava
6a4769670d
fix(webidl): use primordial for SymbolToStringTag ( #11275 )
2021-07-05 10:26:25 +02:00
Divy Srivastava
a80e34f92c
fix(webstorage): use primordial for Symbol.for ( #11276 )
2021-07-05 10:24:21 +02:00
Divy Srivastava
ffd28e7d67
refactor: use primordials for extensions/websocket ( #11240 )
2021-07-04 17:38:04 +02:00
Simon Rask
a8f9ac654d
fix: primordials in extensions/net and runtime/js ( #11270 )
2021-07-04 17:26:38 +02:00
Bartek Iwańczuk
f0fbd49a2d
refactor: use primordials in extensions/web/02_event.js ( #11264 )
2021-07-04 16:43:21 +02:00
Bartek Iwańczuk
ae526e0abb
refactor use primordials in extensions/webgpu ( #11265 )
2021-07-04 16:23:22 +02:00
Luca Casonato
3c0267dbb5
fix: align DOMException to webidl spec ( #11259 )
2021-07-04 16:08:53 +02:00
Andreu Botella
ffa75be480
feat: enable WebAssembly.instantiateStreaming and wasm async compilation ( #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 23:33:36 +02:00
Luca Casonato
7ef0f43d87
fix: stream strategy size should be plain function
2021-07-03 22:20:28 +02:00
Luca Casonato
bf39b883d6
refactor: introduce primordials for ext/web ( #11228 )
2021-07-03 21:32:28 +02:00
Bartek Iwańczuk
425b9a8228
fix: primordials in extensions/net ( #11250 )
2021-07-03 17:41:49 +02:00
Bartek Iwańczuk
bd7bb43a0e
refactor: use primordials in extensions/net/ ( #11243 )
2021-07-03 17:02:14 +02:00
Divy Srivastava
d4de477ef9
refactor: use primordials for extensions/broadcast_channel ( #11231 )
2021-07-03 11:51:53 +02:00
Divy Srivastava
e90b97ada2
refactor: use primordials for extensions/webstorage ( #11239 )
2021-07-03 11:49:41 +02:00
Luca Casonato
4ae50f5c06
refactor: use primordials for extensions/webidl ( #11227 )
2021-07-02 16:37:41 +02:00
Luca Casonato
2544ec9af4
refactor: use primordials for extensions/url ( #11225 )
2021-07-02 14:08:28 +02:00
Andreu Botella
7b0375fae7
perf: speed up TextEncoder.prototype.encodeInto() ( #11219 )
...
The current implementation of op_encoding_encode_into UTF-8 encodes each
individual code point in the input string into the output buffer. But after the
ops binding, the input is a Rust String, so the UTF-8 bytes can simply be copied
to the output. This should improve this API's performance.
2021-07-02 12:11:20 +02:00
Andreu Botella
4bc8fe71db
fix(fetch): a consumed body with a non-stream source should result in a disturbed stream ( #11217 )
2021-07-02 11:34:12 +02:00
Luca Casonato
0385a99052
v1.11.3
...
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2021-07-02 00:13:40 +02:00
Luca Casonato
de6e44794b
fix: panic in request body streaming ( #11191 )
2021-06-30 18:05:58 +02:00
Bartek Iwańczuk
38a7128cdd
feat: Add "deno_net" extension ( #11150 )
...
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-29 01:43:03 +02:00
Bartek Iwańczuk
30cba24848
chore: release deno_core ( #11164 )
2021-06-28 20:59:23 +02:00
Bartek Iwańczuk
7b9737b9f4
feat(inspector): pipe console messages between terminal and inspector ( #11134 )
...
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-27 02:27:50 +02:00
Andreu Botella
015f252066
fix(fetch): encode and decode headers as byte strings ( #11070 )
2021-06-26 17:34:24 +02:00
Luca Casonato
22e7b0f585
fix: MessagePort in message for postMessage transfers ( #11103 )
2021-06-26 11:17:05 +02:00
Yoshiya Hinosawa
d832d2bfd1
chore(ext/console): deprecate Deno.customInspect ( #10035 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-06-25 16:19:18 +09:00
David Sherret
586586b791
fix: make readonly Event
properties readonly ( #11106 )
2021-06-24 14:21:13 -04:00
David Sherret
a2067ec46d
fix(inspect): eliminate panic inspecting event classes ( #10979 )
2021-06-24 09:43:41 -04:00
Andreu Botella
40310eaebf
fix(url): use USVStrings in URLSearchParams constructor ( #11101 )
2021-06-24 11:38:37 +02:00
Andreu Botella
edab21ebab
fix(fetch): proxy body for requests created from other requests ( #11093 )
...
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-23 16:00:23 +02:00
Yasser A.Idrissi
2c4ce26f0b
fix(webstorage): increase localStorage limit to 10MB ( #11081 )
2021-06-23 11:59:08 +02:00
Luca Casonato
6261c89e04
feat: transfer MessagePort between workers ( #11076 )
...
Add support for transferring `MessagePort`s between workers.
2021-06-22 16:30:16 +02:00
Jimmy Wärting
0a2ced5728
refactor(FormData): refactor formdata serializer to support async blob backing ( #11050 )
2021-06-22 14:06:37 +02:00