Starting today, Node.js version 22 is available as the runtime for your builds and Vercel Functions leveraging Node. To use version 22, go to Project Settings > General > Node.js Version and select 22.x
. This is also the default version for new projects.
Node.js 22 highlights:
Improved Stream performance: higher default water mark provides performance boosts across the board at the cost of slightly higher memory usage
Improved AbortSignal performance: optimized AbortSignal creation improves performance in fetch and the test runner
Improved Buffer performance: significant improvements to the
Buffer.copy
andBuffer.write
methods lead to overall performance boostImproved CJS interop with ESM: added support
require()
ing synchronous ESM graphs
The current version used by Vercel is 22.11.0 and will automatically update minor and patch releases. Therefore, only the major version (22.x
) is guaranteed.
Read our Node.js runtime documentation to learn more.