@next/swc-wasm-web
16.4.6 · 9 Nov 20268.3k / weekRepositoryHomepagenpmAtom feed
13.5.11 is the newest release of 13.x.
In short
7 breaking1 removed51 new5 faster67 fixed142 changed162 internal
- Breaking
Update minimum required Node.js version to v14
- Breaking
Rename
next/imagetonext/legacy/image& renamenext/future/imagetonext/image - Breaking
Enable newNextLinkBehavior
- Breaking
Remove
target: serverless - Breaking
Remove
browsersListForSwcand change default tolegacyBrowsers: false - Breaking
Remove React 17
- Breaking
Bump minimum Node.js version to 14.6.0
- Removed
Remove deprecated
webpack5config option
Release note
Core Changes
Use resolved url in flight entry loader
Handle redirects in new router
Combine redirect function in new router
InferGetServerSidePropsType and InferGetStaticPropsType
Update to leverage AsyncLocalStorage for app static handling
Change flight querystring to header
Improved bundling strategy for the server graph
Remove unnecessary experimental flag
next-swc: Add next-font-loaders to crates/core
Add next font package
Strip internal pages for pagesDir in app edge ssr
Add support for font loaders
Set
__NEXT_NEW_LINK_BEHAVIORin Jest tests whennewNextLinkBehavioris trueAdd handling for 404 in new router
Fix alias paths for bundling
Fix required server files for font loader manifest
Add local font loader
Update error handling during app static generation
Handle redirect in same way as 404 in new router
Allow export const in font loader
Update app-router options type
Flight client navigation error
Use startTransition for hydrateRoot to opt-in to non-blocking hydration
Add
optoutServerComponentsBundleoptionApply #40833
Upgrade react@experimental
Update handling of redirect/404 throw to cross server->client boundary
Update pre-compiled
Update font loader output path
Disable head element lint rule for appDir
Should resolve esm external module imports on server
edge-ssr: Bundle next/dist as ESM for better tree-shaking
Improve types for
<Image />andresponseLimitEnsure skipClientCache is honored for router.push
Fix bundling and module resolution in the server layer
Handle loading returning undefined
Fix SWC loader ignore for the server layer when Babel is used
Code refactoring for webpack-config
Rename 404 -> not-found for new router
Remove reducer from server bundle
Serialize custom config to middleware-manifest
Font loader support in app
experimental: Option to polyfill
fetchusingundiciin Node.js <18Update return shape of generateStaticParams
Remove legacy transform code
Revert "edge-ssr: bundle next/dist as ESM for better tree-shaking
Update to use HEAD request for middleware query hydration
edge-ssr: Bundle next/dist as ESM for better tree-shaking
Rename flight parameters to rsc/next
Remove outdated warning
misc: Add MANGLING_DEBUG option
Fix wrong code condition used when bundling the server
Move pagesDir handling out of wrappedRender
Fix unused CSS module imports are tracked on the server
Skip creating virtual app client entry for pages
Add support for fallback font and css variable for font/local
Use throw to trigger Suspense to avoid use() in reducer warning
Docs for experimental font optimization
adjustFontFallbacksDrop legacy React DOM Server in Edge runtime
misc: Make useReducerWithDevtools noop on server
Remove reload on serverComponentChanges in pages
Alias all client, shared, pages dist assets for esm
Add
with-xataexampleMake sure polyfills are added for browsers without module support
Move handling of navigation to pages from new router
Adding experimental size adjust based option
Improve experimental feature naming
Full page reload when navigating to new root layout
Use deterministic module IDs for server
Accept variable prop in google font loader
Font loader call json parsing fix
Skip pagesDirRules when pagesDir is not present
Fix experimental undici warning
Temporarily disable prefetch in new router
Add conflicting app and page error
Rename flush effects to server inserted html
Check required root layout tags
Lint files with
mjs,mts,cjsandctsextension by defaultImprove error messages of server compilation
Fix edge function req.url handling with rewrite
Ensure entry tracing applies for app correctly
Add attribution to web vitals
- Breaking
Update minimum required Node.js version to v14
Handle hmr for edge ssr in app dir
Remove unnecessary
moduleIdoptionApply experimental configs for middleware
Fix reading edge info for app paths
Fix warning messages for next export
Refactor app dir related flags
Fix prefetch for new router
Disable built-in css-in-js transform on server layer
Fix latest experimental react and experimental-edge and unpin test versions
Font loader with babel error
Remove hook_optimizer transform
Update edge runtime to 1.1.0-beta.37
Alias next/dynamic to lazy impl for appDir
Do not bundle
react-domin the SSR buildAdd response stream errorhandling in edge-function-runtime
App font file preload
Fix app static generation cases
Enabel appDir when flag and dir existed at the same time
Font loaders next config shape
Refactor dev overlay into hot reloader
middleware: 'instanceof Function' is dynamic code false-positive
Snyk upgrade 2701033
ts: Relax
AppPropsto not require genericRecover from font loader error in dev
Handle
ason next/link with new routerLoad
beforeInteractivescripts properly without blocking hydrationAdd test for link back to original page
Local font files adjust fallbacks
Update middleware query hydration handling
Fix NextUrl trailing slash normalize for data route
Global layouts error boundary
image: Don't show placeholder warning in Jest
Handle error overlay for new router
standalone: Support
type: "module"Lazyload the edge runtime in NextServer
Add pretty error when image import is invalid format
Client component directive: use client
Fix middleware rewrite for _next/data
Add codemods for
next/imageFix middleware URL normalize case
Update
next/imagecodemod to handlerequire()Ensure RSC paths are normalized in minimal mode
Refactor error overlay for new router
Inline httpproxy usage
Proper error if middleware or api/route not return a Response
Fix CSS imports tree-shaking
Ensure content is kept rendered below the error overlay on build errors in new router
Fix
onLoadprop innext/future/imageAdd exports for new router
App font loader tree shaking
Lazy eval headers from the requestStore
Disable css cache busting in production
Upgrade next-swc-napi to NAPI-RS v2
Fix prefetching for static app paths
Lazy evaluate more modules
- Breaking
Rename
next/imagetonext/legacy/image& renamenext/future/imagetonext/image Fix edge workers being re-used unexpectedly
Remove edge shared deps
Upgrade React experimental
Update edge runtime to 1.1.0-beta.39
Update flakey dev AMP tests
Add new diagnostics
Move root layout validation
Fix middleware dynamic route param on query hydration
Don't show error overlay for not found and redirect
Change useSearchParams to URLSearchParams
#41392: Improve cache busting inject performance
Rename reload to refresh in new router
Disable isNavigatingToNewRootLayout
app-render: Make css and font respect assetPrefix
Ignore serverComponentChanges in pages
Include frameworks in main-app
Update
next/imagedocs and examplesFix useSearchParams comment
stream: Allows body larger than 16 KiB with middleware
41456: Check src/app folder too in getHasAppDir
- Breaking
Enable newNextLinkBehavior
Avoid using the CSS href as the link tag key
Fix global css being marked as side effect free
Append the fragment in NextUrl.toString()
Add vary header to fix incorrectly caching RSC as HTML response
Enable swcMinify by default
Move fetch revalidate config under next options
Fix app sc_client componet HMR server-side
ts:
Cookies->NextCookiesUpdate edge runtime to 1.1.0-beta.40
- Breaking
Remove
target: serverless Fix next-app-loader bug in windows
Prebundle react for appDir
- Breaking
Remove
browsersListForSwcand change default tolegacyBrowsers: false Mark styled-jsx as client-only package
Fix case where dispatch was missing
Upgrade react-server-dom-webpack and precompiled assets
Improve type checking
Create hash digest for errors in app in production
Allow user directory with
styled-jsxprefix innext devFix
next/imagesvg blur placeholder withfillAdd TypeScript plugin
Update RSC detection in minimal mode and fix config collection
Add back() and forward() to new router
Update page config APIs
Improve server bundling strategy
Update error message for invalid react-dom/server imports
Support overriding request headers in middlewares
Check root layout change on client
Full remaining path in selected layout segment
Add back/forward test for new router
Refactor path logic in router + add LRU cache
Add transpilePackages option
Font loader types
Updating size-adjust calculation
Fix missing JSON.stringify in loader
Root layout head not required
edge: Adds AsyncLocalStorage support to the edge function sandbox
Add support for
images.loaderFileconfig- Breaking
Remove React 17
Update
next-image-experimentalcodemod to handle loadersFont loader default config
Disable using prebundled of react for appDir
Refactor hot-reloader client for app
Enable ReactRefreshLogBox-builtins.test.ts, remove loader from import trace
layout: Add build status for app routes
Change
data-nimgattribute onnext/imageUpdate to handle correct react version with app
Improve errors for invalid component export
Add experimental warning note
Bundle ssr client layer excepts react externals
Improve error message for wrong props
- Removed
Remove deprecated
webpack5config option Improve error messages
Create root layout
Ensure we properly normalize /index in minimal mode
Update params of PageProps to string map
Expose AsyncLocalStorage on global for react
Update URL malformed edge error
Update to latest react experimental
Revert "Add experimental warning note"
useSelectedLayoutSegment -> useSelectedLayoutSegments, add useSelectedLayoutSegment with previous behavior
Ensure
AsyncLocalStoragefor static generation is shared for client & serverApp dir sass
Disable esm resolving for appDir and alias react
Print error when next dev has conflicting app & page
Support next option for Request
Move redirect and notFound to navigation exports
Font subsets in function call
Include resolved external package dirs
Fail on prerendering with dynamic error config
Update precompiled react to next channel
Emit VSCode settings for TypeScript
Upgrade Edge Runtime v.1.1.0
Fix module trace error messages to not include queries
Fix ignored file path
Fix static generation and crawler requests
Add error if
appdetected but config is missingAdd default not found template
Remove unneeded types
Add message for
appDirfeedbackSet a better type for the default image loader
Fix edge entry layer resolution bug
Dont apply existing externals path changing to rsc layers
Pathname and search params SSG
Update react next channel
Font description and error messages
Updating avg width metrics for google fonts
- Breaking
Bump minimum Node.js version to 14.6.0
Throw error child in <Link>
Only import dev overlay for dev mode
Add initial head handling in app
Fix revalidate during dev
Fix no-store test case
Ensure async_hooks are not resolved for client
Make ship happen
Add head handling
Update async storage fix
Example Changes
Contentful webhook body parse.
Revert "Fix: Contentful webhook body parse."
[slug].tsx
Misc Changes
Add test case for /404 client transition
Fix flaky full reload hmr tests
Add missing release stats config for app
misc: Add benchmarking script for edge rendering
Add timeout to playwright setup job
Add test for rewrite from pages to app with existing pages path
Fix PR stats from experimental react
Add more test job timeouts
Fix errors entry in codeowners
Enable passing tests
Add test for link to catchall route in new router
misc: Add minimal server bench setup
Support aarch64 Linux with page size >= 16k
Add npm to
create-next-appenvironment package manager parsercna: Add template
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.