Oct. 29, 2019, 8:47 a.m.

Deno Newsletter #38 - v0.22.0 - listenTLS, Permissions API, top-level-for-await

Deno News

Welcome to Deno Newsletter issue #38!


Every week we serve you with a bunch of useful information and links for every Deno enthusiast.


Useful links:

  • deno.land - official Deno website
  • deno.land/x - module registry
  • gitter.im/denolife/Lobby - where Deno devs hang out
  • denoland/deno - main repository
  • denoland/deno_std - standard library repository
  • denoland/registry - module registry repository
  • denolib/awesome-deno - Deno Awesome List
  • twitter.com/deno_land - official Deno Twitter account
  • twitter.com/DenoNews - official Deno Newsletter Twitter account


Release

[tweet https://twitter.com/deno_land/status/1188909650101571584]

This week Deno v0.22.0 was released with a lot of interesting changes!

  • feat: Use web standard Permissions API (#3200)

[caption align=”alignnone” width=”980”]Example of querying and revoking permissions[/caption]

Deno Deno — deno.land Deno is a JavaScript and TypeScript runtime

  • feat: Deno.listenTLS (#3152)

[caption align=”alignnone” width=”980”]TLS listener[/caption]

  • feat: top-level-for-await (#3212)

[caption align=”alignnone” width=”980”]Top-level-for-await[/caption]

  • feat: Remove --no-prompt flag, fail on missing permissions (#3183)
  • feat: Support named imports/exports for subset of properties in JSON modules (#3210)

[caption align=”alignnone” width=”980”]Named exports in JSON files[/caption]

  • perf: faster TextDecoder (#3180, #3204)

[caption align=”alignnone” width=”980”]Performance improvements in TextDecoder from 1.8s to 0.1s![/caption]

  • feat: Publish source tarballs for releases (#3203)
  • feat: Add ResourceTable in core (#3150)
  • feat: Re-enable standard stream support for fetch bodies (#3192)
  • feat: Add CustomInspect for Headers (#3130)
  • fix: Remove runtime panics in op dispatch (#3176, #3202, #3131)
  • fix: BufReader.readString to actually return Deno.EOF at end (#3191)

Full list of changes can be seen here.

As we're getting closer to v1.0, remember to track the progress in this issue.

Documentation

Deno registry now supports autogenerated docs! Just add `?doc` at the end of URL.

Note, that docs work for standard modules, support for all registered modules is coming soon!

Sneek peek below:

[caption align=”alignnone” width=”980”]https://deno.land/std/http/server.ts?doc[/caption]

Talks

[tweet https://twitter.com/DenoWarsaw/status/1188032239294205952] [tweet https://twitter.com/HewIngram/status/1188727427205341184]

Resources

GitHub - OnikurYH/deno-prettystring

A deno module for format, trim and remove extra white spaces between characters. Make paragraph looks organised.

GitHub - billymoon/fiona

Fiona is a tool for creating large sets of pseudo random data.

Thanks for reading and stay tuned for more news next week!

- Bartek

[tweet https://twitter.com/DenoWarsaw/status/1188032239294205952]

You just read issue #38 of Deno News.

Share on Twitter Share on LinkedIn Share on Hacker News Share on Reddit Share on Mastodon Share on Bluesky
GitHub Bluesky X