SDK v4.0 release
Makeswift SDK v4.0 is now available with TypeScript-first APIs, improved component registration, and better Next.js App Router support.
Highlights
- TypeScript-first — All APIs are now fully typed with generics support
- New
registerComponentAPI — Simplified component registration with better prop type inference - App Router support — First-class support for React Server Components and the Next.js App Router
- Smaller bundle — 35% reduction in client-side JavaScript
Breaking changes
- Dropped support for Next.js 12 and below
MakeswiftProviderhas been renamed toMakeswiftRoot- The
runtimeprop on page components has been removed in favor of automatic detection
See the migration guide for details.