Today we’re releasing a new version of the Arcjet security SDK for Next.js with performance improvements and full compatibility with Next.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 the waitUntil function to report decisions to our API fully asynchronously. This will work on non-Vercel Next.js deployments when the unstable_after API becomes stable.
- Our SDK now uses the 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 the new Next.js Form component with
use server
in the form action, making it much easier to build 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 at Next.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 your package.json
to 1.0.0-alpha.28
.
We continue to support Next.js 14 so you can upgrade in your own time.
Any problems? Join our Discord or contact support.
Top comments (0)