星期二 04 下午 四月 29o 2025
Koa 3.0, Node 22.15.0, and a V8 boost
#576 — April 29, 2025
Together with
Koa 3.0: The Expressive HTTP Middleware Framework — Koa first appeared over a decade ago as a ‘next-generation’ Web framework that shared some of the lineage (and team) of Express.js, but leaning on more modern JavaScript features and ideas of the time. While Express has been making a comeback recently, Koa has progressed too and offers a compelling alternative. v3.0 release notes.
Koa contributors
Node v22.15.0 (LTS) Released — With over 300 commits, this is a meaty update for the most up to date LTS release of Node, though with no huge features. You can now use system certificates on Windows and macOS, numerous dependencies are updated, doc tweaks, and process.execve
makes an appearance.
Ulises Gascón
🍜 Tonkotsu Is a Natural Language IDE for JS & TS Developers — Write out your work in bullet points and delegate to Tonkotsu. You’re the tech lead and approver. We just started our FREE early access program and want to hear directly from early adopters. Sign up today.
Tonkotsu sponsor
IN BRIEF:
⏰ A reminder that Node.js v18 reaches its ‘End-Of-Life’ tomorrow! There is an ongoing commercial support option, but if you can upgrade to Node v22, now’s the time.
In related news, Node.js v23 is now in ‘maintenance’ mode with no planned further releases. v24 is due to land soon, though, and will become the new ‘Current’ release.
Bun continues with its march to Node.js compatibility with 100% of the Node.js tests for the events
module now passing.
In other Bun news, Bun has a llms-full.txt
file of plain text documentation that can be fed into LLMs to help you work with Bun using AI agents, etc.
Vercel Functions that use Node.js can now detect cancelled requests and stop execution before completion.
The Node.js Test CI Security Incident Explained — The Node.js project recently experienced a critical security incident with its test CI infrastructure. Attackers exploited a flaw in the Jenkins pipeline and this post goes into detail about how it came about and was resolved.
Node.js Technical Steering Committee
Giving V8 a Heads-Up: Faster Startup with Explicit Compile Hints — Not Node specific but a look at a V8 optimization that may become relevant in time. Explicit Compile Hints let you direct V8 to eagerly compile specific files as a way to speed up startup. It ships with Chrome 136.
Marja Hölttä
📄 A Decade of Impact: How Our npm Packages Hit 1 Billion Downloads and Shaped JavaScript – A bold title for sure, but with a neat story behind it. Forward Email
📄 Making a Static Site Generator Even Smaller using async-tree
Jan Miksovsky
📄 How To Write Unit Tests in Node with Mocha Antonello Zanini
🛠 Code & Tools
Seyfert: A Framework for Building Discord Bots — Create bots for the popular chat system starting from bots that respond to simple commands up to creating components and getting user input. Started life being Node only but recent versions support Deno and Bun too. GitHub repo.
socram03
Demo: Find & Fix Errors in Your App With Sentry — See how Sentry can help catch Node errors, spot slowdowns, and ship cleaner code in this 25-min demo (hosted by a real human who’s broken plenty of apps). Save your spot.
Sentry sponsor
Scala.js 1.19.0: Bringing Scala and JavaScript Together — Scala is a powerful language that has grown beyond its JVM roots to also have JavaScript and native runtimes. Scala.js is a Scala to JS compiler and the homepage has some neat code and feature comparisons.
Scala.js Team
🤖 OpenAI Node 4.96 – The official Node library for OpenAI’s API. Adds support for the new gpt-image-1 model.
Nest 11.1 – Popular Node.js framework for building enterprise-grade apps.
Electron 36.0 – The cross-platform desktop app framework.
Mongoose 8.14 – Popular MongoDB object modeling library.
file-type 20.5 – Detect the file type of a file, stream, or data.
node-argon2 0.43 – Bindings for the Argon2 hashing algorithm.
Middy 6.2 – Node.js AWS Lambda middleware engine.
Jasmine 5.7 – Testing framework for browsers & Node.
📊 Chartbrew 4.0 – Create live reporting dashboards.
pnpm 10.10 – Fast, space efficient package manager.
📢 Elsewhere in JavaScript
A roundup of some other interesting stories in the broader JavaScript landscape, in case you’ve missed them:
I’ve been dabbling with a little C# recently and enjoyed this TypeScript is Like C# guide oriented largely around showing TypeScript/JavaScript vs C# examples of doing the same things.
I was intrigued to see this experiment of using DuckDB-WASM from JavaScript to create a basic ‘3D’ game. This sort of integration could easily be used for more practical data-processing ends.
The latest version of the popular creative coding library p5.js 2.0 was released recently – it’s being rolled out very slowly, though, as it’s such a major upgrade.
With Deno 2.3 just around the corner, the Deno team shared a few updates on recent Deno improvements.
If you want to create completely free software for others to use, static HTML and JavaScript is the best approach says Simon Willison.
You can now use JSR packages with pnpm and Yarn.
Got a link for us? Reply and tell us. We can’t include everything but we’ll look at anything you send. Thanks!
Sponsorship: Email [kristina@cooperpress.com](mailto:kristina@cooperpress.com)
for details.
Published by Cooper Press Ltd.
Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom
#576 — April 29, 2025
Together with
Koa 3.0: The Expressive HTTP Middleware Framework — Koa first appeared over a decade ago as a ‘next-generation’ Web framework that shared some of the lineage (and team) of Express.js, but leaning on more modern JavaScript features and ideas of the time. While Express has been making a comeback recently, Koa has progressed too and offers a compelling alternative. v3.0 release notes.
Koa contributors
Node v22.15.0 (LTS) Released — With over 300 commits, this is a meaty update for the most up to date LTS release of Node, though with no huge features. You can now use system certificates on Windows and macOS, numerous dependencies are updated, doc tweaks, and process.execve
makes an appearance.
Ulises Gascón
🍜 Tonkotsu Is a Natural Language IDE for JS & TS Developers — Write out your work in bullet points and delegate to Tonkotsu. You’re the tech lead and approver. We just started our FREE early access program and want to hear directly from early adopters. Sign up today.
Tonkotsu sponsor
IN BRIEF:
⏰ A reminder that Node.js v18 reaches its ‘End-Of-Life’ tomorrow! There is an ongoing commercial support option, but if you can upgrade to Node v22, now’s the time.
In related news, Node.js v23 is now in ‘maintenance’ mode with no planned further releases. v24 is due to land soon, though, and will become the new ‘Current’ release.
Bun continues with its march to Node.js compatibility with 100% of the Node.js tests for the events
module now passing.
In other Bun news, Bun has a llms-full.txt
file of plain text documentation that can be fed into LLMs to help you work with Bun using AI agents, etc.
Vercel Functions that use Node.js can now detect cancelled requests and stop execution before completion.
The Node.js Test CI Security Incident Explained — The Node.js project recently experienced a critical security incident with its test CI infrastructure. Attackers exploited a flaw in the Jenkins pipeline and this post goes into detail about how it came about and was resolved.
Node.js Technical Steering Committee
Giving V8 a Heads-Up: Faster Startup with Explicit Compile Hints — Not Node specific but a look at a V8 optimization that may become relevant in time. Explicit Compile Hints let you direct V8 to eagerly compile specific files as a way to speed up startup. It ships with Chrome 136.
Marja Hölttä
📄 A Decade of Impact: How Our npm Packages Hit 1 Billion Downloads and Shaped JavaScript – A bold title for sure, but with a neat story behind it. Forward Email
📄 Making a Static Site Generator Even Smaller using async-tree
Jan Miksovsky
📄 How To Write Unit Tests in Node with Mocha Antonello Zanini
🛠 Code & Tools
Seyfert: A Framework for Building Discord Bots — Create bots for the popular chat system starting from bots that respond to simple commands up to creating components and getting user input. Started life being Node only but recent versions support Deno and Bun too. GitHub repo.
socram03
Demo: Find & Fix Errors in Your App With Sentry — See how Sentry can help catch Node errors, spot slowdowns, and ship cleaner code in this 25-min demo (hosted by a real human who’s broken plenty of apps). Save your spot.
Sentry sponsor
Scala.js 1.19.0: Bringing Scala and JavaScript Together — Scala is a powerful language that has grown beyond its JVM roots to also have JavaScript and native runtimes. Scala.js is a Scala to JS compiler and the homepage has some neat code and feature comparisons.
Scala.js Team
🤖 OpenAI Node 4.96 – The official Node library for OpenAI’s API. Adds support for the new gpt-image-1 model.
Nest 11.1 – Popular Node.js framework for building enterprise-grade apps.
Electron 36.0 – The cross-platform desktop app framework.
Mongoose 8.14 – Popular MongoDB object modeling library.
file-type 20.5 – Detect the file type of a file, stream, or data.
node-argon2 0.43 – Bindings for the Argon2 hashing algorithm.
Middy 6.2 – Node.js AWS Lambda middleware engine.
Jasmine 5.7 – Testing framework for browsers & Node.
📊 Chartbrew 4.0 – Create live reporting dashboards.
pnpm 10.10 – Fast, space efficient package manager.
📢 Elsewhere in JavaScript
A roundup of some other interesting stories in the broader JavaScript landscape, in case you’ve missed them:
I’ve been dabbling with a little C# recently and enjoyed this TypeScript is Like C# guide oriented largely around showing TypeScript/JavaScript vs C# examples of doing the same things.
I was intrigued to see this experiment of using DuckDB-WASM from JavaScript to create a basic ‘3D’ game. This sort of integration could easily be used for more practical data-processing ends.
The latest version of the popular creative coding library p5.js 2.0 was released recently – it’s being rolled out very slowly, though, as it’s such a major upgrade.
With Deno 2.3 just around the corner, the Deno team shared a few updates on recent Deno improvements.
If you want to create completely free software for others to use, static HTML and JavaScript is the best approach says Simon Willison.
You can now use JSR packages with pnpm and Yarn.
Got a link for us? Reply and tell us. We can’t include everything but we’ll look at anything you send. Thanks!
Sponsorship: Email [kristina@cooperpress.com](mailto:kristina@cooperpress.com)
for details.
Published by Cooper Press Ltd.
Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom
发布者