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


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:


Release

v0.22.0 released with listenTLS, web standard permissions API, and auto-generated documentation (ex: https://t.co/8RnMmrR6dc)

Get it while it's hot:https://t.co/8kcqsq21ly

— Deno (@deno_land) October 28, 2019

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 Denodeno.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]

[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

The tweet at https://twitter.com/DenoWarsaw/status/1188032239294205952 no longer exists.

I wrangled my slides from his month's @LNUGorg into a repo for anyone who wants to have a play about with @deno_land things.

I'll add to it over time: if theres anything you want to see examples of or if you spot any mistakes, let me know!https://t.co/6SvsnCxXIq

— HewIngram (@HewIngram) October 28, 2019

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

The tweet at https://twitter.com/DenoWarsaw/status/1188032239294205952 no longer exists.


Get the latest Deno articles, projects, and other resources.