@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
1 breaking1 removed66 new1 faster90 fixed98 changed120 internal
- Breaking
Bump minimum ts version to 4.5.2
- Removed
Remove experimental fontLoaders option from next.config.js
Release note
Core Changes
Add Zod and router state validation
Support default arrow function export in server boundary #46977
Generate fixed route path for favicon.ico
Update turbopack
Update next/font/google data
Added jsdom & canvas to the external packages list - fixes #46893
Add auto-detection of image/x-icon content type
Exclude 'mdx-bundler' from being bundled in server components
Add /route subpath to metadata static routes
Ensure router.refresh() matches revalidatePath('/') behavior
Reorganize client references manifest
Opt-in to dynamic rendering when reading searchParams
Fix CSS not being bundled in app dir
standalone: Allow configuring KEEP_ALIVE_TIMEOUT via env var
i18n Improvements
Support manifest.json static and dynamic route
Ensure config and fetch revalidate are honored
Add
fetchPrioritytonext/imageSplit app-render functions into separate files
Typo in output:export error messages
Handle different cases of React
fetchPriorityLimit the api surface of
utilParallel routes: fix duplicate dev warning
next/font/local prep: compartmentalize next/font/google
Improve OTEL spans naming
Fix invalid comment in parseParameter function
Add searchParams to leaf cache key
Remove duplicated if statement
Add a .catch to shared router for ssg fetching.
Parallel routes: fix nested routes
Remove unnecessary await in
base-serverWarn about default exports with App Routes
Add better-sqlite3 to server external packages
Change App Route Route Handler signature
Calling turbopack from the next build CLI
Update Turbopack to turbopack-230321.1
Parallel routes: fix HMR refetch issue
Fix bad route path for custom metadata routes
Fix POST fetch request cache heuristic in POST route handler
Only apply metadata dynamic image routes convention for app dir
Marks app paths in dev as supporting dynamic html
Add pretty error for
exportPathMapwithappdirSkip extra swc builds
Simplify moduleProxy alias
Skip warning if there is app directory for
no-html-link-for-pagesruleCatch redirect() in root layout
Add useParams()
Refactor ES chunk evaluate logic into a Runtime trait
Add more spans into OTEL instrumentation to wrap all user defined functions
Support HOC cases in server entries
Support dynamic routes for social images and icons
Fix build spinner in TTY env
Upgrade vendored React to
18.3.0-next-12a1d140e-20230321Add default meta tags to error page
Extend
not-found.jsto catch all unmatched routesAdd optional match support of rewrites and redirects in
typedRoutesSupport dynamic routes for social images and icons
turbopack: Implement streamed middleware
Fix twitter metadata info merging
Improve source mapping of console output and errors
Fix closure and rest params handling in SWC transform
Change
next buildto emit output withoutput: exportError during dev if returning
Responsein pages API routes in Node.js runtimeAdd content hash for dynamic og image routes
Update fetch cache memory handling
Add useReportWebVitals that makes use of web-vitals package
Ignore folders prefixed by underscore (_) in App Router
Finalize HOC support with server entries and add encodeReply & decodeReply
Locale fixes for App Directory
Fix useSelectedLayoutSegments including PAGE
Parallel routes: implement default route + fix bugs on navigation
Add http.route into root otel span
Typo in max cache size error message
Fix other case for useSelectedLayoutSegments
Fix error handling and hanging problems
Restore dynamic directory embedding
Remove head.js
Return null for useParams in pages
Clean up leftover loaders
next-types-plugin: Added support for Route Handlers
Add warning when deopting page into client rendering entirely
Integrating capsize latest
Rename app-render/index.tsx to app-render/app-render.tsx
Remove unused turbo dependencies
Add initial tree shaking refactorings
next/font/local support for Turbopack
Handle unknown platform triples in next-swc
Fix fetch cache config and fetch revalidates
Fix instrumentation not being called on edge in some cases
Implement automatic font fallback support for
next/font/localDocument various structs and methods in next/font
Fix race condition of invalidation
Add test case for nested imports
Underscore Handling Fixes
Move App Route handler logic into bundle
Revert "Move App Route handler logic into bundle"
Make sure the global not found route doesn't conflict with existing /not-found route
Fix robots.txt generation
Fix typescript errors in
next-coreExpose metadata types
Show most recent error first in turbopack error overlay
Move App Route handler logic into bundle
Handle
output: exportwithuse clientProvide Buffer polyfill to client and edge
Image
loaderFilewith edge runtimeUpdate vendored react to 18.3.0-next-85de6fde5-20230328
Improve type of
ExportPathMapnext-types-plugin: Remove unused imports
Resolve browser modules for edge api in turbopack
Revert "Update vendored react to 18.3.0-next-85de6fde5-20230328"
Fix
next-types-plugingenerated files forNode16/NodeNextRevert "Vendor @vercel/og and expose ImageResponse (#47657"
Handle empty
srcprop onnext/imageAdd not found boundary and move head cache to app router
Fix turbopack
_devPagesManifest.jsonon next-siteUpdate MetadataRoute to namespace
Provide default metadataBase for local and vercel deployment
Fix duplicated default metadata tags
Vendor @vercel/og and expose ImageResponse
Turbopack: Fix images.remotePatterns port/protocol serialization
Combine Route Handlers with Route Modules
next-swc: Add compile-time heap profiler flag
Add NEXT_RUNTIME process env to turbopack
Small fixes to copy of Turbopack errors
Correctly handle Set-Cookie headers
Support relative path for metadata alternates urls
Remove
next-corepackage.json dev scriptRestart static paths worker after finishing task
- Breaking
Bump minimum ts version to 4.5.2
Turobpack: Implement Streaming App/API rendering
Update app router filter handling
Improve error message pages for
output: exportAdd consistent import sorting/grouping to rustfmt
turbopack: Ensure ENV values are available in middleware
Fix skipMiddlewareUrlNormalize with i18n
Fix typo in error overlay
Provide full polyfill for process
Turbopack: Use
SharedErrorfor body streamingexport: Make static export work with worker_threads
Skip favicon.js for metadata
Fix module resolving error in tracer
Fix fetchCache config and On-Demand Revalidate handling
Add
computeWorkerKeyto the static optimization workernext-types-plugin: AddParamChecktype only forroute.tsfilesAdded tab and carriage to isWhitespace function to make robust
Fix prefetch only being applied once
Fix failing rust-check
Move modularize imports for next/server to next-swc
Add initial separated route resolving
Fix dev ipc request on node v16
Update render IPC handling
Fill route params for dynamic route metadata images url
Enable context caching for middleware/edge functions in dev
New app routes resolving logic for turbopack
Polish metadata warnings
Memory improvements to static workers
Hide internal fetches OTel traces in dev mode and assert duplicate OTel spans are present only in dev mode
turbopack: Support transform options
Update dev IPC request
Fix type plugin for NX workspaces
Change package path from
gitpkg.now.shtogitpkg.vercel.appTS plugin: ensure error and global-error files are client components
Decrease required open telemetry peer-dependency version
router: Implement route interceptions
Fix issue where NextServer.prepare wouldn't be called when deployed
Add missing
module.hot.acceptcall to server CSS modulesMark resolve issues inside a try block as warnings
Hide not ENOENT errors for not found in ipc server
Update react docs link
turbopack: Defer dev code evaluation until after page render IPC connects
Add test case for alias field
Add test case for ignore modules
Small refactoring to
build/index.tsCompare modules' layer when tracking server CSS changes
Extend type for streamEntrypoints
Add strict next head handling
ChunkingContext refactor pt. 1
Add dynamic parameter marker to router cache key
Vendor
react@experimentalunder anexperimentalReactflagAvoid duplicated error output
Add a warning when using implicit metadata
Fallback to localhost for metadataBase when it's used and missing
Fix app metadata in edge runtime
Auto-restart dev server when next.config.js changes
Unify Request types
Update search params/route params handling on deploy
turbopack: Add vary header to app routes
Check for null before reading value in useParams
Fix metadata nested twitter props rendering
Create unique route path for og under group routes
Allow turbopack HMR to recover from react errors without hard refresh
Implement
Routetype for router APIsIf prefetching detected as app route, pass "as" to handleHardNavigation instead of "url"
Update turbopack
Revert "update turbopack"
Update turbopack
Fix css applying for root not found
Fix code generation for loader tree
Interception routes: re-implementation
Parallel routes: return a 404 when a parallel route does not have a default page/do not match
Update normalize revalidate params for named matches
Handle error case for
output: exportinnext devReport error when using "use server" on module level
Only cache successful fetches
Revert "Vendor
react@experimentalunder anexperimentalReactflag"Replaced Reflect with ReflectAdapter
Documentation Changes
Update capitalization of ISR doc heading
Misc Changes
Added jsdom & canvas to the external packages list - fixes #46893
Add auto-detection of image/x-icon content type
Exclude 'mdx-bundler' from being bundled in server components
Add /route subpath to metadata static routes
Fix generateStaticParams check in app dir
Fix URL anchor position in
going-to-production.mdPrevent
handleDisconnectbeing called twiceFix next/image config injection during static generation
Implement route announcer for app dir
Update README templates in
create-next-appAdd instructions to bug issue template
- Removed
Remove experimental fontLoaders option from next.config.js
typedRoutes: Fixed empty DynamicRoutes or StaticRoutes causing Route to turn into type string
mdx: Export NextMDXOptions interface
Fix #46621 - include status code in cache
Add @feedthejim as a codeowner for docs, examples and errors
Add support for scrolling to hash fragment
Add
output: exportsupport forappDirFix
RenderOptstype importImplement custom Turbopack Next transformers
Implement server entry creation in client layer (#47127
App dir with
next devandoutput: exporttypedRoutes: Fixed files from directories other than pages and app getting into Route
cli: Introduce
--tailwindflagAdd OTEL tests
Handle defaultLocale on client router filter
Fix build issue and future incompatibility
Show error for api route handler with
output: exportFix missing option in
createFromFetchFix failing CI checks
Support passing both closure arguments and parameters
Fix deploy example
Support Node.js core modules in edge runtime
Typo in message for experimental.runtime
Fix loader rule with wrong matching conditions (#47261
Fix contributing.md link in the rendering benchmark
cli: Handle Tailwind CSS +
src/correctlycli: Unify styles/content of templates
Ensure all server entry exports are functions (#47364)Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Don't set git config
features.manyFileson post installcli: Change file name from
route.tstoroute.jsRevert "Support dynamic routes for social images and icons" (#47416
Add test for force-dynamic and catch-all routes (#47418
Add workflow to trigger release
Fix trigger_release workflow type
Add auto labeling for turbopack/the web-tooling team
Add ownership of build folder to Web Tooling team
Fix rust-check
Handle
asyncrequire when importing ESM ininstrumentation.tsRevert "Revert "Update vendored react to 18.3.0-next-85de6fde5-20230328"" (#47700
Add tests for Suspensey CSS
Add test to ensure image generation works in the Node.js runtime
Fix docs only check for test-native-integration
Fix flaky css test and remove unused tests deps
Ensure GH actions tests run for trunk branches
Revert "Test disabling kodiak (#47880)"
Add merge_group actions trigger
Speed up native dev build
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.