Bartek Iwańczuk
3aa6d5d8b0
chore: upgrade rusty_v8 to 0.43.1 ( #14713 )
2022-05-26 13:13:01 +02:00
Leo Kettmeir
3c97bbe165
fix(ext/websocket): WebSocket dispatch single close event ( #13443 )
2022-05-23 13:21:11 +02:00
Leo Kettmeir
4e1ca1d178
refactor: use spawn API across codebase ( #14414 )
2022-05-18 22:00:11 +02:00
Colin Ihrig
1fa75f75c9
fix(ext/web): throw if listener and signal are null ( #14601 )
...
This commit fixes a failing WPT test by making EventTarget's
addEventListener() method throw if both the listener and the
signal option are null.
Fixes: https://github.com/denoland/deno/issues/14593
2022-05-16 10:46:39 -04:00
Geert-Jan Zwiers
0568be863b
feat(ext/web): add performance.toJSON ( #14548 )
2022-05-13 18:36:00 +02:00
Luca Casonato
a5b50d0915
feat(ext/web): implement static Response.json
( #14566 )
...
This commit adds support for the static `Response.json` method.
2022-05-13 14:28:05 +02:00
Luca Casonato
eed7afc3aa
chore: update wpt ( #14592 )
2022-05-13 13:34:53 +02:00
Luca Casonato
2f7f41533b
fix(ext/web): brand check in performance.timeOrigin
( #14550 )
2022-05-10 02:31:35 +02:00
Colin Ihrig
ff49bd9e32
chore: improve release docs ( #14506 )
...
This commit fixes a typo and the test command used in deno_std.
2022-05-06 15:09:33 -04:00
Geert-Jan Zwiers
dd1d6a0f67
feat(web): add performance.timeOrigin
( #14489 )
...
Add support for the `performance.timeOrigin` web API.
Co-authored-by: Jovi De Croock <decroockjovi@gmail.com>
2022-05-06 19:37:18 +02:00
Kitson Kelly
ef26a267ae
fix(cli): add dom.extras lib ( #14430 )
...
Closes: #12558
Fixes: #14344
2022-04-29 13:47:58 +10:00
David Sherret
2724235ec7
chore: add release step failure instructions ( #14352 )
2022-04-21 12:33:37 -04:00
David Sherret
0cd61f2260
chore(scripts): allow running version_bump workflow without releasing deno_std yet ( #14341 )
2022-04-21 09:51:12 -04:00
denobot
29c8cd8aae
1.21.0 ( #14336 )
...
Co-authored-by: ry <ry@users.noreply.github.com>
Co-authored-by: David Sherret <dsherret@gmail.com>
2022-04-20 21:50:16 -04:00
Nayeem Rahman
c30d95f2e3
feat(ext/web): add globalThis.reportError() ( #13799 )
2022-04-19 10:59:51 +02:00
Luca Casonato
ca3b20df3c
chore: update wpt ( #14313 )
2022-04-18 21:17:19 +02:00
Feng Yu
32aaefd9ee
fix(tools/wpt): replace deprecated writeAllSync and writeAll ( #14282 )
2022-04-16 17:28:15 +02:00
David Sherret
b4af648c15
chore: release fixes based on doing the v1.20.6 release ( #14289 )
2022-04-15 09:39:41 -04:00
Bartek Iwańczuk
f7e7f54849
chore: use lock file for tooling scripts ( #14253 )
...
This commit adds lock file for maintenance scripts in "tools/"
directory.
The lock file is stored in "tools/deno.lock.json".
2022-04-13 18:51:16 +02:00
Bartek Iwańczuk
c154ac5168
chore: use local copy of std in tools/bench/ scripts ( #14251 )
2022-04-11 11:46:23 +02:00
David Sherret
a4eee007ef
chore: update release instructions based on 1.20.5 release ( #14239 )
2022-04-08 12:32:25 -04:00
David Sherret
b2aaf708ab
chore: forward v1.20.5 release commit to main ( #14232 )
2022-04-07 14:40:20 -04:00
David Sherret
e33329b47e
chore(ci): automatically open PR to forward patch release back to main ( #14180 )
2022-04-04 14:56:29 -04:00
David Sherret
fcd986875a
chore(ci): update deno_std release steps ( #14178 )
2022-04-04 09:37:54 -04:00
David Sherret
c0ee027d34
chore(ci): automatically include releases notes in release draft ( #14179 )
2022-04-02 11:25:12 -04:00
David Sherret
8ca4c1819f
chore(ci): fix Releases.md creation and tag name ( #14166 )
2022-04-01 11:11:53 -04:00
David Sherret
5cab3e7dba
build: use workflows for bumping versions and cargo publishing on the CI ( #13995 )
2022-03-30 16:37:00 -04:00
David Sherret
92bb251058
chore: release script should automatically figure out CLI crate dependencies ( #13992 )
2022-03-16 20:33:14 -04:00
Ryan Dahl
163e1d6192
disable flakes ( #13962 )
2022-03-15 11:19:59 -04:00
Andreu Botella
9f494dc405
feat(ext/web): Add AbortSignal.timeout()
( #13687 )
2022-03-14 20:19:22 +01:00
Yoshiya Hinosawa
99816ad506
chore: fix file permissions of release scripts ( #13901 )
2022-03-10 23:29:49 +09:00
David Sherret
a3d6be025c
chore: reduce release PRs from 2 to 1 ( #13878 )
2022-03-08 18:10:03 -05:00
David Sherret
96dc7421ae
chore: automatically update Releases.md when doing a release ( #13837 )
...
Co-authored-by: Aaron O'Mullan <aaron.omullan@gmail.com>
2022-03-04 22:28:23 -05:00
Satya Rohith
70690f54af
chore: update deps ( #13821 )
2022-03-05 03:38:04 +05:30
Satya Rohith
99904a668e
chore: update cut_a_release.md ( #13822 )
2022-03-04 09:00:55 +05:30
Kitson Kelly
1db7566e2a
docs: information about updating TypeScript version ( #13810 )
2022-03-03 13:08:01 +11:00
Divy Srivastava
8b2989c417
feat(ext/crypto): AES-GCM support for 128bit IVs ( #13805 )
2022-03-02 10:56:10 +05:30
David Sherret
4be0365fb8
chore(tools): use automation scripts from automation repo ( #13796 )
2022-03-01 15:40:32 -05:00
David Sherret
877c0b724e
chore: use rustfmt
cli via dprint for faster format ( #13735 )
2022-02-21 12:47:08 -05:00
Andreu Botella
665ea9b5f0
chore: update wpt ( #13679 )
2022-02-16 14:33:34 +01:00
Divy Srivastava
e218d567d5
fix(ext/crypto): support EC p256 private key material in exportKey ( #13547 )
...
Co-authored-by: Luca Casonato <hello@lcas.dev>
2022-02-08 18:48:28 +05:30
Aaron O'Mullan
bd5d445da9
chore: re-enable wgpu_sync ( #13453 )
2022-01-24 23:47:05 +01:00
Leo Kettmeir
30ddf436d0
feat(ext/web): add CompressionStream API ( #11728 )
...
Co-authored-by: Luca Casonato <hello@lcas.dev>
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2022-01-24 18:03:06 +01:00
Bartek Iwańczuk
56d0ca7f52
chore: update cut_a_release.md ( #13444 )
2022-01-21 10:16:57 +01:00
Aaron O'Mullan
3ab68bd0a2
revert( #13402 ): experiment: wgpu sync ( #13439 )
2022-01-20 15:23:53 +01:00
Yoshiya Hinosawa
4c1053ad33
chore: update copyright year ( #13434 )
2022-01-20 16:10:16 +09:00
Aaron O'Mullan
2ab21dafa7
experiment: wgpu sync ( #13402 )
2022-01-19 13:38:51 +01:00
Leo Kettmeir
e134ac6741
chore: update wpt ( #13423 )
2022-01-19 12:31:32 +01:00
Sean Michael Wykes
9139985180
feat(ext/crypto): implement pkcs8/JWK for P-384 curves ( #13154 )
2022-01-19 12:14:35 +05:30
Sean Michael Wykes
77e58fe7f9
feat(ext/crypto): implement pkcs8/spki/jwk exportKey for ECDSA and ECDH ( #13104 )
2022-01-19 09:08:35 +05:30
Ryan Dahl
ce52bfc59c
Add LSP benchmark mimicking the one on quick-lint-js ( #13365 )
2022-01-18 06:58:50 -05:00
Leo Kettmeir
659bbd731c
feat(streams): reject pending reads when releasing reader ( #13375 )
2022-01-14 17:34:54 +01:00
Leo Kettmeir
b720af994a
chore: update wpt ( #13371 )
2022-01-14 17:00:02 +01:00
Divy Srivastava
919ded1a0b
feat(ext/crypto): implement AES-GCM decryption ( #13319 )
2022-01-14 14:18:53 +05:30
Bartek Iwańczuk
5e2d7737f5
chore: update cut_a_release.md ( #13352 )
2022-01-13 16:43:35 +01:00
Leo Kettmeir
f955afc5ea
chore: bump rust-urlpattern to 0.1.3 ( #13328 )
2022-01-11 22:42:58 +01:00
Sean Michael Wykes
91f6c5fc7e
feat(ext/crypto): implement AES-KW for wrapKey/unwrapKey ( #13286 )
2022-01-11 10:14:47 +05:30
Ryan Dahl
1fb5858009
chore: update copyright to 2022 ( #13306 )
...
Co-authored-by: Erfan Safari <erfanshield@outlook.com>
2022-01-07 22:09:52 -05:00
Sean Michael Wykes
59f0eafd19
feat(ext/crypto): JWK support for unwrapKey/wrapKey ( #13261 )
2022-01-07 16:39:01 +05:30
Sean Michael Wykes
d92072c656
chore(wpt): add "--inspect-brk" flag to WPT runner ( #13267 )
2022-01-06 11:24:37 +01:00
Divy Srivastava
c74eb7a889
feat(ext/crypto): implement AES-GCM encryption ( #13119 )
2022-01-05 20:42:30 +05:30
Sean Michael Wykes
9a42d65fc7
feat(ext/crypto): support AES-CTR encrypt/decrypt ( #13177 )
...
Fixes #13201 .
2022-01-03 12:27:28 +01:00
Sean Michael Wykes
07618c861e
fix(ext/crypto) include AES-CTR for deriveKey ( #13174 )
2021-12-27 08:25:17 -05:00
Ryan Dahl
86bddcc44a
docs: update release instructions for M1 build ( #13182 )
2021-12-23 16:43:13 +01:00
Kitson Kelly
e803a9f2f0
docs: update release info for doc.deno.land ( #13116 )
2021-12-17 12:13:45 +11:00
Sean Michael Wykes
60faf7a0ed
feat(ext/crypto): support importing ECSDA and ECDH ( #13088 )
...
Co-authored-by: Luca Casonato <hello@lcas.dev>
2021-12-16 17:28:43 +01:00
Bartek Iwańczuk
a1f0796fcc
feat: Add support for import assertions and JSON modules ( #12866 )
...
This commit adds proper support for import assertions and JSON modules.
Implementation of "core/modules.rs" was changed to account for multiple possible
module types, instead of always assuming that the code is an "ES module". In
effect "ModuleMap" now has knowledge about each modules' type (stored via
"ModuleType" enum). Module loading pipeline now stores information about
expected module type for each request and validates that expected type matches
discovered module type based on file's "MediaType".
Relevant tests were added to "core/modules.rs" and integration tests,
additionally multiple WPT tests were enabled.
There are still some rough edges in the implementation and not all WPT were
enabled, due to:
a) unclear BOM handling in source code by "FileFetcher"
b) design limitation of Deno's "FileFetcher" that doesn't download the same
module multiple times in a single run
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-12-15 19:22:36 +01:00
Bartek Iwańczuk
2c20e621aa
chore: lint cli/tests/unit/ ( #13083 )
2021-12-14 23:03:17 +01:00
Luca Casonato
b220a58d1a
feat(ext/crypto): support exporting RSA JWKs ( #13081 )
...
This commit adds support for exporting RSA JWKs in the Web Crypto API.
It also does some minor fixes for RSA JWK imports.
Co-authored-by: Sean Michael Wykes <sean.wykes@nascent.com.br>
2021-12-14 17:02:14 +01:00
Luca Casonato
5fe4d5c818
feat(ext/crypto): support importing RSA JWKs ( #13071 )
...
This commit adds support for importing RSA JWKs in the Web Crypto API.
Co-authored-by: Sean Michael Wykes <sean.wykes@nascent.com.br>
2021-12-14 12:25:07 +01:00
Andreu Botella
0f0dd5b7ec
feat(ext/web): implement AbortSignal.prototype.throwIfAborted()
( #13044 )
...
See whatwg/dom#1034 .
2021-12-10 15:12:38 +01:00
Andreu Botella
542b71eef9
chore: update wpt ( #13043 )
2021-12-10 14:48:46 +01:00
Kitson Kelly
345f0fbe5c
feat(cli): update to TypeScript 4.5 ( #12410 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-12-10 09:12:21 +11:00
Yacine Hmito
a3d024ac2e
feat(crypto): support importKey
in SPKI format ( #12921 )
...
This commit adds support for `spki` key format for `crypto.subtle.importKey` for the RSA* algorithms.
2021-12-09 20:32:55 +01:00
Andreu Botella
318f48f9ad
feat(streams): support abort reasons in streams ( #12991 )
2021-12-08 23:31:22 +01:00
Andreu Botella
b91e6fd02f
chore: Update WPT ( #12987 )
2021-12-06 16:03:09 +01:00
Divy Srivastava
d31378726e
feat(ext/crypto): implement unwrapKey ( #12539 )
2021-12-05 04:55:11 +01:00
Divy Srivastava
96d02deed6
feat(ext/crypto): support importing exporting AES JWK keys ( #12444 )
2021-11-28 16:48:49 +01:00
Luca Casonato
2853e37604
fix(ext/crypto): throw on key & op algo mismatch ( #12838 )
2021-11-25 15:57:01 +01:00
Luca Casonato
71ceca0ffc
fix(ext/crypto): don't panic on decryption failure ( #12840 )
2021-11-22 23:58:21 +01:00
David Sherret
4836ab769c
1.16.2 ( #12794 )
2021-11-17 11:00:58 -05:00
Bartek Iwańczuk
0cc8a9741a
chore: update cut_a_release.md ( #12725 )
2021-11-10 16:49:47 +01:00
Luca Casonato
82dd133d5c
chore: disable flaky wpt tests ( #12696 )
2021-11-08 23:30:41 +01:00
Leo Kettmeir
c91da1222b
feat(ext/web): WritableStreamDefaultController.signal ( #12654 )
2021-11-08 12:54:24 +01:00
Luca Casonato
3828a7eb11
chore: update wpt ( #12682 )
...
This commit updates WPT to 3904336d37ed6f480fc8879ea8bd5683a39ede3d.
2021-11-08 02:20:39 +01:00
Aaron O'Mullan
0f8299d011
fix(cli): don't panic when mapping unknown errors ( #12659 )
...
Instead fallback to generic "Error" class, fixes #12590 , also update WPT expectations
2021-11-07 15:33:56 +01:00
Ryan Dahl
7c2abb9d57
fix: Deno.emit crashes with BorrowMutError ( #12627 )
...
Warn on await_holding_refcell_ref clippy rule to avoid this in the future.
Fixes #12453
2021-11-03 09:27:36 -04:00
Leo Kettmeir
95b2955712
feat(ext/web): BYOB support for ReadableStream ( #12616 )
...
This commit introduces support for BYOB readers in the WHATWG Streams API implementation.
2021-11-03 10:47:40 +01:00
David Sherret
0ec151b8cb
chore: upgrade deno_ast to 0.5.0 ( #12595 )
2021-11-01 16:22:27 -04:00
Kitson Kelly
3ae8a8404b
chore(ci): update dependency for upload_wptfyi ( #12587 )
2021-10-29 16:29:37 +11:00
Andreu Botella
bc8e94155a
fix(encoding): support additional encoding labels ( #12586 )
2021-10-29 10:31:42 +05:30
Andreu Botella
74a93fdf63
fix(webidl): Don't throw when converting a detached buffer source ( #12585 )
...
The Web IDL conversion to `BufferSource` and similar types shouldn't
check whether the buffer is detached.
In the case of `TextDecoder`, our implementation would still throw after
the Web IDL conversions because we're creating a new `Uint8Array` from
the buffer source's buffer, which throws if it's detached. This change
also fixes this bug.
2021-10-28 23:17:27 +02:00
Luca Casonato
be68b82eb4
chore: update to rusty_v8 0.33.0 ( #12564 )
2021-10-27 23:26:15 +02:00
Andreu Botella
09dd77c13e
fix(workers): Make importScripts()
use the same HTTP client as fetch
( #12540 )
...
The initial implementation of `importScripts()` in #11338 used
`reqwest`'s default client to fetch HTTP scripts, which meant it would
not use certificates or other fetching configuration passed by command
line flags. This change fixes it.
2021-10-27 15:09:58 +02:00
Yoshiya Hinosawa
b4ab8ef9ea
docs(cut_a_release): update link to dotland repo ( #12546 )
2021-10-26 13:44:41 +09:00
Luca Casonato
834f474729
chore: add note about BCD to cut_a_release.md ( #12513 )
2021-10-22 14:45:16 +02:00
Aaron O'Mullan
4f48efcc55
chore: return serde_v8 to main repo ( #12500 )
...
Reduces fragmentation, avoids version drift and facilitates coordinating serde_v8 and op-layer changes
2021-10-20 00:00:45 +02:00
Bartek Iwańczuk
a2f5931510
chore: update release script ( #12481 )
2021-10-19 03:12:47 +02:00
Bert Belder
22d6e43c37
chore(wpt): disable broken tests ( #12385 )
...
* 'request-upload.h2' and 'redirect-upload.h2' only work with a
functional HTTP2 test harness server, otherwise they're flaky.
* Fetch request streaming tests require a server that doesn't choke
on requests that use 'Transfer-Encoding: chunked'.
2021-10-17 15:12:19 +02:00
Divy Srivastava
b1e7452cd3
feat(ext/crypto): support importing/exporting raw AES keys ( #12392 )
2021-10-12 15:48:08 +02:00