Published January 19, Deno 1.7 offers features, stabilizations, and improvements to APIs and tools. Installation instructions can be found at deno.land.
Key to the Deno 1.7 release is that
deno compile now can cross-compile from any in stable supported architecture, including Windows x64, MacOS x64, and Linux x64, to any other in stable supported architecture. Thus binaries for Windows and MacOS can be created from a single Linux CI machine.
deno compile now generates binaries that are 40 percent to 60 percent smaller than those produced by Deno 1.6. This feature can be tried out using the
--lite flag when compiling an application. A slimmed-down runtime-only Deno binary will be produced instead of the full Deno binary.
deno compile now can produce binaries that have built-in CA certificates, custom V8 flags, locked-down permissions, and pre-populated command line arguments. Other notable features in Deno 1.7 include:
- Data URLs support, for executing code generated on the fly, has been added in imports, both static and dynamic, and in Web Workers.
- An unstable
Deno.resolveDnsAPI can be used to query DNS records from a DNS resolver.
--locationflag has been added to set “document” location for scripts.
- Three unstable APIs,
Deno.compile, used to interact with Deno’s built-in TypeScript compiler, have been replaced by a single improved function,
Deno 1.7 follows last month’s Deno 1.6 release, which enabled production of standalone executables and a language server implementing Language Server Protocol. Experimental support for Apple computers running M1 processors support also was featured. Deno 1.0 arrived last May.