David Sherret
0f3a53e5d4
feat: stabilize test steps API ( #13400 )
2022-01-18 15:02:56 -05:00
Andreu Botella
76c7b9abf9
fix(tsc): Add typings for Intl.ListFormat
( #13301 )
...
V8 has supported `Intl.ListFormat` since version 7.2, but TypeScript doesn't
have typings for it yet. This PR manually adds those typings, copying them from
microsoft/TypeScript#47254 .
2022-01-17 06:50:10 +01:00
DjDeveloper
62291e9b0e
feat(ext/ffi): UnsafeFnPointer API ( #13340 )
2022-01-12 12:38:26 +01:00
DjDeveloper
a7ea93b978
fix(ext/ffi): pointer
type can accept null
( #13335 )
2022-01-11 15:01:52 +05:30
DjDeveloper
5680d33dd9
feat(ext/ffi): support alias names for symbol definitions ( #13090 )
2022-01-11 07:21:16 +01:00
Divy Srivastava
d8e96d2742
feat(ext/ffi): infer symbol types ( #13221 )
...
Co-authored-by: sinclairzx81 <sinclairzx81@users.noreply.github.com>
2022-01-10 21:03:25 +05:30
David Sherret
994ac6d49b
docs: update writeSync
docs to refer to writeAllSync
in deno.land/std instead of Deno.writeAllSync
( #13314 )
2022-01-10 09:22:41 -05:00
Leo Kettmeir
2067820714
feat(ext/websocket): server automatically handle ping/pong for incoming WebSocket ( #13172 )
2022-01-06 17:41:16 +01:00
Leo Kettmeir
c40419b55b
feat(ext/websocket): add header support to WebSocketStream ( #11887 )
2022-01-05 17:41:44 +01:00
Bartek Iwańczuk
e133d37e37
chore: add codeblocks for lib.deno.shared_globals.d.ts ( #13117 )
2021-12-17 02:36:03 +01:00
Elias Sjögreen
ee49cce726
feat(ext/ffi): implement UnsafePointer and UnsafePointerView ( #12828 )
2021-12-15 15:41:49 +01:00
Jesper van den Ende
a2b4d13540
docs: Fix typo in EmitOptions ( #13062 )
2021-12-13 13:26:03 +01:00
Kitson Kelly
616ff1d482
chore: place @deprecated
tag after documentation block ( #13037 )
2021-12-10 11:05:50 +11: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
Yoshiya Hinosawa
69ad5f0e78
feat(ext/timers): add refTimer, unrefTimer API ( #12953 )
2021-12-09 17:00:55 +09:00
Yury Selivanov
1d3f734e18
feat(ext/net): ALPN support in Deno.connectTls()
( #12786 )
2021-11-26 19:59:53 +01:00
Bartek Iwańczuk
d8afd56838
feat(test): Add more overloads for "Deno.test" ( #12749 )
...
This commit adds 4 more overloads to "Deno.test()" API.
```
// Deno.test(function testName() { });
export function test(fn: (t: TestContext) => void | Promise<void>): void;
// Deno.test("test name", { only: true }, function() { });
export function test(
name: string,
options: Omit<TestDefinition, "name">,
fn: (t: TestContext) => void | Promise<void>,
): void;
// Deno.test({ name: "test name" }, function() { });
export function test(
options: Omit<TestDefinition, "fn">,
fn: (t: TestContext) => void | Promise<void>,
): void;
// Deno.test({ only: true }, function testName() { });
export function test(
options: Omit<TestDefinition, "fn" | "name">,
fn: (t: TestContext) => void | Promise<void>,
): void;
```
2021-11-23 14:57:51 +01:00
Luca Casonato
ae34f8fa10
fix: support "other" event type in FSWatcher ( #12836 )
...
This commit adds support for "other" events in `FSWatcher`. Flags on
events are now exposed via the `flag` property on `FsEvent`.
2021-11-23 11:30:24 +01:00
Kitson Kelly
f5eb177f50
feat(cli): support React 17 JSX transforms ( #12631 )
...
Closes #8440
2021-11-09 12:26:39 +11:00
Luca Casonato
80d3a5f8be
feat: update to V8 9.7 ( #12685 )
...
This commit updates the rusty_v8 to 0.34.0. This commit also adds
the required typings for the new Array#findLast and Array#findIndexLast
methods.
2021-11-08 14:24:54 +01:00
Bartek Iwańczuk
61e9beaa7b
feat: Stabilize Deno.TestDefinition.permissions ( #12078 )
2021-10-31 19:45:37 +01:00
David Sherret
d44011a69e
fix(runtime): require full read and write permissions to create symlinks ( #12554 )
2021-10-29 17:05:55 -04:00
Luca Casonato
b7341438f2
feat: stabilize Deno.startTls ( #12581 )
...
This commit stabilizes `Deno.startTls` and removes `certFile` from the
`StartTlsOptions`.
2021-10-29 17:13:31 +02:00
Bert Belder
cf9c4f0031
feat(ext/net): add TlsConn.handshake() ( #12467 )
...
A `handshake()` method was added that returns when the TLS handshake is
complete. The `TlsListener` and `TlsConn` interfaces were added to
accomodate this new method.
Closes: #11759 .
2021-10-26 22:27:47 +02:00
Yoshiya Hinosawa
a9b34118a9
feat(runtime): add Deno.addSignalListener API ( #12512 )
2021-10-26 12:03:38 +09:00
Nayeem Rahman
ad20e52c27
fix(cli/dts): update std links for deprecations ( #12496 )
2021-10-19 19:53:24 +02:00
Robert Schultz
a2f53b105d
docs(Deno.Process.kill): Added example for Deno.Process.kill() ( #12464 )
2021-10-19 05:54:43 +02:00
Nayeem Rahman
7a22df9b76
fix(runtime/ops/worker_host): move permission arg parsing to Rust ( #12297 )
2021-10-13 13:04:44 -04:00
David Sherret
426ebf854a
feat(unstable/test): imperative test steps API ( #12190 )
2021-10-11 09:45:02 -04:00
Divy Srivastava
423b02d889
fix(ext/ffi): types for nonblocking FFI ( #12345 )
2021-10-11 15:09:11 +02:00
Aaron O'Mullan
5a8a989b78
refactor(metrics): move to core ( #12386 )
...
Avoids overhead of wrapping ops (and allocs when inspecting async-op futures)
2021-10-10 17:20:30 +02:00
Ryan Dahl
6ac0337165
feat: Stabilize Deno.kill and Deno.Process.kill ( #12375 )
...
Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2021-10-10 15:48:26 +02:00
Satya Rohith
29f9e14457
feat: stabilize Deno.resolveDns ( #12368 )
2021-10-10 15:46:11 +05:30
Divy Srivastava
2155e7545f
fix(ext/ffi): missing "buffer" type definitions ( #12371 )
2021-10-08 16:32:57 +02:00
Luca Casonato
0d7a417f33
feat(tls): custom in memory CA certificates ( #12219 )
...
This adds support for using in memory CA certificates for
`Deno.startTLS`, `Deno.connectTLS` and `Deno.createHttpClient`.
`certFile` is deprecated in `startTls` and `connectTls`, and removed
from `Deno.createHttpClient`.
2021-09-30 09:26:15 +02:00
Leo K
703ca905fd
docs: fix native http jsdoc examples ( #12207 )
2021-09-24 19:14:12 +09:00
Casper Beyer
269bf380e0
fix(cli): move Deno.flock and Deno.funlock to unstable types ( #12138 )
2021-09-19 14:46:54 +02:00
Leo K
a655a0f3e4
feat(unstable): allow specifing gid and uid for subprocess ( #11586 )
2021-09-13 19:26:23 +02:00
Bartek Iwańczuk
a95ca9dc70
feat: stabilise Deno.upgradeWebSocket ( #12024 )
2021-09-13 14:06:12 +02:00
Ryan Dahl
c132c8690b
BREAKING(unstable): Remove Deno.Signals enum, Deno.signals.* ( #11909 )
2021-09-06 10:05:33 -04:00
David Sherret
987716798f
feat(fmt): add basic JS doc formatting ( #11902 )
2021-09-02 18:28:12 -04:00
Luca Casonato
fcd0992dba
fix: move unstable declarations to deno.unstable ( #11876 )
2021-08-31 11:25:15 +02:00
Kitson Kelly
935133f53a
feat(cli): Update to TypeScript 4.4 ( #11678 )
2021-08-27 10:12:59 +10:00
Sebastien Filion
192af1e7bc
docs: Add async iterator alternative for Deno.serveHttp ( #11850 )
2021-08-26 17:06:58 +02:00
Sean Michael Wykes
dccf4cbe36
feat(fetch): mTLS client certificates for fetch() ( #11721 )
...
This commit adds support for specifying client certificates when using fetch, by means of `Deno.createHttpClient`.
2021-08-25 14:25:12 +02:00
Sebastien Filion
e10d30c8ea
fix(typings): fix property name in DiagnosticMessageChain interface ( #11821 )
2021-08-24 11:53:38 -04:00
Tilman Roeder
93d83a84db
feat(unstable): Add file locking APIs ( #11746 )
...
This commit adds following unstable APIs:
- Deno.flock()
- Deno.flockSync()
- Deno.funlock()
- Deno.funlockSync()
2021-08-24 15:21:31 +02:00
Nayeem Rahman
1b7848c4a9
feat(unstable): Support file URLs in Deno.dlopen() ( #11658 )
2021-08-24 15:09:00 +02:00
Nayeem Rahman
8c57a6b7e3
BREAKING(unstable): Fix casing in FfiPermissionDescriptor ( #11659 )
2021-08-24 15:08:41 +02:00
Luca Casonato
02b23e0575
fix: don't statically type name on Deno.errors ( #11715 )
2021-08-15 15:17:07 +02:00