std/http are encouraged to upgrade to the native HTTP server, since
std/http is to be removed in an upcoming release. The HTTP server API was introduced in Deno 1.9 in April.
DENO_TLS_CA_STOREenvironment variable can be used to switch certificate authorities Deno trusts for TLS.
–-unsafely-ignore-certificate-errorsflag can disable SSL certificate verification. Deno proponents note this is a dangerous setting and it should not be used to silence certificate errors.
- More functionality has been added to WebCrypto APIs, such as
crypto.subtle.verifynow supporting verification of signatures created from Hash-based Message Authentication Code (HMAC) keys.
- The Deno Language Server and Visual Studio Code extension have been updated, with improvements such as the language server adding a
- For the REPL, the export keyword before functions, classes, or TypeScript types now will be ignored. This is useful when copying and pasting a snippet of code from a module into the REPL. Also, the REPL now has an
—evalflag for running code in the JS runtime before the user is dropped into a REPL.
Deno.permissionsAPI has been updated; it now accepts URLs in addition to strings when querying for “read,” “write,” and “run” permissions.
- The native plug-in system has been replaced with a more general Foreign Function Interface (FFI) API for calling libraries written in languages other than Rust directly from Deno. The API is unstable in this release.
Deno has been positioned as a more secure alternative to the Node.js runtime. The 1.0 release of Deno was published in May 2020, with several point releases published since then.
Copyright © 2021 IDG Communications, Inc.