Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-09-24 | fix: better error for Deno.UnsafeWindowSurface, correct HttpClient name, ↵ | Leo Kettmeir | |
cleanup unused code (#25833) | |||
2024-09-23 | chore: add code generation for @types/deno (#25545) | David Sherret | |
2024-09-22 | BREAKING(webgpu/unstable): move `width` and `height` options to ↵ | Divy Srivastava | |
`UnsafeWindowSurface` constructor (#24200) Fixes https://github.com/denoland/deno/issues/23508 `width` and `height` are required to configure the wgpu surface because Deno is headless and depends on user to create a window. The options were non-standard extension of `GPUCanvasConfiguration#configure`. This PR adds a required options parameter with the `width` and `height` options to `Deno.UnsafeWindowSurface` constructor. ```typescript // Old, non-standard extension of GPUCanvasConfiguration const surface = new Deno.UnsafeWindowSurface("x11", displayHandle, windowHandle); const context = surface.getContext(); context.configure({ width: 600, height: 800, /* ... */ }); ``` ```typescript // New const surface = new Deno.UnsafeWindowSurface({ system: "x11", windowHandle, displayHandle, width: 600, height: 800, }); const context = surface.getContext(); context.configure({ /* ... */ }); ``` | |||
2024-09-17 | fix(dts): stabilize `fetch` declaration for use with `Deno.HttpClient` (#25683) | Yusuke Tanaka | |
This commit stabilizes the `fetch` function declaration for use with `Deno.HttpClient` and moves it from `lib.deno.unstable.d.ts` to `lib.deno.shared_globals.d.ts`. `Deno.HttpClient` was stabilized in #25569, but the associated override declaration for `fetch` is still marked as experimental. This should also be stabilized now and moved to a different d.ts file. | |||
2024-09-17 | chore(fs): undeprecate `Deno.FsWatcher.prototype.return()` (#25623) | Asher Gomez | |
2024-09-16 | fix(types): simplify mtls related types (#25658) | Luca Casonato | |
Instead of two overloads for `Deno.connectTls` and `Deno.createHttpClient`, there is now just one. | |||
2024-09-16 | BREAKING(ext/ffi): remove deprecated `UnsafeFnPointer` constructor type with ↵ | Aapo Alasuutari | |
untyped `Deno.PointerObject` parameter (#25577) | |||
2024-09-14 | feat: TypeScript 5.6 and `npm:@types/node@22` (#25614) | David Sherret | |
2024-09-12 | feat(serve): Support second parameter in deno serve (#25606) | Nathan Whitaker | |
Closes #24099 | |||
2024-09-12 | BREAKING(io): remove `Deno.Seeker[Sync]` (#25551) | Asher Gomez | |
Towards #22079 Signed-off-by: Asher Gomez <ashersaupingomez@gmail.com> | |||
2024-09-12 | fix(ext/webgpu): sync category comment (#25580) | Victor Turansky | |
Signed-off-by: Victor Turansky <victor.turansky@gmail.com> | |||
2024-09-12 | feat: stabilize `Deno.createHttpClient()` (#25569) | Asher Gomez | |
Closes #25518 | |||
2024-09-10 | BREAKING(net): remove ↵ | Asher Gomez | |
`Deno.ConnectTlsOptions.{certChain,certFile,privateKey}` and `Deno.ListenTlsOptions.certChain,certFile,keyFile}` (#25525) Towards #22079 | |||
2024-09-10 | BREAKING(temporal/unstable): Remove obsoleted Temporal APIs part 2 (#25505) | Kenta Moriuchi | |
Mainly I removed `Temporal.Calendar` and `Temporal.TimeZone` and replaced them to APIs that handle calendar and timezone as strings. https://github.com/tc39/proposal-temporal/pull/2925 Related #24836 | |||
2024-09-11 | BREAKING(fs): remove `Deno.FsFile.prototype.rid` (#25499) | Asher Gomez | |
Towards #22079 --------- Signed-off-by: Asher Gomez <ashersaupingomez@gmail.com> | |||
2024-09-10 | feat(cli): use NotCapable error for permission errors (#25431) | Luca Casonato | |
Closes #7394 --------- Co-authored-by: snek <snek@deno.com> | |||
2024-09-10 | refactor: move WebGPU, FFI and FS typings from unstable to stable (#25488) | Leo Kettmeir | |
Closes #25377 | |||
2024-09-09 | BREAKING(fs): remove `Deno.fsync[Sync]()` (#25448) | Asher Gomez | |
Towards #22079 --------- Signed-off-by: Asher Gomez <ashersaupingomez@gmail.com> | |||
2024-09-10 | BREAKING(io): remove `Deno.{Reader,Writer}[Sync]` and `Deno.Closer` (#25524) | Asher Gomez | |
2024-09-09 | fix: Float16Array type (#25506) | Kenta Moriuchi | |
2024-09-09 | BREAKING(fs): remove `Deno.fdatasync[Sync]()` (#25520) | Asher Gomez | |
2024-09-07 | chore: soft-remove `Deno.{stdin,stderr,stdout}.rid` (#25479) | Asher Gomez | |
Towards #22079 | |||
2024-09-06 | BREAKING(fs): disallow `new Deno.FsFile()` (#25478) | Asher Gomez | |
Towards #22079 | |||
2024-09-06 | BREAKING(buffer): remove `Deno.Buffer` (#25441) | Asher Gomez | |
Towards #22079 --------- Signed-off-by: Asher Gomez <ashersaupingomez@gmail.com> | |||
2024-09-06 | chore(net): soft-remove `Deno.serveHttp()` (#25451) | Asher Gomez | |
Towards #22079 --------- Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2024-09-05 | BREAKING(fs): remove `Deno.funlock[Sync]()` (#25442) | Asher Gomez | |
Towards #22079 --------- Signed-off-by: Asher Gomez <ashersaupingomez@gmail.com> | |||
2024-09-05 | BREAKING(fs): remove `Deno.seek[Sync]()` (#25449) | Asher Gomez | |
Towards #22079 | |||
2024-09-05 | BREAKING(fs): remove `Deno.FsWatcher.prototype.rid` (#25444) | Asher Gomez | |
Towards #22079 | |||
2024-09-05 | BREAKING(fs): remove `Deno.File` (#25447) | Asher Gomez | |
Towards #22079 | |||
2024-09-05 | BREAKING(types): soft-remove `Deno.run()` (#25403) | Asher Gomez | |
Towards #22079 | |||
2024-09-04 | BREAKING(io): remove `Deno.read[Sync]()` (#25409) | Asher Gomez | |
Towards #22079 Signed-off-by: Asher Gomez <ashersaupingomez@gmail.com> | |||
2024-09-04 | BREAKING(io): remove `Deno.write[Sync]()` (#25408) | Asher Gomez | |
Towards #22079 Signed-off-by: Asher Gomez <ashersaupingomez@gmail.com> | |||
2024-09-04 | BREAKING(fs): remove `Deno.ftruncate[Sync]()` (#25412) | Asher Gomez | |
Towards #22079 Signed-off-by: Asher Gomez <ashersaupingomez@gmail.com> | |||
2024-09-04 | chore(tty): soft-remove `Deno.isatty()` (#25410) | Asher Gomez | |
Towards #22079 | |||
2024-09-04 | BREAKING(buffer): remove `Deno.writeAll[Sync]()` (#25407) | Asher Gomez | |
2024-09-04 | BREAKING(fs): remove `Deno.fstat[Sync]()` (#25351) | Asher Gomez | |
Towards #22079 Signed-off-by: Asher Gomez <ashersaupingomez@gmail.com> | |||
2024-09-03 | docs(serve): fix default `Deno.serve` hostname (#25392) | Caleb Cox | |
Update the docs for `Deno.serve` to reflect that the default hostname is `0.0.0.0`, not `127.0.0.1`. | |||
2024-09-03 | BREAKING(io): remove `Deno.copy()` (#25345) | Asher Gomez | |
Towards #22079 --------- Signed-off-by: Asher Gomez <ashersaupingomez@gmail.com> | |||
2024-09-03 | BREAKING(permissions): remove --allow-hrtime (#25367) | Luca Casonato | |
Remove `--allow-hrtime` and `--deny-hrtime`. We are doing this because it is already possible to get access to high resolution timers through workers and SharedArrayBuffer. Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2024-09-03 | BREAKING(dts): improve types for `Deno.serve` (#25369) | Luca Casonato | |
This significantly simplifies the types for `Deno.serve`. The following types become generic over the address type: - ServeHandlerInfo - ServeHandler - ServeOptions - ServeInit The following types are removed entirely: - ServeTlsOptions - ServeUnixOptions - ServeUnixHandlerInfo - ServeUnixHandler | |||
2024-09-03 | BREAKING(console): remove `Deno.customInspect` (#25348) | Asher Gomez | |
Note: this is implemented on Deploy. However, according to @magurotuna, a thin compatibility layer might be in the works that'd prevent breakages for PRs such as this one. Towards #22079 | |||
2024-09-03 | fix: fix jupyter display function type (#25326) | Bedis Nbiba | |
2024-09-03 | chore(fs): remove `Deno.flock[Sync]()` (#25350) | Asher Gomez | |
Towards #22079 | |||
2024-09-03 | BREAKING(io): remove `Deno.iter[Sync]()` (#25346) | Asher Gomez | |
Towards #22079 | |||
2024-09-03 | BREAKING: remove `Deno.close()` (#25347) | Asher Gomez | |
Towards #22079 | |||
2024-09-02 | fix(BREAKING): make dns record types have consistent naming (#25357) | David Sherret | |
Closes https://github.com/denoland/deno/issues/15207 | |||
2024-08-31 | chore(fs): remove `Deno.futime[Sync]()` (#25252) | Asher Gomez | |
2024-08-31 | chore: remove `Deno.resources()` (#25251) | Asher Gomez | |
2024-08-31 | chore: remove `Deno.metrics()` (#25167) | Asher Gomez | |
2024-08-29 | docs: refer to `globalThis` instead of `window` in declaration files (#25286) | Asher Gomez | |