v0.0.32
What's Changed
New Features
- Added support for
next/dist/*internal imports with automatic .js shim aliases generation - Full
next/compat/routersupport is now available - The
vinext checkcommand now flags usage of__dirnameand__filenameand suggests ESM path APIs instead - Added
basePathandlocaleproperties toNextURLfor better compatibility
Bug Fixes
- Fixed serving of public directory files after middleware execution in production builds
- Page extensions are now properly used for middleware files
- Fixed
getStaticPropsrevalidate parsing to be scoped only to the exported function - Improved
next/headSSR serializer to validate attribute names Set-Cookieheaders are now properly stripped from fetch cache entries- Next.js config file loading now throws errors when it fails instead of failing silently
- Fixed
pageExtensionshandling in prerender and excluded underscore-prefixed API files - Enhanced
vinext checkscanner to work correctly with shimmed modules
Internal / Chores
- Switched back to
setup-vp@v1for CI - Migrated
ssrLoadModuleto usemoduleRunner.import - Marked
clientReferenceDedupas experimental and added fumadocs example
Contributors
@southpolesteve
@james-elicx
@Boyeep
@hyoban
@NathanDrake2406