Packages

@next/swc-wasm-web

16.4.6 · 9 Nov 20268.3k / weekRepositoryHomepagenpmAtom feed

Your version

14.2.8

4 Sep 2024Where it was published

14.2.33 is the newest release of 14.x.

In short

11 new9 fixed8 changed

Release note

What's Changed

Note

This release is backporting bug fixes and minor improvements. It does not include all pending features/changes on canary.

Support esmExternals in app directory

  • Support esm externals in app router

  • Turbopack: Allow client components from foreign code in app routes

  • Turbopack: Add support for esm externals in app dir

  • Other related PRs: #66990 #66727 #66286 #65519

Reading cookies set in middleware in components and actions

  • Initialize ALS with cookies in middleware

  • Fix middleware cookie initialization

  • Ensure cookies set in middleware can be read in a server action

  • Merged middleware cookies should preserve options

Metadata and icons

  • Support facebook-specific metadata (fb:app_id, fb:admins) in generateMetaData

  • Always collect static icons for all segments

  • Fix favicon merging with customized icons

  • Warn metadataBase missing in standalone mode or non vercel deployment

Parallel routes fixes

  • Fix missing stylesheets when parallel routes are present

Draft mode and edge improvements

  • unstable_cache should not cache new result in draft mode

  • Add draft mode flag for multi-zone

  • Fix edge preview props are not matched with cookie

  • Other related PRs

next/image fixes

  • Allow external image urls with _next/image pathname to be rendered via Image component

Server actions improvements

  • Optimize server actions

  • Apply optimization for unused actions

  • Improve SWC transform ID generation

Other changes

  • Ensure we match comment minify behavior between terser and swc

  • Send initialCanonicalUrl in array format to prevent crawler confusion

Create-next-app updates

  • Enable @typescript-eslint/recommended in create-next-app --typescript

  • Update create-next-app template CSS

  • Update create-next-app template CSS

  • Update create-next-app template

  • Add font antialiasing to templates

  • Move create-next-app public/ assets from local folder→ remote URL

  • Use classnames to set font family in Tailwind create-next-app templates

  • Other related PRs


Huge thanks to everyone who contributed to this release:
@abhi12299, @delbaoliveira, @eps1lon, @ForsakenHarmony, @huozhi, @ijjk, @JoshuaKGoldberg, @leerob, @lubieowoce, @Netail, @ronanru, @samcx, @shuding, @sokra, @stylessh, @timfuhrmann, @wbinnssmith, @wyattjoh, @ypessoa, @ztanner

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.