Yarden Shoham
341fc11e24
docs(lib): document Deno.Command
requires the allow-run
permission ( #18958 )
2023-05-02 15:51:50 +00:00
Michael Lazarev
2ee55145c0
docs: correct example of piping the output of a subprocess to a file ( #18933 )
...
Fixes #18909
2023-05-01 21:52:56 +00:00
Luca Casonato
3fbb31c3c1
feat(kv): return ok bool from atomic commit ( #18873 )
2023-04-27 16:59:02 +02:00
Bartek Iwańczuk
09b6dbc0a6
feat: Deprecate Deno.run API in favor of Deno.Command ( #17630 ) ( #18866 )
...
This commit adds `@deprecated` comments to `Deno.run` API declarations.
Since stabilization of `Deno.Command` API in [Deno
v1.31](https://deno.com/blog/v1.31#api-stabilizations ), `Deno.Command`
is the preferred (more reliable) API to interact with subprocesses.
This is the preparation for the removal of `Deno.run` API in Deno 2.0.
2023-04-27 02:11:23 +02:00
David Sherret
f4e442da4d
fix(dts): URLPatternComponentResult
groups should have possibly undefined key values ( #18643 )
...
Closes #18640
2023-04-26 19:15:25 -04:00
Matt Mastracci
e2761df3fe
fix(ext/http): internal upgradeHttpRaw works with "Deno.serve()" API ( #18859 )
...
Fix internal "upgradeHttpRaw" API restoring capability to upgrade HTTP
connection in polyfilles "node:http" API.
2023-04-27 00:58:18 +02:00
Ryan Dahl
2df6db36c8
feat(ext/kv): add more atomic operation helpers ( #18854 )
...
Co-authored-by: losfair <zhy20000919@hotmail.com>
Co-authored-by: Luca Casonato <hello@lcas.dev>
2023-04-26 17:14:01 +00:00
Bartek Iwańczuk
1b450015e7
BREAKING(unstable): remove "Deno.serve(handler, options)" overload ( #18759 )
...
In preparation to stabilization of the API this overload was decided to
be removed.
2023-04-26 14:54:03 +02:00
Leo Kettmeir
be9e3c430f
docs: add categories to APIs without ( #18826 )
2023-04-24 20:24:18 +00:00
Ryan Dahl
2184103a5e
feat(kv): AtomicOperation#sum ( #18704 )
2023-04-15 10:33:31 +02:00
Dj
62c5664697
feat(ext/ffi): support marking symbols as optional ( #18529 )
2023-04-03 21:32:21 +03:00
David Sherret
7ec45770c8
fix: upgrade to TypeScript 5.0.3 ( #18532 )
2023-03-31 17:09:04 +00:00
Luca Casonato
02e01b171f
fix(dts): improve types for the Deno.KV API ( #18510 )
2023-03-30 22:52:31 +02:00
Luca Casonato
e888c3f534
feat(ext/kv): return versionstamp from set/commit ( #18512 )
...
This commit updates the `Deno.Kv` API to return the new commited
versionstamp for the mutated data from `db.set` and `ao.commit`. This is
returned in the form of a `Deno.KvCommitResult` object that has a
`versionstamp` property.
2023-03-30 20:57:21 +02:00
David Sherret
3abc53f811
docs: clarify Deno.consoleSize
returns the window size ( #18508 )
...
Closes #18477
2023-03-30 11:47:33 -04:00
Heyang Zhou
27834dfc10
chore(ext/kv): add limits ( #18415 )
2023-03-25 15:29:36 +08:00
Ryan Dahl
f9c8d98b77
Revert "refactor: rename Deno.openKv() to Deno.kv() ( #18349 )" ( #18362 )
...
This reverts commit 50b793c9ed
.
2023-03-22 20:23:36 +01:00
Ryan Dahl
50b793c9ed
refactor: rename Deno.openKv() to Deno.kv() ( #18349 )
2023-03-22 10:02:40 -04:00
Heyang Zhou
92ebf4afe5
feat(ext/kv): key-value store ( #18232 )
...
This commit adds unstable "Deno.openKv()" API that allows to open
a key-value database at a specified path.
---------
Co-authored-by: Luca Casonato <hello@lcas.dev>
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2023-03-22 12:13:24 +08:00
Bartek Iwańczuk
7e61e8f0e0
chore: update formatting configuration ( #18331 )
2023-03-21 17:01:53 -04:00
David Sherret
2fcf1f14cf
feat: TypeScript 5.0.2 (except decorators) ( #18294 )
...
This upgrades TypeScript to 5.0.2, but does not have ES decorator
support because swc does not support that yet.
2023-03-21 15:46:40 +00:00
ayame113
c34e26a9d5
docs: fix broken Deno.FsFile#readable
example code ( #18277 )
2023-03-21 16:22:21 +09:00
Sam Gwilym
4c34a2f2df
feat(ext/net): Add multicasting APIs to DatagramConn ( #10706 ) ( #17811 )
2023-03-20 22:27:00 +01:00
Andrew
44553aa09e
docs(FFI/UnsafePointerView): fix a typo in a docstring ( #18034 )
2023-03-18 12:25:06 +00:00
Leo Kettmeir
35196eab27
BREAKING(unstable): remove WebGPU ( #18094 )
...
This PR _**temporarily**_ removes WebGPU (which has behind the
`--unstable` flag in Deno), due to performance complications due to its
presence.
It will be brought back in the future; as a point of reference, Chrome
will ship WebGPU to stable on 26/04/2023.
---------
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2023-03-17 00:29:32 +01:00
Bartek Iwańczuk
3f031ad9af
BREAKING(ext/fs): FileInfo.dev is defined on Windows ( #18237 )
...
Addresses feedback from
https://github.com/denoland/deno/pull/18073#issuecomment-1471480385 .
Reverts changes to `FileInfo` fields that are not available on Windows
making them `null`. Only `FileInfo.dev` is non-null.
2023-03-17 00:14:56 +01:00
Bartek Iwańczuk
48a0b7f98f
feat(fs): support FileInfo.dev on Windows ( #18073 )
...
This commit adds support for retrieving `dev` information
when stating files on Windows.
Additionally `Deno.FileInfo` interfaces was changed to always
return 0 for fields that we don't retrieve information for on Windows.
Closes https://github.com/denoland/deno/issues/18053
---------
Co-authored-by: David Sherret <dsherret@gmail.com>
2023-03-16 02:35:13 +01:00
ayame113
08591d052a
chore(docs): Fixed manual link ( #18060 )
2023-03-07 08:01:56 -05:00
Nayeem Rahman
273777f7d9
fix(check): include dts files in tsc roots ( #18026 )
2023-03-05 12:47:04 -05:00
Geert-Jan Zwiers
399a22db88
chore(docs): add note about loadavg returning 0 on windows ( #18006 )
2023-03-04 05:31:55 -04:00
Leo Kettmeir
484b6fe2fa
refactor(flash): move remoteAddr to options bag ( #17913 )
...
Applies suggestion from #17912
2023-02-24 23:36:07 +01:00
Aapo Alasuutari
0f9daaeacb
fix(ext/ffi): Fix re-ref'ing UnsafeCallback ( #17704 )
2023-02-22 19:09:59 +00:00
Aapo Alasuutari
b56b8c8a75
feat(ext/ffi): Replace pointer integers with v8::External objects ( #16889 )
2023-02-22 19:32:38 +02:00
Ryan Dahl
4afa150f21
Revert "feat: Deprecate Deno.run API in favor of Deno.Command ( #17630 )" ( #17875 )
...
Deno.Command needs to be stabilized first and allow people to upgrade to
it before we can deprecate Deno.run. Otherwise lint will suddenly fail
with deprecated errors without giving people a chance to update.
2023-02-22 07:27:00 -05:00
Bartek Iwańczuk
848e2c0d57
feat: Deprecate Deno.run API in favor of Deno.Command ( #17630 )
2023-02-16 12:11:32 +01:00
Leo Kettmeir
c7535950b6
feat(flash): add 2nd param to handler to get remote address ( #17633 )
...
Closes #17583
2023-02-15 16:37:41 +01:00
Bartek Iwańczuk
201737c518
feat: stabilize Deno.osUptime() ( #17554 )
...
This commit stabilizes "Deno.osUptime()" API. The "--unstable" flag is
no longer required to use this API.
2023-02-14 12:35:38 +01:00
Bartek Iwańczuk
f917d2e2c1
feat: Stabilize Deno.Command API ( #17628 )
...
This commit stabilizes "Deno.Command" API with all its related APIs.
"--unstable" flag is no longer required to use this API.
2023-02-13 19:25:00 +01:00
Leo Kettmeir
8b5be962f5
fix: add WouldBlock error ( #17339 )
2023-02-12 23:14:33 +01:00
Leo Kettmeir
a55f0eb2fc
feat: add signal option to Deno.resolveDns ( #17384 )
...
Closes #14406
2023-02-11 14:14:02 +00:00
Leo Kettmeir
e22ebc6b6b
feat: add more variants to Deno.build.os ( #17340 )
...
Closes #14799
2023-02-11 14:25:45 +01:00
Kamil Ogórek
68008bee51
fix(dts): make Deno.Command accept readonly prop in options.args ( #17718 )
2023-02-10 18:09:02 +01:00
Leo Kettmeir
3035dee9f1
chore: update webgpu ( #17534 )
2023-01-30 15:14:16 +01:00
RA80533
50ba8ae6b2
docs: fix typos in WriteFileOptions
's JSDoc ( #17507 )
2023-01-28 22:10:06 +01:00
David Sherret
83642976bf
fix: remove leftover Deno.spawn references ( #17524 )
2023-01-25 12:28:08 -05:00
Asher Gomez
900929f65c
feat: Add sync APIs for "Deno.permissions" ( #17019 )
...
This commit adds sync versions of async APIs to "Deno.permissions"
namespace.
Following APIs were added:
- "Deno.permissions.querySync"
- "Deno.permissions.requestSync"
- "Deno.permissions.revokeSync"
2023-01-25 00:42:44 +01:00
Leo Kettmeir
2027d98a8e
feat: allow first arg in test step to be a function ( #17096 )
2023-01-24 15:41:01 +01:00
Leo Kettmeir
cadeaae045
feat(runtime/command): make stdin default to inherit for spawn() ( #17334 )
...
Closes #17230
2023-01-24 15:03:46 +01:00
Bartek Iwańczuk
da23f7f876
feat: Stabilize Deno.Listener.ref/unref ( #17477 )
2023-01-20 16:32:55 +01:00
Leo Kettmeir
18e8ce4ca5
feat(runtime): add bigint to seek typings ( #17314 )
2023-01-19 05:30:56 +01:00