Announced Oct 27, Deno 1.27 has language server and IDE enhancements, such as getting edge of TypeScript 4.4 inlay hints. With this functionality, little snippets of info are extra to inline code, possibly earning it far 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 solutions.
Deno also now options enhanced registry completions in editors that support it, while that capacity is not especially tied to the Deno 1.27 release.
Supplemental options in Deno 1.27 include things like:
- Deno will mechanically pull in TypeScript forms from NPM deals that distribute types.
- The Node-API, for creating native include-ons in Node.js, is supported when utilised in just NPM packages. Also, NPM package resolution and integrities now are saved when utilizing a lockfile.
navigator.languageworld wide web API has been included, furnishing a read-only assets that returns a string representing the user’s desired language.
deno process, which executes custom made instructions certain to a codebase, a warning stating, “deno endeavor is unstable and may perhaps significantly alter in the future” has been taken out. Relocating forward,
deno undertakingwill not greatly adjust, despite the fact that some modifications may perhaps be released for ease-of-use, this kind of as new cross-platform commands or setting variables.
deno lintlinter has a new compact report structure.
- APIs have been stabilized this sort of as
readline/guaranteemodule has been executed, providing a Claims-based API for the
Deno people can enhance to version 1.27 by running: