Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2022-04-20 | feat(bench): update API, new console reporter (#14305) | evan | |
This commit changes "deno bench" subcommand, by updating the "Deno.bench" API as follows: - remove "Deno.BenchDefinition.n" - remove "Deno.BenchDefintion.warmup" - add "Deno.BenchDefinition.group" - add "Deno.BenchDefintion.baseline" This is done because bench cases are no longer run fixed amount of iterations, but instead they are run until there is difference between subsequent runs that is statistically insiginificant. Additionally, console reporter was rewritten completely, to looks similar to "hyperfine" reporter. | |||
2022-04-13 | feat(ext/web): Add error events for event listener and timer errors (#14159) | Nayeem Rahman | |
- feat: Add handleable error event for even listener errors - feat: Add handleable error event for setTimeout()/setInterval() errors - feat: Add Deno.core.destructureError() - feat: Add Deno.core.terminate() - fix: Don't throw listener errors from dispatchEvent() - fix: Use biased mode when selecting between mod_evaluate() and run_event_loop() results | |||
2022-04-06 | feat(test): Add "name", "origin" and "parent" to "Deno.TestContext" (#14007) | Yongwook Choi | |
This commit adds following fields to "Deno.TestContext" interface: - name - origin - parent These are prerequisites for supporting snapshot functionality in "std/testing". | |||
2022-03-25 | fix: `Deno.run` - do not modify user provided `cmd` array (#14109) | David Sherret | |
2022-03-25 | docs(cli): fix typo in `PermissionOptionsObject` (#14114) | Aleksandr Bukhalo | |
2022-03-24 | docs: `WorkerOptions` - fix permissions description (#14011) | David Sherret | |