As an odd-numbered release, Node 19 will never become an ‘active LTS’ version, but sits as the ‘current’ release that gets all the tastiest new features until early 2023. It then reaches ‘end of life’ on June 1, 2023. “If you’re interested in getting access to features early, Node.js 19 is ready,” says Rafael Gonzaga of the core team.
New features this time around include:
Watch mode. An experimental
1
--watch
Nodemon-esque mode for ‘watching’ files and restarting the process when imported files change. (Node 18.11.0 (LTS) also gains this feature.)
HTTP KeepAlive is now enabled by default. It’s always been an option but now it’s set to
1
true
by default. The default duration is 5 seconds.
V8 10.7. Node bumps up to the latest version of the V8 engine. It’s not a big jump but does introduce
1
Intl.NumberFormat
The WebCrypto API is now stable (with the exception of Ed25519, Ed448, X25519, and X448).
Some other dependency upgrades, such as to npm 8.19.2 and llhttp 8.1.0.
As things stand, we’re in the odd position of Node 18.x and 19.x both being the ‘Current’ release, but Node 18 begins its role as an LTS release on October 25. More info in the release policies here and the OpenJS Foundation has extra detail in its release post too.
▶ A Next.js Crash Course — There are a lot of such videos, but this is a well recorded and up to date one so it might help you get the lay of the Next.js land if you’re just starting out with it. (2 hours 30 minutes)
Anson Foong
Web Scraping Google Maps with Puppeteer — We’d be surprised if you’d get away with this for long given there’s an official API, but it’s always interesting to see how it’s done.
Javet 2.0.0: Embed Node and V8 in Java Apps — Lets you spin up V8 interpreters or full Node.js runtimes within JVM-based apps. There’s a slide presentation to sell you on the idea and demonstrate how the integration works. (The name Javet comes from Java, V, and Eight.)
Find Tech Jobs with Hired — Create a profile on Hired to connect with hiring managers at growing startups and Fortune 500 companies. It’s free for job-seekers.
#550 — October 1, 2024 Read on the Web µExpress / Ultimate Express: Like Express, But Faster? — It’s not Express, but a reimplementation of Express’s functionality with API compatibility. Based on µWebSockets, and with Read more…
#549 — September 24, 2024 Read on the Web The Nine Node Pillars: Principles for Doing Node Right in the Enterprise — An interesting resource from a group of prolific and productive Node.js contributors. It’s Read more…
#548 — September 17, 2024 Read on the Web nano-spawn: Tiny Execa-Inspired Process Execution — If you’re familiar with Sindre’s powerful Execa for running commands from a Node app in a robust manner, 1nano-spawn offers Read more…
0 Comments