next.js

The React Framework

MIT License

Downloads
211.7M
Stars
120.8K
Committers
3.5K

Bot releases are hidden (Show)

next.js - v14.2.6 Latest Release

Published by ijjk about 2 months ago

[!NOTE]
This release is backporting bug fixes. It does not include all pending features/changes on canary.

Core Changes

  • Ensure fetch cache TTL is updated properly (#69164)
next.js - v14.2.5

Published by huozhi 3 months ago

[!NOTE]
This release is backporting bug fixes. It does not include all pending features/changes on canary.

Core Changes

  • avoid merging global css in a way that leaks into other chunk groups (#67373)
  • Fix server action edge redirect with middleware rewrite (#67148)
  • fix(next): reject protocol-relative URLs in image optimization (#65752)
  • fix(next-swc): correct path interop to filepath for wasm (#65633)
  • Use addDependency to track metadata route file changes (#66714)
  • Fix noindex is missing on static not-found page (#67135)
  • perf: improve retrieving versionInfo on Turbo HMR (#67309)
  • fix(next/image): handle invalid url (#67465)
  • fix(next): initial prefetch cache not set properly with different search params (#65977)
  • fix: Backport class properties fix (#67377)
  • Upgrade acorn (#67592)

Misc

  • Log stdio for pull-turbo-cache script (#66759)
  • Ensure turbo is setup when building in docker (#66804)

Credits

Huge thanks to @devjiwonchoi, @ijjk, @emmerich, @huozhi, @kdy1, @kwonoj, @styfle, and @sokra for helping!

next.js - v14.2.4

Published by ijjk 4 months ago

[!NOTE]
This release is backporting bug fixes. It does not include all pending features/changes on canary.

Core Changes

  • fix: ensure route handlers properly track dynamic access (#66446)
  • fix NextRequest proxy in edge runtime (#66551)
  • Fix next/dynamic with babel and src dir (#65177)
  • Use vercel deployment url for metadataBase fallbacks (#65089)
  • fix(next/image): detect react@19 for fetchPriority prop (#65235)
  • Fix loading navigation with metadata and prefetch (#66447)
  • prevent duplicate RSC fetch when action redirects (#66620)
  • ensure router cache updates reference the latest cache values (#66681)
  • Prevent append of trailing slash in cases where path ends with a file extension (#66636)
  • Fix inconsistency with 404 getStaticProps cache-control (#66674)
  • Use addDependency to track metadata route file changes (#66714)
  • Add timeout/retry handling for fetch cache (#66652)
  • fix: app-router prefetch crash when an invalid URL is passed to Link (#66755)

Credits

Huge thanks to @ztanner, @ijjk, @wbinnssmith, @huozhi, and @lubieowoce for helping!

next.js - v15.0.0-rc.0

Published by ijjk 5 months ago

Core Changes

  • fix(next): global not-found not working on multi-root layouts: #63053
  • chore(next): add keywords on package.json: #64173
  • Fix DynamicServerError not being thrown in fetch: #64511
  • fix: lib/helpers/install.ts to better support pnpm and properly respect root argument: #64418
  • fix(next): Metadata.openGraph values not resolving basic values when type is set: #63620
  • disable production chunking in dev: #64488
  • update turbopack: #64501
  • Turbopack: Allow client components to be imported in app routes: #64520
  • refactor: remove always truthy flag: #64522
  • Turbopack: don’t show long internal stack traces on build errors: #64427
  • next/script: Correctly apply async and defer props: #52939
  • chore(next/font): update @capsizecss/metrics package: #64528
  • feat: add information that revalidate interval is in seconds: #64229
  • Typo "Minifer" in config.ts: #64359
  • Enhance types for Node and Edge envionments: #64454
  • feat: Add a validation for postcss with useLightningcss: #64379
  • fix HMR for cases where chunking changes: #64367
  • perf: improve Pages Router server rendering performance: #64461
  • Fix cjs client components tree-shaking: #64558
  • fix refresh behavior for discarded actions: #64532
  • fix: filter out middleware requests in logging: #64549
  • chore: remove unused rust dependencies: #62176
  • fix(next-swc): correctly set wasm fallback for known target triples: #64567
  • memoize layout router context: #64575
  • fix incorrect refresh request when basePath is set: #64589
  • fix TypeError edge-case for parallel slots rendered multiple times: #64271
  • Fix ASL bundling for dynamic css: #64451
  • Revert "fix(next): global not-found not working on multi-root layouts": #64601
  • chore(test): run related E2E deploy tests on PRs: #63763
  • Improve top level await coverage: #64508
  • Upgrade typescript to 5.3: #64043
  • add pathname normalizer for actions: #64592
  • Fix experimental/testmode by removing console.log: #64670
  • Don't output .test.ts files in next/font: #63472
  • Fix reporting when performance.measure doesn't exist (Edge): #64669
  • Reduce amount of data passed to collectBuildTraces: #59665
  • fix(next-server): 'quiet' setting delegate for custom server: #64512
  • Revert "chore(test): run related E2E deploy tests on PRs": #64682
  • update turbopack: #64686
  • Fix: resolve mixed re-exports module as cjs: #64681
  • Revert "fix TypeError edge-case for parallel slots rendered multiple times": #64690
  • Fix typo: 'serverComponentsExtenalPackages' should be 'serverComponentsExternalPackages': #64705
  • prevent erroneous route interception during lazy fetch: #64692
  • Add @appsignal/nodejs to the external packages list: #64503
  • fix root page revalidation when redirecting in a server action: #64730
  • Clean-up fetch metrics tracking: #64746
  • [actions] Enforce body limit using Transform stream: #64694
  • Turbopack: Don’t show stack traces for internal modules: #64228
  • Reapply "chore(test): run related E2E deploy tests on PRs" (#64682): #64712
  • fix(fetch-cache): fix typo: #64786
  • fix: remove traceparent from cachekey should not remove traceparent from original object: #64727
  • fix interception route rewrite regex not supporting hyphenated segments: #64805
  • Disable ncc cache instead of cache cleaning: #64804
  • Move next-swc Turborepo config to packages/next-swc: #64789
  • build: Update swc_core to v0.90.33: #64553
  • Enable loading source maps for Next Server and React: #64527
  • fix: mixing namespace import and named import client components: #64809
  • fext(next): extend next.config for mdxRs support options: #64801
  • skip test_e2e_deploy_related when triggered from a fork: #64893
  • fix(fetch-cache): fix additional typo, add type & data validation: #64799
  • feat(next-core): support parsing matcher config object: #64678
  • Fix mixed exports in server component with barrel optimization: #64894
  • fix: improve tsconfig extends checks: #61413
  • Fix next/image usage in mdx: #64875
  • fix dynamic route interception not working when deployed with middleware: #64923
  • feat(turbopack): Handle fragments in requests: #64232
  • feat(turbopack): Check for duplicate parallel routes: #64181
  • Speed up createNext test suite isolation: #64909
  • fix(rewrites): support external rewrite destination: #64943
  • Ensure edge prerender-manifest is minimal: #64946
  • remove special-cased prefetch kind in dev mode: #64941
  • feat: support import attributes: #59480
  • NextJS App router: add isolated-vm to server-external-packages.json: #64749
  • Add next experimental-test command: #64352
  • Revert "feat: support import attributes": #65001
  • NODE_OPTIONS updates: #65006
  • Update React from 14898b6a9 to c3048aab4: #64798
  • initialize ALS with cookies in middleware: #65008
  • feat(next/image)!: remove squoosh in favor of sharp as optional dependency: #63321
  • fix: Workaround acorn bug/version issue by using SWC: #65021
  • build: Update @swc/core to v1.5.0: #65022
  • Ensure escaped string are parsed in NODE_OPTIONS: #65046
  • chore(fetch-cache): remove zod from fetch cache: #65079
  • support breadcrumb style catch-all parallel routes: #65063
  • Improve initial setup with new App Router TypeScript project: #64826
  • Add experimental trace file field: #65071
  • Fix playwright config merging for webServer property: #65090
  • chore(logging): Disable info logging of critters in production: #62776
  • [unstable_cache] Don't track dynamic fetches in an unstable_cache callback: #65010
  • fix(page-static-info): refine warning message to emit once: #65091
  • update redirect handling on forwarded action requests: #65097
  • Tracing: allow opt-in flag to send build traces to url: #65019
  • Turbopack: Allow client components from foreign code in app routes: #64751
  • fix node.js module warning in middleware: #65112
  • Fix: strip _rsc query for client navigation rsc request: #65084
  • fix unhandled runtime error when notFound() triggered in generateMetadata w/ parallel routes: #65102
  • Use vercel deployment url for metadataBase fallbacks: #65089
  • Fix next/dynamic with babel and src dir: #65177
  • update turbopack: #65191
  • Fix crypto import in edge runtime with Turbopack: #65171
  • Resolve global next Webpack alias last: #65123
  • Add oslo, @node-rs/argon2, and @node-rs/bcrypt to external packages: #65204
  • [trace] Reduce the size of .next/trace files: #65101
  • Remove extra suspense boundary for default next/dynamic: #64716
  • Only apply metadata manifest credentials for preview deployment: #64940
  • fix(next): add missing browser.major type: #65185
  • Turbopack: rename source map prefix: #64965
  • fix(next/image): detect react@19 for fetchPriority prop: #65235
  • Use POST for invokeIpcMethod: #65238
  • fix redirect to url with semicolon: #65165
  • Provide non-dynamic segments to catch-all parallel routes: #65233
  • Fix an issue parsing catchall params: #65277
  • Enable preloading entries by default: #65289
  • Trace uploader: add worker spans to allowed events: #65255
  • Update font data: #65301
  • Update revalidateTag to batch tags in one request: #65296
  • Revert "Remove extra suspense boundary for default next/dynamic": #65309
  • Emit polyfill-nomodule.js into the build manifest polyfillFiles: #65223
  • Remove broken #[turbo_tasks::value(transparent)] attributes: #65336
  • Delete dead concatenate_output_assets function: #65337
  • Upgrade Turbopack: #65320
  • Pages router: Use attribute-based head children reconciler when strictNextHead is enabled: #65408
  • Revert "Implement Turbopack trace server bindings": #65419
  • use correct not-found component when triggered from a parallel route: #65343
  • Implement Turbopack trace server bindings: #65410
  • fix(next/image): bypass icns images: #65414
  • [PPR] Enable incremental adoption: #63847
  • fix: replace deprecated/removed functions in eslint-plugin-next: #64251
  • docs: update revalidatePath & fix cache debug logic: #65365
  • fix(next-core): mark turbopack embed fs to be internals: #65420
  • fix(next/image): add missing svg test and refactor missing types: #65345
  • build(edge): extract buildId into environment: #64521
  • Revert "build(edge): extract buildId into environment": #65425
  • fix(next/image): set max url length to 3072: #65457
  • Support React 19 in App and Pages router: #65058
  • Promote and rename server bundling options serverComponentsExternalPackages and bundlePagesExternals: #65421
  • add experimental flag to allow forcing NODE_ENV=development in builds: #65463
  • Support esm externals in app router: #65041
  • fix: lazy load sharp: #65484
  • make sure children is first in loader tree to fix head css bug on client navigation: #65279
  • Re-land build(edge): extract buildId into environment: #65426
  • improve versioned content map: #65466
  • update turbopack: #65503
  • Remove ineffective webpack rules and unused app-page context modules: #65321
  • add page name to crashes: #65504
  • Bump styled-jsx to 5.1.3: #65485
  • Preload all chunks for next/dynamic in SSR: #65486
  • fix!: add sharp timeout of 10 seconds: #65517
  • Turbopack: new graph aggregation: #65206
  • feat(next): revise server component error message: #65468
  • chore: update prettier to 3.2.5: #65092
  • Revert "Remove ineffective webpack rules and unused app-page context modules": #65558
  • Remove auto appending xml extension to dynamic sitemap routes: #65507
  • Remove rsc esm client module extra exports: #65519
  • Handle nonce on Next.js injected script/link tags: #65508
  • Fix multi-zone test by removing dependency list: #65589
  • remove next-action header when following a redirect: #65615
  • Remove @next/font resolving for font loaders: #65601
  • remove legacy deprecated warnings: #65579
  • feat(turbopack): add support for bundlePagesRouterDependencies: #65520
  • fix(next-swc): load wasm fallback if native bindings fail to load: #65623
  • fix(next-swc): correct path interop to filepath for wasm: #65633
  • Add proper deprecation/rename warnings for server bundling option: #65575
  • feat!(next/image): change default Content-Disposition to attachment: #65631
  • Pages router: Enable strict next/head children reconciler by default: #65418
  • Apply react-server conditions to middleware: #65424
  • fix(next-swc): Do not reuse compiler instance: #65602
  • Show the new key of experimental config change warnings: #65651
  • fix(next-swc): Fix SWC env target - include option: #65693
  • Reapply "Implement Turbopack trace server bindings" (#65419): #65527
  • fix(resolve-metadata): allow for search params in canonical URL: #65366
  • Remove missingSuspenseWithCSRBailout config: #65688
  • Reland Remove ineffective webpack rules and unused app-page context modules: #65694
  • Remove swc minify related code branches: #65690
  • fix: load the tags manifest asynchronously: #64563
  • Bump acorn to replace swc class properties transform: #65715
  • fix: watch experimental/testmode in when running "pnpm dev": #65689
  • Revert "chore: externalize undici for bundling": #65727
  • [ppr] Request normalization fixes: #65717
  • fix(next/image)!: error when src has leading or trailing space: #65637
  • fext(next-swc): extend internal env flag to all native bindings: #65748
  • Update font data: #65719
  • fix(next): add alias to new react exports: #65761
  • Update font data: #65768
  • feat: remove font family hashing in next/font css: #53608
  • Add script to script loader when strategy prop is undefined: #65585
  • fix: ensure websockets are correctly passed: #65759
  • Add clientTraceMetadata experimental option to propagate tracing data to the client: #64256
  • Remove process auto polyfill in edge runtime: #65751
  • feat: support import attributes: #65749
  • Turbopack: Remove EcmascriptChunkingContext: #65716
  • Error in build for middleware when import client-only: #65792
  • fix(next): reject protocol-relative URLs in image optimization: #65752
  • Fix broken HTML inlining of non UTF-8 decodable binary data from Flight payload: #65664
  • Bundle the installed react for middleware: #65811
  • fix middleware cookie initialization: #65820
  • fix(next/image)!: set upstream timeout to 7 seconds: #65821
  • feat(turbopack-ecmascript): use import attributes for annotations: #59370
  • feat(next): experimental react compiler support: #65804
  • Fix the runtime for rsc layer: #65850
  • Ensure React Compiler only runs on first-party browser code: #65851
  • fix: bump [email protected]: #65854
  • add effect packages into the optimized-by-default list: #65465
  • Upgrade react@beta: #65845
  • Ensure plugin-syntax-jsx doesn't have to be installed: #65865
  • Update React from 4508873393 to 04b058868c: #65864
  • Set default stale-while-revalidate header value to 1 year: #65867
  • fix missing experimental warning for reactCompiler: #65866
  • Error on mismatched minimal react version: #65806
  • Revert "Set default stale-while-revalidate header value to 1 year": #65887
  • Update turbopack & swc_core: #65450
  • Revert "Fix broken HTML inlining of non UTF-8 decodable binary data f…: #65906
  • experimental: unstable_after: #65038
  • Docs: Replace "twitter.com" to "x.com": #65917
  • fix(next/image): prefer sharp defaults, use mozjpeg for JPEG: #65846
  • Update font data: #65961
  • unstable_after: support nested unstable_after calls: #65950
  • Fix revalidateTimings route for catchall index route: #65843
  • fix(next): initial prefetch cache not set properly with different search params: #65977
  • Add additional log to experimental ppr flag in next.config.js: #65944
  • Change default of prerenderEarlyExit to true: #65830
  • short-circuit OPTIONS requests to pages: #65295
  • Turbopack: Implement next/font/local with BeforeResolvePlugin and show custom error message: #65870
  • [Breaking] Disable automatic static generation for route handlers: #65825
  • Fix router.refresh missing canonical url override: #65999
  • Fix typo in JSDoc of ppr flag of next.config.js: #66028
  • Revert webpack bundling layer changes for middleware/pages: #66049
  • Upgrade lightningcss, disable grid prefixing: #65986
  • [Breaking] disable client router cache for page segments: #66039
  • Add dedicated client entry for Turbopack builds: #65824
  • Update React from 04b058868c to 81c5ff2e04 : #65869
  • implement unstable_rethrow: #65831
  • chore(next/image): remove unused output parameter: #66083
  • next-swc-napi: Enable "plugin" feature by default: #66006
  • [turbopack] Use updated RawOutput API: #65300
  • Skip setting to fetch cache when not modified: #66055
  • [Memory] Add option to reduce memory usage caused by duplicate strings in webpack-sources: #66003
  • Ensure metadata routes dont skip static optimization: #66097
  • [unstable_after] fix occasional dev-mode crash in edge runtime pages: #66099
  • fix: ensure prefetch data routes are always added when app has ppr enabled: #66102
  • [Breaking] Disable automatic fetch caching: #66004
  • Update React from 81c5ff2e04 to f994737d14: #66093

Documentation Changes

  • docs(09-authentication): fixes link to NextAuth.js: #64457
  • Improve auth docs : #63140
  • Docs: Fix broken link: #64581
  • docs: clarify runtime: #64593

Example Changes

  • Update Sanity example deps and tsconfig: #64570
  • chore: fix a wrong link for with-service-worker example: #64666
  • Update Nav.tsx: #64818
  • Update with-storybook example: #64911
  • bug fix on a pull request #64911: #64925
  • Update Sanity example deps: #64939
  • deps updated for with-mongodb-mongoose example: #64928
  • Docs: Explain why Layouts (RSCs) can't access pathname: #64785
  • fix(examples): blog-starter href, remove redundant public folder: #65025
  • Ensure latest canary of Next.js is installed in repros: #64967
  • Ensure latest canary of Next.js is installed in repros: #65197
  • feat(examples): add with-turso: #61291
  • Fix export function name on docs/routing/layouts-and-templates: #65240
  • Fixes with-supertokens example: #65267
  • @emotion/cache version fix: #65422
  • update reproduction templates to use correct React: #65624
  • Resolve grammatical errors in examples: #65644
  • Update middleware example to App Router: #65618
  • update cache handler version and added better logic for opting out of…: #65330
  • Update Sanity example deps and implementation: #65744
  • update convex README.md: #65765
  • chore: Bump react-modal to 3.16.2 in with-router-as-modal example: #65841
  • Update Google Analytics example for App Router: #66021

Misc Changes

  • hotfix: hardcoded skip turbopack tests to manifest: #64515
  • Update to latest rust-cache: #64524
  • Require turbopack build jobs: #64526
  • chore: tweak unhelpful comment weight: #64496
  • Update Turbopack development test manifest: #64546
  • Update Turbopack development test manifest: #64579
  • chore: update labels in workflows/templates: #63713
  • chore: update label: #64662
  • docs: fix MDX codeblock: #64673
  • Docs: Review auth guide: #64605
  • Update Turbopack development test manifest: #64709
  • add node example to open graph image docs: #64305
  • docs: Suggest a blobless clone instead of a shallow clone: #64693
  • Fix next-swc native binary write in tests: #64744
  • docs: Add ant-design library info: #63965
  • docs: fix default.js params example: #64748
  • Update 07-route-groups.mdx, remove extra bracket: #64754
  • chore: exit running related tests if there was no match: #64772
  • docs: remove types in js example: #64761
  • chore: rename 'example bug' label to 'examples': #64775
  • Update Turbopack development test manifest: #64762
  • chore: match label name during autolabeling: #64770
  • Docs: Clarify template.js behavior: #64781
  • Upgrade Turborepo: #64767
  • Update index.mdx: #64794
  • docs: "generateMetadata" to "generateViewport" in doc "generateViewport": #64795
  • Update 06-bundle-analyzer.mdx: #64740
  • Upgrade Turborepo: #64842
  • Update @testing-library/react used in tests: #64851
  • Update Turbopack development test manifest: #64838
  • docs: remove types in js example: #64878
  • fix app-dir-edge-runtime-with-wasm test: #64891
  • chore(docs): added inlang to the list of i18n community libraries: #61323
  • Add WorkOS to list of auth libraries: #64860
  • Revert turborepo to 1.13.3-canary.2: #64892
  • Revert turborepo to 1.13.3-canary.2 cont.: #64895
  • Update 04-loading-ui-and-streaming.mdx: #64857
  • Docs: Add section for @next/env package: #64908
  • test(manifest): skip font/proxy test for now: #64927
  • docs: update og generation code with local assets: #64888
  • Allow StackBlitz repro links in bug reports on GitHub: #64935
  • Fix mock span: #64944
  • Add --skip-install flag to create-next-app: #64691
  • Fix windows CI due to node release: #64950
  • Ensure install works in test fixtures when NEXT_TEST_SKIP_CLEANUP=1 is specified: #64829
  • test(fixture): allow turbopack build with longer wait time: #64930
  • Sync Cargo.lock with turbo: #64989
  • fix(test-utils): more robust server teardown: #64991
  • Update Turbopack development test manifest: #64996
  • Removed the "-" sign on Bun option for create-next-app CLI tool in the documentation: #64972
  • test(fixture): prevent unexpected errored exit with leaking error: #65007
  • docs: fix Bun install command: #65016
  • Fix Server Action closure example: #65029
  • Update sitemap.mdx: #65003
  • chore: notify on popular feature requests: #64877
  • docs: add missing imports in auth article: #65039
  • Replace createNextDescribe with nextTestSetup: #64817
  • Update Turbopack production test manifest: #65055
  • Update Turbopack development test manifest: #65054
  • Fix typo in code example in index.mdx: #65075
  • test: fix react version testing due to new release: #65081
  • Combine necessary file for edge route in size calculation: #65053
  • Bump @testing-library/react to 15.0.3 (from 13.x): #65119
  • docs: Fix typo for ReactDOM.prefetchDNS method inside Resource Hints section: #65111
  • chore(github-workflow): update popular workflows cron time, fix undef…: #65172
  • chore(github-templates): update docs_report template, update template descriptions: #65178
  • chore: add more labels: #65209
  • docs: Add @fluentui/react-components to list of libraries that support css-in-js with app router: #61521
  • docs: fix skipTrailingSlashRedirect middleware example: #65220
  • docs(app-routing-layoutsand-template): use the correct path: #65085
  • Update Turbopack production test manifest: #65225
  • Update Turbopack development test manifest: #65226
  • chore(github-workflow): update to check all reactions: #65228
  • docs(staletime): add clarification around prefetch false: #65252
  • [create-next-app] remove "text-balance" custom class: #63742
  • Extract slow tests to avoid wasteful start/stop: #65265
  • Remove unnecessary mocks: #65284
  • chore(github-workflow): add linear: next labels to sync popular issues to linear: #65288
  • Improve test assertions: #65285
  • docs: update Route Handler streaming example: #65286
  • chore(github-workflow): Update title for update-font-data workflow: #65293
  • Update Turbopack development test manifest: #65312
  • add explicit test for parallel routes in a root layout: #65338
  • docs(unstable_cache): add data cache mentions: #65342
  • Remove duplicate code example in authentication page: #65354
  • Update Turbopack development test manifest: #65404
  • use backticks instead of quotes: #65393
  • Update 05-mdx.mdx: #65392
  • Support interrupts and focus in react-profiling-mode test: #65200
  • Improve Head > script coverage: #65399
  • chore(test): add more tests for image optimizer formats: #65363
  • Improve test assertions: #65319
  • Use @testing-library instead of react-dom/test-utils: #65328
  • Fixed wrong highlight in Building your application > authentication > useFormStatus hook example : #65400
  • docs(caching): Fix typo for staleTimes: #65427
  • test: disable next-test playwright test: #65460
  • fix isTurbopack check in test cases: #65446
  • Updating the links to the useActionState docs: #65476
  • update create-next-app React versions: #65478
  • Update docs on default metadataBase value: #65428
  • Update Turbopack development test manifest: #65497
  • chore: add prettier update to blame ignore: #65529
  • Sync Cargo.lock with Turbo: #65525
  • chore(test): test image preload below the fold: #65528
  • test: consolidate action flaky test: #65541
  • Fix /dynamic in test/.stats-app: #65543
  • chore(create-next-app): add --empty flag: #65532
  • fix: ignore all .env files for create-next-app by default: #61920
  • docs: explain about the conditional default metadataBase on vercel de…: #65583
  • Fix NEXT_SKIP_ISOLATE=1 log for testing: #65590
  • [eslint] Fix lint-staged to ensure eslint is ran: #65622
  • Docs: Update server actions link to point at server actions page: #65593
  • create-next-app - Update links for READMEs: #65548
  • chore(create-next-app): update empty templates: #65620
  • fix(docs): fix minor meta charset typo: #65596
  • chore(create-next-app): update README links: #65634
  • Add Ecmascript features tests: #65613
  • Add missing type-only imports to documentation examples: #65687
  • chore(CI): escape PR title for slack webhook: #65742
  • Docs: Make "With URL Obeject" only displayed in Pages docs: #65547
  • Update external links 07-edge.mdx: #65728
  • chore: add git blame ignore-revs support to gitlens for vscode configuration: #65762
  • chore: remove unnecessary dependency: #65819
  • test: fix flaky tests and disabled constant failing ones: #65822
  • Run CNA tests with Next.js from branch: #65852
  • docs(css-in-js): alphabetize libraries name: #65832
  • Fix typos in test descriptions in router-rerender integration tests: #65834
  • fix: race condition in CLI output in react-compiler test: #65909
  • Update create-next-app template: #65803
  • Fix send-trace-to-jaeger boolean span values: #65920
  • Mention Renaming of useFormState: #65934
  • docs: clarify gSSP docs for runtime: #65962
  • fix(docs): update styled components option: #65718
  • feat: Add option to enable Turbopack with create-next-app: #65926
  • chore(github-workflow): move issues, prs, features to #next-info channel: #65991
  • Update Turbopack development test manifest: #66002
  • docs: Update Route Handlers docs for dynamic: #66010
  • Update Turbopack production test manifest: #66007
  • Include base commit in changes included by a React sync: #65868
  • add missing "prerenderEarlyExit: false" to dynamic-data test
  • add pre-push hook to guard against accidental pushes directly to canary: #66030
  • Add missing 'prerenderEarlyExit: false' in tests: #66032
  • chore(docs): remove suggestion of manually installing sharp: #66034
  • Update Turbopack development test manifest: #66044
  • Fix swc test path from node_modules: #66047
  • Update create-next-app template CSS: #66043
  • Update lightningcss to 1.0.0-alpha.56: #66046
  • ci(workflow): skip building next-swc with latest turbopack: #66048
  • Improve sync-react changelog generator: #66051
  • Tweak flakey metadata error tests: #66060
  • Fix cloudflare transform images url: #66076
  • React sync: Reduce manual tasks: #66095
  • React sync: Handle React PRs landed via ghstack: #66069
  • [Memory] Add docs for new experimental.webpackMemoryOptimizations option: #66096

Credits

Huge thanks to @devjiwonchoi, @ijjk, @Ethan-Arrowood, @sokra, @kenji-webdev, @wbinnssmith, @huozhi, @domdomegg, @samcx, @Jaaneek, @evanwinter, @wyattjoh, @kdy1, @balazsorban44, @feedthejim, @ztanner, @ForsakenHarmony, @kwonoj, @delbaoliveira, @stipsan, @leerob, @shuding, @xiaohanyu, @timneutkens, @dvoytenko, @bobaaaaa, @bgw, @gaspar09, @souporserious, @unflxw, @kiner-tang, @Ehren12, @EffectDoplera, @IAmKushagraSharma, @Auxdible, @sean-rallycry, @Jeffrey-Zutt, @eps1lon, @jeanmax1me, @unstubbable, @NilsJacobsen, @PaulAsjes, @adiguno, @ryan-nauman, @zsh77, @KagamiChan, @steveluscher, @MehfoozurRehman, @vkryachko, @chentsulin, @samijaber, @begalinsaf, @FluxCapacitor2, @lukahartwig, @brianshano, @pavelglac, @styfle, @symant233, @HristovCodes, @karlhorky, @jonluca, @jonathan-ingram, @mknichel, @sopranopillow, @Gomah, @imddc, @notrab, @gabrielrolfsen, @remorses, @AbhiShake1, @agadzik, @ryota-murakami, @rishabhpoddar, @rezamauliadi, @IncognitoTGT, @webtinax, @BunsDev, @nisabmohd, @z0n, @bennettdams, @joeshub, @n1ckoates, @srkirkland, @RiskyMH, @coopbri, @okoyecharles, @diogocapela, @dnhn, @typeofweb, @davidsa03, @imranolas, @lubieowoce, @maxhaomh, @mirasayon, @blvdmitry, @hwangstar156, @lforst, @emmerich, @christian-bromann, @Lsnsh, @datner, @hiro0218, @flybayer, @ianmacartney, @ypessoa, @ryohidaka, @icyJoseph, @Arinji2, @lovell, @nsams, @Nayeem-XTREME, @JamBalaya56562, @Arindam200, @gaojude, @qqww08, and @todor0v for helping!

next.js - v14.3.0-canary.79

Published by ijjk 5 months ago

Core Changes

  • fix: ensure prefetch data routes are always added when app has ppr enabled: #66102
  • [Breaking] Disable automatic fetch caching: #66004
  • Update React from 81c5ff2e04 to f994737d14: #66093
  • [ppr] Remove canary requirement: #66112
  • [ppr] Data route fixes: #66109
  • [unstable_after] always use 'waitUntil' from '@next/request-context' if available: #66119
  • Don't fail the build if @types/ packages appear to be missing: #66127
  • Stabilize swrDelta config: #66108
  • Revert "Don't fail the build if @types/ packages appear to be missing": #66130

Misc Changes

  • docs: add missing /: #66105
  • Add release candidate handling to start release: #66107
  • Docs: Next.js 15 updates: #65603
  • Fix validate externals docs

Credits

Huge thanks to @wyattjoh, @ijjk, @eps1lon, @tokkiyaa, @lubieowoce, and @delbaoliveira for helping!

next.js - v14.2.3

Published by huozhi 6 months ago

[!NOTE]
This release is backporting bug fixes. It does not include all pending features/changes on canary.

Core Changes

  • Fix: resolve mixed re-exports module as cjs (#64681)
  • fix: mixing namespace import and named import client components (#64809)
  • Fix mixed exports in server component with barrel optimization (#64894)
  • Fix next/image usage in mdx(#64875)
  • fix(fetch-cache): fix additional typo, add type & data validation (#64799)
  • prevent erroneous route interception during lazy fetch (#64692)
  • fix root page revalidation when redirecting in a server action (#64730)
  • fix: remove traceparent from cachekey should not remove traceparent from original object (#64727)
  • Clean-up fetch metrics tracking (#64746)

Credits

Huge thanks to @huozhi, @samcx, @ztanner, @Jeffrey-Zutt, and @ijjk for helping!

next.js - v14.2.2

Published by ztanner 6 months ago

[!NOTE]
This release is backporting bug fixes. It does not include all pending features/changes on canary.

Core Changes

  • Fix Server Action error logs for unhandled POST requests (#64315)
  • Improve rendering performance (#64408)
  • Fix the method prop case in Server Actions transform (#64398)
  • fix(next-lint): update option --report-unused-disable-directives to --report-unused-disable-directives-severity (#64405)
  • tweak test for Azure (#64424)
  • router restore should take priority over pending actions (#64449)
  • Fix client boundary inheritance for barrel optimization (#64467)
  • improve turborepo caching (#64493)
  • feat: strip traceparent header from cachekey (#64499)
  • Fix more Turbopack build tests
  • Update lockfile for compatibility with turbo (#64360)
  • Fix typo in dynamic-rendering.ts (#64365)
  • Fix DynamicServerError not being thrown in fetch (#64511)
  • fix(next): Metadata.openGraph values not resolving basic values when type is set (#63620)
  • disable production chunking in dev (#64488)
  • Fix cjs client components tree-shaking (#64558)
  • fix refresh behavior for discarded actions (#64532)
  • fix: filter out middleware requests in logging (#64549)
  • Turbopack: Allow client components to be imported in app routes (#64520)
  • Fix ASL bundling for dynamic css (#64451)
  • add pathname normalizer for actions (#64592)
  • fix incorrect refresh request when basePath is set (#64589)
  • test: skip turbopack build test (#64356)
  • hotfix(turbopack): Update with patch for postcss.config.js path resolution on Windows (#64677)

Credits

Huge thanks to @shuding, @coltonehrman, @ztanner, @huozhi, @sokra, @Jeffrey-Zutt, @timneutkens, @wbinnssmith, @wiesson, @ijjk, @devjiwonchoi, and @bgw for helping!

next.js - v14.2.1

Published by ztanner 6 months ago

[!NOTE]
This release is backporting bug fixes. It does not include all pending features/changes on canary.

Core Changes

  • use pathToFileUrl to make esm import()s work with absolute windows paths (#64386) @sokra

Credits

Huge thanks to @sokra for helping!

next.js - v14.2.0

Published by ijjk 6 months ago

Core Changes

  • Update build worker warning to use debug: #60847
  • fix: added @sentry/profiling-node to sep list to prevent build/bundle breakage: #60855
  • Optimize build trace ignores: #60859
  • Deprecation warning for config.analyticsId: #60677
  • chore: indicate staleness more prominently in next info output: #60376
  • Telemetry: createComponentTree span: #60857
  • chore: replace micromatch w/ picomatch: #60699
  • Report HMR latency as trace spans for Turbopack: #60799
  • Turbopack: always log HMR rebuild times: #60908
  • Error overlay refactors: #60886
  • Use precompiled source-map in overlay middleware: #60932
  • Use more precompiled deps in react-dev-overlay: #60959
  • Fix next phase for next build: #60969
  • chore: update turbopack: #60980
  • refactor(analysis): rust based page-static-info, deprecate js parse interface in next-swc: #59300
  • disable static generation on interception routes: #61004
  • Docs: Address community feedback: #60960
  • avoid output of webpack stats: #61023
  • Revert "refactor(analysis): rust based page-static-info, deprecate js parse interface in next-swc": #61021
  • fix useSelectedLayoutSegment's support for parallel routes: #60912
  • Dynamic APIs: #60645
  • Enable next.js version checker in turbopack: #61034
  • chore: Update terser to v5.27.0: #61068
  • Update swc_core to v0.87.28: #60876
  • update turbopack: #61015
  • Implement client_root for edge in Turbopack: #61024
  • fix parallel route top-level catch-all normalization logic to support nested explicit (non-catchall) slot routes: #60776
  • fix(image): warn when animated image is missing unoptimized prop: #61045
  • Fix version checker not displaying when version newer than npm: #61075
  • Fix sitemap generateSitemaps support for string id: #61088
  • ppr: ensure the router state tree is provided for interception routes: #61059
  • Improve the Server Actions SWC transform: #61001
  • Fix instrument bundling as client components: #60984
  • fix(turbopack): use correct layout for 404 page: #61032
  • fix: emotion import source should be enabled in SSR contexts: #61099
  • chore: update turbopack: #61090
  • fix(turbopack): custom page extensions for _app: #60789
  • Disable trace uploads with NEXT_TRACE_UPLOAD_DISABLE: #61101
  • add optimizeServerReact to config-shared: #61106
  • Fix filesystempublicroutes test for Turbopack: #61132
  • chore: upgrade webpack to 5.90.0: #61109
  • Add maxDuration to typescript plugin allowed exports: #59193
  • Upgrade Turbopack: #61190
  • build: remove sentry from the externals list: #61194
  • exclude default routes from isPageStatic check: #61173
  • Add stack trace to client rendering bailout error: #61200
  • chore: refactor image optimization to separate external/internal urls: #61172
  • parallel routes: support multi-slot layouts: #61115
  • Refine revalidatePath warning message: #61220
  • revert changes to process default routes at build: #61241
  • Fix cookie merging in Server Action redirections: #61113
  • Update swc_core to v0.89.x: #61086
  • Fix Server Reference being double registered: #61244
  • Fix Server Action redirection with absolute internal URL: #60798
  • Fix indentation in source code of dev overlay: #61216
  • Update swc_core to v0.89.4: #61285
  • fix: Revert preset-env mode of styled-jsx in webpack mode: #61306
  • DX: add route context to the dynamic errors: #61332
  • Telemetry: add time-to-first-byte signal: #61238
  • Refine logging message of experiments: #61337
  • fix(turbopack): don't parse .ts files as .tsx: #61219
  • Update turbopack: #61381
  • Same as #61360: #61369
  • Always respect NEXT_TRACE_UPLOAD_DISABLED: #61402
  • parallel routes: fix catch-all slots being treated as optional catch-all: #61174
  • fix hmr telemetry reporting: #61420
  • chore: Update swc_core to v0.89.6: #61426
  • Update turbopack: #61433
  • fix a perf problem in VersionedContentMap: #61442
  • Fix next dynamic import named export from client components: #61378
  • fix issues loading CSS in default slots: #61428
  • avoid sending issues turbopack messages to browser: #61443
  • Support crossOrigin in Turbopack: #61461
  • Pass down __NEXT_EXPERIMENTAL_REACT env to webpack build worker explicitly: #61463
  • Replace image optimizer IPC call with request handler: #61471
  • feat(next): trace build dependencies for turborepo: #59553
  • Turbopack: fix telemetry attributes for swc options: #61474
  • Always show version text in error overlay: #61421
  • Fix build worker callback arg missing correct page path : #61347
  • Update font data: #61479
  • build: upgrade edge-runtime: #61030
  • Fix experimental react support in app-route runtime: #61511
  • Fix .env hmr for Node.js runtime in Turbopack: #61504
  • remove unnecessary PPR branch in non-PPR reducer: #61176
  • fix: bump @vercel/[email protected]: #61538
  • chore: update ESLint and plugins to latest: #61544
  • Update turbopack: #61553
  • feat: first pass of next/font manifest: #61424
  • Fix .env HMR for Turbopack in Edge runtime: #61565
  • build(cargo): bump up turbopack: #61590
  • refactor(next-core): consolidate custom ecma transform rules: #61481
  • ensure server action errors notify rejection handlers: #61588
  • feat(turbopack): only preload fonts that opt in: #61591
  • feat(turbopack): serve google fonts locally and allow preloading them: #61596
  • Update font data: #61621
  • Remove unused mockedRes in resolveRoutes: #61635
  • Fix @react-pdf/renderer not working in RSC: #61317
  • Remove extra edge-runtime/primitives override: #61641
  • Encode revalidateTag value fixes #61390: #61392
  • Update README.md: #48717
  • chore: update README.md: #61650
  • avoid processing client components and server actions in route handlers: #60985
  • chore: Update @swc/helpers to v0.5.5: #61659
  • feat(ts): expose MiddlewareConfig interface: #61576
  • Revert "build: upgrade edge-runtime": #61686
  • feat(ts): add JSDoc comments for public APIs: #61649
  • fix(next-core): adjust server alias for the context: #61690
  • fix setAssetPrefix when running on NextCustomServer: #61676
  • fix: status code for 404 props queries to avoid client side navigation with empty props: #60968
  • fix(next-eslint): .eslintrc.json not being created by next lint on App Router: #55104
  • Update React from 60a927d04 to 2bc7d336a: #61522
  • fix(turbopack): read preload option for google fonts: #61679
  • decode magic identifiers: #61658
  • Associate server error digest with browser logged one: #61592
  • chore: update turbopack: #61682
  • fix loading issue when navigating to page with async metadata: #61687
  • fix(ts): ReadonlyURLSearchParams should extend URLSearchParams: #61419
  • fix navigation issue when dynamic param casing changes: #61726
  • Fix next/server api alias for ESM pkg: #61721
  • feat(transforms): enable rsc transforms for the remaining contexts: #61231
  • fix: allow some recursion for middleware subrequests: #60615
  • feat(next-swc): support wasm32-* build target: #61586
  • Turbopack: convert between locations correctly: #61477
  • feat(next/image)!: remove squoosh in favor of sharp as optional dep: #61696
  • Navigation Signals in PPR: #60450
  • Revert "Turbopack: convert between locations correctly (#61477)": #61733
  • Fix duplicate line in README: #61691
  • docs: fix example code missing comma: #59012
  • Reapply "Turbopack: convert between locations correctly (#61477)" (#61733): #61735
  • Fix: Error Fetching _devpagesmanifest.json #17274: #60349
  • fix jsDoc of notFound: #61692
  • feat(next-core): expand matching js extensions for the rules: #61745
  • source map fixes: #61723
  • Add experimental touchstart flag for testing: #61747
  • partially fix css duplication in app dir: #61198
  • build(cargo): add deps for the wasi: #61784
  • fix(ts): match MiddlewareConfig with documentation: #61718
  • Fix attempted import error for react: #61791
  • consolidate prefetch utils & separate build util: #61789
  • Skip client-side data-fetching after ssr error : #51377
  • fix(next-swc): Detect exports.foo from cjs_finder: #61795
  • feat(next-core): build time client|server-only assertion: #61732
  • Fall back loading chunks for sourcemap tracing: #61790
  • Increase Rust stack size: #61809
  • Revert "feat(next/image)!: remove squoosh in favor of sharp as optional dep": #61810
  • DX: fix error overlay flash: #61813
  • feat: Allow specifying useLightningcss for styled-jsx: #61359
  • Guard against restoring router state with missing data: #61822
  • fix: babel usage with next/image: #61835
  • fix:(next/image) handle remotePatterns with a dot in the pathname: #60488
  • Update React from 2bc7d336a to ba5e6a832: #61837
  • DX: fix error overlay flash: #61813
  • feat: Allow specifying useLightningcss for styled-jsx: #61359
  • Guard against restoring router state with missing data: #61822
  • fix: babel usage with next/image: #61835
  • fix:(next/image) handle remotePatterns with a dot in the pathname: #60488
  • Update React from 2bc7d336a to ba5e6a832: #61837
  • update turbopack: #61187
  • conditionally send Next-URL in Vary response: #61794
  • provide interception rewrites to edge runtime: #61414
  • Update app-index to only ever construct the initial data response once: #61869
  • Move turbopack helpers: #61917
  • hot-reloader-turbopack refactors: #61929
  • More hot-reloader-turbopack refactors: #61940
  • fix(next/image): improve warning when fill and sizes="100vw": #61949
  • build(cargo): bump up turbopack to latest: #61952
  • build(cargo): update turbopack for filewatcher fix: #61955
  • ci(workflow): deploy rustdocs for turbopack: #61958
  • Support resuming a complete HTML prerender that has dynamic flight data: #60865
  • Fix empty white page with parallel routes + loading boundaries: #61597
  • Update swc_core to v0.90.7 and update turbopack: #61662
  • Turbopack: remove server addr: #61932
  • More hot-reloader-turbopack refactors: #61993
  • Use destructured object for #61993: #61996
  • only prefix prefetch cache entries if they vary based on Next-URL: #61235
  • seed prefetch cache with initial page: #61535
  • Remove leftover server addr references: #61997
  • log fast refresh in app dir: #61441
  • docs(turbopack): build more docs: #61977
  • fix(next-core): correct error message: #62011
  • docs(turbopack): reduce documentation size: #62016
  • Reduce memory/cache overhead from over loader processing: #62005
  • fix: bump @vercel/[email protected]: #62019
  • refactor(next-core): do not reexport turbopack_binding: #62018
  • build: Update swc_core to v0.90.8: #61976
  • merge pages and app overlays: #60899
  • Rename internal utility naming for clarification : #62048
  • fix: handle multiple x-forwarded-proto headers: #58824
  • Fix server components externals on SSR layer: #61986
  • Fixed useParams hook undesired re-renders and updated it to use PathParamsContext in the app router.: #60708
  • docs(turbopack): conslidate existing links: #62034
  • fix(custom-transform): allow to assert empty program for rsc: #61922
  • fix navigation applying stale data when triggered from global not found: #62033
  • fix(turbopack): react-dom/server in rsc context: #61165
  • refactor(tests): make chain more "correct": #51728
  • Add puppeteer-core to server-external-packages.json: #62063
  • Fix extra swc optimizer applied to node_modules in browser layer: #62051
  • docs(turbopack): revise links: #62062
  • Fix output: export with custom distDir: #62064
  • fix(next-core): apply image-loader alias to the remaining context: #62070
  • More hot-reloader-turbopack refactors: #62055
  • Ensure Turbopack writes font optimization manifest: #62079
  • update turbopack: #62080
  • chore: hide version info network error: #62084
  • Add dev option to Turbopack createProject(): #62083
  • Remove unused app-turbopack files: #62087
  • make router restore action resilient to a missing tree: #62098
  • Turbopack: add support for dynamic requests in require() and import(): #62092
  • docs(turbopack): move docs to separate: #62069
  • Implement Vc: #62099
  • fix: add zeromq to server-external-packages.json: #62105
  • Fix trailing slash for canonical url: #62109
  • Consolidate NextMode checks: #62106
  • Improve the Server Actions SWC transform (part 2): #62052
  • Should not warn metadataBase missing if only absolute urls are present: #61898
  • Update to turbopack-240215.5: #62119
  • Add polyfill for Object.hasOwn: #60437
  • OpenTelemetry: trace API routes in page router: #62120
  • Fix @next/mdx types: #57580
  • DX: hide the webpack info prefix for module paths: #62101
  • Show build errors from Turbopack: #62139
  • Fix issue with ComponentMod being read in Turbopack: #62141
  • Fix handling subpath for server components externals: #62150
  • docs(next-api): trying to document project_update_info_subscribe: #61962
  • add support for esmExternals in pages: #61983
  • docs: updated link in JSDoc for the shallow property in link.tsx: #62181
  • Update font data: #62173
  • Update split chunk handling for edge/node: #62205
  • Ensure webpack build worker defaults on: #62214
  • feat: Lint invalid CSS modules: #62040
  • Add page name to error logged in Turbopack: #62218
  • add turbo.resolveExtensions to allow to customize extensions: #62004
  • fix(turbopack): catchall route matching: #62114
  • fix: clarify Dynamic API calls in wrong context: #62143
  • refactor(turbopack): wrap manifest loading in helper class: #62118
  • refactor(turbopack): resolve routes by page name instead of pathname: #61778
  • Ensure handleRouteType does not throw in production builds: #62234
  • fix: set swr delta: #61330
  • Fix type error in build.ts: #62253
  • fix(next): terser-webpack-plugin path in taskfile.js is missing 'src': #62229
  • Update swc_core to v0.90.10: #62222
  • Add test log prefix for otel: #62258
  • Update turbopack: #62263
  • feat(cli): show available memory/CPU cores in next info: #62249
  • fix(turbopack): print missing slots in debug message: #62280
  • Tree shake the unused exports in direct relative imported client component module: #62238
  • Verify correctness of externals: #62235
  • Renew prefetch cache entry after update from server: #61573
  • fix(next-core): fix aliased free var for edge runtime: #62289
  • update turbopack: #62285
  • Allow fetch to propagate arbitrary init options: #62168
  • Add flag for early import app router modules: #61168
  • Add otel span for client component loading: #62296
  • Fix perf spans: #62306
  • fix(next-core): properly normalize app route for _: #62307
  • fix(next-font): update capsize css so fallbacks are updated with the …: #62309
  • Fix draft mode invariant: #62121
  • Revert "Update split chunk handling for edge/node": #62313
  • Turbopack: reduce tasks needed for emitting: #62291
  • Turbopack: add SSR category to tracing: #62318
  • fix(error-overlay): correct module grouping: #62206
  • Revert "Turbopack: reduce tasks needed for emitting": #62324
  • feat(error-overlay): hide <unknown>/stringify methods in <anonymous> file from stack: #62325
  • eslint-config-next: allow typescript eslint v7: #62137
  • Revert "Revert "Update split chunk handling for edge/node" (#62313)": #62336
  • Revert "Ensure webpack build worker defaults on": #62342
  • avoid loading the page loader chunk on initial page load: #62269
  • output filesystem without watching: #62340
  • Turbopack: limit build concurrency, show progress bar: #62319
  • Update data cache max size error: #62348
  • Add experimental flag for early exit on prerender error: #62367
  • fix(next-swc): Fix span for invalid 'use server' directives: #62259
  • scope issues from subscriptions to the websocket connection: #62344
  • Turbopack: resolve endpoints to avoid extra nesting in tracing: #62317
  • fix(next-lint): fix next lint not throwing exit 1 on error: #62378
  • Remove default fallback behavior when route group is missing a default: #62370
  • Correctly pass prependData and additionalData to sass-loader for Turbopack: #62397
  • chore(docs): mention that next.config.js must have default export: #62341
  • chore(cli): add clarifying comment: #62418
  • OTEL: Add top span for middleware: #62421
  • Turbopack react-refresh: perform full reload on runtime error: #62359
  • Simplify node/edge server chunking some: #62424
  • update configSchema.ts with experimental#useEarlyImport: #62408
  • Fix module-level Server Action creation with closure-closed values: #62437
  • Upgrade vendored react: #62326
  • Turbopack: reduce memory usage: #62432
  • Fixed typo.: #62440
  • fix(turbopack): deal with eventual consistency in get_directory_tree: #62444
  • Telemetry: ensure the ClientComponentLoad metric is only reported when available: #62459
  • [turbopack] update edge alias: #62461
  • Rename currentIssues to currentEntryIssues: #62524
  • update turbopack: #62523
  • add plugin to avoid too many css requests: #62530
  • feat(error-overlay): hide Node.js internals: #62532
  • Create react server condition alias for next/navigation api: #62456
  • Add IssueKey type: #62526
  • OTEL: Ensure that RSC:1 requests get the next.route attr: #62464
  • Display only one hydration error when there's few in error overlay: #62448
  • Upgrade vendored react: #62549
  • Improve TS plugin options: #62438
  • Revert "fix(build-output): show stack during CSR bailout warning": #62592
  • Improve redirection handling: #62561
  • fix router crash on revalidate + popstate: #62383
  • fix: improve error when starting next without building: #62404
  • feat(turbopack): Sort issues: #62566
  • refactor createInfinitePromise to be re-used unresolveable thenable: #62595
  • fix(build-output): show stack during CSR bailout warning: #62594
  • Fix redirect under suspense boundary with basePath: #62597
  • Ensure dynamic routes dont match _next/static unexpectedly: #62559
  • Fix metadata json manifest convention: #62615
  • Migrate locale redirect handling to router-server: #62606
  • fix(next-swc): Provide tokio context required for WASM plugins: #62441
  • Update swc_core to v0.90.12: #62518
  • Update Turbopack: #62632
  • Fix instrumentation with only pages: #62622
  • Fix: generateSitemaps in production giving 404: #62212
  • Refactor flight-manifest-plugin to use compilation.entrypoints directly: #62636
  • Fix Router Error Events in Shallow Routing by Skipping cancelHandler Creation: #61771
  • DX: display highlited pesudo html when bad nesting html error occurred: #62590
  • build(cargo): remove unused features: #62616
  • feat(next-swc): lightningcss binding: #62604
  • fix: Enable SearchParams to be displayed after redirect in Server Action: #62582
  • fix(navigation): allow useSelectedLayoutSegment(s) in Pages Router: #62584
  • Consistently use /_not-found for not found page in App Router: #62679
  • Add experimental config for navigation raf test: #62668
  • Turbopack: remove unused code: #62690
  • Revert "Ensure dynamic routes dont match _next/static unexpectedly": #62691
  • fix(turbopack): don't emit issues for deleted pages: #62012
  • perf: don't emit issues via websocket for now: #59024
  • add native css nesting support: #62644
  • refactor(next-swc): remove unused features: #62696
  • Upgrade mini-css-extract-plugin: #62698
  • Update precompiled for mini-css-extract-plugin: #62699
  • feat: display text diff for text mismatch hydration errors: #62684
  • Fix lint check: #62702
  • chore: remove unused helper: #62701
  • Add param to debug PPR skeleton in dev: #62703
  • Update font data: #62704
  • Turbopack: remove node_modules error filter: #62586
  • fix(error-overlay): improve a11y, minor refactors: #62723
  • Handle top level errors coming from Turbopack entrypoints subscription: #62528
  • Add compiler error for conflicting App Router and Pages Router in Turbopack: #62531
  • fix dev overlay pseudo html collapsing: #62728
  • Route static render error message: remove duplicate word: #62738
  • Update version from backport: #62745
  • Add a flag to disable MergeCssChunksPlugin: #62746
  • refactor(cli): refactor cli to commander: #61877
  • Turbopack: Trace server app render errors through source maps: #62611
  • build(cargo): update turbopack: #62744
  • Turbopack: sass support: #62717
  • refactor(analysis): rust based page-static-info, deprecate js parse interface in next-swc: #61832
  • fix: Add stricter check for "use server" exports: #62821
  • fix(next-core): throw on invalid metadata handler: #62829
  • Revert "Add experimental config for navigation raf test (#62668)": #62834
  • Revert "refactor(analysis): rust based page-static-info, deprecate js parse interface in next-swc": #62838
  • remove reducer unit tests: #62766
  • fix(next-lint): do not pass absolute path to distDir: #62797
  • Update to latest version: #62850
  • fix "setBlocking is not a function" errors on StackBlitz: #62843
  • Remove extra logic of Server Reference check for registering twice: #62486
  • Update readme of @next/bundle-analyzer package: #62804
  • Don't emit crossorigin attributes for output: "export" by default: #61211
  • apply some transforms on foreign code too: #62827
  • update turbopack: #62884
  • refactor: rename isAppDirEnabled to hasAppDir: #62837
  • bump @edge-runtime/cookies for Partitioned cookie support: #62889
  • refactor(next): fix spacing on auto-generated root layout: #62769
  • fix(cli): fix allowRetry when using port 3000: #62840
  • Fix: missing crossorigin property on manifest link: #62873
  • Turbopack: Trace edge runtime app render errors through source maps: #62901
  • fix merge css plugin to account for css order: #62927
  • fix(next-api): correct font manifest generation: #62916
  • feat(error-overlay): notify about missing html/body in root layout: #62815
  • fix graph update: #62933
  • refactor(error-overlay): improve server code for webpack/Turbopack middleware: #62396
  • feat(error-overlay): version staleness in Pages Router: #62942
  • feat: Introduce lightningcss-loader for webpack users: #61327
  • feat(eslint): enhance no-unwanted-polyfill w/ new endpoints: #62719
  • simplify streamToString method from node-web-streams.helper.ts: #62841
  • Allow ppr only flag in test mode: #62911
  • Upgrade to latest @edge-runtime packages: #62955
  • chore(next-font): update @capsize/metrics package to the latest: #62896
  • Remove Payload from server-external-packages.json: #62965
  • Pass whole prefetch entry rather than status property: #62345
  • build: Update swc_core to v0.90.17: #62924
  • refactor(ts): type fastRefresh: #62848
  • [error overlay] move missing tags error inside error overlay: #62993
  • Update turbopack: #62971
  • fix(next-core): honor basepath for the metadata property: #62846
  • fix(next-core): do not apply ecma transforms for custom js rules: #62831
  • feat(next): fallback lightning if swc/wasm loaded: #62952
  • Fix the plugin state for async modules in webpack plugins: #62998
  • Turbopack + pages router: recover from runtime errors by reloading: #63024
  • Enable minification for Turbopack: #62994
  • app layouts/pages depend on shared main files: #63042
  • DX: add route context to dynamic errors for app routes: #62844
  • Fix metadata url cases should not append with trailing slash: #63050
  • Turbopack: Decode module component when tracing stack frames: #63070
  • build(cargo): bump up turbopack: #63073
  • OTEL: add next.rsc attribute for RSC requests: #63074
  • Correctly deserialize undefined unstable_cache data: #59126
  • refactor(error-overlay): unify Pages/App router error overlay source: #62939
  • feat(turbopack): Enable lightningcss for turbopack by default: #62565
  • ignore fully dynamic requests on server side: #62949
  • Refactor define-env-plugin to have stricter types: #63128
  • [PPR] Support rewrites in middleware: #63071
  • Fix webpack HMR for pages on the edge runtime: #60881
  • fix typo in server/config.ts: #62795
  • ensure mpa navigations to the same URL work after restoring from bfcache: #63155
  • Ensure PromiseLikeOfReactNode is not included in .d.ts files: #63185
  • Ensure undefined values end up being replaced: #63138
  • fix: x-forwarded-port header is 'undefined' when no port in url: #60484
  • Fix generateMetadata race condition: #63169
  • feat(next-core): apply invalid import assertion on the remaining contexts: #63146
  • build(cargo): bump up turbopack: #63205
  • add support for assets in edge: #63209
  • fix: Loose Server Actions runtime check: #63200
  • fix(log): improve error when dynamic code eval is disallowed: #62999
  • fix(error-overlay): strip line+column from webpack internal frames: #63133
  • fix revalidation issue with route handlers: #63213
  • fix(error-overlay): show Turbopack indicator for any staleness level: #63130
  • fix: re-export internal path: #63222
  • build: Update turbopack: #63229
  • make CacheNode properties non-optional: #63219
  • Implement new runtime_type for Turbopack: #63212
  • Use SWC to valid client next/navigation hooks usage in server components: #63160
  • chore: Update swc_core to v0.90.21: #63031
  • fix(turbopack): Do not report hmr timing twice: #63227
  • enable optimizeServerReact by default: #62658
  • feat(turbopack): emit well known error into cli: #63218
  • feat: add deploymentId config: #63198
  • Fix middleware catch-all rewrite case: #63254
  • fix(route-handlers): make sure preflight has CORS headers: #63264
  • fix(turbopack): Remove error overlay when issue is resolved: #62983
  • Disable cache in testmode: #63265
  • Turbopack: app externals test case improvements: #62871
  • build: Update turbopack: #63273
  • fix: hydration error display for text under tag case: #63288
  • Fix URL displayed in Server Action bodysizelimit error: #63295
  • Store loading data in CacheNode: #62346
  • fix(turbopack): Remove error overlay when pages/_app is fixed: #63306
  • Ensure changes in optimizePackageImports invalidate webpack cache: #63284
  • Polish the display color styles for component diff: #63342
  • Turbopack HMR: Log when more errors cause full page reload: #63220
  • Fixes typo in Route handler static generation error handling: #63345
  • Add JSM (ESM) support for next/lib/find-config: #63109
  • fix(error-overlay): matching html tag with brackets in hydration error: #63365
  • add conditions for webpack loader rules: #63333
  • fix transform of files ending with d: #63367
  • Use correct protocol and hostname for internal redirections in Server Actions: #63389
  • bug: Fields truncated when submitting form using Server Actions: #59877
  • New CSS chunking algorithm: #63157
  • Ensure all metadata files have missing default export errors in Turbopack: #63399
  • Code refactor: #63391
  • feat(error-overlay): handle script under html hydration error: #63403
  • Add Bun lockfile to project root resolving heuristic: #63112
  • build(package): pin typescript-eslint/parser for supported node.js: #63424
  • fix(next-core): carry over original segment config to metadata route: #63419
  • fix x-forwarded-port header: #63303
  • build(cargo): bump up turbopack: #63429
  • Turbopack HMR: Reload when recovering from server-side errors: #63434
  • Eliminate unnecessary decode operations in node-web-streams-helpers.ts: #63427
  • Update React from 6c3b8dbfe to 14898b6a9: #63439
  • chore(next/font): update @capsizecss/metrics package to the latest: #63440
  • update turbopack: #63475
  • Fix instant loading states after invalidating prefetch cache: #63256
  • Update tags limit handling for max items: #63486
  • feat(next-core): support unsupported module runtime error: #63491
  • Update RSC etag generation handling: #63336
  • Simplify createRootLayoutValidatorStream: #63484
  • Fix interception/detail routes being triggered by router refreshes: #63263
  • route/middleware/instrumentation use server assets instead of client assets: #62134
  • feat: add support for localizations in sitemap generator: #53765
  • Turbopack: Fail when module type is unhandled: #63535
  • feat(custom-transform): middleware dynamic assert transform: #63538
  • fix: call instrumentationHook earlier for prod server: #63536
  • Revert "feat(next-core): support unsupported module runtime error (#63491)": #63575
  • Upgrades enhanced-resolve: #63499
  • Improve experimental test proxy: #63567
  • Remove the erroring on force-dynamic in static generation for app route: #63526
  • the argument might be written with underscores: #63600
  • Remove lodash from external packages list: #63601
  • upgrade @edge-runtime/cookies: #63602
  • Add alias for react-dom react-server condition: #63588
  • Revert "Revert "feat(next-core): support unsupported module runtime error (#63491)"": #63609
  • Enable all pages under the browser context to proxy to the test proxy: #63610
  • fix(next-core): refine context for unsupported edge imports: #63622
  • Update turbopack: #63541
  • Fix RSC react-dom aliases for edge: #63619
  • Move Playwright to be a peerDependency of next.js: #63530
  • fix(dev-overlay): align codeframe to formatIssue: #63624
  • Improve TypeScript plugin for server boundary: #63667
  • perf: conditionally import Telemetry: #63574
  • feat(error-overlay): style tweaks: #63522
  • Auto map optimizePackageImports to transpilePackages for pages: #63537
  • Add Next.js version to process title: #63686
  • generate the same next/font modules for the same options: #63513
  • feat(log): improve dev/build logs: #62946
  • Update font data: #63691
  • Polish dev-overlay text styling: #63721
  • [PPR] Dynamic API Debugging: #61798
  • Rename encryption key generation code: #63730
  • ensure null loading boundaries still render a Suspense boundary: #63726
  • perf: download and save mkcert in stream: #63527
  • prevent router markers from leaking: #63606
  • Turbopack: fix allocation inefficiency: #63738
  • Fix ServerAction rejection reason: #63744
  • Respect non 200 status to page static generation response: #63731
  • Turbopack: parallelize app structure: #63707
  • fixes to next.js tracing: #63673
  • fext(next-core): inherit root layout segment config for the routes: #63683
  • add tracing to server actions transform: #63773
  • remove left-over debugging: #63774
  • update turbopack: #63778
  • fix revalidation/refresh behavior with parallel routes: #63607
  • fix router revalidation behavior for dynamic interception routes: #63768
  • feat(custom-transforms): partial page-static-info visitors: #63741
  • Ensure Webpack config shows a warning when using Turbopack: #63822
  • feat(turbopack): emit warning into logger: #63780
  • feat(custom-transform): more static info warning: #63837
  • skip HEAD request in server action redirect: #63819
  • OTEL: use the current context when creating a root span: #63825
  • Turbopack: Fail when next/font is used in _document: #63788
  • Move key generation to the earlier stage: #63832
  • fix double redirect when using a loading boundary: #63786
  • fix: default relative canonical url should not contain search: #63843
  • fix(next-typescript-plugin): allow call expression for server actions: #63748
  • fix: avoid metadata viewport warning during manually merging metadata: #63845
  • feat(next-core): set nextconfigoutput correctly: #63848
  • Ensure we dedupe fetch requests properly during page revalidate: #63849
  • feat(next-swc): Pass names of side-effect-free packages: #63268
  • fix(turbopack): loosen warning log guards: #63880
  • fix: skip checking rewrites with an empty has array in isInterceptionRouteRewrite: #63873
  • fix: bundle fetching with asset prefix: #63627
  • fix logic error in parallel route catch-all normalization: #63879
  • ensure custom amp validator path is used if provided: #63940
  • chore: remove useless any: #63910
  • Update hover behaviour note in Link JSDoc comment: #60525
  • fix: pass nonce to next/script with afterInteractive strategy: #56995
  • add experimental client router cache config: #62856
  • add telemetry events for ppr & staleTimes experimental flags: #63981
  • fix server actions not bypassing prerender cache in all cases when deployed: #63978
  • fix(next): next build --debug log output layout is broken: #63193
  • Fix abort condition for requests: #64000
  • fix(log): skip logging non-route requests: #63973
  • Ensure unstable_cache bypasses for draft mode: #64007
  • fix interception route refresh behavior with dynamic params: #64006
  • fix(turbopack): throws api issues: #64032
  • fix(turbopack): emit loadable manifest for app: #64046
  • feat(turbopack): Print error message for next/font fetching failure: #64008
  • Fix status code for /_not-found route: #64058
  • fix: fixes cookie override during redirection from server action: #61633
  • Add flag for preloading all server chunks: #64084
  • Update rust-toolchain to nightly-2024-04-03: #64048
  • fix refreshing inactive segments that contained searchParams: #64086
  • perf: improve next server static performance: #64098
  • fix(log): tweak coloring: #64106
  • Ensure static generation storage is accessed correctly: #64088
  • Ensure empty config with Turbopack does not show webpack warning: #64109
  • fix encoding for filenames containing ? or #: #58293
  • Rework experimental preload entries handling: #64125
  • Fix @opentelemetry/api aliasing for webpack: #64085
  • style(dev-overlay): refine the error message header styling: #63823
  • hotfix(next):next lint installs eslint@9 which includes breaking changes: #64141
  • feat(turbopack): Align behavior for link rel="preconnect" with webpack mode: #64011
  • feat: allow module: Preserve tsconfig option: #64110
  • ensure seeded prefetch entry is renewed after expiry: #64175
  • Fix hydration error higlight when tag matched multi times: #64133
  • test(turbopack): Add -Wl,--warn-unresolved-symbols to next-swc-napi on Linux: #64049
  • feat: Do not mangle AbortSignal to avoid breaking node-fetch: #58534
  • Turbopack: prefer local opentelemetry version: #64206
  • chore: externalize undici for bundling: #64209
  • Add a mode to next build to make it easier to debug memory issues: #63869
  • forward missing server actions to valid worker if one exists: #64227
  • feat(next/image): add overrideSrc prop: #64221
  • fix(fetch-cache): add check for updated tags when checking same cache key: #63547
  • provide revalidateReason to getStaticProps: #64258
  • chore(cli): fix the order --experimental-debug-memory-usage so it's alphabetical: #64264
  • update turbopack: #64257
  • chore: fix some typos: #64276
  • Ensure configuration is checked for Turbopack build: #64247
  • Update font data: #64277
  • Fix css FOUC in dynamic component: #64294
  • [turbopack] Fix css FOUC in dynamic component: #64021
  • fix: show the error message if images.loaderFile doesn't export a default function: #64036

Documentation Changes

  • docs: Improve useSearchParams bailout error page: #60852
  • docs: fix JS/TS code block: #60854
  • Docs: Update parallel routes docs, add default.js pt 1.: #60806
  • docs: another fix for code block: #60856
  • correct description of skipMiddlewareUrlNormalize in advanced middleware flags: #60841
  • Adds a link to CSP where it's first referenced in the headers docs: #60871
  • Add documentation page on video optimization: #60574
  • docs: small tweaks on video docs: #60902
  • docs: small tweak to videos: #60904
  • docs: clarify redirects behavior with pages router: #60610
  • docs: mention missing optimized by default packages in optimizePackageImports: #60058
  • Improves generateViewport documentation: #60396
  • docs: streaming while self-hosting must disable buffering: #60943
  • Update userScalable property in viewport object and user-scalable in meta tag: #60946
  • docs: updated the getStaticProps function name: #60949
  • update edge and nodejs runtime doc: #60801
  • Docs: Add link to bloom filter example: #60987
  • Update code example on 01-pages-and-layouts.mdx: #60963
  • docs: clarify nginx buffering disable: #61010
  • Docs: Share Redirecting docs with /pages: #61083
  • Fix <AppOnly> typo in docs: #61103
  • Docs: Correct JavaScript React Component File Extension to .jsx in '01-vitest.mdx': #61087
  • Docs: Update wording on opting out of the Router Cache: #61123
  • Fixed typo in docs: #61118
  • Combine Pages/App authentication docs: #60848
  • Docs: Add note about calling redirect after try/catch: #61138
  • OpenTelemetry: update docs for new @vercel/otel: #61044
  • docs: fix Auth0 typo in authentication: #61171
  • Update generate-sitemaps.mdx: #61167
  • Add dot to regex chars in rewrites.mdx: #61095
  • Refine revalidatePath type argument: #61159
  • Docs: Add note about revalidatePath invalidating router cache: #61142
  • Docs: Improve and add new parallel routes examples: #60981
  • chore(docs): fix docs for static assets (public): #61225
  • Docs: Adjust message about RootLayout: #61199
  • docs: add Lucia auth: #61255
  • Make server actions maxDuration timeout more clear in documentation: #60005
  • docs(02-jest): fixes failing test in the tutorial: #61272
  • docs: typo in page title: #61267
  • Removed an extra braces and comma from doc (},): #61250
  • Docs: Fix headings in Parallel Routes page: #61328
  • OpenTelemetry: clarify Edge runtime support: #61338
  • chore: update docs around redirect(): #61334
  • add the middleware.ts API reference file convention: #61037
  • Remove the regions option from the config section of the middleware file conventions doc: #61425
  • Docs: Update migration wording for /pages: #61453
  • Docs: Add instrumentation.ts API reference, improve instrumentation docs: #61403
  • Docs: Document prefetch null for App Router: #61203
  • Docs: Add note on default.js receiving params: #61454
  • chore(docs): add // @ts-check to next.config.js docs: #61543
  • Update 03-linking-and-navigating.mdx: #61622
  • chore(docs): add auto closing tag to : #61546
  • Docs: Add Kinde to authentication docs: #61460
  • docs: update useParams examples and pages usage: #61595
  • docs: update style9 to stylex: #61646
  • Mobile Friendly Test was retired: #61647
  • Fixed #61434 : Docs: Duplicated code snippets: #61446
  • Add case-sensitive note for revalidateTag/revalidatePath: #61729
  • fix: showing incorrect filename in example: #61736
  • Update 02-server-actions-and-mutations.mdx: #61756
  • Fix closing a modal example in parallel routes docs: #61819
  • docs: Example mismatch when changing language JS/TS : #61833
  • Fix closing a modal example in parallel routes docs: #61819
  • docs: Example mismatch when changing language JS/TS : #61833
  • docs: add Page Router only section for beforeInteractive: #61839
  • docs: update API reference for (switch to _document.js): #61875
  • docs: migrating from CRA: #61866
  • Docs: Address community feedback: #61857
  • docs: follow up from CRA docs: #61893
  • docs(cli): fix next info section title and re-order: #61895
  • docs: fix typo: #61943
  • close the missing } in javascript function in image docs page: #61934
  • chore: fix lint: #61950
  • docs(errors): fix typo: #61957
  • docs: update Auth.js name to NextAuth.js: #61974
  • docs: add link to Blob: #62056
  • Add puppeteer-core to serverComponentsExternalPackages.mdx: #62156
  • Fix extra const in video docs: #62155
  • Docs: update link.mdx: #61508
  • docs: fix srclang prop: #62164
  • Fix 02-pages-and-layouts.mdx to show Good to know and contents in the same box: #62203
  • docs: fix page.js file name in 02-pages-and-layouts.mdx: #62221
  • docs(cli): tweak next info docs: #62274
  • docs: Update unstable_cache.mdx with important info about dynamic data: #62202
  • Fix typo in unstable_cache.mdx: #62301
  • docs: add an explanation about prefetch on hover to the link.mdx: #62182
  • docs: fix web-vitals.tsx file path for second example: #62387
  • better reference for what is serializable by React: #62405
  • Updating Cloudinary Video Resources: #61959
  • Revert "docs(errors): fix typo": #62411
  • docs: add current state argument to authenticate function: #62399
  • docs(link): update docs around link prefetch: false: #62414
  • chore: Bump actions/cache: #62422
  • Docs: Add CORS examples: #62439
  • feat(docs): update 14-internationalization.mdx: #62484
  • feat(docs): update 02-app-router-migration.mdx: #62533
  • docs: fix typo: #62543
  • docs: Remove superfluous tags in api-reference/components/link.mdx: #62501
  • docs: fix redirect loop in auth code example: #62589
  • docs: Don't suggest using taintUniqueValue API with phone number: #62600
  • [docs] update analytics doc to use useReportWebVitals (again): #62654
  • Update 05-error-handling.mdx: #62153
  • Correct format for autoplay attribute in NextJS video docs : #62695
  • Update unstable_cache docs for revalidate option: #62689
  • docs: update Next.js CLI docs: #62304
  • docs: clarify client component intro: #62767
  • Update sitemap.mdx: #62809
  • Update 06-src-directory.mdx to mention Typescript paths: #62863
  • Add missing await keyword in code block.: #62919
  • [docs] Fix the TS Type from the function sitemap #62947: #62960
  • docs(cli): add mention of our default port behavior: #62964
  • docs: sync serverComponentsExternalPackages.mdx with implementation: #62966
  • Docs: Clarify fetch caching exceptions: #63004
  • Fix syntax error in the TypeScript example: #63003
  • Docs: Clarify AbortController.signal usage in React fetch memoization: #63009
  • Docs: Document crossOrigin option: #61455
  • docs: change the Router Cache link reference: #62976
  • Docs: Update CRA migration guide: #63037
  • docs: Update route-segment-config.mdx: #63046
  • Details for Turbopack loaders.: #62300
  • Fix typo in 03-environment-variables.mdx: #63067
  • Docs: Note $ACTION_ formData properties: #63048
  • docs: clarify perf benefits of RSC: #63096
  • Joy-UI supports Next.js: #63144
  • Fixed Authentication docs improper nesting of unordered list inside ordered list: #62958
  • docs(link): add good to know comment about scroll behavior: #63152
  • Update route.mdx: #60976
  • docs: replace vercel/otel link to npm: #63173
  • docs: fix punctuation: #63223
  • Update 02-server-actions-and-mutations.mdx - FormData is itself iterable : #62541
  • Update 02-server-actions-and-mutations.mdx - add required generic type and remove unnecessary parameter types: #62551
  • docs: Make a better sentence by connecting with comma: #63355
  • docs: fix typo in route-segment-config.mdx: #63362
  • docs: add Lucia for authentication: #63339
  • docs: fix next/script example causing hydration errors: #63401
  • Rename variable in documentation example: #63425
  • docs: add AWS CloudFront loader for next/image: #63262
  • Update generate-viewport.mdx: #63493
  • Update react-hydration-error.mdx: #63455
  • Update a third-parties docs, GoogleTagManager example: #63448
  • Update opentelemetry docs #63443: #63444
  • Update middleware matcher docs to mention has matching: #63533
  • chore(docs): update React docs link: #63594
  • Update 10-custom-server.mdx: #63543
  • docs: async is missing in a server component: #63661
  • Fix documentation of supported JS Features: #63640
  • Remove obsolete block-all-mixed-content CSP directive: #63595
  • Update middleware docs to include common use cases : #63534
  • Update default.mdx: #63678
  • Update Turbopack docs: #63759
  • Add note about data cache not applying middleware: #63842
  • docs: add details about images options at next.config.js options: #63712
  • Add documentation on debugging memory usage: #63689
  • change aria-disabled on form buttons to disabled: #63852
  • [docs] aria-disabled does not disabled button.: #63888
  • Fix the command to run next build with Node.js --heap-prof flag: #63982
  • "const loginSegment =" should be singular: #64029
  • docs: fix dynamic searchParams copy: #64038
  • Update sitemap.mdx: #64061
  • docs: fix prefetching information: #64039
  • fix the command to install nextjs using bun: #64081
  • docs: add experimental staleTimes resource: #64040
  • docs: fix code snippet in next/script: #64119
  • chore: Replaced more impactful words: #63835
  • docs: improve prerender error message: #64154
  • fix: Update install method for Bun: #64151
  • docs: add note about streaming and Safari limitations: #64179
  • Add additional links to staleTime docs: #64195
  • fix(docs): update width height value on example to sync with demo: #64147
  • docs(cli): re-order profile to match help output: #64267
  • chore(docs): update wrong route in staleTimes.mdx: #64278
  • Update documentation on webpack loaders in Turbopack: #64296

Example Changes

  • upgrade @types/react-dom to v18.2.18 to import useFormState for server actions in with-supabase example: #60822
  • Updates with-supertokens example app: #60901
  • chore: remove lock from with-algolia-react-instantsearch example: #60910
  • Update Redis Cache example with stabilized API: #60800
  • Change "pages" to "apps" in the Image Component Example description.: #60929
  • example: Add Stripe embedded Checkout example : #60378
  • example(with-stripe-typescript): use client required for error components: #61214
  • fix(with-stripe-typescript): Bump apiVersion when initialising Stripe client: #61217
  • chore(examples): switch default from yarn to npm in Dockerfiles: #61348
  • Update blog-starter to App Router: #61170
  • fix: dockerfile npm run build: #61466
  • fix(with-docker): resolve build with pnpm: #61529
  • Fixing a case sensitivity error: #61563
  • enhancement(with-supabase): replace getSession() with getUser(): #61564
  • chore(examples): deduplicate react-dom imports in add-form.tsx: #61751
  • Clean up with-supabase example: #61799
  • Clean up with-supabase example: #61799
  • Turbopack issue report tests: #61845
  • fix(examples): cache-handler-redis implementation may cause error "Socket already opened" on production: #61978
  • fix: Check if the GET comments response was ok, otherwise throw: #62041
  • Patch 2: #62147
  • Add protected page and pending state to with-supabase example: #62211
  • fix: 💯 typescript issue with-jest example: #62227
  • Update with-redux example to match the guide in Redux Toolkit docs: #59864
  • Update examples/active-class-name: #62506
  • examples: add favicon.ico for to avoid browser requests: #62511
  • chore(examples): fix with-cypress build: #62614
  • Update with-react-bootstrap to be Turbopack compatible: #62773
  • Fix invalid / import in with-facebook-pixel example: #62772
  • Update with-emotion example: #62771
  • Fix error in api-routes-middleware example: #62788
  • Fix cms-plasmic example: #62790
  • Update auth-with-stytch example to link to the official guide: #62770
  • Update with-webassembly example to fix hydration error: #62807
  • Link to iron-session example: #62808
  • Add missing dependencies to with-mdbreact: #62810
  • Remove with-semantic-ui example: #62811
  • Remove with-reasonml-todo example: #62812
  • Remove deprecated library example: #62813
  • Fix react-native-web example for Turbopack: #62814
  • Fix with-quill-js example: #62819
  • Fix with-supertokens example: #62817
  • Fix with-passport-and-next-connect import: #62874
  • Remove cms-keystonejs-embedded and link to official docs: #62876
  • Fix with-joi example: #62877
  • chore: migrate basic-css example from page router to app router: #62980
  • with-mux-video: move to app router and update packages: #62297
  • chore(blog-starter): update import paths to use aliases: #62986
  • Switch CodeSandbox repros to pnpm: #63038
  • fix internal Markdown links in Sanity example readme: #63069
  • Update Sanity example for App Router: #63045
  • fix(examples): dynamically update page title: #63110
  • fix: permissions in with-docker example: #63134
  • Allow unsafe-eval during development: #55998
  • Revert "fix: permissions in with-docker example": #63165
  • chore(examples): remove duplicate line in .gitignore for progressive-web-app example: #63207
  • Update Sanity example for App Router: #63187
  • Fix pnpm support in Sanity example: #63249
  • Update to the Stable API: #60493
  • Migrate the with-jotai example from page router to app router: #63390
  • update Docker examples to specify HOSTNAME properly: #59756
  • Update Sanity example deps: #63514
  • Fix(example) : Image missing width property in with-redux example: #63546
  • Fix duplication of without on with-docker-compose Readme: #63643
  • chore(examples): migrate mdx from pages router (JS) to app router (TS): #63646
  • Revert "chore(examples): migrate mdx from pages router (JS) to app router (TS)": #63704
  • fix: file name in with-zustand example: #63925
  • Fix last examples for Turbopack: #64020
  • fix(examples): invalid with-apollo and with-graphql-hooks: #64186

Misc Changes

  • Fix last stable tag for release stats: #60850
  • chore: update issue_popular workflow to 90 days: #60860
  • Update Turbopack test manifest: #60870
  • flag test as failing: #60892
  • chore: fix core team members: #60900
  • Fix basic-app benchmark application: #60842
  • Fix image-optimizer tests for Turbopack: #60972
  • Fix image-optimizer test for Turbopack: #60978
  • Skip @next/font tests in Turbopack as next/font is supported: #60982
  • chore: stricter reproduction links: #60988
  • Rust: update http to 0.2.11: #60986
  • chore: upgrade pnpm to 8.14.2: #60995
  • docs: fix rustup download link: #61007
  • Fix ReactRefreshModule test in Turbopack: #61049
  • Skip configurable runtime warnings tests in Turbopack: #61048
  • Acceptance/error-recovery.test.js: Fork Turbopack test: #61051
  • lock reqwest to 0.11.17 due to build issues: #61076
  • Update Turbopack test manifest: #61074
  • Disable Yarn PnP tests for Turbopack: #61040
  • fix: github reproduction link validation: #61026
  • Fix image-from-node-modules tests in Turbopack: #61078
  • Update invalid-image-import test for Turbopack: #61079
  • Fix next-image static tests for Turbopack: #61081
  • Update next-image-new/default for Turbopack: #61096
  • chore: update issue_popular description to 90 days: #61008
  • Update next-image-new/both-basepath-trailingslash for Turbopack: #61097
  • ci(workflow): update artifact actions: #61061
  • Add missing rootlayout to allow-underscored-root-directory test: #61137
  • Skip CSS Modules composes test in Turbopack: #61141
  • Add passing test to Turbopack manifest: #61140
  • Skip new Worker() test in Turbopack: #61127
  • Fix app-dir/externals for Turbopack: #61150
  • ci(workflow): fix wasm upload name collision: #61157
  • ci(workflow): fix download artifact pattern for wasm: #61175
  • Skip create-root-layout for Turbopack: #61191
  • Ensure test upload step fails: #61188
  • Skip resolving test in Turbopack: #61207
  • Fix next-image-new/asset-prefix for Turbopack: #61224
  • Fix edge-light-import-specifier test for Turbopack: #61234
  • Update Turbopack test manifest: #61246
  • Skip barrel optimization tests in Turbopack: #61253
  • Skip build test in Turbopack: #61256
  • Skip test that is also skipped in webpack: #61221
  • Fix test name for jsconfig-baseurl: #61254
  • Fix next-image-legacy/asset-prefix for Turbopack: #61263
  • Fix e2e/swc-warnings: #61265
  • Fix tests in app-dir-export for Turbopack: #61266
  • Skip onlyRemoveTypeImports Babel test for Turbopack: #61268
  • Fix data-ampdevmode test for Turbopack: #61271
  • Update Turbopack test manifest: #61278
  • Fix next-image-legacy/asset-prefix for Turbopack: #61289
  • create-next-app: update tailwind packages and new classes in page.tsx: #61065
  • Fix app-document-import-order for Turbopack: #61295
  • Fix next-image-legacy/base-path for Turbopack: #61311
  • Skip browserslistrc tests: #61294
  • Fix image-optimizer for Turbopack: #61312
  • Fix next-image-new/app-dir for Turbopack: #61282
  • Fix areweturboyet test path: #61314
  • Remove incorrect test: #61335
  • Fix image matcher in test: #61349
  • chore: add good first issue label comment: #61215
  • chore: use real font files for font tests: #61399
  • chore: add resolved label: #61416
  • Update Turbopack test manifest: #61435
  • CNA: exclude ts(js)conf.json as well as .git folder: #61412
  • remove note about updating next.config with hostname as this is not n…: #61458
  • chore(deps): bump swr to 2.2.4: #61480
  • Fix styled-components test for Turbopack: #61496
  • Fix emotion test: #61499
  • Fix env-config tests for Turbopack: #61503
  • chore: update github actions: #61517
  • Skip Relay test for Turbopack: #61578
  • Update Turbopack test manifest: #61608
  • Revert actions/setup-node v4 bump: #61637
  • Revert "Revert actions/setup-node v4 bump": #61640
  • chore: upgrade turbo to 1.12.2: #61643
  • Ensure publish job has correct status on fail: #61645
  • Update to latest version of npm for publishing: #61644
  • Update Turbopack test manifest: #61626
  • Update next/font tests for Turbopack: #61665
  • Upload npm publish log as artifact for debugging: #61680
  • feat(cna): remove autoprefixer from default templates: #55725
  • Fix app-dir/next-font for Turbopack: #61678
  • Update Turbopack test manifest: #61707
  • test: remove unused directory: #61744
  • Update Turbopack test manifest: #61758
  • double default stack size: #61781
  • chore: add pull_request_popular workflow: #61760
  • Turbopack: update more snapshots: #61786
  • test: add test for logging trace of dynamic = error: #61811
  • test(fixture): separate pnpm cache for the test installation: #61783
  • test: add test for logging trace of dynamic = error: #61811
  • test(fixture): separate pnpm cache for the test installation: #61783
  • chore(test): switch a few tests from yarn to pnpm: #61793
  • chore: rename job in pull_request_popular workflow: #61876
  • chore: Update pnpm v8.14.2 to 8.15.1: #61807
  • chore: auto-close non-labeled issues
  • Merge branch 'canary' of https://github.com/vercel/next.js into canary
  • chore(github-workflow): dynamically create pr list (> 1 +1 reaction): #61963
  • chore(github-workflow): update pull_request_popular name: #61967
  • test(fixture): fix manifest update: #61970
  • test(turbopack): Modify a webpack-specific assertion: #62028
  • test: rename node_modules_bak to node_modules: #62066
  • test: Make css deduplication assertion work for turbopack: #62128
  • chore: update test template to use nextTestSetup: #62154
  • Fix sendGAEvent function : #62065
  • Fix sendGAEvent function (for real?): #62192
  • test: Make css bundle assertion work also for turbopack: #62127
  • docs: remove reference to createNextDescribe in favor of nextTestSetup: #62245
  • Update Turbopack test manifest: #62268
  • tests are no longer flaky: #62278
  • fix(create-next-app): add --no-import-alias for non-interactive: #62035
  • Move scss tests into test/integration/scss directory: #62276
  • Move scss tests into individual directories: #62277
  • Update Turbopack test manifest: #62314
  • Fix test flake: #62379
  • Update Turbopack test manifest: #62389
  • Update Turbopack test manifest: #62433
  • Turbopack: skip tests for import trace links: #61831
  • Update Turbopack test manifest: #62476
  • Revert "Update Turbopack test manifest": #62534
  • test: separate mui barrel optimization test: #62545
  • test: also check source code for node:internal related errors: #62542
  • chore: update non-interactive snippet in README.md: #62493
  • Fix the typo in the GTM URL if the dataLayerName property is configured: #62436
  • fix(build-output): show stack during CSR bailout warning
  • fix flakey navigation test: #62598
  • chore: drop npm-run-all: #62642
  • ci(workflow): fix 403 redirect: #62665
  • Revert "chore: drop npm-run-all": #62700
  • Update Turbopack test manifest: #62674
  • Migrate Sass tests to test/e2e: #62321
  • Update Turbopack test manifest: #62715
  • Revert "Migrate Sass tests to test/e2e": #62735
  • chore: add new codeowners for cli refactor: #62749
  • Update error handling in publish scripts: #62754
  • Fix conflicting-app-page-error test for Turbopack: #62747
  • Update start release handling: #62851
  • Update canary semver handling: #62852
  • Use actions/checkout for trigger release: #62854
  • Fix handling for getting latest stable tag: #62858
  • test(fixture): update snapshot: #62894
  • Update to only use preminor when configured: #62904
  • set persist-credentials: false during release workflow: #62905
  • test(integration-cli): fix test name: #62915
  • Update Turbopack test manifest: #62925
  • Add CI check to validate externals doc: #62968
  • chore: update pnpm version from 8.15.1 to 8.15.4: #62979
  • Update Turbopack test manifest: #62981
  • Move timeout to test step and give whole job a bigger timeout: #62997
  • fix broken create-next-app tests: #63019
  • fix flakey app-action test: #63021
  • fix flakey HMR test: #63022
  • fix transpile-packages test: #63023
  • Fix flaky test by removing unecessary NODE_OPTIONS='--inspect': #63025
  • fix dynamic api route test: #63027
  • test(scss): rename test suites: #63060
  • test(manifest): upload areweturboyet kv from test manifest: #63064
  • Update Turbopack test manifest: #63066
  • chore(test): add test for next/image in node_modules with app router: #63139
  • Remove unnecessary 'await' from writeSema.release() call: #63117
  • Switch to .cjs PostCSS config: #58380
  • Update Turbopack test manifest: #63125
  • chore: upgrade turbo to 1.12.5: #63163
  • Fix trigger_release workflow to not publish empty canaries: #63167
  • Update Turbopack test manifest: #63177
  • Update Turbopack test manifest: #63231
  • Add tarball deployments for each build: #62969
  • Update Turbopack test manifest: #63274
  • chore(test): fix typo occured => occurred: #63287
  • Update Turbopack test manifest: #63316
  • test(fixture): update middleware test fixture & manifest: #63340
  • reenable initially skipped tests: #63347
  • Update Turbopack test manifest: #63356
  • Update Turbopack test manifest: #63370
  • Skip worker test in Turbopack: #63398
  • Update switchable runtime snapshot for Turbopack: #63400
  • [Turbopack] update tokio: #63404
  • Update Turbopack workflows to have clearer names: #63407
  • Switch to postcss.config.mjs, add type: #63380
  • Turbopack HMR: use own snapshot in error-recovery: #63417
  • ci(workflow): fix workflow references: #63437
  • Upgrade popular-issues and popular-prs workflows: #63436
  • Update Turbopack test manifest: #63452
  • Rename turbopack-tests-manifest to turbopack-dev-tests-manifest: #63409
  • Implement Turbopack build manifest update: #63461
  • Unique name for production integration tests: #63468
  • Add unique name for GitHub action steps: #63471
  • Use type production for Turbopack tests: #63473
  • Ensure NEXT_TEST_MODE is set for production run: #63474
  • Skip test/integration in Turbopack build runs: #63480
  • test: switch order of tests to avoid flakniess: #63482
  • Don't download latest test result when reporting manifest: #63488
  • refactor(test): expose test mode as re-exported variables: #63240
  • Split dev and build test run for Turbopack: #63511
  • Add reporting of turbopack-dev-examples-manifest.json: #63521
  • chore: fix stale issue closing GH Action: #63523
  • retry pnpm pack: #63519
  • refactor(test): don't use global as any in test utils: #63241
  • test(fixture): update test fixture: #63498
  • refactor(test): switch tests to use pnpm in more places: #63196
  • chore(test): fix false-positive tests: #63242
  • Fix edge-can-use-wasm-files test for Turbopack: #63552
  • Update Turbopack to turbopack-240321.3: #63585
  • Add failing test for SCSS mixin that uses parenthesis: #63562
  • test(manifest): update manifest: #63613
  • add Janka (@lubieowoce) to "created-by: Next.js team" in labeler config: #63618
  • Update Turbopack development test manifest: #63635
  • Remove Turbopack test skip for scss test: #63649
  • Add TURBOPACK_DEV to distinguish dev/build in test suite: #63653
  • Rename process.env.TURBOPACK -> process.env.TURBOPACK_DEV in test skips: #63665
  • add Sebastian (eps1lon) to "created-by: next.js team" in labeler config: #63669
  • Skip test/integration development tests during Turbopack build test run: #63671
  • Enable test/integration for TURBOPACK_BUILD: #63679
  • Add defaults for integration test run schedule: #63684
  • refactor: unnecessary ternary operator: #63374
  • Update Turbopack production test manifest: #63688
  • Revert "Update Turbopack production test manifest": #63699
  • Revert "Revert "Update Turbopack production test manifest"": #63700
  • Ensure production integration test results are uploaded: #63706
  • Fix name of production tests for collection: #63714
  • Update Turbopack development test manifest: #63716
  • Ensure test-firefox-safari is required for tests passing: #63733
  • chore(github-workflow): remove TODO comment: #63737
  • de-flake prerender-prefetch test: #63739
  • improve tilde test case: #63470
  • Update Turbopack development test manifest: #63751
  • Improve handling of failed nextBuild() calls in test suite: #63717
  • Update Turbopack development test manifest: #63776
  • Ensure automated-update-workflow fails on errors: #63807
  • fix flaky prerender test: #63826
  • Use local AMP validator to reduce test flakiness: #63838
  • Skip failing Turbopack build test: #63814
  • Add job to test flakiness of added/changed tests: #63943
  • Tweak flakey on-demand revalidate test: #63953
  • test: Use the correct chunk path for testing: #63859
  • Update Turbopack development test manifest: #63959
  • fix server-actions-relative-redirect types: #63985
  • Parallelize dev/start flake detection: #63954
  • fix(create-next-app): validate --import-alias value: #63855
  • de-flake custom-error integration test: #63994
  • Update flakey prerender fallback test: #64001
  • docs: add link to Next.js Learn repo in issue template switcher: #63964
  • Increase concurrent of daily Turbopack test runs: #63939
  • test(cna): split and refactor: #63921
  • Ensure test flake detection is required status: #64035
  • Update Turbopack development test manifest: #64055
  • Run compile for .github/actions/upload-turboyet-data: #64025
  • test: Use the correct matcher pattern for stack traces: #63927
  • Update Turbopack development test manifest: #64101
  • Fix missing CNA tests env variable: #64092
  • Always throw error when build fails during test: #64116
  • Update Turbopack development test manifest: #64160
  • Update Turbopack development test manifest: #64190
  • Add additional logs to next-integration-stat: #64169
  • chore(deps): Sync dependencies: #64094
  • test: pin eslint version to 8 in test to avoid breaking changes: #64202
  • Stop using baseUrl in root tsconfig: #64117
  • chore: Fix CI: #64233
  • test: Disable next build test for turbopack: #64236
  • Update Turbopack development test manifest: #64285
  • Update turbopack-build-manifest: #64290
  • add test-turbo command: #64284

Credits

Huge thanks to @ijjk, @leerob, @delbaoliveira, @taishikato, @JesseKoldewijn, @samcx, @Evavic44, @feugy, @sokra, @balazsorban44, @liamlaverty, @dvoytenko, @StephDietz, @SukkaW, @wbinnssmith, @rishabhpoddar, @Ethan-Arrowood, @better-salmon, @ziyafenn, @A7med3bdulBaset, @jasonuc, @yossydev, @Prachi-meon, @timneutkens, @InfiniteCodeMonkeys, @huozhi, @ForsakenHarmony, @miketimmerman, @kwonoj, @ztanner, @williamli, @gnoff, @kdy1, @jsteele-stripe, @chungweileong94, @styfle, @shuding, @WITS, @sogoagain, @junioryono, @eisafaqiri, @yannbolliger, @feedthejim, @aramikuto, @rocketman-21, @kenji-webdev, @michaelpeterswa, @Dannymx, @vpaflah, @zeevo, @chrisweb, @stefangeneralao, @tknickman, @Kikobeats, @ubinatus, @code-haseeb, @hmmChase, @byhow, @DanielRivers, @wojtekmaj, @paramoshkinandrew, @OMikkel, @theitaliandev, @oliviertassinari, @Ishaan2053, @Sandeep-Mani, @alyahmedaly, @Lezzio, @devjiwonchoi, @juliusmarminge, @wyattjoh, @szmazhr, @eddiejaoude, @itz-Me-Pj, @AndersDJohnson, @gentamura, @tills13, @dijonmusters, @SaiGanesh21, @vordgi, @ryota-murakami, @tszhong0411, @officialrajdeepsingh, @alexpuertasr, @AkifumiSato, @Jonas-PFX, @icyJoseph, @florian-lp, @pbzona, @erfanium, @remcohaszing, @bernardobelchior, @willashe, @kevinmitch14, @smakosh, @mnjongerius, @asobirov, @theoholl, @suu3, @ArianHamdi, @adrianha, @Sina-Abf, @kuzeykose, @meenie, @nphmuller, @javivelasco, @belgattitude, @Svetoslav99, @johnslemmer, @colbyfayock, @mehranmf31, @m-nakamura145, @ryo8000, @aryaemami59, @bestlyg, @jinsoul75, @petrovmiroslav, @nattui, @zhuyedev, @dongwonnn, @nhducit, @flotwig, @Schmavery, @abhinaypandey02, @rvetere, @coffeecupjapan, @cjimmy, @Soheiljafarnejad, @jantimon, @zengspr, @wesbos, @neomad1337, @MaxLeiter, @devr77, @jcbhmr, @AlmazHecker, @tdanecker, @rezof, @ryanhalliday, @KaygNas, @elenistvr, @jmikrut, @ariannargesi, @lhfmartin, @decepulis, @nauvalazhar, @dnhn, @karlhorky, @anthonyshew, @Fingel, @alexravenna, @mattddean, @stipsan, @caseyocampo, @KimJeonghun91, @pacexy, @Kinbaum, @devnyxie, @sleepdotexe, @apostolos, @landoncolburn, @yuvalotem, @maksympc, @chironjit, @pwbriggs, @ellertsmari, @michaltarasiuk, @phanect, @saul-atomrigs, @chogyejin, @rwieruch, @TryingToImprove, @KonkenBonken, @piotrekwitkowski, @chrisjstott, @fursich, @ValentinH, @LuiGeeDev, @raferdev, @ctkc, @FoSuCloud, @arcanis, @agadzik, @bb8dd, @SouthLink, @lubieowoce, @setodeve, @ykzts, @Juneezee, @grajen3, @IvoBiaus, @mknichel, @vespertilian, @evelynhathaway, @Netail, @byseop, @CreeJee, @ademilter, @kevva, @fellipeutaka, @mindmind, @Eunkyung-Son, @thekavikumar, @technikhil314, @Dragate, @Pyr33x, @Zaid-maker, @bgw, @hjick, @eps1lon, @ahmoin, @tjabbe, and @ojj1123 for helping!

next.js - v14.1.4

Published by styfle 7 months ago

[!NOTE]
This release is backporting bug fixes. It does not include all pending features/changes on canary.

Core Changes

  • Update React from 60a927d04 to 4b84f11 (#63476) @ztanner
  • fix revalidation issue with route handlers (#63213) @ztanner
  • ensure mpa navigations to the same URL work after restoring from bfcache (#63155) @ztanner
  • Ensure PromiseLikeOfReactNode is not included in .d.ts files (#63185) @timneutkens
  • Fix metadata url cases should not append with trailing slash (#63050) @huozhi
  • feat: add deploymentId config (#63198) @styfle
  • fix: bump @vercel/[email protected] (#61538) @styfle
  • fix x-forwarded-port header (#63303) @Ethan-Arrowood
  • fix: x-forwarded-port header is 'undefined' when no port in url (#60484) @yuvalotem

Test Changes

  • test: switch order of tests to avoid flakniess (#63482) @huozhi
  • fix broken create-next-app tests (#63019) @ztanner
next.js - v14.1.3

Published by huozhi 7 months ago

Core Changes

  • Upgrade to latest @edge-runtime packages: #62955
  • Fix output: export with custom distDir: #62064
  • Migrate locale redirect handling to router-server: #62606

Credits

Huge thanks to @ijjk

next.js - v14.1.2

Published by ijjk 8 months ago

Note: this is a backport release for critical bug fixes -- this does not include all pending features/changes on canary

Core Changes

  • Fix sitemap generateSitemaps support for string id (#61088)
  • Fix: generateSitemaps in production giving 404 (#62212)
  • Fix redirect under suspense boundary with basePath (#62597)
  • Fix: Add stricter check for "use server" exports (#62821)
  • ensure server action errors notify rejection handlers (#61588)
  • make router restore action resilient to a missing tree (#62098)
  • build: remove sentry from the externals list #61194
  • Reduce memory/cache overhead from over loader processing #62005

Credits

Huge thanks to @huozhi, @shuding, @Ethan-Arrowood, @styfle, @ijjk, @ztanner, @balazsorban44, @kdy1, and @williamli for helping!

next.js - v14.1.1

Published by ijjk 8 months ago

Core Changes

Credits

Huge thanks to @huozhi, @shuding, @Ethan-Arrowood, @styfle, @ijjk, @ztanner, @balazsorban44, @kdy1, and @williamli for helping!

next.js - v14.1.0

Published by huozhi 9 months ago

Core Changes

  • Turbopack: switch to a single client components entrypoint: #59352
  • Update swc_core to v0.86.98 and turbopack: #59393
  • Fix cases for the optimize_server_react transform: #59390
  • Use new JSX transform: #56294
  • loading.tsx should have no effect on partial rendering when PPR is enabled: #59196
  • Update font data: #59426
  • Remove CacheNode.status field: #59472
  • Rename CacheNode.data → .lazyData : #59473
  • Generate Params Cleanup: #59431
  • Fix webpack chunks handling in traces: #59498
  • Rename CacheNode.subTreeData -> .rsc : #59491
  • fix NODE_OPTIONS=inspect: #59530
  • Add CacheNode.prefetchRsc field: #59537
  • allow passing wildcard domains in serverActions.allowedDomains: #59428
  • Page Info Cleanup: #59430
  • Fix force-static and fetch no-store cases: #59549
  • Should not show no index for client rendering bailout: #59531
  • Enable build worker by default: #59405
  • Fork navigateReducer into PPR and non-PPR versions: #59538
  • cleanup magic segment strings: #59552
  • chore: update Turbopack: #59589
  • Fix another magic segment string constant: #59591
  • Make CacheNodeSeedData match FlightRouterState more closely: #59590
  • transpilePackages should override default settings for external packages: #59385
  • move segment constants to separate file: #59587
  • Revert "Page Info Cleanup (#59430)": #59592
  • Fix useOptimistic in server components bug. Add tests for invalid React server APIs: #59621
  • Partial Pre Rendering Headers: #59447
  • Add tests for invalid React server APIs: #59622
  • Refactor setup-dev-bundler to make Turbopack/Webpack split clearer: #59650
  • refactor and simplify app dynamic components: #59658
  • Change manifestPath to pagesManifestPath: #59657
  • Fix issue with outputFileTracingExcludes and pages/api edge runtime: #59157
  • Update font data: #59722
  • Remove path normalization logic when uploading .next/trace traces: #59305
  • LayoutRouter: Support segment value of Promise to asynchronously bail out and trigger a server patch: #59724
  • fix: Allow start turbopack dev server for a project using middleware: #59759
  • fix: gracefully shutdown server: #59551
  • Revert "fix: gracefully shutdown server (#59551)": #59792
  • Optionally bundle legacy react-dom/server APIs based on usage: #59737
  • fix default handling in route groups that handle interception: #59752
  • Transpile all code on app browser layer: #59569
  • Initial implementation of PPR client navigations: #59725
  • fix(turbopack): prevent edge entrypoint from becoming an async module: #59818
  • Ensure we validate revalidate configs properly: #59822
  • Update error check in validateRevalidate: #59826
  • Rename confusing loaders: #59827
  • Upgrade og dependencies: #59541
  • [PPR Navs] Bugfix: Dynamic data never streams in if prefetch entry is stale: #59833
  • fix parallel catch-all route normalization: #59791
  • fix router prefetch cache key to work with route interception: #59861
  • Alias nextjs api entry to esm version for app router: #59852
  • Remove duplicate standalone check: #60085
  • Remove return on void function: #60087
  • Ensure NextBuildContext is only used during build: #60099
  • Add PageExtensions type: #60108
  • Ensure instrumentation file does not affect middleware count: #60102
  • Use WebpackError type instead of any: #60105
  • Remove root parameter: #60112
  • Remove extra duplicate pages warning: #60113
  • Add MappedPages type: #60106
  • Always call createPagesMapping for root paths: #60107
  • Fix path issues on linux machines when build created on windows: #60116
  • fix: Fix wrong cjs detection of auto-cjs pass: #60118
  • chore: update Copyright time from 2023 to 2024: #60071
  • Filter out duplicate paths in build output: #59858
  • chore: align webpack config node version: #59862
  • gracefully handle client router segment mismatches: #60141
  • Fix start build log being overwritten by logs from page: #60122
  • Allow using ESM pkg with custom incremental cache: #59863
  • Fix emitting ESM swc helpers for 3rd parties CJS libs in bundle: #60169
  • Move cacheDir logic to getCacheDir: #60133
  • Refactor to unify writeFile, readFile, and add readManifest: #60137
  • chore: bump @vercel/[email protected]: #60172
  • fix: <Script> with beforeInteractive strategy ignores additional attributes in App Router: #59779
  • Fix invalid comment: #60182
  • Refactor: Separate RSC renderer from SSR wrapping component: #59676
  • fix: cache next font during development to avoid FOUC: #60175
  • Add writeManifest: #60138
  • Add writePrerenderManifest: #60158
  • Add writeStandaloneDirectory: #60162
  • Always write FunctionsConfigManifest: #60163
  • Upgrade @vercel/og: #60205
  • Improve consistency of issues and diagnostics for napi calls: #60198
  • Change server actions cache default to no-store: #60170
  • Allow undefined environment variables in config: #58247
  • Add writeFullyStaticExport: #60200
  • fix: Mark file as ESM if it has an export from auto-cjs pass: #60216
  • log a dev warning when a missing parallel slot results in a 404: #60186
  • Fix: Throw an error for empty array return in generateStaticParams with output:export: #57053
  • Ensure appPathsManifest variable is inside if block: #60210
  • Remove NEXT_TURBO_FILTER_PAGES internal variable: #60217
  • fix: add node-web-audio-api to server-external-packages.json: #60243
  • Disable 2mb limit for custom incrementalCacheHandler: #59976
  • [PPR Nav] Fix: Page data should always be applied: #60242
  • Add writeImagesManifest: #60209
  • feat(next-core): apply rsc transform in turbopack: #59629
  • Move buildId logic to getBuildId: #60132
  • fix catch-all route normalization for default parallel routes: #60240
  • micro fix of the cache limit check: #60249
  • parallel routes: fix @children slots: #60288
  • Bump webpack-bundle-analyzer: #58442
  • docs: Add docs for next dev --experimental-https: #60357
  • Update React from 0cdfef19b to f1039be4a: #60368
  • Simplify if condition: #60250
  • Fix dynamic sitemap detection: #60356
  • chore(font): enable minification: #60319
  • chore(precompile): remove obsolete precompiled assets : #60316
  • refactor: simplify the call in lib.picocolors: #60386
  • chore(precompile): re-add watchpack to the precompile: #60309
  • refactor(dev-overlay): remove chalk: #60317
  • Fix: HMR in multi-zone handling 🌱: #59471
  • HMR development stats: include updatedModules for App Router and Turbopack changes: #59785
  • Change color of output bundle size: #60385
  • Fix TypeError when using params in RootLayout with parallel routes: #60401
  • Fix missing source code display for some jsx errors: #60390
  • Refactor unstable_cache implementation: #60403
  • Missing Postpone Detection Fix: #59891
  • refactor(next/core): reorganize next.js custom transforms for next-swc/turbopack: #60400
  • Fix custom cache handler importing on windows: #60312
  • Display original failed fetch trace: #60274
  • feat(app-router): introduce experimental.missingSuspenseWithCSRBailout flag: #57642
  • update turbopack: #60208
  • update turbopack: #60478
  • feat(turbopack): support named client references properly: #59578
  • Fix intercepted segments with basepath: #60485
  • parallel routes: fix client reference manifest grouping for catch-all segments: #60482
  • Group small chunks in shared js section of output: #60479
  • filter default segments from prerender manifest: #60499
  • Add experimental options for more parallelization in webpack builds: #60177
  • move custom allocator flag and add rustls-tls comment: #60128
  • fix: redirect logic missing basePath in App Render: #60184
  • Revert "feat(app-router): introduce experimental.missingSuspenseWithCSRBailout flag": #60508
  • add retry logic to loadClientReferenceManifest: #56518
  • Turbopack hmr: record forwarded client spans: #60500
  • chore(turbopack): check for unsupported next config options instead of supported ones: #58781
  • Handle non server action post requests safely: #60526
  • Fix global-error for nested routes: #60539
  • chore(examples): use default prettier for examples/templates: #60530
  • Update default error rate for client filter: #60542
  • Enable windowHistorySupport by default: #60557
  • Fix logging order of build jobs: #60564
  • propagate notFound errors past a segment's error boundary: #60567
  • Tracing: attach Turbopack session value to root span: #60576
  • [PPR Nav] Fix flash of loading state during back/forward: #60578
  • Fix react-refresh for transpiled packages: #60563
  • Ensure client filter with basePath is correct: #60580
  • Update React from f1039be4a to 60a927d04: #60619
  • Add cache reason for using fetch with noStore: #60630
  • chore: remove unused export: #60647
  • remove next build turbopack version: #60655
  • fix breakpoints on reload: #60507
  • Fix hmr updates with rebuilding for build errors: #60676
  • graceful shutdown: #60059
  • refactor(next-swc): remove unused crashreporter: #60593
  • chore(eslint-plugin-next): upgrade glob dependency: #60732
  • Fix client reference keys of barrel-optimized files: #60685
  • Fix recursive ignoring case in build traces: #60740
  • Telemetry: allow disabling of fetch tracing: #60588
  • chore: typo, responseCookes to responseCookies: #60654
  • Telemetry code load: #60594
  • allow to pass available chunk items when creating a chunk group: #60554
  • separate chunking per layout parts: #60569
  • feat(next-core): port remaining next.js custom transforms: #60498
  • Reapply "feat(app-router): introduce experimental.missingSuspenseWithCSRBailout flag" (#60508): #60751
  • Skip postcss config location resolving in node_modules: #60697
  • apply page transforms only on pages: #60779
  • fix layout segment key to match up with manifest: #60783
  • Fix locale domain public files check: #60749
  • Stabilize custom cache handlers and changing memory size.: #57953
  • feat: stabilize unstable_getImgProps() => getImageProps(): #60739
  • Fix Server Actions compiler bug: #60794
  • Dev Server: Preserve globals overwrites in the initialization hook: #60796
  • add missing function call to normalize-catchall-routes test case: #60777
  • Use snapshots for component-stack tests: #60768
  • Support next/og usage in ESM nextjs app: #60818
  • fix(ts): auto-complete next/headers: #60817
  • Remove the warning for build worker when custom webpack present: #60820
  • chore(deps): update browserslist and caniuse-lite: #60827
  • feat: support custom image loaders in turbopack: #60736
  • Ensure request specific caches for revalidate are reset: #60810
  • Add metrics names for unstable_cache: #60802
  • Fix: respect init.cache if fetch input is request instance: #60821
  • Revert "Fix: Throw an error for empty array return in generateStaticParams with output:export": #60831
  • turbopack: rename custom cache handler configs: #60828
  • dx: warn the deprecated cache configs are used: #60836
  • Enable missing suspense bailout by default: #60840

Documentation Changes

  • Docs: Update Server Actions Docs: #59080
  • Docs: Polish Server Actions Page 💅🏼 : #59400
  • Update 10-route-handlers.mdx: #59443
  • docs: remove broken link: #59487
  • Docs: Add App Router Testing Guides and update /examples: #59268
  • docs: fix bad closed tag: #59575
  • Fix closing tags for jest docs: #59579
  • Docs: Fix formatting in testing docs and update examples dependencies: #59572
  • Docs: Add missing closing tag: #59581
  • Docs: Review and update getServerSideProps page: #59545
  • docs: add note for environment variables on Vercel deployment: #59237
  • docs(accessibility): updates WCAG version to 2.2: #59646
  • docs: small tweaks: #59638
  • docs: fix broken backtick for link: #59717
  • Docs: Document generateSitemaps: #59626
  • Docs: Polish testing section: #59618
  • docs: improve docs around geolocation and IP headers: #59719
  • Docs: Review and Typo Fix - getServerSideProps: #59616
  • docs: fix vitest example link in testing with vitest: #59659
  • docs: fix grammar issue in 03-get-server-side-props.mdx: #59670
  • Includes section to @next/third-parties documentation for Google Analytics: #59671
  • Change file extension to .tsx: #59763
  • docs: clarify data fetching pattern: #59602
  • change 'themeColor' to 'viewport' in the viewport section: #59764
  • docs: add missing comma to sitemap.mdx: #59788
  • Chore docs fix runon and definition of trailing slash redirect: #59889
  • Minor grammar edits: #59887
  • Introduce cache version history in cache API: #59799
  • docs: correct type in sitemap.mdx: #59787
  • chore(docs): Remove typesafe-i18n from thrid-party i18n options: #59624
  • docs: Add Chakra UI setup guide: #59275
  • Update not-found.mdx: #59478
  • Updates references for styled-components configuration in next.config.js: #59495
  • Update 05-mdx.mdx: #57988
  • Mention remark-mdx-frontmatter in frontmatter docs: #59238
  • Docs: Rename React Query to TanStack Query: #59004
  • Add cwd to VSCode debugging setup steps: #58689
  • [Docs]: fix tiny typo: #59897
  • [docs] Add sensible name for Cookie deleting functions: #57893
  • Update generate-viewport.mdx: #57701
  • Update opengraph-image.mdx: #57810
  • [docs] Update example links.: #57891
  • docs: clarify setting and reading cookies from Route Handlers: #59915
  • docs: add Sirv loader for next/image: #57102
  • docs: fix prettier lint: #59918
  • docs: Add media example for icon metadata: #56141
  • Fix typo in generate-sitemaps.mdx docs: #59964
  • Update 02-server-actions-and-mutations.mdx: #59935
  • Update 08-parallel-routes.mdx: #59966
  • Updates "No Before Interactive" error message for App router: #56033
  • docs: Update Middleware docs on ignoring prefetches: #56799
  • docs: add note that contentlayer is unmaintained: #59927
  • docs: small changes to linking docs: #59982
  • docs: opengraph / twitter image needs absolute URL: #59985
  • docs: fix typo for useFormState: #60010
  • docs: clarify using redirect with client components: #60056
  • Update documentation to reflect added support for 'userScalable' field in 'viewport': #60033
  • docs: Add section for CSP without nonces: #60067
  • docs: update install count: #60072
  • docs: fix version history order in sitemap.mdx: #60054
  • docs: clarify generateStaticParams and dynamicParams: #60083
  • docs: update maxDuration info: #60086
  • docs: ⌘+Enter for forms: #60090
  • Clarify measurement ID in Optimizing: Third Party Libraries: #60136
  • Update 03-css-in-js.mdx : fix typo: #60114
  • docs: small wording fix for 03-linking-and-navigating.mdx: #60089
  • Docs: If revalidatePath's path has dynamic segment path, type must be page.: #59149
  • docs: improve grammar: #60149
  • Fix config code in the CSS-in-JS chapter: #60164
  • Updating example with required content type in header: #59990
  • Adds a section to Optimizing: Third Party Libraries on tracking pageviews for Google Analytics: #60176
  • Update route-segment-config.mdx: #60179
  • docs: Fix typo on generate-sitemaps.mdx: #60188
  • small correction in 11-middleware.mdx: #60189
  • docs(trailingSlashes): add note for SSG generation: #57628
  • docs: fix typos and broken links in the image.mdx: #60221
  • Docs: Fix revalidate type annotation: #60230
  • Update 02-server-actions-and-mutations.mdx: #60222
  • fix(docs): add missing docs on external packages: #60244
  • Docs: Add "Going to production" page for App Router: #59304
  • Docs: Update compression docs: #60264
  • Docs: Clarify useSearchParams behavior: #60257
  • Docs: Add more clarification about compress : #60268
  • Clarify searchParams is not passed to Layouts: #60277
  • docs(testing): add bun command to running your tests section: #60281
  • chore(docs): add section for Custom Type Declarations: #60282
  • docs: small corrections to bundle analyzer docs: #60285
  • docs: typo fix in compression page: #60318
  • docs: add example of webhooks with App Router: #60276
  • docs: add optional catch-all segments typescript example: #60237
  • Update use-search-params.mdx: #55357
  • docs: address a few open issues: #60329
  • docs: next/head: Document error cases with head/body-tags; add subheadings: #56412
  • Fix bundle analyzer NPM package name in documentation: #60339
  • [doc] Update 03-linking-and-navigating.mdx: #60345
  • add missing types: #60346
  • docs: update docs for remotePatterns to mention what happens when prop is omitted: #60387
  • Docs: Update note on @next/third-parties being experimental: #60372
  • chore(docs): fix 14 upgrade guide mentioning export: #60429
  • chore(docs/errors): Improve documentation grammar: #60452
  • Docs: Address Community Feedback: #60476
  • for #59178 - addition to robots.mdx - Customize user-agent rules: #60361
  • Docs: Document windowHistorySupport flag, and add pushState/replaceState examples: #60374
  • docs: correct windowHistorySupport title: #60503
  • chore: correct subject-verb conjugation in Client Components doc: #60538
  • Add "Redirecting" page in the Routing section: #60435
  • docs: small fix in Redirecting page: #60583
  • fix(mdx): update word order, fix typo: #60466
  • Add documentation for client router filter: #60585
  • docs: Update Google Analytics error doc: #60612
  • docs: remove Next 13 mention for App Router: #60632
  • Fix Typo in Testing Documentation Description: #60601
  • chore: remove duplicate package name: #60652
  • chore(docs): add docs for .svg unoptimized behavior: #60735
  • add authentication docs page: #60388
  • chore(docs): fix example documentation for Art Direction: #60823
  • docs: add build worker optout error back with upgrade advice: #60826
  • Docs: Use JS comment for MDX: #60825
  • Fix error from the auth docs.: #60829

Example Changes

  • Updates the with-vitest example. Unlocks the tests passing with server-only usage: #58902
  • Add text-wrap: balance to CNA template for card descriptions: #59384
  • fix: Invalid next version tag name in with-cypress example: #59647
  • Fix: Add matcher for middleware: #59651
  • examples: Add new NextAuth.js example: #56914
  • examples: add required env vars to auth example.: #59901
  • examples: update Redis to App Router: #59311
  • examples: remove broken deploy button: #58794
  • examples: progressive enhancement for Redis example: #59937
  • Update .env.local.example of with-firebase example: #59954
  • Upgrade with-algolia-react-instantsearch example to latest major version and use app router: #59961
  • Rename .env.local.example to .env.example: #59984
  • Update Convex Example: #59789
  • examples: Update next-forms example: #60052
  • chore(cms-contentfu): fix contentful instructions: #60050
  • examples: improve typings for i18n app dir: #60160
  • chore(examples): migrate image-component example to App Router: #60289
  • fix(#58695): improve zustand example: #58696
  • examples: add allow-unauthenticated option to cloud run deploy: #58792
  • fixed import path in with-jest template.: #60332
  • chore(examples): fix image-component example viewsource paths, shimmer page filename: #60451
  • Update cache-handler-redis example dependencies: #59458
  • examples: Update hello world: #60502
  • chore: Fix typo s/desireable/desirable/: #60518
  • chore: Fix multiple typos: #60531
  • examples: Update redis example with useOptimistic: #60596
  • Update README.md: #60595
  • chore(example): update storybook: #60737

Misc Changes

  • Revert "Skip latest commit check for stable release": #59401
  • ci(workflow): restore publish wasm binary: #59414
  • ci: only run release commit check on canary releases: #59423
  • test(runner): preserve browser tracing if test fails: #59469
  • Adding Google analytics to next/third-parties: #58418
  • ci(test): upload playwright artifacts seperately: #59496
  • fix integration test workflow: #59508
  • Fix third party typings: #59503
  • test(fixture): try to include sources in the snapshot: #59499
  • chore: bump typescript-eslint to 6.14: #59514
  • Update Deployment Testing: #59448
  • fix(playwright): teardown when global quit force terminates browser: #59548
  • chore(create-next-app): bump prompts to v2.4.2: #59006
  • types: cover the tests with root tsconfig.json: #59550
  • Fix test/tsconfig.json alias for internal test utils: #59570
  • test(integration): adjust fixture to work with turbopack: #59595
  • Add test for importing client components from server actions: #59615
  • chore: extends from shared base tsconfig: #59776
  • Update Turbopack test manifest: #59798
  • Fix CI: Skip test in PPR dev mode, too: #59817
  • Add unstable_cache validate test case: #59828
  • Update swc_core to v0.87.10: #59834
  • chore: add github bug report item type module resolution: #60121
  • chore: add myself to created-by: Next.js team: #60144
  • chore: include required Next.js stages to issue template: #60142
  • searchParameters test for PPR: #59678
  • Getting rid of a few TypeScript anys.: #60017
  • fix responsiveness in starter templates: #60140
  • fix(generators): update errors gen: #60233
  • chore: test against latest sharp: #60226
  • style: enforce prop immutability in new next app: #58845
  • Update flakey test from port re-use: #60291
  • chore: update pnpm to the latest (v8.14.0): #60295
  • docs: update broken link in UPGRADING.md: #60342
  • Update Turbopack test manifest: #60306
  • Update Turbopack test manifest: #60371
  • Update swc_core to v0.87.16: #60192
  • Add replay.io test suite dependencies: #60381
  • chore: update turbo to the latest: #60294
  • Update Turbopack test manifest: #60413
  • Update testing contributor guide: #60421
  • chore: skip flaky turbopack navigation test: #60431
  • ci: skip cron workflows on forks: #60422
  • Add reproduction for HMR moving / renaming files.: #57230
  • add tests for incremental-cache: #60331
  • chore: fix postinstall when using tarball: #60443
  • test: use replay jest runner to add current test name to recording: #60438
  • misc: Skip cron workflows on forks: #60487
  • Handle pages double render for useParams in tests: #60486
  • Transition some check calls in tests to retry: #60489
  • Use next.config.mjs for CNA templates: #60494
  • Update Turbopack test manifest: #60504
  • run tests from test suite that are not listed in the manifest: #58401
  • Add --ci to jest tests in CI: #60432
  • Ensure aliased variable is used in test: #60428
  • Update Turbopack test manifest: #60506
  • Skip webpack loader test in Turbopack: #60509
  • Revert "Skip webpack loader test in Turbopack": #60513
  • Revert "Revert "Skip webpack loader test in Turbopack"": #60514
  • Remove unused target: es5 from tsconfig.json in create-next-app: #60521
  • refactor(cna): make create-next-app even smaller and faster: #58030
  • Expand hydration error test to check recovery: #60423
  • chore: update pull_request_approved workflow: #60537
  • chore: add issue_popular workflow: #60543
  • Update Turbopack test manifest: #60553
  • chore: update next-repo-info actions: #60559
  • chore(git): add .git-blame-ignore-revs: #60582
  • chore: remove pr_approved workflow & update popular_issues workflow: #60584
  • test(fixture): update assertion for turbopack: #60579
  • Remove duplicate pages -> app test: #60589
  • Update flakey dev middleware test: #60590
  • Add hasRedbox fix: #60522
  • Turbopack test updates: #60662
  • Remove normalizeSnapshot as it is no longer used: #60664
  • Stabilize flakey edge-module-error test: #60728
  • Update module-layer test for Turbopack: #60707
  • chore: bump nissuer: #60706
  • test(fixture): update assertion for turbopack: #60750
  • Update developing.md to include "Install Rust and Cargo" as 1st step: #60761
  • Fix tests exit race condition: #60757
  • Update ReactRefreshRegression test snapshot for Turbopack: #60767

Credits

Huge thanks to @delbaoliveira, @OlehDutchenko, @sokra, @huozhi, @shuding, @kwonoj, @ztanner, @eps1lon, @acdlite, @ebidel, @leerob, @janicklas-ralph, @wyattjoh, @ijjk, @JohnPhamous, @chentsulin, @akawalsky, @BlankParticle, @timneutkens, @ForsakenHarmony, @dvoytenko, @smaeda-ks, @kenji-webdev, @rv-david, @icyJoseph, @dijonmusters, @A7med3bdulBaset, @jenewland1999, @mknichel, @kdy1, @housseindjirdeh, @max-programming, @redbmk, @SSakibHossain10, @jamesmillerburgess, @minaelee, @officialrajdeepsingh, @LorisSigrist, @yesl-kim, @StevenKamwaza, @manovotny, @mcexit, @remcohaszing, @ryo-manba, @TranquilMarmot, @vinaykulk621, @haritssr, @divquan, @IgorVaryvoda, @LukeSchlangen, @RiskyMH, @ash2048, @ManuWeb3, @msgadi, @dhayab, @ShahriarKh, @jvandenaardweg, @DestroyerXyz, @SwitchBladeAK, @ianmacartney, @justinh00k, @tiborsaas, @ArianHamdi, @li-jia-nan, @aramikuto, @jquinc30, @samcx, @Haosik, @AkifumiSato, @arnabsen, @nfroidure, @clbn, @siddtheone, @styfle, @zbauman3, @gnoff, @anthonyshew, @alexfradiani, @CalebBarnes, @adk96r, @pacexy, @hichemfantar, @michaldudak, @redonkulus, @k-taro56, @mhughdo, @tknickman, @shumakmanohar, @vordgi, @StephDietz, @hamirmahal, @gaspar09, @JCharante, @sjoerdvanBommel, @mass2527, @N-Ziermann, @tordans, @davidthorand, @rmathew8-gh, @chriskrogh, @shogunsea, @auipga, @SukkaW, @agustints, @wbinnssmith, @feedthejim, @OXXD, @clarencepenz, @better-salmon, @808vita, @coltonehrman, @tksst, @hugo-syn, @JakobJingleheimer, @Willem-Jaap, @brandonnorsworthy, @jaehunn, @balazsorban44, @kooya3, @wan2land, @AugustinMauroy, and @williamli for helping!

next.js - v14.0.4

Published by huozhi 11 months ago

Core Changes

  • Remove early return that is duplicated in useSearchParams: #58545
  • Support passing a relative string to pushState/replaceState: #58438
  • [.next/trace] Record start-dev-server trace span: #58469
  • Update React from 593ecee66 to 2c338b16f.: #58553
  • turbopack: Fix pageExtensions with dots: #58504
  • fix: revalidation with file-system-cache: #58508
  • fix: fetch() behavior when "dynamic" is "force-dynamic: #58484
  • Add cacheNodeSeedData to RSC payload: #58566
  • Lift subtree data out of React tree: #58569
  • fix(next-core): allow runtime segment option in pages/api: #58409
  • Update rust-toolchain to 2023-11-16: #58558
  • refactor: Add lightningcss mode for turbopack-css: #58471
  • fix: avoid race condition when download swc wasm: #58536
  • Removed unused route resolver code: #58702
  • Add experimental.windowHistorySupport to Turbopack supported options: #58717
  • Improve Server Actions compiler: #58391
  • Seed CacheNodes immediately after receiving response: #58669
  • Turbopack: improve error display: #58734
  • fix node externals resolving: #58129
  • disable static prefetching behavior for dynamic segments: #58609
  • fix: ensure DynamicUsageErrors caught during render bubble up: #58747
  • fix image.domains deprecation warning: #58656
  • fix waitUntil handling in pipeToNodeResponse: #58744
  • Use consistent resolve extensions alias for compiler: #58725
  • Turbopack: Use styled issue titles and details: #58743
  • route handlers: make req.cookies opt you into dynamic: #58769
  • OpenTelemetry: a more reliable way to establish a root context: #58662
  • Revert "fix: fetch() behavior when "dynamic" is "force-dynamic": #58735
  • [Instrumentation] Don't treat instrumentation hook as pages: #58775
  • Fix turboFlag set to false: #58795
  • [.next/trace] Track server requests and memory usage: #58690
  • place virtual module inside the project directory: #58798
  • fix rewrites to edge routes: #58797
  • Polish unsupported metadata warning with doc link: #58750
  • Enable .mjs extension config in Turbopack: #58825
  • Turbopack: align automatic externals code with webpack: #58851
  • Upgrade Turbopack: #58859
  • OpenTelemetry: propagate context to sandbox: #58791
  • fix uniqueness of layers: #58872
  • disable flushToDisk during generateStaticParams: #58871
  • Turbopack: enable some node.js builtin in edge runtime: #58850
  • add NEXT_TRIGGER_URL env var to show request triggering a compilation: #58762
  • Update swc_core to v0.86.81: #58517
  • Trace server updates: #58694
  • remove duplicate util file for redirect status: #58878
  • fix(windows): workaround for intermittent locks on windows when renaming files: #58835
  • unify server action detection logic: #58879
  • Fix nested fetch logging indentation: #58955
  • Delete preloadComponent module: #58741
  • Remove cache field from action types: #58938
  • Add nodejs version check: #58958
  • Code refactoring: #58737
  • Fix bugs with baseUrl and mdxRs: #58968
  • Fix encoding in encryption of Server Actions: #59000
  • fix(turbopack): treat .mdx as valid ecma asset: #58985
  • dedupe pending revalidation requests: #58990
  • fix: Put back type for NavigateOptions.scroll: #59001
  • Cleanup Render Result: #58782
  • fix(turbopack): add list of packages that should never be marked as e…: #59020
  • Testmode: provide test info for rewrite requests: #59033
  • build(cargo): bump up turbopack: #59032
  • fix async action queue behavior: #59038
  • start performance profiling after node.js version is checked: #59028
  • Fixed stale fetch using when page regenerates: #58926
  • Enable PPR tests for test suites: #59030
  • Update font data: #59043
  • update status codes for redirect and permanentRedirect in action handlers: #58885
  • Ensure stale build fetch data is not unexpectedly used: #59076
  • add support for instrumentation: #59070
  • use 303 status code for redirects in fetch actions: #59017
  • verify action id before parsing body: #58977
  • fix interception routes with rewrites: #59094
  • Fix next internal is missing in flight manifest: #59085
  • Support generating multi-meta tahs for metadata api other prop: #59106
  • Turbopack: Align some "Module not found" errors with webpack: #58518
  • Fix dynamic usage errors logging unexpectedly: #59133
  • Fix: remove deprecated option from standalone server: #59036
  • Update font data: #59138
  • fix typedRoutes when used with webpackBuildWorker: #59140
  • Add NEXT_MANUAL_SIG_HANDLE handling to start-server.ts: #59117
  • Support adding CSP nonce with content-security-policy-report-only header: #59071
  • chore: fix typo in jsDoc: #58224
  • fix: add maxDuration to PageConfig type: #55918
  • Fix mixed module swc compilation for app router: #58967
  • Don't catch ensureMiddleware errors: #59166
  • fix behavior when revisiting an intercepted route: #59168
  • Turbopack only enable instrumentationHook with experimental flag: #59173
  • fix server actions behavior on intercepted routes: #59175
  • Fix ssgCacheKey in minimal mode: #59181
  • Update to latest version of @vercel/nft: #59183
  • Ensure original history is read in effect: #58861
  • fix some small turbopack issues: #59171
  • fix tsconfig alias cycle: #59232
  • Resolve build issues with symlinked files: #57412
  • Disable more Turbopack build tests: #59245
  • Remove mutable field from action types: #59221
  • Add process.env.__NEXT_PPR to build config: #59253
  • Fix dynamic transform ssr:false case for pages router with ESM: #59246
  • Delete unused static prefetch code: #58783
  • fix(next-core): adjust edge entry path: #59265
  • feat: support outputFileTracing in App Router: #59139
  • docs: fix remotePatterns link in image-config.ts: #59197
  • Testmode: support edge functions inside a sandbox: #59179
  • Update font data: #59271
  • fix: properly call normalizeDynamicRouteParams in NextWebServer.handleCatchAllRenderRequest: #58949
  • add user-level tracing: #59284
  • Fix app-dir - logging test in Turbopack: #59261
  • update turbopack: #59285
  • feat(turbopack): support loading WebAssembly in the edge runtime: #59013
  • Fix barrel optimization to ignore layers: #59254
  • fix interception routes with dynamic segments: #59273
  • Clean up builtin modularizeImports configs: #59294
  • Enable PPR for dynamic = "force-dynamic": #58779
  • remove additional static prefetch code: #59313
  • add module tracing for client reference and next/dynamic walking: #59306
  • side effects optimization: #58972
  • Move App Router client-side constants to separate file: #59239
  • reduce function calls in walk: #59332
  • update turbopack: #59334
  • disable unused next/dynamic walking in app dir: #59338
  • fix hmr in multi-zone handling: #59307
  • fix edge route catch-all param parsing: #59343
  • add logLevel support to @next/bundle-analyzer: #59228
  • Fix server output bundling packages module resolving: #59369
  • fix inconsistent scroll restoration behavior: #59366
  • test: ability to use node debugger: #56277
  • fixes the logging by showing full URLs only on demand: #58088
  • rm console.log: #59381

Documentation Changes

  • docs: Fix grammar in Caching section: #58070
  • Update 01-installation.mdx: #58555
  • Fix naming: #58539
  • docs: clarify route handler caching: #58541
  • [Next.js Docs] Adds useOptimistic link: #58706
  • Docs: Add missing diagram : #59008
  • Docs: Update revalidate example: #59002
  • docs: patch upgrade guide to pin install version: #58993
  • Docs: Delete fast refresh example: #59003
  • docs:Add react hydration error case.: #59147
  • Correcting the webpack function introduction: #58663
  • Docs: Fix upgrade guide files: #59249
  • docs: fix broken link to learn course: #59288
  • docs fix: Server Action js example: #59159
  • docs: Remove invalid URL: #58823
  • Fix incorrect prop name in client component: #58591
  • update: Firebase link to with-firebase example: #58621
  • added comma to the props list: #58596
  • Update 10-route-handlers.mdx: #59021
  • Add documentation note about middleware and runtimes: #58873
  • Revert "added comma to the props list": #59314

Example Changes

  • Update cache-handler-redis example: #58562
  • Update & Repair LRUCache importation on NextJS Rate Limit API example: #58060
  • examples with-zustand update to app dir #52858: #58042
  • examples: fix import statement for lru-cache: #58567
  • examples: Remove outdated example: #58568
  • feat(examples): add upload file example with Server Actions: #58467
  • migrate with-cypress example to app dir: #58053
  • fix lint in examples: #58630
  • examples: add direct link to Dockerfile: #58793
  • Update Electron Typescript Example with Best Practices: #58947
  • Enable typechecking on config: #57892
  • Updates with-supertokens example app: #58525

Misc Changes

  • fix(turbopack): e2e/404-page-router test: #58146
  • Turbopack: update to turbopack-231122.3: #58784
  • make tests more stable: #58765
  • chore(CI): improve datadog reporting: #58267
  • chore(CI): add action to auto retry tests on canary and report failures after retries: #58774
  • ci: unify reset project script: #58829
  • ci: disable deployment protection for e2e test project: #58830
  • fix(CI): retry-test action can't use env in if: #58838
  • Update Turbopack test manifest from GitHub Actions artifact: #58394
  • Increase default timeout for swc build: #59035
  • chore: bump nissuer (issue validator): #59060
  • fix(test): don't use latest sharp: #59074
  • misc: disable automerge: #59077
  • Update checkout step: #59079
  • ci: don't try to upload to datadog for docs only changes: #59068
  • misc: delete kodiak: #59082
  • add full PPR e2e tests: #59025
  • ci: don't retry or notify on failures from forks: #59118
  • skip release if no new commits: #59134
  • fix variable name in release workflow: #59135
  • Update Turbopack test manifest: #59109
  • fix(next-core): do not panic when parsing segment config: #59170
  • Correctly skip build test for Turbopack: #59207
  • Failing test for 59195: #59210
  • ci: report daily turbo integration test results from this repo: #58965
  • fix typo in daily turbopack integration test reporting: #59251
  • fix missing echo in daily turbopack reporting: #59255
  • fix missing checkout in daily turbopack reporting: #59256
  • Add app router name to font tests: #59257
  • Fix non bundler module resolution in ts for third-parties pkg: #59244
  • fix dev parallelism in daily turbopack tests: #59287
  • Update Turbopack test manifest: #59326
  • Update tests for Turbopack: #59354
  • Update Turbopack test manifest: #59356

Credits

Huge thanks to @timneutkens, @mknichel, @gnoff, @jridgewell, @gtjamesa, @mugi-uno, @better-salmon, @kentobento, @vivianyentran, @empflow, @leerob, @samennis1, @mkcy3, @acdlite, @kwonoj, @suhaotian, @wbinnssmith, @imevanc, @ztanner, @kdy1, @d3lm, @wyattjoh, @manovotny, @shuding, @sokra, @feedthejim, @dvoytenko, @ForsakenHarmony, @huozhi, @delbaoliveira, @amannn, @ijjk, @hallatore, @balazsorban44, @LukeSchlangen, @Dylan700, @mpsq, @mdio, @christianvuerings, @A7med3bdulBaset, @karlhorky, @simonhaenisch, @olci34, @zce, @LavaToaster, @rishabhpoddar, @smaeda-ks, @jirihofman, @codercor, @devjiwonchoi, @Willem-Jaap, @JackieLi565, @thoushif, @pkellner, @jpfifer, @quisido, @tomfa, and @raphaelbadia for helping!

next.js - v14.0.3

Published by ztanner 11 months ago

Core Changes

  • Update React from 746890329 to 0e352ea01: #58279
  • fix(turbopack): support middleware in src: #58218
  • Update font data: #58317
  • Replace custom Thenable type with native Promises: #58337
  • fix(eslint): next/script beforeInteractive gives warning on appDir: #51148
  • fix: import antd from es in modularizeImports: #57968
  • fix(WellKnownErrorsPlugin): avoid compilation warnings array with empty items: #57768
  • Add experimental support for history.pushState and history.replaceState: #58335
  • Fix: expected "catch all routes" are not matched in “parallel routes": #58368
  • fix: Don't reset shallow URL updates on prefetch: #58297
  • fix: ensure batch values are sharable: #58315
  • fix incorrect fetch cache handling: #58460
  • turbopack: Don't error with legacy server actions boolean: #58416
  • Update turbopack: #58408
  • Upgrade vendored React: #58489
  • Apply next/font to foreign code: #58461
  • Turbopack: Use structured styled text in issue descriptions: #58156
  • onHeaders updates for App Pages: #58410
  • revalidate APIs should make route handlers dynamic: #58466
  • remove optimistic navigation behavior when prefetch is false: #58413
  • fix: set x-forwarded-host based on request: #58500
  • Inline ChildProp: #58519
  • Remove client only dynamic chunks from edge bundle : #56761
  • tweak cache + revalidate fetch warning: #58505

Documentation Changes

  • remove example for router.events as it does not exist: #58286
  • chore(docs): fix typo: #58344
  • docs: Update runtime table: #58361
  • Update 08-parallel-routes.mdx: #58393
  • Docs: Update middleware example snippet: #58488
  • update meta variable to metadata variable so that the meta data updat…: #58396
  • Update 07-error-handling.mdx: #58236
  • docs: Added Kinde auth provider: #58231
  • Update index.mdx: #58210
  • Make example of passing down a Server Action more clear: #57972
  • docs: Fix grammar in Styling section: #58071
  • docs: Fix grammar in Client Components section: #58065
  • docs: Fix grammar in Dynamic Rendering section: #58062
  • Docs: fix grammatical issue in "Data Fetching Patterns" section: #58056
  • Update 02-patterns.mdx: #58032
  • Update 04-ci-build-caching.mdx - Add Jenkins: #58001

Example Changes

  • examples: Update Middleware for CSP: #58300
  • Remove copying of request headers to response: #58304
  • update import path for GeitSans font to address deprecation warning: #58349
  • Fix hydration error in headers example: #58383
  • Fix typo: compoment -> component: #58330
  • Update Dockerfile adding comment: #56646
  • update(docs): next-forms fix unhandled run time error: #56600
  • chore(examples): update styled-components: #56457
  • Upgrade Convex example to [email protected]: #54910

Misc Changes

  • fix(ci): exclusion regex now actually works instead of ignoring all tests: #58259
  • Update 15-content-security-policy.mdx
  • Update 15-content-security-policy.mdx
  • Update CLI version for deploy examples job: #58318
  • fix hmr event, and avoid RSC fetch on any message: #58403
  • fix branch name: #58132
  • add test case to failing list for turbopack: #58435
  • Revert "fix hmr event, and avoid RSC fetch on any message": #58452
  • Add types to package.json: #58420
  • chore: replace fs-extra usage in scripts/: #57215
  • Add performance.mark for next/third-parties for feature measurement: #57439

Credits

Huge thanks to @ForsakenHarmony, @gnoff, @leerob, @karlhorky, @j9141997, @acdlite, @devjiwonchoi, @hongaar, @MadCcc, @luismulinari, @timneutkens, @dumb-programmer, @ijjk, @nonoakij, @sokra, @ztanner, @franky47, @wyattjoh, @jridgewell, @kdy1, @janicklas-ralph, @SukkaW, @shuding, @delbaoliveira, @wbinnssmith, @robbertstevens, @bryndyment, @marcosmartini, @functino, @kentobento, @Anisi, @AdonisAgelis, @seangray-dev, @prkagrawal, @heloineto, @kn327, @ihommani, @MrNiceRicee, @falsepopsky, @thomasballinger, @tmilewski, and @huozhi for helping!

next.js - v14.0.2

Published by ztanner 11 months ago

Core Changes

  • Fix nested esm package default import resolving mismatch: #57784
  • [.next/trace] Serialize trace info across workers to preserve .next/trace with webpackBuildWorker: #57761
  • Add @highlight-run/node to externals list: #57783
  • perf: change the chunks configuration for server code: #57773
  • [.next/trace] Add tags for webpack build worker: #57818
  • chore: update otel: #57774
  • refactor: remove unnecessary condition: #57835
  • chore: remove styfle from .vercel.approvers: #57841
  • Remove the actionBrowser to RSC client layering issue: #57842
  • Prevent caching page with 304 status: #57737
  • Ensure cache soft tags are correct: #57850
  • Update React from 0c6348758 to 08a39539f: #57852
  • Revert "perf: enable webpack build worker (#57346)": #57854
  • Add serverActions.allowedForwardedHosts option: #57529
  • chore: reword in tree-view: #57884
  • Polish logging segments of page route: #57834
  • Inherit title and description from metadata into social cards: #57857
  • remove legacy handling for suspense option of next/dynamic: #57900
  • fix(next-core): externalcjs resolve options: #57645
  • ppr: fail static generation if postponed & missing postpone data: #57786
  • Reduce FS access for incremental cache: #57902
  • suspend in render, not in reducers: #56497
  • move static worker IPC server behind experimental flag: #57943
  • feat(turbopack): Experimental wasm build: #57906
  • Fix client chunk loading encoding for dynamic route: #57960
  • misc: fix serverComponentsExternalPackages usage for experimental.bundlePagesExternals: #57954
  • Improve grammar of removable Babel config warning: #55088
  • Remove throw for unknown messages in hot-reloader-client: #57353
  • Improve CSRF protection error in Server Actions: #57980
  • fix: updates for resuming postponed in minimal mode: #57375
  • fix: ensure that postponed requests can be resumed in minimal mode: #58011
  • Use distDir from webpack-config in createWebpackAliases: #57268
  • use __NEXT_VERSION compile time replacement: #57512
  • fixes a problem with cache invalidation : #58079
  • feat: always use SWC Wasm fallback when running in WebContainer: #58081
  • update turbopack: #58080
  • fix: normalization and invariant fixes for ppr: #58105
  • ppr: fix fetch postpone not having correct React version: #58107
  • Fix incorrect normalizing in minimal mode: #58116
  • put app client modules into a separate layer: #58130
  • Revert "Revert "Add retry for fetching subsetted Google Fonts"": #58075
  • build: Update swc_core to v0.86.40 and update turbopack: #57904
  • fix(next-core): correct assets url reference condition: #58101
  • build(package): clean up next-swc* pkg properties: #57908
  • fix PPR build output logs: #58149
  • Update React from 08a39539f to 2983249dd.: #58154
  • fix: rsc normalization fixes: #58145
  • Fix resume stream handling: #58159
  • Forward headers from React to static output and dynamic render: #58162
  • refactor(next-core): separate options context for pages/api: #58148
  • update turbopack: #58172
  • refactor(next-api): remove unused distDir: #57789
  • Change allowed forwarded hosts to be allowed origins for Server Actions: #58023
  • fail build if not using Next canary with PPR flag: #58203
  • Reduce max header length emitted: #58204
  • ensure experimental warning shows up when using PPR: #58206
  • skip ppr throw for tests: #58208
  • interception routes: fix interception for dynamic routes: #58198
  • Update React from 2983249dd to 7508dcd5c: #58216
  • tweak postpone error copy & fix link: #58219
  • Add helpful context to postpone reason if it's caught and logged or escapes: #58222
  • Reword PPR caught bail out to avoid "postpone" terminology: #58223
  • pass postpone through staticGenerationStore: #58229
  • Updated React from 7508dcd5c to 746890329: #58233
  • [Docs]: Fix CLI link to server actions size limit docs: #58174
  • refactor(next-core): apply correct url rewrite behavior: #58237
  • update turbopack: #58243
  • parallel routes: fix catch all route support: #58215
  • avoid key conflict: #58249

Documentation Changes

  • [docs] fix next.config.mjs using commonjs in the example: #57874
  • Move link examples to only Pages Router docs.: #57758
  • Update 05-mdx.mdx: #57866
  • docs: Update MDX docs title.: #57963
  • docs: improve non-encrypted HTTP conn to a secure: #57998
  • docs: Revert part of sitemap docs change: #58010
  • docs: useFormState and useOptimistic are now documented: #58064
  • Correct prop name in server-actions.mdx: #58108
  • typo: changed from next/server to next/og: #58143
  • docs: Improve deployment docs on self-hosting.: #58027
  • docs: small follow up on deployment docs.: #58158
  • docs: remove duplicate ISR page.: #58164
  • docs: remove note about generateMetdata: #58192
  • docs: mention Middleware on src directory page.: #58193
  • docs: fix typo in composition patterns section: #58197
  • fix docs link for ISR: #58207
  • Add PPR option to next.config.js docs: #58161
  • docs: update analytics docs for useReportWebVitals: #58196
  • Update 02-app-router-migration.mdx: #58253

Example Changes

  • Remove `experimental: { serverActions: true } from examples as it is stable in next 14.: #57598
  • Update Explore the Next.js 13 playground. to Explore starter templates for Next.js: #57799
  • Chore: simplify with-supabase example: #57562
  • examples: cleanup: #57845
  • Chore: refactor to use server actions in with-supabase example: #57858
  • chore: cleanup more old examples.: #58066
  • Add a self-hosted shared cache example: #58000

Misc Changes

  • fix: update Next.js version in create-next-app: #57532
  • Automatically update Turbopack test manifest: #57778
  • fix(youtube-embed): each child in a list should have a unique "key" prop: #57579
  • Update teamname in codeowners: #57775
  • Simplify createNextInstall return type: #57760
  • cleanup PR labeler config: #57827
  • move release undraft step until after canary is fully published: #57324
  • refactor: remove duplicated conditions
  • Revert "refactor: remove duplicated conditions"
  • Fix typo in run-tests.js: #57821
  • fix: correctly set x-forwarded-* in Middleware: #57815
  • chore: remove redundant jest config: #57151
  • chore(test): run unit tests on node 18 and 20: #57199
  • Move ReactRefreshLogBox-builtins tests to inline snapshots: #57952
  • feat(turbo): use turbo gen instead of plop: #53684
  • Skip webpack only test: #56929
  • tweak stats action to pull in runtime sizes: #58005
  • use createNextDescribe for test/development/basic tests: #58031
  • Remove setPnpmResolutionMode as default is highest: #57828
  • Remove installCommand on streaming-ssr test: #58037
  • Remove installCommand on typescript-auto-install and pnpm-support: #58039
  • Fix should have correct module not found error test: #57383
  • Fix options of createNextInstall: #58036
  • Fix update-turbopack-test-manifest.yml workflow: #58097
  • Adjust update-turbopack-test-manifest.yml to run once per day: #58104
  • Refactor repo-setup.js: #58131
  • Update Turbopack test manifest: #58122
  • Update turbopack label creation: #58214
  • Fix test: #58228
  • fix ppr test flake: #58232

Credits

Huge thanks to @huozhi, @mknichel, @Vadman97, @feedthejim, @dnhn, @jridgewell, @vinaykulk621, @RodrigoTomeES, @padmaia, @timneutkens, @ztanner, @sadikkuzu, @styfle, @shuding, @dijonmusters, @leerob, @gffuma, @ijjk, @balazsorban44, @Schniz, @kwonoj, @wyattjoh, @wbinnssmith, @joulev, @Athrun-Judah, @tknickman, @rasvanjaya21, @rashidul0405, @sokra, @d3lm, @nguyenbry, @kdy1, @Mwimwii, @gnoff, @sebmarkbage, @dumb-programmer, @manovotny, @molebox, @better-salmon, and @mrr11k for helping!

next.js - v14.0.1

Published by huozhi 12 months ago

Core Changes

  • Add Next.js 14 codemods to CLI output.: #57552
  • OpenTelemetry: propagate a configured context(s) to root requests: #57084
  • debug: Add tags to next build traces to track build configuration in the .next/trace file: #56965
  • [Traces] Await the flush of the trace write stream to make sure trace file is written: #57641
  • Add node-pty to externals list: #57640
  • fix: move logging config validation out of experimental: #57530
  • Update font data: #57728
  • Support viewport export via TS Plugin: #57554
  • Fix: Build compilation warning when using middleware: #57685
  • chore: Update flight-client-entry-plugin.ts typo: #57734
  • Improve error for missing default export in dynamic metadata routes: #57711
  • fix gsp tracing issue: #57766
  • fix(turbopack): don't match empty route groups: #57647
  • Update React from 8c8ee9ee6 to 0c6348758 and types: #57772

Documentation Changes

  • Add missing dot in codemod command: #57536
  • docs(fix): example text unescaped entities: #57255
  • doc: Clarify built-in support for sass after installation: #57279
  • Update docs with a Good to know box about using redirect in client components: #56966
  • docs: fix 02-dynamic-routes.mdx: #57029
  • Fix incorrect link in GTM docs: #57547
  • Fix typos: #57592
  • Add apostrophe 07-error-handling.mdx: #57626
  • Fix: codemods.mdx Incorrect heading structure of next-og-import, meta…: #57605
  • Typo fix, version "13" to "14": #57723
  • Fix Google Tag Manager URL in Third Party Libraries documentation: #57731

Example Changes

  • Fix: Call cookies function from route to flag as dynamic: #57494
  • (Examples) Add with-youtube-embed example: #57367
  • (Examples) Add with-google-maps-embed example: #57365
  • update @types/react version in examples: #57259
  • docs: fix broken link to demo: #57229
  • (example update) Update example with-Clerk: #57050
  • active-class-name example style js has not taken effect: #56136
  • add inngest next.js example: #56049
  • fix inngest example for 3.x sdk: #57712

Misc Changes

  • update manifest: #57523
  • update next/third-parties to use Next 14 or 13 as a peer dependency, instead of just 13: #57515
  • Modify tailwindcss related dependency of create-next-app: #57262
  • Remove extra CI step and lock Node.js version: #57769

Credits

Huge thanks to @dijonmusters, @sokra, @philwolstenholme, @IgorKowalczyk, @housseindjirdeh, @Zoe-Bot, @HanCiHu, @JackHowa, @goncy, @hirotomoyamada, @pveyes, @yeskunall, @vinaykulk621, @ChendayUP, @leerob, @dvoytenko, @mknichel, @ijjk, @hmaesta, @ajz003, @its-kunal, @joelhooks, @blurrah, @tariknh, @Vinlock, @Nayeem-XTREME, @aziyatali, @aspehler, @huozhi, @ztanner, @ForsakenHarmony, @moka-ayumu, and @gnoff for helping!

next.js - v14.0.0

Published by huozhi 12 months ago

Core Changes

  • perf: fix server trace file logic : #56898
  • feat: drop Node.js 16: #56896
  • Update React from d900fadbf to 09fbee89d. Removes server context and experimental prefix for server action APIs: #56809
  • feat(env): upgrade dotenv: #38481
  • Update Babel dependencies: #51962
  • perf: fix tracing for routes: #56924
  • build: Update swc_core to v0.86.1: #56770
  • feat: set status code to 500 if unexpected error occurs before streaming in app router: #56236
  • cache: add unstable_noStore API: #56930
  • Adding component to @next/third-parties: #56106
  • Replace Promise.withResolvers polyfill with DetachedPromise: #56954
  • chore(next/image)!: mark onLoadingComplete as deprecated in favor of onLoad: #56944
  • chore: lower Node.js version requirement: #56943
  • fix typos: #56870
  • Update React from 09fbee89d to a41957507: #56970
  • Reland "feat(turbopack): support basic next/dynamic": #56934
  • Add @mui/icons-material to the default optimizePackageImports list: #56801
  • add better logs around worker restarts: #57004
  • Handle Promise Rejections for Streams: #56976
  • Web Streams cleanup: #56819
  • chore(next/image): remove deprecation of onLoadingComplete temporarily: #57020
  • Revert "chore(next/image): remove deprecation of onLoadingComplete temporarily": #57024
  • Improve performance of String.prototype.split uses: #56746
  • chore: support progressive jpg with sharp: #56617
  • Move ImageResponse to next/og: #56662
  • Prefer module over main on main fields for app router server compiler: #56960
  • chore: upgrade jest: #56909
  • chore: drop undici: #56899
  • Bump packages version to match canary versions: #57071
  • codemod: migrate ImageResponse imports: #57074
  • chore(next/image)!: mark domains as deprecated in favor remotePatterns: #57062
  • Code frame and sourcemapped error support for Turbopack: #56727
  • Update flakey build trace case: #57092
  • build: don't error when bundling optional peer deps: #57073
  • Expose Experimental Taint APIs: #56507
  • Update font data: #57094
  • Upgrade edge-runtime/cookies: #57124
  • Remove warning messages: #57087
  • Add retry for fetching subsetted Google Fonts: #56583
  • Update React from a41957507 to d803f519e: #57015
  • prefer Option<Vc> over Vc: #57104
  • chore: drop form-data: #57141
  • chore: drop web streams polyfilling on globalThis: #57077
  • chore: create template from next-edge-ssr-loader: #56715
  • Remove the experimental serverActions flag: #57145
  • Route Handler Types: #57070
  • Revert "Add retry for fetching subsetted Google Fonts": #57154
  • Display experimental features for next build: #57152
  • Cleanup Request Meta: #57144
  • chore: move layer from chunking context to asset context: #57149
  • Turbopack: support more server code in tracing error stack frames: #57156
  • misc: fix injecting --inspect with NODE_OPTIONS: #57159
  • Encoding and decoding variables of Server Actions from the closure: #56377
  • Remove printing fixed issues for Turbopack: #57188
  • Refactor code: #57189
  • Polish auto create layout warning color: #57190
  • improve server actions error when on unsupported node version: #57191
  • Fix two tests that use exportPathMap for Turbopack: #57194
  • fix(loader_tree): propagate metadata to corresponding layout: #56956
  • Polish the error message when using "use client" from a client action: #57164
  • fix(next-core): align edge chunking context's asset root: #57022
  • Leverage defineEnv for all environment variables in Turbopack: #57196
  • perf: memory usage tweaks: #57163
  • update turbopack: #57176
  • Move webpack aliases into separate file: #57233
  • Remove scheduler/tracing alias as the file no longer exists: #57234
  • test: stablize the metadata url tests: #57204
  • Polish turbopack start logging: #57203
  • Remove reactServerCondition property as it is not used: #57236
  • Add CompilerAliases Type: #57237
  • Turbopack: fix over-invalidation of node.js assets: #57240
  • Simplify options passed to createWebpackAliases: #57239
  • Fix relative metadata url resolving on windows: #57265
  • Improve encryption of Server Actions closure arguments: #57227
  • chore: fix a typo: #57272
  • Fix unmatched WebSocket upgrade requests being closed: #57245
  • perf: fix memory leaks in the edge runtime in dev: #57235
  • chore(export)!: remove next export in favor of output: export in next.config.js: #57085
  • Simplify iv prefixing of Server Actions encryption: #57274
  • Update Pathname Normalizers: #57161
  • Move logging option to stable: #56791
  • Polish compiling and turbopack logging: #57270
  • Revalidate Header Updates: #57162
  • Enhance Buffered Transform Stream: #57267
  • React Aliases: #57283
  • perf: remove parse-body from the server runtime: #57280
  • Improve encryption of Server Actions bound values: #57297
  • Add __nextjs_pure helper : #57286
  • only log export-no-custom-routes warning if unsupported: #57298
  • revert "React Aliases (#57283)": #57299
  • Fix client reference proxies: #57301
  • fix(turbopack): write manifests for edge app pages and use proper edge entry: #56675
  • Partial Prerendering: #57287
  • Optimize server bundle size: #57305
  • misc: fix bundling of experimental: #57311
  • Fix no-store/revalidate 0 inside of unstable_cache: #57313
  • update turbopack and add HMR test case: #57304
  • Fix nested unstable_cache revalidating: #57316
  • Revert "Add __nextjs_pure helper ": #57318
  • bundle analyzer artifacts: #57307
  • PPR Fetch Fix: #57327
  • feat: Add __nextjs_pure back: #57328
  • Fix trace ignores: #57331
  • PPR Support: #57319
  • fix: ensure generateStaticParams isn't required for PPR: #57333
  • taint flag should enable experimental react in turbopack: #57315
  • Fix app ISR error handling: #57332
  • fix metadata url resolving with path posix: #57343
  • Get rid of semver from the server bundle: #57321
  • fix(next_core): align remove trailing slash: #57344
  • perf: avoid using raw-body for server actions: #57358
  • fix(next-core): apply correct jsx transform context for ssr: #57300
  • Refactor code: #57382
  • Fix request body hanging when middleware is preset: #57381
  • Turbopack: inject chunk group list file into the page for server component CSS: #57376
  • Viewport exports: #57302
  • Add websocket to server-external-packages: #57389
  • turbopack: Implement Server Actions from Client Components: #57391
  • Refactor swc options: #57369
  • Ensure unstable_cache revalidate option enables ISR: #57390
  • Fix logging removed experiments in start logs: #57373
  • fix(next-core): adjust og alias: #57431
  • Turbopack: avoid crashing when server actions can't parse the file: #57424
  • Turbopack: avoid sending serverComponentChanges with errors: #57425
  • update turbopack: #57420
  • handle finish building message on client side: #57363
  • remove invalid argument: #57438
  • misc: build output rework: #57440
  • types: mark ImageResponse from next/server deprecated: #57372
  • Fix deploy id env handling when disabled: #57374
  • codemods: migrate viewport related metadata export to viewport export : #57436
  • Process Client -> RSC Server Actions as TS: #57454
  • Apply react-server transform and valication to middleware: #57448
  • fix(turbopack): don't emit issues when parsing the segment config for non js files: #57452
  • fix(next-core): fix determining dynamic route: #57435
  • Add deprecation warning for disabling swc minifier: #57453
  • Turbopack: Improve error handling: #57386
  • refactor: simplify swc loaders configuration: #57457
  • Ignore postponed rejections: #57456
  • types: mark ImageResponse from next/server deprecated: #57372
  • Fix deploy id env handling when disabled: #57374
  • codemods: migrate viewport related metadata export to viewport export : #57436
  • Process Client -> RSC Server Actions as TS: #57454
  • Apply react-server transform and valication to middleware: #57448
  • fix(turbopack): don't emit issues when parsing the segment config for non js files: #57452
  • fix(next-core): fix determining dynamic route: #57435
  • Add deprecation warning for disabling swc minifier: #57453
  • Turbopack: Improve error handling: #57386
  • refactor: simplify swc loaders configuration: #57457
  • Ignore postponed rejections: #57456
  • use postcss transforms consistently also on server side: #57434
  • feat(turbopack): add support for parallel routes and route interception: #57450
  • Apply react-server condition for pages api: #57459
  • Remove wasm target: #57437
  • add better messaging around wrapping postpone with try/catch: #57446
  • misc: fix unhandled err worker hook : #57465
  • misc: fix build output: #57466
  • turbopack: Fix Server Actions in Edge runtime: #57462
  • Fix Regex: #57461
  • perf: enable webpack build worker: #57346
  • fix turbopack invalidations: #57362
  • fix(turbopack): make layout in group not cause a 404: #57471
  • fix turbopack invalidations: #57362
  • fix(turbopack): make layout in group not cause a 404: #57471
  • add node:url alias: #57478
  • update turbopack: #57469
  • Turbopack: add HMR update message: #57476
  • Revert "fix turbopack invalidations (#57362)": #57480
  • Filter out CSS files from middleware files and client reference chunks: #57482
  • turbopack: Support Actions in both RSC and Client layers: #57475
  • Fix missing SWC transforms for optimized barrel files: #57474
  • if there are errors during postpone, or postpone was caught, fail static generation: #57477
  • Add deprecation warning for disabling output file tracing: #57467
  • Move serverActionsBodySizeLimit to serverActions.bodySizeLimit: #57433
  • Update React from a9985529f to 8c8ee9ee6: #57483
  • update turbopack: #57485
  • fix client-only alias in SSRed client components: #57484
  • revert ppr logging changes: #57486
  • Don't terminate PPR renders with dynamicUsageErr: #57488
  • update turbopack: #57487
  • revert "Apply react-server condition for pages api (#57459)": #57500
  • Revert "Apply react-server transform and valication to middleware (#5…: #57504

Documentation Changes

  • Docs: Add documentation for next/third-parties: #57345
  • Update 05-mdx.mdx . Fix key of the prop: #56883
  • chore(docs): fix missing fallback on next/image sizes example: #56718
  • Fix typos in duplicate-sass.mdx: #57045

Example Changes

  • chore: Refactor with-supabase example to use ssr package: #57100
  • Fix: catch expected error in with-supabase example: #57378

Misc Changes

  • improve next-image-proxy test: #56893
  • chore(test): test remote image from proxy: #56895
  • ensure kodiak is re-added to apps list after code-freeze action: #56907
  • chore: reduce fs-extra usage in scripts/: #56917
  • chore(test): set COREPACK_ENABLE_STRICT: 0 for create-next-app tests: #56955
  • Add .yarn/install-state.gz to .gitignore: #56637
  • chore(test): add logs for create-next-app tests: #56957
  • chore: revert back to moving files w/ fs-extra: #57030
  • Update CNA tests to avoid publish conflict: #57025
  • build(cargo): bump up turbopack: #57081
  • Update CNA tests more: #57088
  • Update runner for e2e deploy tests: #57089
  • update test manifest: #56938
  • make test case less flaky: #57138
  • Refine eslint rule: #57143
  • Update eslint config: #57146
  • Reduce e2e deploy concurrency: #57142
  • Mark most GTMParams as optional: #57153
  • chore: Add condition to skip update-fonts workflow on forks: #57165
  • Fix SCSS and SCSS loader handling tests for Turbopack: #57192
  • Skip webpack test in Turbopack test run: #57195
  • Skip output export production tests for Turbopack: #57197
  • Turbopack: reenable some skipped test cases: #57177
  • update test manifest: #57105
  • Update swc_core to v0.86.10: #57121
  • Import turbo daily integration test workflows: #57083
  • Skip i18n-ignore-rewrite-source irrelevant tests with turbopack: #57289
  • Increase concurrency for turbopack test run: #57290
  • Update unrelated mdx tests with turbopack: #57294
  • Skip i18n-ignore-rewrite-basepath-source irrelevant tests with turbopack: #57295
  • Update React from d803f519e to b8e47d988: #57296
  • Increase build-native CI job timeout: #57314
  • Revert "Increase build-native CI job timeout (#57314)": #57325
  • fix async-modules test: #57320
  • update turbopack test manifest: #57357
  • Split jsconfig-paths and jsconfig-paths-wildcard tests: #57360
  • disable opentelemetry test in turbopack: #57361
  • test(turbopack): update test manifest: #57366
  • test(next-image): adjust assertion compatible to turbopack: #57350
  • disable test temporarily: #57368
  • update manifest: #57421
  • enable e2e tests with turbopack: #57432
  • Turbopack: disable webpack specific test cases: #57423
  • Update React from b8e47d988 to a9985529f.: #57442
  • Update publish-native script for wasm change: #57472
  • update manifest: #57468
  • update manifest: #57468

Credits

Huge thanks to @A7med3bdulBaset, @acdlite, @Andarist, @berlysia, @Bsodoge, @dijonmusters, @dpnolte, @feedthejim, @ForsakenHarmony, @gnoff, @housseindjirdeh, @huozhi, @ijjk, @janicklas-ralph, @jridgewell, @JuanM04, @kdy1, @kwonoj, @leung018, @nil1511, @padmaia, @philwolstenholme, @ryo-manba, @sebmarkbage, @shuding, @sokra, @styfle, @SukkaW, @timneutkens, @tomocchino, @wbinnssmith, @WhoAmIRUS, @wyattjoh, @xiaolou86, @Yovach, @ztanner and @balazsorban44 for helping!

next.js - v13.5.6

Published by huozhi about 1 year ago

Core Changes

  • Upgrade edge-runtime/cookies #57021
  • Patch React with fix for write-after-close for ReadableStream #57011

Credits

Huge thanks to @ijjk @huozhi @gnoff for helping!

Package Rankings
Top 0.13% on Npmjs.org
Top 13.45% on Pypi.org
Top 29.52% on Crates.io
Top 3.57% on Proxy.golang.org
Related Projects