Deno Newsletter #31 - v0.16.0, deno test, support for .d.ts files
Welcome to Deno Newsletter issue #31!
Every Monday we serve you with a bunch of useful information and links for every Deno enthusiast.
Don't forget to join discussion on Deno's official Gitter channel!
If you encounter anything Deno related that you want to share with community, mention us on Twitter @DenoNews, or just respond to this mail.
Releases
Last week v0.16.0 was released. This is a big release that includes some of long awaited features!
Deno:
- feat: "deno test" subcommand (#2783, #2784, #2800) - automagically run all test in current directory
- feat: support .d.ts files (#2746) - provide type definitions to JavaScript files
- feat: implement console.trace() (#2780) - print out stack trace along with arbitrary data
- feat: support custom inspection of objects (#2791) - add method to class declaration using "Deno.customInspect" symbol for custom serialization for console
- fix: dynamic import panic (#2792)
- fix: handle tsconfig.json with comments (#2773)
- fix: import map panics, use import map's location as its base URL (#2770)
- fix: set Response.url (#2782)
Standard library:
- feat: add overloaded form of unit test declaration (deno_std#563) - use familiar syntax available in Jest, Mocha and Ava: "test("my test name", () => {})"
- feat: add printf implementation (deno_std#566) - sprintf implementation based on Golang fmt package
- feat: print out failed tests in summary (deno_std#554)
- feat: test runner (deno_std#516, deno_std#564, deno_std#568)
- fix: accept absolute root directories in file server (deno_std#558)
- fix: refactor "assertEquals" (deno_std#560)
- fix: test all functions in colors module (deno_std#553)
- fix: move colors module into fmt module (deno_std#571)
Full list of changes can be found here
Thanks for reading and stay tuned for more news next week!
- Bartek