One significant change in this release is the discontinuation of support for MSVC (Microsoft Visual C++) for Windows compilation, requiring developers to use ClangCL instead. This shift may necessitate adjustments for those accustomed to using MSVC in their development processes. The AsyncLocalStorage API has also transitioned to using AsyncContextFrame by default, providing a more efficient implementation that enhances performance and reliability for complex asynchronous tasks.
The URLPattern API is now globally available, simplifying the process of implementing URL pattern matching similar to regular expressions for strings. Furthermore, improvements have been made to the experimental Permission Model, with the flag changing from `--experimental-permission` to `--permission`, indicating its progression towards stability.
The test runner module has been enhanced to automatically wait for subtests to finish, thus streamlining the testing process and reducing the likelihood of encountering unhandled promise errors. Lastly, Node.js v24 has integrated Undici 7, which offers various improvements to the HTTP client, enhancing its capabilities and performance.
As Node.js 24 will be the "Current" release for the next six months before entering long-term support (LTS) in October, developers are encouraged to explore the new features and consider their potential impact on existing and future applications.
In conclusion, Node.js v24.0.0 represents a significant step forward for the platform, with a focus on performance, security, and usability improvements that enhance the overall development experience. Developers should take advantage of these updates to optimize their applications and stay ahead in the evolving landscape of JavaScript development
Node v24.0.0 released
Node 24 has been released, incorporating several important updates. The V8 JavaScript engine has been enhanced to version 13.6, and npm has been upgraded to version 11. Node 24's release has discontinued support for MSVC, requiring the use of ClangCL for Windows compilation. The AsyncLocalStorage API has adopted AsyncContextFrame as its default, enhancing performance and reliability for complex use cases. The URLPattern API is now available globally, offering an advanced pattern-matching system for URLs. The experimental permission model has been improved, and the test runner module can now handle subtests, making testing easier and reducing mistakes related to unhandled promises. Undici 7 has also been incorporated, enhancing the capabilities of the HTTP client.