Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-07-20 | chore(ext): update webgpu (#15059) | Dante Issaias | |
2022-07-18 | feat(unstable): Ability to ref/unref "Child" in "Deno.spawnChild()" API (#15151) | Leo Kettmeir | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: Colin Ihrig <cjihrig@gmail.com> | |||
2022-07-18 | feat: import.meta.resolve() (#15074) | Bartek Iwańczuk | |
This commit adds new "import.meta.resolve()" API which allows to resolve specifiers relative to the module the API is called in. This API supports resolving using import maps. | |||
2022-07-18 | BREAKING(unstable): Improve Deno.spawn() stdio API (#14919) | Nayeem Rahman | |
- "SpawnOutput" extends "ChildStatus" instead of composing it - "SpawnOutput::stdout", "SpawnOutput::stderr", "Child::stdin", "Child::stdout" and "Child::stderr" are no longer optional, instead made them getters that throw at runtime if that stream wasn't set to "piped". - Remove the complicated "<T extends SpawnOptions = SpawnOptions>" which we currently need to give proper type hints for the availability of these fields. Their typings for these would get increasingly complex if it became dependent on more options (e.g. "SpawnOptions::pty" which if set should make the stdio streams unavailable) | |||
2022-07-15 | Revert "feat: add "unhandledrejection" event support (#12994) (#15080)" (#15210) | Bartek Iwańczuk | |
This reverts commit 1a7259b04b7229f6350a7a7c21b50497b5c80c17. | |||
2022-07-14 | feat: add "unhandledrejection" event support (#12994) (#15080) | Bartek Iwańczuk | |
Relanding #12994 This commit adds support for "unhandledrejection" event. This event will trigger event listeners registered using: "globalThis.addEventListener("unhandledrejection") "globalThis.onunhandledrejection" This is done by registering a default handler using "Deno.core.setPromiseRejectCallback" that allows to handle rejected promises in JavaScript instead of Rust. This commit will make it possible to polyfill "process.on("unhandledRejection")" in the Node compat layer. Co-authored-by: Colin Ihrig <cjihrig@gmail.com> | |||
2022-07-14 | fix(cli/dts): allow passing arguments to `WebAssembly` error constructors ↵ | Liam Murphy | |
(#15149) These constructors have the same signature as all of JavaScript's other builtin errors. | |||
2022-07-09 | fix(ext/ffi): allow opting out of fast ffi calls (#15131) | Divy Srivastava | |
2022-07-04 | Revert "feat: add "unhandledrejection" event support (#12994)" (#15075) | Bartek Iwańczuk | |
This reverts commit f7af0b01a59aaac91473e2f920137004d39a310a. | |||
2022-07-04 | feat: add "unhandledrejection" event support (#12994) | Bartek Iwańczuk | |
This commit adds support for "unhandledrejection" event. This event will trigger event listeners registered using: "globalThis.addEventListener("unhandledrejection") "globalThis.onunhandledrejection" This is done by registering a default handler using "Deno.core.setPromiseRejectCallback" that allows to handle rejected promises in JavaScript instead of Rust. This commit will make it possible to polyfill "process.on("unhandledRejection")" in the Node compat layer. Co-authored-by: Colin Ihrig <cjihrig@gmail.com> | |||
2022-07-04 | fix(dts): stop default export type behavior (#14977) | Carter Snook | |
Ref: #14976 | |||
2022-07-04 | fix: update to TypeScript 4.7.4 (#15022) | Rafael Ávila de Espíndola | |
2022-06-28 | feat(ext/ffi): Thread safe callbacks (#14942) | Aapo Alasuutari | |
2022-06-27 | fix(dts/ffi): non-exact types break FFI inference (#14968) | Carter Snook | |
2022-06-22 | fix: upgrade swc via deno_ast 0.16 (#14930) | David Sherret | |
2022-06-21 | chore(ext/ffi): simplify FFI types (#14920) | Aapo Alasuutari | |
This commit simplifies the TypeScript types used for interacting with Deno FFI. The basis is that types are now first grouped into logical wholes, NativeNumberType, NativeBigIntType etc. These wholes are combined into the NativeType and NativeResultType general types. Additionally, this PR removes the { function: { parameters: [], result: "void" } } type declaration from parameters (and result types. Now functions are merely passed and returned as "function". | |||
2022-06-20 | BREAKING(ext/ffi): Remove `Deno.UnsafePointer` indirection (#14915) | Divy Srivastava | |
2022-06-20 | feat(ext/ffi): Callbacks (#14663) | Aapo Alasuutari | |
This commit adds support for unstable FFI callbacks. A callback is registered using the `Deno.UnsafeCallback` API. The backing memory for the callback can be disposed of using `Deno.UnsafeCallback#close`. It is not safe to pass the callback after calling close. Callbacks from other than the isolate thread are not supported. Co-authored-by: Divy Srivastava <dj.srivastava23@gmail.com> Co-authored-by: Bert Belder <bertbelder@gmail.com> | |||
2022-06-16 | fix: make Performance global an EventTarget | cjihrig | |
This commit updates the Performance global to extend EventTarget. | |||
2022-06-13 | Deno.exit() is an alias to self.close() in worker contexts (#14826) | Bartek Iwańczuk | |
This commit changes Deno.exit() to be an alias to self.close() in worker contexts, and the provided exit code becomes is ignored. | |||
2022-06-13 | feat(runtime/signal): implement SIGINT and SIGBREAK for windows (#14694) | Geert-Jan Zwiers | |
This commit adds support for SIGINT and SIGBREAK signals on Windows platform. Co-authored-by: orange soeur <juzi201314@gmail.com> | |||
2022-06-13 | Remove unstable Deno.sleepSync (#14719) | Ryan Dahl | |
Co-authored-by: David Sherret <dsherret@gmail.com> | |||
2022-06-11 | chore(docs): remove senseless `await` (#14844) | Roj | |
2022-06-08 | feat(ext/ffi): support passing and returning bigints (#14523) | Elias Sjögreen | |
2022-06-01 | feat: update to TypeScript 4.7 (#14242) | Kitson Kelly | |
2022-05-31 | feat(unstable): add Deno.getGid (#14528) | James Bradlee | |
2022-05-30 | chore(docs): use cross-platform example in `Deno.run` jsdoc (#14754) | Geert-Jan Zwiers | |
2022-05-30 | chore: update deprecated APIs docs (#14756) | Bartek Iwańczuk | |
2022-05-30 | fix(cli/dts): add `captureStackTrace` to `lib.dom.extras` (#14748) | Mark Ladyshau | |
Fixes #14512 | |||
2022-05-21 | fix(cli/dts): change `ChildStatus.signal` from `string` to `Deno.Signal` ↵ | Simon Lecoq | |
(#14690) | |||
2022-05-19 | feat: make Child.kill argument optional (#14669) | Leo Kettmeir | |
2022-05-18 | fix: add types for `Response.json` (#14655) | Luca Casonato | |
2022-05-18 | feat: return a signal string instead number on ChildStatus (#14643) | Leo Kettmeir | |
2022-05-17 | BREAKING(unstable): Enable Deno namespace in workers by default (#14581) | Nayeem Rahman | |
This commit removes "WorkerOptions.deno" option as a boolean, as well as "WorkerOptions.deno.namespace" settings. Starting with this commit all workers have access to "Deno" namespace by default. | |||
2022-05-17 | BREAKING: Remove unstable Deno.emit and Deno.formatDiagnostics APIs (#14463) | Bartek Iwańczuk | |
2022-05-16 | feat(ext/net): add `CAA` DNS record support in Deno.resolveDns() API (#14624) | Craig Morten | |
2022-05-15 | feat(ext/net): support NAPTR records in Deno.resolveDns() API (#14613) | Craig Morten | |
2022-05-15 | feat(ext/net): support full `SOA` record interface (#14617) | Craig Morten | |
2022-05-14 | feat(ext/net): add support for SOA records in Deno.resolveDns() API (#14534) | Thanapat Chotipun | |
2022-05-14 | feat: add userAgent property to Navigator's prototype (#14415) | randomicon00 | |
2022-05-13 | feat(ext/web): add performance.toJSON (#14548) | Geert-Jan Zwiers | |
2022-05-11 | feat(runtime/spawn): add `AbortSignal` support (#14538) | Leo Kettmeir | |
2022-05-06 | feat(web): add `performance.timeOrigin` (#14489) | Geert-Jan Zwiers | |
Add support for the `performance.timeOrigin` web API. Co-authored-by: Jovi De Croock <decroockjovi@gmail.com> | |||
2022-05-03 | feat(ext/net): add "NS" record support in Deno.resolveDns API (#14372) | Thanapat Chotipun | |
2022-05-03 | BREAKING: Remove unstable Deno.applySourceMap API (#14473) | Bartek Iwańczuk | |
2022-04-29 | fix(cli): add dom.extras lib (#14430) | Kitson Kelly | |
Closes: #12558 Fixes: #14344 | |||
2022-04-25 | feat(ext/console): Add string abbreviation size option for "Deno.inspect" ↵ | Ben Heidemann | |
(#14384) | |||
2022-04-24 | fix(runtime/js/spawn): Pass stdio options for spawn() and spawnSync() (#14358) | Nayeem Rahman | |
2022-04-21 | chore(cli/dts): fix the display of the Deno.spawnSync() document (#14342) | ayame113 | |
2022-04-21 | feat(runtime): two-tier subprocess API (#11618) | Leo Kettmeir | |