- 14 Oct, 2021 9 commits
-
-
Tim Neutkens authored
-
JJ Kasper authored
-
Thibaut SABOT authored
* upgrade strip-ansi in react-dev-overlay * use the non-breaking version of strip-ansi
-
Donny/강동윤 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
-
jj@jjsweb.site authored
-
Tim Neutkens authored
Since this is not a swcrc option and will be removed in the future it's best to prune it from next-swc already. ## 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
-
JJ Kasper authored
This updates to the latest version of `@vercel/nft` which includes better shared caching between runs. x-ref: https://github.com/vercel/nft/pull/239 x-ref: https://github.com/vercel/nft/pull/238 x-ref: https://github.com/vercel/nft/pull/237
-
JJ Kasper authored
Fixes typo per https://github.com/vercel/next.js/pull/29462#discussion_r728604242 ## Documentation / Examples - [x] Make sure the linting passes
-
Steven authored
Revises docs to explain that the maximum of the header and config is used.
-
- 13 Oct, 2021 17 commits
-
-
Kara authored
This refactor is the first of a few changes to support "classic" (two-part) streaming. This one should be a noop that doesn't actually change the behavior. It re-organizes the way that functions are wrapped in Document Head/NextScript so anything that will be part of the second flush can be separated out from the first flush. It also adds the structure for a useMaybeDeferContent hook, but currently always assumes that nothing should be deferred. The next PRs will actually implement streaming.
-
Tim Neutkens 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
-
Tim Neutkens authored
-
Donny/강동윤 authored
Co-authored-by:
JJ Kasper <jj@jjsweb.site> Co-authored-by:
kdy1 <kdy1@users.noreply.github.com>
-
Tobias Koppers authored
gets rid of `(node:670) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 drain listeners added to [WriteStream]. Use emitter.setMaxListeners() to increase limit`
-
Tim Neutkens authored
-
Tobias Koppers authored
-
Angelo P authored
…/image` Error While learning how to test next.js applications I came across this error when testing components using next/image with an image import eg: ``` // /quiz-hero import Image from 'next/image'; import quizImage from '../../public/undraw-quiz.svg'; // In render <Image height='91' width='198' layout='fixed' src={quizImage} alt='QuizImage' /> ``` ### Error -> Failed to parse src "test-file-stub" on `next/image`, if using relative image it must start with a leading slash "/" or be an absolute URL (http:// or https://) This is fixed by adding a "/" to the beginning of your file-stub module export string. This is not an error when you're awaiting an image using async waitFor, But comes up as an error when you're testing a component that holds another component with a "next/image" import. eg: ``` // quizHero.test.tsx works like this without change. const image = await waitFor(() => screen.findByAltText('QuizImage')); // but index.test.tsx fails rendering the homepage without the change. render(<Home />); // Error: Failed to parse src "test-file-stub" on `next/image`... // with change to __mocks__/fileMock quizHero.test.tsx //test pass index.test.tsx //test pass ``` <!-- Thanks for opening a PR! Your contribution is much appreciated. In order to make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change that you're making: --> ## Bug possibly related to -> #26749 ## Feature - [X] Documentation added ## Documentation / Examples - [X] Make sure the linting passes -
Rich Haines authored
## Bug - [x] Related issues linked using Fixes: https://github.com/vercel/front/issues/11154 - [ ] 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
-
Tim Neutkens authored
-
Donny/강동윤 authored
Co-authored-by:kdy1 <kdy1@users.noreply.github.com>
-
Tim Neutkens authored
-
Donny/강동윤 authored
Co-authored-by:kdy1 <kdy1@users.noreply.github.com>
-
Jan Nicklas authored
-
Tobias Koppers authored
I wouldn't believe it, but it actually happens that the first two test cases try to create their test directory at the same millisecond, resulting in a shared directory, which leads to conflicts.
-
Genet Schneider authored
## Bug Fixes a TypeError when accessing url with no path params `_next/data/<BUILD_ID>` ``` TypeError: Cannot read property 'endsWith' of undefined at Object.fn (/app/node_modules/next/server/next-server.ts:644:52) at Router.execute (/app/node_modules/next/server/router.ts:346:40) at Server.run (/app/node_modules/next/server/next-server.ts:1229:41) at Server.handleRequest (/app/node_modules/next/server/next-server.ts:489:25) at /app/node_modules/next/server/next.ts:47:14 ``` - [ ] 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 - [x] Make sure the linting passes
-
Mike Osterhout authored
Resolves message using `yarn dev` ``` warn - Minimum recommended TypeScript version is v4.3.2, older versions can potentially be incompatible with Next.js. Detected: 4.0.8 ``` ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md`
-
- 12 Oct, 2021 6 commits
-
-
Steven authored
-
Seraphina Orsini authored
Fixes https://github.com/vercel/next.js/issues/29770 ## Description Pins `eslint` to `v7`. This avoids issues with `v8` from both [changes to the public api](https://eslint.org/docs/8.0.0/user-guide/migrating-to-8.0.0#the-lib-entrypoint-has-been-removed) and [lack of support from rushstack](https://github.com/microsoft/rushstack/issues/2890). See https://github.com/vercel/next.js/issues/29770#issuecomment-940636627 for slightly more detail. Local testing showed output of next app correctly pinned to `v7`. <img width="495" alt="Screen Shot 2021-10-12 at 12 31 56 AM" src="https://user-images.githubusercontent.com/29002354/136892312-1571718c-882b-4235-98f4-c1b8d4c72d26.png"> ### Bug Checklist - [X] Related issues linked using `fixes #number` - [ ] Integration tests added - Happy to add an integration test for pinning to v7 if we'd like, will need to be updated / removed when v8 is supported. - [ ] Errors have helpful link attached, see `contributing.md` - No errors to add links for
-
Donny/강동윤 authored
Co-authored-by:kdy1 <kdy1@users.noreply.github.com>
-
Phattarapol L authored
## Feature - [x] Documentation added ## Documentation / Examples - [x] Make sure the linting passes
-
Max Schmitt authored
Blocked by https://github.com/vercel/next.js/pull/29426
-
Steven authored
-
- 11 Oct, 2021 8 commits
-
-
Steven authored
Add support for AVIF to `next/image` - Fixes #27882 - Closes #27432 ## Feature - [x] Implements an existing feature request - [x] Related issues linked - [x] Integration tests added - [x] Documentation added - [x] Update manifest output - [x] Warn when `sharp` is outdated - [x] Errors & Warnings have helpful link attached - [ ] Remove `image-size` in favor of `squoosh`/`sharp` (optional, need to benchmark)
-
Keen Yee Liau authored
`optimizeCss` is a feature that inlines critical CSS using critters. The Aurora team would like to gauge adoption rate for this feature. ## 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` - [x] Integration tests added - [ ] Documentation added - [x] 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
-
Tobias Koppers authored
-
Tim Neutkens authored
-
Tobias Koppers authored
-
Tobias Koppers authored
Co-authored-by:kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
-
Tobias Koppers authored
-
Tobias Koppers authored
With persistent caching and other disposing fixes we can safely reduce the time before pages are disposed. The last 2 client pages are still never disposed.
-