New SDK release for Next.js 15
Today we’re releasinga new version of theArcjet security SDK for Next.js with performance improvements and full compatibility withNext.js 15.
Next.js 15 introduces several great new features that we’ve been able to take advantage of to improve how Arcjet protects your apps.
- We now detect if you’re running on Vercel and if so, use thewaitUntil function to report decisions to our API fully asynchronously. This will work on non-Vercel Next.js deployments when theunstable_after API becomes stable.
- Our SDK now usesthe new async request APIs to work with Next.js’s new incremental rendering & caching model.
- Server actions are now natively supported so you can start using thenew Next.js Form component with
use server
in the form action, making it much easier tobuild simple forms that are protected by Arcjet. - This release also includes improvements to our sensitive information detection algorithms plus changes to reduce overall memory usage and data transfer when reporting decisions taken locally.
We'll also be atNext.js Conf in San Francisco tomorrow (Oct 24) - stop by our booth to chat about anything related to Arcjet and security!
How to upgrade
There are no changes to the API you use to interact with Arcjet, so upgrading should just be as simple as updating yourpackage.json
to1.0.0-alpha.28
.
We continue to support Next.js 14 so you can upgrade in your own time.
Any problems?Join our Discord orcontact support.
Top comments(0)
For further actions, you may consider blocking this person and/orreporting abuse