Satya Rohith
923c5432e0
chore: bump deno_net ( #12157 )
2021-09-21 09:20:21 +05:30
David Sherret
0f23d92601
chore(tests): windows pty tests ( #12091 )
2021-09-20 22:15:44 -04:00
Squirrel
4b79e5a459
chore: Remove unused deps from Cargo.toml files ( #12106 )
2021-09-17 14:39:32 +02:00
Satya Rohith
badc87e657
chore(lsp): use pretty_assertions in e2e tests ( #12083 )
2021-09-15 16:04:17 +05:30
David Sherret
f92cc66f0d
1.14.0 ( #12074 )
2021-09-14 16:46:36 -04:00
David Sherret
16c27fce1f
chore: bump crate versions for 0.14 ( #12072 )
2021-09-14 15:38:35 -04:00
Kitson Kelly
a442821d97
chore: update deno_* crates ( #12020 )
2021-09-13 10:06:36 +10:00
Ryan Dahl
13991e5995
refactor: Remove duplicated colors.rs file ( #11990 )
2021-09-12 12:04:17 -04:00
Bartek Iwańczuk
d236f432b8
refactor: use import_map crate ( #11974 )
...
Removes ImportMap implementation from "cli/" and instead
uses "import_map" crate
2021-09-11 03:38:24 +02:00
Bartek Iwańczuk
85e316bd6b
chore: release deno_http 0.8.0 ( #11956 )
2021-09-08 19:32:19 +02:00
Bartek Iwańczuk
c04117134e
refactor(lint): reuse lint rules ( #11934 )
...
This commit updated "deno_lint" crate to 0.15.1 and refactors
"cli/tools/lint.rs" to create only a single vector of lint rules,
instead of creating a vector for each linted file.
2021-09-08 07:08:33 +02:00
David Sherret
2c2e3ec1ca
refactor(lsp): use deno_ast and cache swc ASTs ( #11780 )
2021-09-07 10:39:32 -04:00
David Sherret
987716798f
feat(fmt): add basic JS doc formatting ( #11902 )
2021-09-02 18:28:12 -04:00
Luca Casonato
1bf7b90ca8
chore: update dependencies ( #11856 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-09-02 23:38:44 +02:00
Bartek Iwańczuk
c84532b6d5
chore: upgrade crates ( #11894 )
...
Co-authored-by: David Sherret <dsherret@gmail.com>
2021-09-02 17:38:19 +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
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
Ryan Dahl
cd323612fd
mark cafile tests as flaky ( #11649 )
2021-08-11 17:38:07 +02:00
Ryan Dahl
a0285e2eb8
Rename extensions/ directory to ext/ ( #11643 )
2021-08-11 12:27:05 +02:00
Bartek Iwańczuk
d82351d677
v1.13.0
2021-08-10 16:22:21 +02:00
Bartek Iwańczuk
548e466112
chore: release crates ( #11628 )
2021-08-10 14:19:42 +02:00
Bartek Iwańczuk
453dfaa960
chore: upgrade crates ( #11626 )
2021-08-10 09:19:14 +02:00
Justin Chase
02c74fb709
feat(tls): Optionally support loading native certs ( #11491 )
...
This commit adds "DENO_TLS_CA_STORE" env variable to support
optionally loading certificates from the users local certificate store.
This will allow them to successfully connect via tls with corporate
and self signed certs provided they have them installed in their keystore.
It also allows them to deal with revoked certs by simply updating
their keystore without having to upgrade Deno.
Currently supported values are "mozilla", "system" or empty value.
2021-08-07 14:49:38 +02:00
Elias Sjögreen
33c8d790c3
feat: ffi to replace plugins ( #11152 )
...
This commit removes implementation of "native plugins" and replaces
it with FFI API.
Effectively "Deno.openPlugin" API was replaced with "Deno.dlopen" API.
2021-08-06 23:28:10 +02:00
David Sherret
466d3df9d1
refactor: make ParsedModule
implement Sync
( #11581 )
2021-08-06 10:36:16 -04:00
David Sherret
299c7cfe54
feat(fmt): format top-level JSX elements/fragments with parens when multi-line ( #11582 )
2021-08-04 23:17:32 -04:00
David Sherret
d7d452efc1
chore: format toml files internally ( #11563 )
2021-08-02 10:19:27 -04:00
Satya Rohith
d0ec29b493
chore: release deno_fetch ( #11549 )
2021-07-29 21:59:44 +05:30
Bartek Iwańczuk
dfba7a2b01
v1.12.2
2021-07-26 16:38:27 +02:00
Bartek Iwańczuk
f9bb7949b8
chore: release crates ( #11519 )
2021-07-26 15:45:40 +02:00
Bartek Iwańczuk
7d69f06db8
v1.12.1
2021-07-19 21:09:07 +02:00
Bartek Iwańczuk
cd445a2a0d
chore: release crates ( #11454 )
2021-07-19 20:20:42 +02:00
David Sherret
79ac050d29
chore: upgrade to swc 0.46 ( #11402 )
2021-07-14 21:28:01 -04:00
Bartek Iwańczuk
1ad6575028
v1.12.0
2021-07-13 10:45:17 +02:00
Bartek Iwańczuk
642dd3d3c4
chore: release crates ( #11378 )
2021-07-13 02:16:49 +02:00
Luca Casonato
9c020d8c27
upgrade: deno_lint 0.10.0 ( #11374 )
2021-07-13 00:04:44 +02:00
Luca Casonato
f649960f87
refactor: deno_http op crate ( #11335 )
2021-07-12 12:44:49 +02:00
Luca Casonato
ab079a8d63
chore: update crates ( #11332 )
2021-07-09 17:15:50 +02:00
Casper Beyer
e8258e0210
feat(test): add --shuffle flag to randomize test ordering ( #11163 )
2021-07-05 21:20:33 -04:00
Bartek Iwańczuk
334cef06e7
chore: upgrade crates ( #11284 )
2021-07-05 19:48:24 +02:00
Yusuke Tanaka
0a33cc1951
chore: upgrade Tokio to 1.8.0 ( #11281 )
2021-07-05 15:50:56 +02:00
Luca Casonato
0385a99052
v1.11.3
...
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
2021-07-02 00:13:40 +02:00
David Sherret
899470addc
chore: update dprint-plugin-json to remove duplicate dprint-core dependency ( #11209 )
2021-07-01 11:22:28 -04:00
Luca Casonato
e9e286a56e
upgrade: swc 0.44.0 ( #11197 )
2021-07-01 11:48:42 +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
Yusuke Tanaka
097c02f11b
chore: upgrade crates ( #11007 )
2021-06-22 06:15:32 +02:00
Bartek Iwańczuk
2c0e482221
v1.11.2
2021-06-21 17:47:25 +02:00
Bartek Iwańczuk
90e3abe8f9
chore: release crates ( #11068 )
2021-06-21 16:37:34 +02:00
Yusuke Tanaka
b0c04a7941
chore: upgrade Tokio to 1.7.1 ( #11045 )
2021-06-19 15:37:07 +02:00
Yusuke Tanaka
a8007059b7
chore: upgrade Tokio to 1.7.0 ( #11008 )
2021-06-16 16:39:51 +02:00
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
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
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
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
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
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
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
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
Bartek Iwańczuk
c44e53a5b6
chore: upgrade crates ( #10559 )
2021-05-10 22:39:16 +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
Ryan Dahl
f7c298e297
Remove denort optimization ( #10350 )
...
denort is an optimization to "deno compile" to produce slightly smaller
output. It's a decent idea, but causes a lot of negative side-effects:
- Deno's link time is a source of constant agony both locally and in CI,
denort doubles link time.
- The release process is a long and arduous undertaking with many manual
steps. denort necessitates an additional manual zip + upload from M1
apple computers.
- The "deno compile" interface is complicated with the "--lite" option.
This is confusing for uses ("why wouldn't you want lite?").
The benefits of this feature do not outweigh the negatives. We must find
a different approach to optimizing "deno compile" output.
2021-04-26 13:28:38 -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
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
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
Luca Casonato
4e70ff80c2
chore: update deps ( #10058 )
...
This commit updates crate dependencies.
2021-04-08 18:46:14 +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
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
David Sherret
6048ce5a34
chore(cli): add "Deno" to the windows file description ( #9959 )
2021-04-02 10:10:00 +11: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
Luca Casonato
fbec6e39c7
chore: bump crates ( #9769 )
2021-03-12 22:29:07 +01:00