Bartek Iwańczuk
d7ce3adc8b
v1.11.1
2021-06-15 23:28:27 +02:00
Bartek Iwańczuk
ba91a727a6
chore: release crates ( #10976 )
2021-06-15 22:14:58 +02:00
Yusuke Tanaka
f4728e26fe
chore: upgrade swc_ecmascript ( #10959 )
2021-06-14 22:25:33 +02:00
Bartek Iwańczuk
1e1959f6fa
fix: hang in Deno.serveHttp() ( #10923 )
...
Waiting on next request in Deno.serveHttp() API hanged
when responses were using ReadableStream. This was caused
by op_http_request_next op that was never woken after
response was fully written. This commit adds waker field to
DenoService which is called after response is finished.
2021-06-14 14:52:49 +02:00
Bartek Iwańczuk
6091ea098a
refactor: merge deno_file crate into deno_web ( #10914 )
...
This refactor makes it so there's one less crate to publish on each release.
2021-06-10 15:26:10 +02:00
Bartek Iwańczuk
e75ffab0c8
chore: move serde_v8 to separate repo ( #10909 )
...
Now available at https://github.com/denoland/serde_v8
2021-06-09 20:37:43 +02:00
Bartek Iwańczuk
b98293e21c
v1.11.0
2021-06-08 21:38:36 +02:00
Bartek Iwańczuk
3a96fe55a0
chore: release crates ( #10896 )
2021-06-08 20:34:18 +02:00
Bartek Iwańczuk
d679ebbb37
upgrade: rusty_v8 0.22.3 ( #10892 )
2021-06-08 18:25:53 +02:00
Bartek Iwańczuk
d9df4347a1
chore: upgrade deno_lint 0.6.1 ( #10882 )
2021-06-07 17:44:31 +02:00
Bartek Iwańczuk
3b220c64f6
chore: upgrade crates ( #10867 )
...
* deno_doc - 0.5.0
* deno_lint - 0.6.0
* dprint-plugin-typescript - 0.46.0
* dprint-plugin-markdown - 0.8.0
* dprint-plugin-json - 0.12.0
* swc_bundler - 0.37.4
* swc_ecmascript - 0.36.0
2021-06-06 18:42:12 +02:00
Casper Beyer
3f9187c366
feat(extensions/crypto): implement subtle.digest ( #10796 )
...
Co-authored-by: Yacine Hmito yacinehmito@users.noreply.github.com
2021-06-06 12:57:10 +02:00
Luca Casonato
c73ef5fa14
refactor(web): use encoding_rs for text encoding ( #10844 )
...
This commit removes all JS based text encoding / text decoding. Instead
encoding now happens in Rust via encoding_rs (already in tree). This
implementation retains stream support, but adds the last missing
encodings. We are incredibly close to 100% WPT on text encoding now.
This should reduce our baseline heap by quite a bit.
2021-06-05 23:10:07 +02:00
Leo K
083f5c3454
refactor(crypto): validate max random bytes in Rust ( #10857 )
2021-06-05 19:30:20 +02:00
Leo K
cf351f77c2
feat(extensions/crypto): implement randomUUID ( #10848 )
2021-06-05 14:46:24 +02:00
Bert Belder
f891368057
v1.10.3 / 2021.05.31
...
- feat(lsp): diagnostics for deno types and triple-slash refs (#10699 )
- feat(lsp): provide X-Deno-Warning as a diagnostic (#10680 )
- feat(lsp): show hints from `deno_lint` in addition to messages
(#10739 )
- feat(lsp): support formatting json and markdown files (#10180 )
- fix(cli): always allow documentation modules to be checked (#10581 )
- fix(cli): canonicalize coverage dir (#10364 )
- fix(cli): don't statically error on dynamic unmapped bare specifiers
(#10618 )
- fix(cli): empty tsconfig.json file does not cause error (#10734 )
- fix(cli): support source maps with Deno.emit() and bundle (#10510 )
- fix(cli/dts): fix missing error class (NotSupported) in types (#10713 )
- fix(cli/install): support `file:` scheme URLs (#10562 )
- fix(cli/test): don't use reserved symbol `:` in specifier (#10751 )
- fix(cli/test): ensure coverage dir exists (#10717 )
- fix(cli/upgrade): modify download size paddings (#10639 )
- fix(runtime/http): expose nextRequest() errors in respondWith()
(#10384 )
- fix(runtime/http): fix empty blob response (#10689 )
- fix(serde_v8): remove intentional deserialization error on non-utf8
strings (#10156 )
- fix(ext/fetch): fix error message of Request constructor (#10772 )
- fix(ext/fetch): make prototype properties writable (#10769 )
- fix(ext/fetch): remove unimplemented Request attributes (#10784 )
- fix(ext/file): update File constructor following the spec (#10760 )
- fix(ext/webstorage): use opstate for sqlite connection (#10692 )
- fix(lsp): deps diagnostics include data property (#10696 )
- fix(lsp): ignore type definition not found diagnostic (#10610 )
- fix(lsp): local module import added by code action now includes the
file extension (#10778 )
- fix(lsp): make failed to load config error descriptive (#10685 )
- fix(lsp): memoize script versions per tsc request (#10601 )
- fix(lsp): re-enable the per resource configuration without a deadlock
(#10625 )
- docs(cli): update getting started for clarity (#10694 )
- docs(cli/dts) replace `read()` with `readSync()` (#10732 )
- docs(cli/dts): fix plugin example (#10647 )
- docs(cli/dts): fix typo in `TestDefinition.only` description (#10697 )
- docs(cli/dts): fix unix socket examples (#10705 )
- docs(cli/dts): make worker example pass (#10703 )
- docs(cli/dts): tag test permission example as typescript (#10753 )
- docs(permissions): fix grammatical error in permissions docs (#10755 )
- docs(runtime): fix fetch API usage of HTTP server (#10777 )
- docs(testing): fix misspelling (#10683 )
- docs(typescript): fix typo in faqs (#10682 )
-----BEGIN PGP SIGNATURE-----
iQFJBAABCgAzFiEERCcr7u+ib5W/fkyWeneIey4u1GEFAmC1RbwVHGJlcnRiZWxk
ZXJAZ21haWwuY29tAAoJEHp3iHsuLtRhXJsH/RETkMkLj1rZSdQWaOdVnRmP02pb
QmbmtfPVtM0Xvh+zL23Jk2fU2cJPRsf71U260QMyzxE8LVDZ58k9KFID24MdB3b/
J6Y5zLxyhkzc1EutN+D09y2nwrvJv3UKOls2ZLXtZ/HEmqQVOmqlGIaPIGxiQOPO
yAWXKXid/hZ41xDygJpL6FEmemnVlOzPHX/AeccKcyQos7CUUqcNocReUklZcje6
1IEEe6NcAi7x7hRB6lfjtXIZRcEjMD21ZmLsyKEH6YOJfoPzlR0uKYJR0i0ZO5Hr
H4erWA9R3OJDwvx5DhCGxyqW6IuD4A3HGChHtcANdH+RWTyHquqgDSzpeHA=
=Hhjk
-----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
iQFJBAABCgAzFiEERCcr7u+ib5W/fkyWeneIey4u1GEFAmC1TdsVHGJlcnRiZWxk
ZXJAZ21haWwuY29tAAoJEHp3iHsuLtRhYVEH/iHbk8AXA5xF8kV+q2R0IhRrtZjV
8VjDiC1nTGfIJcjXxoUVa1VaYQlfxNxcKPc/PSoW/oUwSoS0I9QvAxPY81dPYNUe
TtiJjf7fNWssu04TK/5rillRuag3e+AGrR605uK2A1b0Y/qlOumtaGN48TXcbyFt
p/p4zXT9TSC+/cOxZFNjnh+UVwpqOJxWxXBBtzrsDcsBfdvOCy/fo7qwjmqbe/q4
BDXNAG4AYHtg5X94b8bEgPDutUjk5HY08KA0EvVffGD0c3czvaF3lO7p8FHt95/3
rG+hS02OxUWRe8rltZk6s1mItypig4EyWWoiUJMaPt8zTz1t9rdy+M0oEpY=
=bAil
-----END PGP SIGNATURE-----
Merge v1.10.3 into main (#10801 )
2021-05-31 20:58:03 +00:00
Bert Belder
1567c1013c
v1.10.3
2021-05-31 20:20:42 +00:00
Yusuke Tanaka
475bc35646
chore: upgrade Tokio to 1.6.1 ( #10782 )
2021-05-31 16:37:35 +02:00
Luca Casonato
283e7ca92b
chore: release web extension@0.38.0 ( #10773 )
2021-05-31 16:37:35 +02:00
Bert Belder
7ad4a366cb
chore: add/update crates listed in workspace ( #10673 )
2021-05-31 16:37:27 +02:00
Kitson Kelly
96abb27e73
refactor: share test harness for lsp between bench and integration ( #10659 )
2021-05-31 16:37:27 +02:00
Luca Casonato
83ce333633
build: cli(build) shouldn't depend on deno_runtime ( #10787 )
...
This speeds up incremental rebuild when only touching JS files by 30%
compared to #10786 .
Rebuild time after touch 01_broadcast_channel.js:
main: run 1 49.18s, run 2 50.34s
#10786 : run 1 43.12s, run 2 43.19s
this + #10786 : run 1 30.30s, run 2 30.95s
2021-05-29 16:25:14 +02:00
Yusuke Tanaka
5f92f35bee
chore: upgrade Tokio to 1.6.1 ( #10782 )
2021-05-29 13:18:24 +02:00
Luca Casonato
d95056c10b
chore: release web extension@0.38.0 ( #10773 )
2021-05-29 00:19:26 +02:00
Ben Noordhuis
af1546391c
feat(extensions): BroadcastChannel WPT conformance
...
Replaces the file-backed provider by an in-memory one because proper
file locking is a hard problem that detracts from the proof of concept.
Teach the WPT runner how to extract tests from .html files because all
the relevant tests in test_util/wpt/webmessaging/broadcastchannel are
inside basics.html and interface.html.
2021-05-23 15:16:42 +02:00
Ben Noordhuis
8cf7f966f2
feat(extensions): add BroadcastChannel
...
Co-Authored-By: Ben Noordhuis <info@bnoordhuis.nl>
Fixes: #10354
2021-05-23 15:16:42 +02:00
Aaron O'Mullan
8fd951b200
bench(timers_ops): op_now() & setTimeout() ( #10744 )
2021-05-22 16:52:05 -04:00
Aaron O'Mullan
24da0aa37d
tooling: re-enable bench_util ( #10674 )
2021-05-19 19:41:23 +02:00
Bert Belder
afaac64737
chore: add/update crates listed in workspace ( #10673 )
2021-05-17 23:11:40 +02:00
Kitson Kelly
27e7bb090e
refactor: share test harness for lsp between bench and integration ( #10659 )
2021-05-18 06:45:13 +10:00
Luca Casonato
9ad52a28e5
1.10.2
2021-05-17 17:34:45 +02:00
Luca Casonato
5887dd3c95
chore: release crates ( #10661 )
...
For the Deno 1.10.2 release.
2021-05-17 17:34:35 +02:00
Luca Casonato
94eabfeeba
chore: update dependencies ( #10660 )
2021-05-17 14:44:40 +02:00
Yusuke Tanaka
be2347ddc2
chore: upgrade Tokio to 1.6.0 ( #10637 )
2021-05-15 15:13:10 +02:00
Ryan Dahl
1cd1419e18
v1.10.1
2021-05-11 23:11:50 -04:00
Bartek Iwańczuk
57927781ed
v1.10.0
2021-05-12 02:06:07 +02:00
Bartek Iwańczuk
de706961dc
chore: release crates ( #10596 )
2021-05-11 23:14:24 +02:00
Bert Belder
640d431b35
fix(tls): flush send buffer in the background after closing TLS stream ( #10146 )
...
In #9118 , TLS streams were split into a "read half" and a "write half"
using tokio::io::split() to allow concurrent Conn#read() and
Conn#write() calls without one blocking the other. However, this
introduced a bug: outgoing data gets discarded when the TLS stream is
gracefully closed, because the read half is closed too early, before all
TLS control data has been received.
Fixes: #9692
Fixes: #10049
Fixes: #10296
Fixes: denoland/deno_std#750
2021-05-11 03:11:26 +02:00
Bartek Iwańczuk
c44e53a5b6
chore: upgrade crates ( #10559 )
2021-05-10 22:39:16 +02:00
Bartek Iwańczuk
7fc211e627
upgrade: rusty_v8 0.22.2 ( #10551 )
2021-05-10 14:46:50 +02:00
crowlKats
dfe528198d
feat: add WebStorage API ( #7819 )
...
This commit introduces localStorage and sessionStorage.
2021-05-10 12:02:47 +02:00
Cedric Vangout
a051a7f7bc
feat(plugin): add tests for plugin args ( #10529 )
2021-05-08 14:38:18 +02:00
Elias Sjögreen
4ed1428c34
fix: align plugin api with Extension ( #10427 )
2021-05-07 09:45:07 -04:00
Luca Casonato
f208e6a26f
chore: update wgpu and realign to spec ( #9760 )
2021-05-06 16:48:45 +02:00
Casper Beyer
f31ee8d1bf
fix(test): default to num cpus when no value is given ( #10443 )
2021-04-30 08:57:42 -04:00
Satya Rohith
2bd087ab1b
chore: upgrade dprint plugins ( #10397 )
2021-04-28 10:08:51 -04:00
David Sherret
791513d608
feat: Support deno-fmt-ignore-file for markdown formatting ( #10191 )
2021-04-26 17:43:32 +02:00
Casper Beyer
f3751e498f
feat(cli): add test permissions to Deno.test ( #10188 )
...
This commits adds adds "permissions" option to the test definitions
which allows tests to run with different permission sets than
the process's permission.
The change will only be in effect within the test function, once the
test has completed the original process permission set is restored.
Test permissions cannot exceed the process's permission.
You can only narrow or drop permissions, failure to acquire a
permission results in an error being thrown and the test case will fail.
2021-04-25 23:38:59 +02:00
Satya Rohith
13f7592b8a
refactor: use 'data-url' crate to process data URLs in lsp & file_fetcher ( #10196 )
...
Closes: #10118
2021-04-23 20:43:13 +02:00
Luca Casonato
8074d8bcf3
1.9.2
2021-04-23 16:08:06 +02:00
Luca Casonato
52d316f143
chore: release crates ( #10327 )
...
Release crates for the cli 1.9.2 release.
2021-04-23 15:05:12 +02:00
Luca Casonato
0cef6aca86
chore: update dependencies ( #10325 )
...
This updates swc_* crates to latest, and various other deps.
2021-04-23 13:37:09 +02:00
Bartek Iwańczuk
7760d9a669
v1.9.1
2021-04-21 01:46:42 +02:00
Bartek Iwańczuk
3432833574
chore: release crates ( #10269 )
...
* Revert "tooling(bench_util): benching and profiling utilities (#10223 )"
This reverts commit 733a000305
.
* Upgrade notify
2021-04-21 00:15:39 +02:00
Bartek Iwańczuk
0cc0196576
chore: upgrade deno_doc, deno_lint ( #10268 )
2021-04-20 19:37:27 +02:00
Luca Casonato
9e6cd91014
chore: align fetch to spec ( #10203 )
...
This commit aligns the `fetch` API and the `Request` / `Response`
classes belonging to it to the spec. This commit enables all the
relevant `fetch` WPT tests. Spec compliance is now at around 90%.
Performance is essentially identical now (within 1% of 1.9.0).
2021-04-20 14:47:22 +02:00
Aaron O'Mullan
776a999eab
op_crates/url: basic url_parse bench ( #10245 )
2021-04-19 15:42:59 +02:00
Aaron O'Mullan
733a000305
tooling(bench_util): benching and profiling utilities ( #10223 )
2021-04-18 14:51:48 +02:00
Ben Noordhuis
5214acd3d9
refactor: move timers to deno_timers op crate ( #10179 )
...
Move timers out of runtime/ and into a standalone op crate.
2021-04-14 21:10:48 +02:00
Bartek Iwańczuk
262ee78592
v1.9.0
2021-04-13 20:11:17 +02:00
Bartek Iwańczuk
1be65bbe4f
chore: release crates ( #10164 )
2021-04-13 18:22:48 +02:00
Bert Belder
36f147364a
upgrade: rusty_v8 0.22.1 (V8 9.1.269.5) ( #10159 )
2021-04-13 08:47:24 +00:00
Bert Belder
b9f758d3ad
upgrade: rusty_v8 0.22.0 (V8 9.1.269.2) ( #10152 )
2021-04-13 02:54:36 +02:00
Luca Casonato
e7f18d6468
feat: blob URL support in fetch ( #10120 )
...
This commit adds blob URL support in `fetch`. Tested via WPT. This is
the first op_crate to have a rust dependency on a different op_crate.
2021-04-11 14:09:10 +02:00
Luca Casonato
3ab94983b4
feat: data URL support in fetch ( #10054 )
...
This commit adds data URL support in `fetch`. Tested via wpt.
2021-04-10 23:38:15 +02:00
Bartek Iwańczuk
1c7217e390
chore: upgrade dependencies ( #10094 )
...
This commit upgrades:
- swc_ecmascript
- swc_bundler
- deno_doc
- deno_lint
- dprint-plugin-typescript
2021-04-09 23:35:29 +02:00
Kitson Kelly
d9d4a5d73c
feat(lsp): add registry import auto-complete ( #9934 )
2021-04-09 11:27:27 +10:00
Bartek Iwańczuk
70af812876
feat: native HTTP bindings ( #9935 )
...
Co-authered-by: Luca Casonato <lucacasonato@yahoo.com>
Co-authered-by: Ben Noordhuis <info@bnoordhuis.nl>
Co-authered-by: Ryan Dahl <ry@tinyclouds.org>
2021-04-08 18:34:15 -04:00
Luca Casonato
4e70ff80c2
chore: update deps ( #10058 )
...
This commit updates crate dependencies.
2021-04-08 18:46:14 +02:00
Luca Casonato
966ce7de8a
feat: blob URL support ( #10045 )
...
This commit adds blob URL support. Blob URLs are stored in a process
global storage, that can be accessed from all workers, and the module
loader. Blob URLs can be created using `URL.createObjectURL` and revoked
using `URL.revokeObjectURL`.
This commit does not add support for `fetch`ing blob URLs. This will be
added in a follow up commit.
2021-04-07 15:22:14 +02:00
Luca Casonato
00e63306cb
refactor: add deno_file op crate ( #10019 )
...
Also enables WPT for FileReader.
2021-04-06 12:55:05 +02:00
David Sherret
eed4e29337
chore(cli): Upgrade jsonc_parser to 0.17 ( #9977 )
...
Use new parse_to_serde_value as it's faster and less code here.
2021-04-04 07:27:13 -04:00
Aaron O'Mullan
19d0e6b671
perf(serde_v8): introduce Serializable boxable object ( #9983 )
2021-04-04 01:17:02 +02:00
Aaron O'Mullan
058579da56
refactor(ops): remove variadic buffers ( #9944 )
2021-04-02 09:47:57 -04:00
Kitson Kelly
adf5761090
v1.8.3
2021-04-02 22:22:08 +11:00
Kitson Kelly
df1d36a759
chore: bump dependent crates for cli ( #9964 )
2021-04-02 22:22:08 +11:00
Aaron O'Mullan
fec1b2a5a4
refactor: new optimized op-layer using serde_v8 ( #9843 )
...
- Improves op performance.
- Handle op-metadata (errors, promise IDs) explicitly in the op-layer vs
per op-encoding (aka: out-of-payload).
- Remove shared queue & custom "asyncHandlers", all async values are
returned in batches via js_recv_cb.
- The op-layer should be thought of as simple function calls with little
indirection or translation besides the conceptually straightforward
serde_v8 bijections.
- Preserve concepts of json/bin/min as semantic groups of their
inputs/outputs instead of their op-encoding strategy, preserving these
groups will also facilitate partial transitions over to v8 Fast API for the
"min" and "bin" groups
2021-03-31 10:37:38 -04:00
Aaron O'Mullan
6dc3549a81
serde_v8: restore ser/de benches ( #9939 )
2021-03-30 22:24:49 -04:00
Aaron O'Mullan
7efea6cc20
perf: add op_baseline bench ( #9924 )
2021-03-30 16:20:45 +02:00
Ryan Dahl
9f9db6accd
chore: publish serde_v8, bump version ( #9898 )
2021-03-26 08:51:38 +01:00
Aaron O'Mullan
3d2e05dc7b
Introduce serde_v8 ( #9722 )
2021-03-25 22:36:46 -04:00
Bartek Iwańczuk
f50ed4e281
v1.8.2
2021-03-21 21:12:09 +01:00
Bartek Iwańczuk
c08284ab9d
chore: release crates ( #9847 )
2021-03-21 16:10:08 +01:00
Ryan Dahl
0d26a82ea9
upgrade: tokio 1.4.0 ( #9842 )
2021-03-20 11:51:27 -04:00
Casper Beyer
b2a1ad0611
chore: Upgrade rustyline to 8.0.0 ( #9781 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-03-15 14:08:41 +01:00
Yusuke Tanaka
c8fbf6d38a
chore: upgrade to tokio 1.3.0 ( #9778 )
2021-03-14 10:03:24 -04:00
Ben Noordhuis
10b99e8eb0
refactor: simplify icu data alignment ( #9766 )
2021-03-12 23:55:32 +01:00
Luca Casonato
fbec6e39c7
chore: bump crates ( #9769 )
2021-03-12 22:29:07 +01:00
Luca Casonato
0770449c93
refactor: move Console to op_crates/console ( #9770 )
2021-03-12 21:23:59 +01:00
Luca Casonato
e83ff62ccb
chore: split web op crate ( #9635 )
...
This commit starts splitting out the deno_web op crate into multiple
smaller crates. This commit splits out WebIDL and URL API, but in the
future I want to split out each spec into its own crate. That means we
will have (in rough order of loading): `webidl`, `dom`, `streams`,
`console`, `encoding`, `url`, `file`, `fetch`, `websocket`, and
`webgpu` crates.
2021-03-12 16:17:18 +01:00
Ryan Dahl
2f9d7c02dc
upgrade: rusty_v8 0.21.0 ( #9725 )
2021-03-10 15:16:43 -05:00
David Sherret
3ab48864fe
fix(fmt): Correctly format hard breaks in markdown ( #9742 )
2021-03-10 08:17:24 -05:00
Bartek Iwańczuk
8d3baa7777
v1.8.1
2021-03-09 21:55:44 +01:00
Bartek Iwańczuk
cdc0b6958d
chore: release crates ( #9731 )
2021-03-09 20:12:13 +01:00
hvithrafn
79e2e6a1f4
chore(lsp): update lspower to 0.8.4 ( #9663 )
...
Co-authored-by: hvithrafn <hvithrafn@users.noreply.github.com>
2021-03-03 15:32:10 +11:00
Ryan Dahl
18b894072d
v1.8.0
2021-03-02 18:23:14 -05:00
Ryan Dahl
25200ce295
Bump crates again ( #9653 )
2021-03-02 16:25:39 -05:00
Ryan Dahl
f1fe6a57ba
Bump crate versions ( #9651 )
2021-03-02 15:15:43 -05:00
Bartek Iwańczuk
faf2e80272
chore: upgrade crates ( #9632 )
2021-03-02 13:39:56 +01:00
Nayeem Rahman
badc88b78a
refactor(op_crates/web): Move URL parsing to Rust ( #9276 )
2021-03-02 02:30:24 +01:00