-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API changes #4933
Comments
-1. They are simple constants just like everything else in interface FileInfo {
type: "file" | "directory" | "symlink";
// ...
} |
For things like import maps, isn't it should be Could there be a specific flag to opt in to a specific experimental feature, in this case import maps, rather than Edited: The original |
@shian15810 lets move the discussion over to #4958, so we don't overload this issue. |
Deno.Buffer shouldn't implement async read and write denoland#4933
Thanks for the help everyone, we completed the API changes. We are tentatively API stable now. |
I know 1.0 is coming very soon, but was there any consideration on @nayeemrmn's idea of using type: "file" | "directory" | "symlink" instead of the current multiple field method? It's much more ergonomic and works nicely with typescript's discrimination testing (like filtering for items with specific names and types). Since |
gathered from notes in #4882
Hint: Ops are made unstable using State::check_unstable (example)
Deno.Buffer.toString()
should be removed (BREAKING: remove custom implementation of Deno.Buffer.toString() #4992)Deno.Buffer shouldn't implement async read/write (Make Deno.Buffer implement only sync I/O #4960)Needs further discussion because Buffer won't be able to use copy.// Defaults to false
export function test(fn: () => void | Promise<void>): void;
(BREAKING: remove overload of Deno.test() #4951)Deno.chdir - Need allow-read check, then is stable. (require --allow-read for chdir #4956)not needed f8d8336ReadCloser
withReader & Closer
(remove combined io interface like ReadCloser #4944)interface Stdin
withReader & SyncReader & Closer & { rid: number }
(also stdout, stderr) (refactor: remove stdio interfaces, use intersection types #4952)address
renamed topath
(Unix address rename to path #4959)you should be able to provide string for cert rather than path.(this is a feature that extends interface, shouldn't be done now) (mark Deno.startTls as unstable #4965)ProcessStatus should have three variantsDoesn't work as well as we had thought.| { success: false; signal: number; }
(split ProcessStatus into three variants #4966)The text was updated successfully, but these errors were encountered: