dev-resources.site
for different kinds of informations.
New SDK release for Next.js 15
Published at
10/23/2024
Categories
changelog
Author
David Mytton
Categories
1 categories in total
changelog
open
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.
Articles
12 articles in total
The Wasm Component Model and idiomatic codegen
read article
Nosecone: a library for setting security headers in Next.js, SvelteKit, Node.js, Bun, and Deno
read article
Multi-framework docs with Astro Starlight
read article
Announcing the Arcjet NestJS & Remix adapters
read article
Next.js server action security
read article
Rethinking our REST API: Building the Golden API
read article
Building an email address parser in Rust with nom
read article
Hacking (and securing) GraphQL
read article
How we achieve our 25ms p95 response time SLA
read article
Security Concepts for Developers: Race Condition Attacks
read article
New SDK release for Next.js 15
currently reading
Podcast: Security is moving to the frontend?!
read article
Featured ones: