- 20 Jun, 2023 11 commits
-
-
vercel-release-bot authored
-
Shu Ding authored
When working with React Server Components, it's essential to have a clear understanding of how they function and how to troubleshoot any errors that may arise. This PR adds links to our documentation whenever an error related to React Server Components occurs.
-
hustLer2k authored
useSearchParams() links to /docs/app/api-reference/functions/use-params instead of /docs/app/api-reference/functions/use-search-params
-
Tyler Lutz authored
Removes duplicate "to" in documentation.
-
Zack Tanner authored
### What? While looking into some things related to the FileSystemCache, I came across this typo introduced in #49227. Not sure how it's currently manifesting but figured it'd be worth correcting
-
Tyler Lutz authored
Removes extra word in env-key-not-allowed.md error
-
Delba de Oliveira authored
This PR notifies the global owners about new PRs, but Vercel Spaces will still rotate the selection of team members as reviewers ([docs](https://spaces-docs.vercel.sh/docs/code-owners#notify)).
-
Delba de Oliveira authored
This PR migrates and adapts the [validate docs links script from `next-site`](https://github.com/vercel/front/pull/23185). This script is triggered by a GitHub action whenever a file in the `/docs` folder is updated. If broken links are found in the docs, the check fails and we post a comment on the PR with a list of broken links. Co-authored-by:
Michael Novotny <446260+manovotny@users.noreply.github.com>
-
Jiachi Liu authored
Fixes font styles change introduced in #49782 ### Visuall Diff - After vs Before <img src="https://github.com/vercel/next.js/assets/4800338/92f6af3a-9728-4dc5-b3d0-b21eefd16164" width="400"> <img src="https://github.com/vercel/next.js/assets/4800338/df88c9dd-b710-4a0a-a1aa-131adb55efa6" width="400">
-
JJ Kasper authored
Reverts vercel/next.js#51406 This pnpm bump seems to be causing lockfile issues with the react versions which causes context issues since we need to share the same react version in the monorepo.
-
- 19 Jun, 2023 17 commits
-
-
Tyler Lutz authored
Change tranforming to transforming in 05-mdx.mdx
-
Wyatt Johnson authored
Fixes a linting issue with a MDX file that was updated.
-
Shu Ding authored
Currently an "action module" (files with `"use server"` on top) can be imported by both the server and client layers. In that case, we can't fork that action module into two modules (one on the server layer, one on the action layer), but only create it once on the server layer. This ensures that the action module instance doesn't get forked. Closes #50801. fix NEXT-1265
-
Tobias Koppers authored
CI runs with root, there is no sudo
-
Tobias Koppers authored
### What? * allow to use `runtime = "edge"` for app dir in turbopack * move common imports from next-app-loader to `packages/next/src/server/app-render/entry-base.ts` * move common turbopack code to communicate between JS and Rust into separate files ### Why? A lot test cases depend on edge rendering ### How? --------- Co-authored-by:Alex Kirszenberg <alex.kirszenberg@vercel.com>
-
Wisnu Wicaksono authored
-
Leo Driesch authored
-
vicsantizo authored
-
vicsantizo authored
-
Sonam Serchan authored
-
Lee Robinson authored
-
Alex Kirszenberg authored
This contains the original POC for `next build --turbo`. The implementation is _just enough_ to get pages building, and doesn't support the app router yet. I'll write more details here on the implementation and what the next steps are next week. Necessary changes on the Turbo side: https://github.com/vercel/turbo/pull/4998
-
Jimmy Lai authored
This PR fixes a bug in which the layout files were not picked up if they were direct children of a parallel route slot. Note: there's a bunch of other files that I've used for debugging that are not used for the test but I'm leaving them for future me. link NEXT-969
-
Jiachi Liu authored
Reverting unexpected pnpm-lock changes from https://github.com/vercel/next.js/commit/a3ef99acd9805dded24214c21ac9149952af73a7
-
Tyler Lutz authored
-
Kevin Wang authored
-
Rexford Essilfie authored
-
- 16 Jun, 2023 12 commits
-
-
Tyler Lutz authored
-
Michael Novotny authored
-
Jessica Chowdhury authored
This PR adds `cms-payload` to the examples folder. The demo provides a NextJS frontend, built with Payload, which can be deployed together in a single instance. ### Improving Documentation or adding/fixing Examples - [x] The "examples guidelines" are followed from our contributing doc https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md - [x] Make sure the linting passes by running `pnpm build && pnpm lint`. See https://github.com/vercel/next.js/blob/canary/contributing/repository/linting.md --------- Co-authored-by:
Lee Robinson <me@leerob.io> Co-authored-by:
JJ Kasper <jj@jjsweb.site>
-
Delba de Oliveira authored
The instrumentation.js should be placed in the root, or inside the 'src' folder if one exists
-
vercel-release-bot authored
-
Shu Ding authored
There're 3 layers in the RSC module graph: server → client → action. "Action" means that a Client Component re-enters the server layer by importing a file with `"use server"`, and it should behave the same as the server layer but you can't enter the client layer again (hence we have a 3rd layer name). Since the action layer has the same behavior and module resolution rules, it should be bundled just like the server layer. Closes #50658. Originally the issue was that `auth/next` isn't being bundled on the action layer, and it has the async local storage imported. Because of that, that storage comes from node_modules instead of the server bundle. fix NEXT-1290
-
Jon Meyers authored
### What? Update Next.js with Supabase example ### Why? Existing example for Next.js with Supabase is out of date ### How? - Rename `with-supabase-auth-db-realtime` to `with-supabase` - Update example to use App Router - Use Supabase Auth Helpers for Next.js to configure auth cookies ---------
-
Bruno Eduardo de Souza Medeiros authored
The documentation for `(App or Pages) / Building your Application / Configuring / Eslint` [here](https://nextjs.org/docs/app/building-your-application/configuring/eslint#linting-custom-directories-and-files) is mentioning the appDir as an experimental feature that needs to be enabled. This PR update it's content removing this mention Co-authored-by:
JJ Kasper <jj@jjsweb.site>
-
JJ Kasper authored
These are sorted by duration which can be arbitrary and aren't guaranteed to not be collapsed so this updates to only check for the ones we know will always be visible. x-ref: https://github.com/vercel/next.js/actions/runs/5289693006/jobs/9573031740?pr=51406#step:26:275
-
JJ Kasper authored
This appears to still be hitting the previous issue mentioned in https://github.com/vercel/next.js/pull/51322 Reverts vercel/next.js#51373
-
Nick McCurdy authored
### What? Fixes pnpm/pnpm#6424 ### Why? So users of Node 20 can contribute to Next.js ### How? Upgrades pnpm with back compatibility to patch `ERR_INVALID_THIS` error. If Node 14 support isn't necessary, I'd recommend upgrading to pnpm 8 for continued feature support and committing the lockfile. --------- Co-authored-by:JJ Kasper <jj@jjsweb.site>
-
OJ Kwon authored
### What? WEB-1193. context: https://vercel.slack.com/archives/C04DUD7EB1B/p1686873054726149 we want to observe flakyness over deploy e2e tests.
-