Deno October Update: Deno 1.37 and Deno Queues
This issue dives into using JavaScript on Jupyter notebooks, adding scalable background processing to your apps with Deno Queues, engineering challenges when building Deno KV on FoundationDB, and more.
Deno 1.37: modern JavaScript in Jupyter notebooks
Deno’s mission to simplify programming doesn’t end in web — in 1.37, we bring our modern tooling and streamlined DX to Jupyter notebooks, where you can use JavaScript, TypeScript, and npm in an interactive REPL.
With Deno powering Jupyter notebooks, you can render markdown:
Use web APIs like fetch()
and visualize data with observablehq/plot
Even connect to your managed Deno KV instance and use data frames with nodejs-polars
:
And much, much more.
Read the full announcement or watch the video →
Announcing Deno Queues
As web and cloud software evolves, Deno aims to radically simplify. While using cloud infrastructure involves sifting through boilerplate and complex configurations, Deno wants to distill these intricacies into user-friendly primitives, so developers can build and launch projects even faster.
Hence, Deno KV (now in open beta), which is more than just a persistence option for apps. It’s transforming the developer experience by eliminating redundant configurations and offering a streamlined API.
Building upon this, we’re thrilled to announce Deno Queues, making it even easier to add background processing or scheduled tasks to your applications:
const db = await Deno.openKv();
db.listenQueue(async (msg) => {
await postToSlack(msg.channel, msg.text);
});
await db.enqueue({ channel: "C123456", text: "Slack message" }, {
delay: 60000,
});
Read the full announcement or watch the video →
Around the Community
Upcoming Conferences and Meetups
- October 20th: Deno Fest (Tokyo, Japan): Partnered with Toranoana, the Deno team is holding its first mini conference! A full days’ worth of talks from the team as well as community members. If you’re in Tokyo, we’d love for you to join us! If not, we plan to stream the event and publish the talks as videos on our YouTube.
- November 6th: Node Conf (Kilkenny, Ireland): Kevin Whinnery will present on various cloud KV solutions, its benefits over other persistent data storage solutions, and more.
- November 2nd: JetBrains JavaScript Day (remote): Luca Casonato gives a talk about why modern JavaScript should include batteries.
Community #Showcase
You all have been active building with and writing about Deno! Here’s a (very incomplete) list of projects and articles.
- Lume is an awesome, pluggable, composable static site generator. Here’s a documentation theme built with it.
- A simple, sleek, fast Pastebin clone built with Deno and Fresh. (Source here.)
- This open source Hacker News API built with Deno and Hono.
- We’ve mentioned this project before, but its worth mentioning again. kvdex, a high level wrapper on Deno KV, gets another minor release, this time offering cron jobs, queue listeners at database and collection levels, and more convenience methods to make using KV easier than ever.
For more projects and resources (or if you’d like to share yours), join the Discord’s #showcase channel.
Other Deno updates
Aside from the big updates above, we’ve shipped a bunch of other resources. Check them out below:
- Now that npm specifiers are supported on Deno Deploy, here’s a rundown of the State of Web Frameworks on Deno
- How do you design a performant distributed database solution with atomicity? We dive into technical tradeoffs in “How We Built Deno KV using FoundationDB”
- Kevin Whinnery, Kyle Kelley, and Elijah Meeks discuss the possibilities of using Deno in Jupyter notebooks in this livestream (YouTube)
- Kyle Kelley demos using ChatGPT in Jupyter notebooks (YouTube)