Contents hide 1) Deno v1.5.0 up-gradation 2) New features and changes 2.1) Improved bundling 2.2) alert, confirm, and prompt added 2.3) Improvements to the REPL 3) Links Deno v1.5.0 New Version Released has released today. This release will contain some new features, lots of bug fixes, and many feature stabilizations. Deno v1.5.0 up-gradation If the deno is already installed you can use the basic command to upgrade deno upgrade. incase if you are new, you can install it from the below options. # Using Shell (macOS and Linux): curl -fsSL https://deno.land/x/install/install.sh | sh # Using PowerShell (Windows): iwr https://deno.land/x/install/install.ps1 -useb | iex # Using Homebrew (macOS): brew install deno # Using Scoop (Windows): scoop install deno # Using Chocolatey (Windows): choco install deno New features and changes Improved bundling alert, confirm, and prompt added Improvements to the REPL Improved bundling deno bundle will now have tree shaking, and is up to 15x faster than 1.4 For example a bundle of the file_server example is 35% smaller in 1.5 when comparing to 1.4. alert, confirm, and prompt added deno has also added a new feature that is web-compatible prompt APIs to interact with a user. alert will logs the message to the terminal, and then synchronously blocks until you confirm (with [Enter]). confirm will prompts the user with a message, and then synchronously blocks until the user responds with either y or n. prompt will requests some input from the user, and blocks synchronously until the user has entered the text and pressed [Enter]. https://deno.land/posts/v1.5/alert_confirm_prompt.js let name = ""; while (true) { name = prompt("What is your name?"); if (confirm(`Are you sure ${name} is your name?`)) { break; } } alert(`Hello ${name}!`); You can try it out by running deno run https://deno.land/posts/v1.5/alert_confirm_prompt.js. Improvements to the REPL The REPL has a major refactor which has enabled several new features. Here are some of the highlights: Tab completion of object properties and methods: to use this, just press Tab to cycle through the list of properties and methods. Code syntax highlighting: code that you enter is now syntax highlighted if your terminal supports colors. You can disable this with the NO_COLOR environment variable. Top level await support: you can now just await promises in the REPL without having to wrap your call in an async IIFE. Deno will now have many more changes regarding code format using lint and strict type check. Get Complete Release Update on: www.deno.land Links Release Date: October 27, 2020 Relaese Note: Deno v1.5.0 get Latest News: https://www.geekstrick.com/news Share this:TwitterFacebookRedditLinkedInWhatsAppPrintTumblr Related