What's Changed
Note
This release is backporting bug fixes. It does not include all pending features/changes on canary.
Support esmExternals
in app directory
- Support esm externals in app router (#65041)
- Turbopack: Allow client components from foreign code in app routes (#64751)
- feat(turbopack): add support for esm externals in app dir (#64918)
- Fix esm property def in flight loader (#66990)
- Revert "Fix esm property def in flight loader" (#66727)
- Fix esm property def in flight loader (#66286)
- Remove rsc esm client module extra exports (#65519)
Reading middleware cookies during render
- initialize ALS with cookies in middleware (#65008)
- fix middleware cookie initialization (#65820)
- ensure cookies set in middleware can be read in a server action (#67924)
- fix: merged middleware cookies should preserve options (#67956)
Draft mode and edge improvements
- fix: unstable_cache should not cache new result in draft mode (#67772)
- Add draft mode flag for multi-zone (#68997)
- Fix edge preview props are not matched with cookie (#67779)
- Re-land build(edge): extract buildId into environment (#65426)
- Drop edge prerender manifest (#67787)
- Ensure edge prerender-manifest is minimal (#64946)
- Freeze loaded manifests (#64313)
- Shared Revalidate Timings (#64370)
Metadata and icons
- support facebook metadata (#65713)
- Always collect static icons for all segments (#68712)
- Fix favicon merging with customized icons (#67982)
- Warn metadataBase missing in standalone mode or non vercel deployment (#66296)
Parallel routes fixes
- fix missing stylesheets when parallel routes are present (#69507)
next/image
fixes
- Allow external image urls with _next/image pathname to be rendered via Image component (#69586)
Server actions improvements
- optimize server actions (#66523)
- Apply optimization for unused actions (#69178)
- Improve SWC transform ID generation (#69183)
Other changes
- Ensure we match comment minify behavior between terser and swc (#68372)
- send initialCanonicalUrl in array format to prevent crawler confusion (#69509)
Create-next-app updates
- update next-env.d.ts in examples via scripts/check-examples.sh
- [create-next-app]: add font antialiasing to templates (#67425)
- Move
create-next-app
public/ assets from local folder→ remote URL (#66931) - docs: Refactor
next
andcreate-next-app
CLI pages (#68899) - fix(create-next-app): link to app dir docs in next-env.d.ts in app dir templates (#68534)
- Add typechecking test for all entrypoints (#64478)
- chore(cna): add missing period (#69021)
- feat: enable @typescript-eslint/recommended in create-next-app --typescript (#52845)
- Test lint config after first-time setup (#67146)
- [lint] Disable linting using project config for tests (#66145)
- Use classnames to set font family in Tailwind create-next-app templates (#66374)
- Update create-next-app template CSS (#66233)
- Update
create-next-app
template CSS (#66043) - Update create-next-app template (#65803)
Full Changelog: v14.2.7...v14.2.8