- 12 Apr, 2022 7 commits
-
-
JJ Kasper authored
-
JJ Kasper authored
-
Vlad Tansky authored
Apparently, Microsoft Visual C++ Redistributable is required for Windows users. > The issue is because the package is failing due to a missing library on the computer. fs-search requires Microsoft Visual C++ 2015 Redistributable (x64). > You can get the download here -> https://aka.ms/vs/17/release/vc_redist.x64.exe from https://stackoverflow.com/questions/69859120/the-specified-module-could-not-be-found-d-next-js-firstapp-node-modules-n ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [x] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `yarn lint`
-
William Li authored
update with-google-analytics example to also fire events when the hash section of the URL changes.
-
Henrik Wenz authored
This PR fixes #29740 and updates the with-slate example to match slates latest version. [more info](https://docs.slatejs.org/walkthroughs/01-installing-slate) ## Bug - [x] Related issues linked using `fixes #number` ## Documentation / Examples - [x] Make sure the linting passes by running `yarn lint` Co-authored-by:
JJ Kasper <22380829+ijjk@users.noreply.github.com>
-
Kiko Beats authored
Hello, This PR adds a method to have a custom inspect for `NextURL` closes #35519
-
LongYinan authored
fixes https://github.com/vercel/next.js/issues/34412 ## Bug - [x] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `yarn lint`
-
- 11 Apr, 2022 17 commits
-
-
JJ Kasper authored
-
JJ Kasper authored
-
Ethan Arrowood authored
* update @vercel/nft to 0.18.1 * update-compiled Co-authored-by:JJ Kasper <jj@jjsweb.site>
-
Gianmarco authored
* docs: suggest cloning with depth=1 to avoid huge downloads * Update contributing.md Co-authored-by:
JJ Kasper <jj@jjsweb.site> * lint-fix Co-authored-by:
JJ Kasper <jj@jjsweb.site>
-
JJ Kasper authored
Seems we can download the wrong turbo cache depending on the target causing incorrect cache hits for example: https://github.com/vercel/next.js/runs/5976740062?check_suite_focus=true#step:16:11
-
JJ Kasper authored
-
Rich Haines authored
Reverts vercel/next.js#35332
-
Naoyuki Kanezawa authored
Fixes https://github.com/vercel/next.js/issues/33578 This PR fixes `Link` component as well to not add locale for api routes since both preflight redirect and link should work the same. Additionally, it fixes the webdriver method `browser.waitForCondition()` for playwright to not wrap with function string. ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md`
-
LongYinan authored
## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `yarn lint`
-
Aravind Putrevu authored
## Documentation / Examples - [x] Make sure the linting passes by running `yarn lint`
-
Amy Burns authored
This PR fixes a request from `@rauchg` that we specify more clearly that Middleware is Beta and organize it properly within the navigation. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [x] Make sure the linting passes by running `yarn lint`
-
Rishabh Poddar authored
* add-supertokens-to-authentication.md * bump supertokens deps * update SuperTokens Auth doc * Update docs/authentication.md Co-authored-by:
Lee Robinson <me@leerob.io> * Update docs/authentication.md Co-authored-by:
Lee Robinson <me@leerob.io> * updates supertokens dependency and optimises for serverless execution * runs prettier-fix * adds supertokens to 'Bring Your Own Database' section as well * does not show home page if not logged in * extracts config into its own file and calls it in all serverless functions * removes need for backend init in app.jsx * simplifies use of dynamic * refreshes page after getServerSideProps * removes unnecessary check in API * update to docs pertaining SuperTokens * adds placeholder secrets so that the UI loads on first run * changes to readme * updates version of supertokens frontend and backend SDK, and a few other fixes * Update docs/authentication.md Co-authored-by:
Lee Robinson <me@leerob.io> * updates to readme for supertokens example * updates version of dependency * updates dependency version * updates to dependencies * removes unnecessary config on frontend * changes how redirection is done post signout * update to dependency * updates examples * updates code to use for new package * updates dependencies * updates auth-react package * with-supertokens example updated to use supertokens-node v7 * updates dependency * updates supertokens-node version * Update examples/with-supertokens/package.json Co-authored-by:
Lee Robinson <me@leerob.io> * updates based on check-examples.sh script * linter fix * updates supertokens-auth-react dependency version * adds development OAuth key to example * removes section from README * removes unnecessary file * updates dependency versions * with-supertokens: reduced bundle size by removing node lib from bundle Linting fix * Removed accidentally added config file * adds sign in with apple * extracted oauth keys to .env file * fixes node init issue race condition * removes unnecessary file * updates supertokens-auth-react dependency * updates superttokens-node dependency * adds a cap to react dependency * updates eslint-config-next version * removes unnecessary dev dependency * updates to latest version of supertokens-auth-react SDK * Updated nextjs in supertokens example * Update examples/with-supertokens/package.json * Update examples/with-supertokens/package.json * Update package.json * Update examples/with-supertokens/package.json Co-authored-by:
Balázs Orbán <info@balazsorban.com> * Update examples/with-supertokens/package.json Co-authored-by:
Balázs Orbán <info@balazsorban.com> Co-authored-by:
NkxxkN <kevin@supertokens.io> Co-authored-by:
NkxxkN <kevin.antoine@protonmail.com> Co-authored-by:
Lee Robinson <me@leerob.io> Co-authored-by:
Rishabh <rishabh@supertokens.io> Co-authored-by:
Bhumil Sarvaiya <sarvaiyabhumil@gmail.com> Co-authored-by:
jscyo <joelsteve97@hotmail.com> Co-authored-by:
Mihaly Lengyel <mihaly.lengyel@tresorit.com> Co-authored-by:
Balázs Orbán <info@balazsorban.com>
-
Markos-Th09 authored
* Added next.config.mjs for @next/mdx * Replaced leftover reference to babel * Fixed formatting problem * Added next-mdx-remote and @mdx-js/mdx as options
-
JJ Kasper authored
* Add note to contributing about docs manifest * Update contributing.md Co-authored-by:
Balázs Orbán <info@balazsorban.com> Co-authored-by:
Tim Neutkens <tim@timneutkens.nl> Co-authored-by:
Balázs Orbán <info@balazsorban.com>
-
Henrik Wenz authored
* Fix bird animations * Use memo for birds generation
-
Donny/강동윤 authored
* Move * Adjust * publish = false * Tree * Move tests * fixup * Split `emotion` * Split `styled_jsx` * Split `styled_jsx` * fmt * `--fix` * clippy * Update crates * fixup * publish * Bump * Rename * authors * Update * More update * Oh * Update test refs * Update test refs * Update again * Fix
-
LongYinan authored
* Add failing test for next/link next/image with "type": "module" * Interpolate default exports Co-authored-by:Tim Neutkens <tim@timneutkens.nl>
-
- 09 Apr, 2022 1 commit
-
-
Shu Ding authored
This PR adds the support of the `export * from './foo'` syntax in client components. ## Bug - [ ] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `yarn lint`
-
- 08 Apr, 2022 9 commits
-
-
Steven authored
The `config` was changed from a global variable to a function parameter of the `loader()` function in PR https://github.com/vercel/next.js/pull/33559 as an implementation detail, not as a public API. It was not meant to be used by the end user which is why it was [undocumented](https://nextjs.org/docs/api-reference/next/image#loader). This config is meant for the default Image Optimization API. Since the `loader` prop bypasses the default Image Optimization API in favor of a custom function, that config is no longer be relevant because the function can implement the optimization url however it desires. - Fixes #35115
-
JJ Kasper authored
This adds documentation for the `x-nextjs-cache` header which is now exposed for ISR pages and image optimization requests to help signal the cache state. ## Documentation / Examples - [x] Make sure the linting passes by running `yarn lint` Co-authored-by:Steven <steven@ceriously.com>
-
Tobias Koppers authored
fixes https://github.com/vercel/next.js/issues/35117 @balazsorban44 this needs a test case ## Bug - [x] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` Co-authored-by:
Balázs Orbán <18369201+balazsorban44@users.noreply.github.com>
-
Shu Ding authored
As per the feedback in #35952. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `yarn lint`
-
Björn authored
Migrating from express to nextjs API routes broke one of our APIs because of how `redirect` works in nextjs vs. how it works in express. We need to redirect the user to a confirmation page via GET after making a POST request, which is not possible with `redirect`. HTTP 303 seems to be the way to go in that case and I think it should be mentioned here. ## Documentation / Examples - [ ] Make sure the linting passes by running `yarn lint`
-
Jiachi Liu authored
* Organize react 18 test cases, group invalid cases to speed up the regular test cases * Add `runDevSuite` and `runProdSuite` for group next dev/prod test cases ```js runDevSuite(name, appDir, { runTests: (context, env) => { ... }, beforeAll, afterAll, }) runProdvSuite(name, appDir, { runTests: (context, env) => { ... }, beforeAll, afterAll, }) ``` -
Shu Ding authored
* update docs of streaming * add switchable runtime docs * add page to manifest * Apply suggestions from code review Co-authored-by:
Steven <steven@ceriously.com> * Update docs/advanced-features/react-18/streaming.md Co-authored-by:
Lee Robinson <me@leerob.io> Co-authored-by:
Steven <steven@ceriously.com>
-
Jiachi Liu authored
Use render to string call to render flush effects instead of rendering with stream plus converting to string
-
Shu Ding authored
Eager import does almost the same thing as `require()` but it instead also supports loading an ES module. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `yarn lint`
-
- 07 Apr, 2022 6 commits
-
-
Francis Gulotta authored
Removed the misleading TTFB information. It was easy to read that incorrectly and while getStaticProps does have a better TTFB that's not why you might need to avoid getServerSideProps, I gave better examples. I also wanted to answer "well how do I cache `getServerSideProps`?" and now there's a link. ## Documentation / Examples - [x] Make sure the linting passes by running `yarn lint`
-
Jiachi Liu authored
Fixes #35449 Include the shared components (from source code) is in client bundles, previously we lost them so that the client components imported by them are lost in module graph * let flight server loader apply to all pages and imported modules (except node_modules at the moment) * if it's a shared component from source code, include it in client bundle * ignore handling node_modules at the moment (due to the limitation support of esm imports with RSC) ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [x] Errors have helpful link attached, see `contributing.md`
-
Shu Ding authored
The same module should be created as 2 instances if it's imported from different contexts (server or client). ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `yarn lint`
-
JJ Kasper authored
-
JJ Kasper authored
-