Luca Casonato
8d55d8b6be
feat(unstable): ALPN config in listenTls ( #10065 )
...
This commit adds the ability for users to configure ALPN protocols when
calling `Deno.listenTls`.
2021-04-10 22:04:44 +02:00
Nayeem Rahman
dc4ab98ee7
fix(cli/diagnostics): Update UNSTABLE_DENO_PROPS ( #10095 )
2021-04-10 02:41:59 +02:00
Ryan Dahl
c6e7a243d5
API change: Deno.startHttp -> Deno.serveHttp ( #10087 )
2021-04-09 11:54:27 -04: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
Yoshiya Hinosawa
cbaa054154
docs: export EmitOptions and EmitResult ( #10037 )
2021-04-06 22:33:02 +09:00
defectivepixel
2d7fdb0a19
chore(cli): fix futime and futimeSync code examples ( #9953 )
2021-04-02 08:53:31 +11:00
Casper Beyer
2ac7798a20
feat(runtime): stabilize Deno.symlink and Deno.symlinkSync ( #9226 )
2021-02-26 01:13:48 +01:00
Casper Beyer
aa47f8186c
feat(runtime): stabilize Deno.link and Deno.linkSync ( #9417 )
...
This commit makes "Deno.link" and "Deno.linkSync" stable.
The permission required has been changed to read-write to
ensure one cannot escape the sandbox.
2021-02-25 18:35:10 +01:00
Kitson Kelly
097e9c44f4
feat(runtime): stabilise permissions and add event target capabilities ( #9573 )
2021-02-25 14:33:09 +11:00
Luca Casonato
9d70ea2e9f
feat(unstable): per op metrics ( #9240 )
2021-02-21 19:20:31 +01:00
Yusuke Tanaka
18b2dbf0d0
fix(dts): update doc of Deno.formatDiagnostics ( #9564 )
2021-02-21 16:17:27 +01:00
Kitson Kelly
7e9028b532
feat(cli): Deno.emit supports bundling as IIFE ( #9291 )
...
Closes #9204
2021-02-16 12:02:00 +11:00
Nayeem Rahman
daad575825
fix(cli): Move WorkerOptions::deno types to unstable ( #9163 )
2021-01-29 08:15:59 -05:00
Yusuke Tanaka
0ef8c915c0
feat(unstable): add Deno.resolveDns API ( #8790 )
2021-01-19 09:39:04 -05:00
Bartek Iwańczuk
8142496c57
feat: stabilize Deno.shutdown() and Conn#closeWrite()
...
Closes: #9099
2021-01-12 16:17:31 -08:00
Yusuke Tanaka
d8fd71afdf
chore: update copyright to 2021 ( #9092 )
2021-01-11 18:13:41 +01:00
Mo
3e5a3daf59
BREAKING(unstable): remove CreateHttpClientOptions.caFile ( #8928 )
2021-01-04 16:55:20 +01:00
Kitson Kelly
012f99bd9a
refactor(cli): runtime compiler APIs consolidated to Deno.emit() ( #8799 )
...
Closes: #4752
2021-01-01 08:43:54 +11:00
Nayeem Rahman
22e0ee92a6
BREAKING(unstable): Use hosts for net allowlists ( #8845 )
...
Allowlist checking already uses hosts but for some reason
requests, revokes and the runtime permissions API use URLs.
- BREAKING(lib.deno.unstable.d.ts): Change
NetPermissionDescriptor::url to NetPermissionDescriptor::host
- fix(runtime/permissions): Don't add whole URLs to the
allowlist on request
- fix(runtime/permissions): Harden strength semantics:
({ name: "net", host: "127.0.0.1" } is stronger than
{ name: "net", host: "127.0.0.1:8000" }) for blocklisting
- refactor(runtime/permissions): Use tuples for hosts, make
the host optional in Permissions::{query_net, request_net, revoke_net}()
2020-12-30 23:35:28 +01:00
Waldir Pimenta
b778f8bbff
docs(introduction): Improve wording and capitalization ( #8848 )
2020-12-29 10:05:29 +11:00
yonatan ben avraham
afbd19ed9b
feat(unstable): support in memory certificate data for Deno.createHttpClient ( #8739 )
2020-12-19 23:13:48 +01:00
Andrew Mitchell
c05615d670
docs: Remove a deprecated function from docstring for Deno.permissions ( #8729 )
2020-12-12 13:15:50 +01:00
Marcus Hultman
c7276e15e5
feat(unstable): add cbreak option to setRaw ( #8383 )
2020-11-30 11:08:03 -05:00
Chayim Refael Friedman
f42adf2277
docs: Add missing closing parenthesis ( #8477 )
2020-11-25 12:54:38 +01:00
Kitson Kelly
b402b75c1d
fix(cli): allow setting of importsNotUsedAsValues in Deno.compile() ( #8306 )
...
Fixes #6663
2020-11-10 06:50:33 +11:00
Kitson Kelly
fdcc78500c
refactor(cli): migrate runtime compile/bundle to new infrastructure ( #8192 )
...
Fixes #8060
2020-11-02 13:51:56 +11:00
Elias Sjögreen
305a9c04ba
feat(unstable): add Deno.systemCpuInfo() ( #7774 )
2020-10-26 10:54:27 -04:00
Bartek Iwańczuk
57cad53945
refactor(cli): rewrite Deno.transpileOnly() to use SWC ( #8090 )
...
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2020-10-26 14:03:03 +01:00
Casper Beyer
dfe19c5c75
feat: stabilize Deno.fsync and Deno.fdatasync ( #8038 )
2020-10-20 09:52:10 -04:00
William Perron
943b0980c7
feat(cli/ops): add the sleep_sync op ( #7974 )
2020-10-15 21:06:31 -04:00
Nayeem Rahman
aaa5e6613a
fix(cli/rt): make some web API constructors illegal at runtime ( #7468 )
2020-09-19 23:30:59 +02:00
Kitson Kelly
10fbfcbc79
refactor: improve tsc diagnostics ( #7420 )
2020-09-12 11:53:57 +02:00
Akshat Agarwal
c1b4ff61c9
feat(unstable): Add Deno.systemMemoryInfo() ( #7350 )
...
Co-authored-by: marcopacini <pacinim88@gmail.com>
Co-authored-by: Casper Beyer <caspervonb@pm.me>
2020-09-10 10:38:17 +02:00
Casper Beyer
32de714dc7
feat(unstable): add Deno.futime and Deno.futimeSync ( #7266 )
2020-08-31 14:29:43 -04:00
Rob Palmer
0cbf9bdbbd
Fix incorrect comment on useDefineForClassFields ( #6386 )
2020-08-24 18:37:30 +02:00
迷渡
dad74c3706
remove unnecessary await in docs ( #7012 )
2020-08-10 23:22:10 -04:00
Nayeem Rahman
52c1017a74
feat: Stabilize Deno.mainModule ( #6993 )
2020-08-10 16:41:51 -04:00
Luca Casonato
ce7808baf0
feat(cli): custom http client for fetch ( #6918 )
2020-08-05 20:44:03 +02:00
Ryan Dahl
bf9930066d
Reduce size of TypeScript Compiler snapshot ( #6809 )
...
This PR is intentionally ugly. It duplicates all of the code in cli/js2/ into
cli/tsc/ ... because it's very important that we all understand that this code
is unnecessarily duplicated in our binary. I hope this ugliness provides the
motivation to clean it up.
The typescript git submodule is removed, because it's a very large repo and
contains all sorts of stuff we don't need. Instead the necessary files are
copied directly into the deno repo. Hence +200k lines.
COMPILER_SNAPSHOT.bin size
```
master 3448139
this branch 3320972
```
Fixes #6812
2020-07-22 12:03:46 -04:00