Introduced October 27, Deno 1.27 has language server and IDE enhancements, together with getting gain of TypeScript 4.4 inlay hints. With this capability, modest snippets of info are added to inline code, likely producing it a lot more readable and filling any gaps in data about the code.
Microsoft’s Visual Studio Code editor supports inlay hints, with the Deno VS Code extension supporting configuration choices.
Deno also now characteristics enhanced registry completions in editors that support it, whilst that functionality is not particularly tied to the Deno 1.27 release.
Extra options in Deno 1.27 incorporate:
- Deno will quickly pull in TypeScript varieties from NPM packages that distribute kinds.
- The Node-API, for making native increase-ons in Node.js, is supported when employed within NPM offers. Also, NPM offer resolution and integrities now are saved when working with a lockfile.
navigator.languageweb API has been included, furnishing a examine-only house that returns a string representing the user’s preferred language.
deno activity, which executes tailor made commands particular to a codebase, a warning stating, “deno task is unstable and may perhaps drastically change in the future” has been taken off. Shifting forward,
deno taskwill not dramatically modify, even though some variations might be released for simplicity-of-use, this sort of as new cross-platform commands or environment variables.
deno lintlinter has a new compact report format.
- APIs have been stabilized these as
readline/promisemodule has been implemented, delivering a Guarantees-dependent API for the
Deno consumers can improve to variation 1.27 by working: