Bartek Iwańczuk
d9df4347a1
chore: upgrade deno_lint 0.6.1 ( #10882 )
2021-06-07 17:44:31 +02:00
Divy Srivastava
89290741d1
feat(compile): Initialize runtime_compiler ops for standalone binaries ( #10052 )
2021-06-07 14:02:53 +02:00
Kitson Kelly
3b3be024fa
feat(lsp): add test code lens ( #10874 )
...
Ref #8643
2021-06-07 21:38:07 +10:00
Kitson Kelly
d6f6e157bd
tests(lsp): fix flakey lsp integration test ( #10875 )
2021-06-07 19:12:07 +10: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
jeiea
633c5aab1f
fix( #10747 ): cannot read config option in windows ( #10791 )
...
Fixes #10747
2021-06-06 15:00:17 +10: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
Divy Srivastava
e67010b5e2
feat(cli/compile): Support data uri dynamic imports in deno compile
( #9936 )
2021-06-05 16:24:17 +02:00
Bartek Iwańczuk
1d070f3d47
feat: make 'deno lint' stable ( #10851 )
2021-06-05 15:57:31 +02:00
Kitson Kelly
e8be116ab6
fix(lsp): refactor, fix issues and add benchmark for code lens ( #10841 )
2021-06-05 07:31:44 +10:00
Bartek Iwańczuk
5457e741fa
fix: hang in op_http_next_request ( #10836 )
...
This commit adds "CancelHandle" to "ConnResource" and changes
"op_http_next_request" to await for the cancel signal. In turn
when async iterating over "Deno.HttpConn" the iterator breaks
upon closing of the resource.
2021-06-04 01:32:36 +02:00
Yusuke Tanaka
41e9a21307
fix(cli): output json with trailing newline character ( #10830 )
2021-06-03 20:49:02 +02:00
Casper Beyer
55e962b688
feat(cli): support URL overload for Deno.chdir
( #10793 )
2021-06-03 16:32:18 +02:00
Casper Beyer
ece56d9935
feat(runtime): support URL overloads for Deno.symlink
and Deno.symlinkSync
( #10664 )
2021-06-03 16:16:00 +02:00
Casper Beyer
dc69b03339
feat(runtime): support URL overloads for Deno.rename/Deno.renameSync ( #10512 )
2021-06-03 16:14:37 +02:00
Kitson Kelly
844a1317ec
fix( #10775 ): diagnostics update on dependency changes ( #10817 )
...
Fixes #10775
2021-06-03 21:13:53 +10:00
Kitson Kelly
473713c621
fix( #10815 ): lsp only responds to formatting for md, json, jsonc ( #10816 )
...
Fixes #10815
2021-06-02 20:29:58 +10:00
Kitson Kelly
bb5bf91067
feat(lsp): registry auto discovery ( #10813 )
...
Closes: #10194
Fixes: #10468
2021-06-01 21:53:08 +10:00
Kitson Kelly
9abb899f5f
fix(lsp): updates to workspace config are processed sync ( #10812 )
2021-06-01 19:24:36 +10:00
Nayeem Rahman
6dd7a7ecd9
fix(cli): represent bare imports as module graph error slots ( #10804 )
...
Fixes #10795
2021-06-01 16:45:37 +10:00
Yoshiya Hinosawa
595700c993
feat: add FsWatcher interface ( #10798 )
2021-06-01 15:35:06 +09: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
Casper Beyer
330cd6b7ea
feat(cli): support URL overloads for Deno.utime
and Deno.utimeSync
( #10792 )
2021-05-31 20:05:57 +02:00
Bartek Iwańczuk
ea2c7ac556
fix: running subcommand with coverage collection ( #10802 )
2021-05-31 16:53:49 +02:00
Nayeem Rahman
8a7e1c616d
fix(cli): Don't statically error on dynamic unmapped bare specifiers ( #10618 )
...
Fixes #10168
Fixes #10615
Fixes #10616
2021-05-31 16:37:36 +02:00
Kitson Kelly
925ba8fbbf
fix( #10765 ): lsp import fixes include extensions ( #10778 )
...
Fixes #10765
2021-05-31 16:37:36 +02:00
Yusuke Tanaka
475bc35646
chore: upgrade Tokio to 1.6.1 ( #10782 )
2021-05-31 16:37:35 +02:00
Romain Prignon
cf6b764a35
fix( #10733 ): empty tsconfig.json file does not cause error ( #10734 )
...
Fixes #10733
2021-05-31 16:37:35 +02:00
Luca Casonato
379d40955a
fix(fetch): make prototype properties writable ( #10769 )
2021-05-31 16:37:34 +02:00
Yusuke Tanaka
8a19f28a00
feat(lsp): show hints from deno_lint
in addition to messages ( #10739 )
2021-05-31 16:37:34 +02:00
Yoshiya Hinosawa
323fa5272d
fix(extension/file): update File constructor following the spec ( #10760 )
2021-05-31 16:37:34 +02:00
Casper Beyer
620a2e0f84
docs(cli/dts): tag test permission example as typescript ( #10753 )
2021-05-31 16:37:33 +02:00
Kitson Kelly
6bbefdff39
feat(lsp): diagnostics for deno types and triple-slash refs ( #10699 )
...
Fixes #9823
2021-05-31 16:37:33 +02:00
Casper Beyer
7b6bba5d3a
fix(cli/test): don't use reserved symbol :
in specifier ( #10751 )
2021-05-31 16:37:33 +02:00
CGQAQ
43417b4660
fix(cli/upgrade): modify download size paddings ( #10639 )
2021-05-31 16:37:33 +02:00
迷渡
859a88ba44
fix(docs): rename read to readSync ( #10732 )
...
Signed-off-by: 迷渡 <justjavac@gmail.com>
2021-05-31 16:37:33 +02:00
Yoshiya Hinosawa
195808a538
fix(test): ensure coverage dir exists ( #10717 )
2021-05-31 16:37:32 +02:00
Yoshiya Hinosawa
7b1fd3d146
fix(runtime/http): fix empty blob response ( #10689 )
2021-05-31 16:37:32 +02:00
Kitson Kelly
25b784f00d
chore(lsp): provide test for lsp deadlock issue ( #10679 )
...
Resolves: #10587
2021-05-31 16:37:32 +02:00
Casper Beyer
47ec33eca7
fix(cli/tools/test_runner): --doc should not require permissions ( #10719 )
2021-05-31 16:37:32 +02:00
Kitson Kelly
176075980b
fix(lsp): re-enable the per resource configuration without a deadlock ( #10625 )
...
Fixes #10603
2021-05-31 16:37:32 +02:00
Carter Snook
67cf683aad
fix(cli/dts): fix missing error class (NotSupported) in types ( #10713 )
2021-05-31 16:37:32 +02:00
Casper Beyer
2fe4aaa10d
fix(cli): always allow documentation modules to be checked ( #10581 )
2021-05-31 16:37:31 +02:00
Casper Beyer
3df9f41dfd
test(cli/dts): typecheck examples in declaration files ( #10707 )
...
This commits adds two integration tests that typecheck examples
in the docstrings in Deno declaration files.
2021-05-31 16:37:31 +02:00
Casper Beyer
8a512b99c9
fix(cli/tools/test_runner): use file_fetcher.fetch to get sources ( #10708 )
2021-05-31 16:37:30 +02:00
Casper Beyer
2e9bd3e295
fix(cli): canonicalize coverage dir ( #10364 )
2021-05-31 16:37:30 +02:00
Casper Beyer
736ff290b8
docs(cli/dts): fix plugin example ( #10647 )
2021-05-31 16:37:30 +02:00
Nayeem Rahman
218ba031f0
fix(runtime/http): expose nextRequest() errors in respondWith() ( #10384 )
2021-05-31 16:37:30 +02:00
Kitson Kelly
6ef64b9fce
fix( #10695 ): deps diagnostics include data property ( #10696 )
...
Fixes #10695
2021-05-31 16:37:30 +02:00