status stringclasses 1
value | repo_name stringclasses 13
values | repo_url stringclasses 13
values | issue_id int64 1 104k | updated_files stringlengths 11 1.76k | title stringlengths 4 369 | body stringlengths 0 254k ⌀ | issue_url stringlengths 38 55 | pull_url stringlengths 38 53 | before_fix_sha stringlengths 40 40 | after_fix_sha stringlengths 40 40 | report_datetime timestamp[ns, tz=UTC] | language stringclasses 5
values | commit_datetime timestamp[us, tz=UTC] |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
closed | vercel/next.js | https://github.com/vercel/next.js | 33,860 | ["packages/next/server/image-optimizer.ts"] | "ENOENT: no such file or directory" - next.js crashes, related to image caching? | ### Run `next info` (available from version 12.0.8 and up)
```
root@1d90163fc150:/app# npx --no-install next info
/bin/sh: 1: pnpm: not found
Operating System:
Platform: linux
Arch: x64
Version: #1 SMP Debian 4.19.171-2 (2021-01-30)
Binaries:
Node: 17.4.0
npm: 8.3.1
... | https://github.com/vercel/next.js/issues/33860 | https://github.com/vercel/next.js/pull/33883 | aae0370d63bb8f39ad0eace63e0c50897960d4bc | e3e62aa78673f8819583f56eb43c5cc9b4b9dd78 | 2022-02-01T11:46:51Z | javascript | 2022-02-02T21:27:56Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 33,856 | ["packages/eslint-plugin-next/lib/rules/link-passhref.js", "test/unit/eslint-plugin-next/link-passhref.test.ts"] | eslint rule link-passhref does not work | ### Run `next info` (available from version 12.0.8 and up)
_No response_
### What version of Next.js are you using?
12.0.9
### What version of Node.js are you using?
16
### What browser are you using?
chrome
### What operating system are you using?
macOS
### How are you deploying your application?
next start... | https://github.com/vercel/next.js/issues/33856 | https://github.com/vercel/next.js/pull/33857 | 3e60c232a86d2c3b40a45a427f1d32a85b89daf7 | a7793c7a0c5c5e4496594a3010152cfba31920de | 2022-02-01T10:42:47Z | javascript | 2022-02-01T18:53:55Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 33,854 | [".github/workflows/build_test_deploy.yml", "packages/next-swc/.cargo/config.toml", "packages/next-swc/crates/napi/npm/android-arm-eabi/README.md", "packages/next-swc/crates/napi/npm/android-arm-eabi/package.json", "packages/next-swc/package.json", "packages/next/package.json", "scripts/install-native.mjs", "yarn.lock"... | "next build" fails in environments with glibc < 2.18 | ### Run `next info` (available from version 12.0.8 and up)
```
Operating System:
Platform: linux
Arch: x64
Version: #1 SMP Sat Jul 3 21:51:47 UTC 2021
Binaries:
Node: 16.13.2
npm: 8.1.2
Yarn: 1.22.17
pnpm: N/A
Relevant packages:
next: 12.0.10-canar... | https://github.com/vercel/next.js/issues/33854 | https://github.com/vercel/next.js/pull/34481 | ce76d1712e98d7310385c89ec1917242f7c5111c | 924b71ccc16c434005c0f4111e86d658734c0133 | 2022-02-01T10:33:25Z | javascript | 2022-02-18T16:04:43Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 33,829 | ["packages/next/export/index.ts", "packages/next/pages/_document.tsx", "packages/next/server/base-server.ts", "packages/next/server/config-shared.ts", "packages/next/server/render.tsx", "packages/next/shared/lib/html-context.ts", "test/e2e/prerender.test.ts", "test/e2e/prerender/pages/large-page-data.js"] | Show warning during build if page is returning a large amount of data | ### Describe the feature you'd like to request
Following up from https://github.com/vercel/next.js/pull/29956, let's consider adding this for `next build`.
### Describe the solution you'd like
A warning is outputted during `next build` similar to local devl.
### Describe alternatives you've considered
See thread f... | https://github.com/vercel/next.js/issues/33829 | https://github.com/vercel/next.js/pull/37264 | 5739edc7cf5e9a3ba41054c5c701e8ddbe7607ed | 39302141b5ea3a1e9a55af906129a44675337cf9 | 2022-01-31T16:24:46Z | javascript | 2022-05-29T01:39:48Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 33,809 | ["package.json", "packages/next/client/image.tsx", "test/integration/image-component/default/pages/_document.js", "test/integration/image-component/default/pages/valid-html-w3c.js", "test/integration/image-component/default/test/index.test.js", "yarn.lock"] | next/image produces invalid HTML according to W3C (again) | ### Run `next info` (available from version 12.0.8 and up)
Operating System:
Platform: linux
Arch: x64
Version: #29-Ubuntu SMP Wed Jan 12 17:36:47 UTC 2022
Binaries:
Node: 16.13.2
npm: 8.3.2
Yarn: 1.22.15
pnpm: 6.11.0
Relevant packages:
next: 12.0.9... | https://github.com/vercel/next.js/issues/33809 | https://github.com/vercel/next.js/pull/33825 | b00270b1abcabf5ef463553bd868f5b3d233d8ca | e0095faf23797d537a2ce9cbc57235cf9306931c | 2022-01-30T13:38:34Z | javascript | 2022-02-01T00:13:46Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 33,754 | ["docs/testing.md"] | Docs: Misspelling in testing documentation | ### What is the improvement or update you wish to see?
> Styleheets and images aren't used in the tests but importing them may cause errors, so they will need to be mocked. Create the mock files referenced in the configuration above - fileMock.js and styleMock.js - inside a __mocks__ directory:
In Testing documenta... | https://github.com/vercel/next.js/issues/33754 | https://github.com/vercel/next.js/pull/33755 | 7b2ea487458b56e668523c4a0387ad86b6ad36bd | c2b6d235f2635ae8ea4fa8519f64bcc70830f40d | 2022-01-27T21:57:49Z | javascript | 2022-01-27T22:12:55Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 33,696 | ["packages/next/build/index.ts", "test/production/required-server-files.test.ts"] | Output file tracing - server.js compression false | ### Run `next info` (available from version 12.0.8 and up)
Operating System:
Platform: darwin
Arch: x64
Version: Darwin Kernel Version 20.6.0: Tue Oct 12 18:33:42 PDT 2021; root:xnu-7195.141.8~1/RELEASE_X86_64
Binaries:
Node: 16.11.0
npm: 8.0.0
Yarn: N/A
pnpm: ... | https://github.com/vercel/next.js/issues/33696 | https://github.com/vercel/next.js/pull/33717 | c551a329d53ecb1f4543b71cae9672fb8f40ccc1 | 0d642f1264b5dd20fe4bacb9470e95877bcaf273 | 2022-01-26T14:45:35Z | javascript | 2022-01-27T02:13:10Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 33,667 | ["packages/next/build/webpack-config.ts", "packages/next/build/webpack/plugins/functions-manifest-plugin.ts", "packages/next/build/webpack/plugins/middleware-plugin.ts", "packages/next/shared/lib/constants.ts", "test/integration/react-streaming-and-server-components/test/index.test.js"] | Generate functions-manifest.json | For #31317 and other issues, we can no longer using middleware to host the SSR handler. Instead these routes should be generated as standalone functions, and we should emit a `functions-manifest.json` file to indicate the target function runtime and other information. | https://github.com/vercel/next.js/issues/33667 | https://github.com/vercel/next.js/pull/33770 | 030666b5bf46783ab7d79d53ec2f0a7fc365ed02 | 5b31c18e76754837fb6732bc1fc56fef9d3b7ad2 | 2022-01-25T22:40:21Z | javascript | 2022-01-31T15:46:04Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 33,615 | ["packages/next/build/index.ts", "packages/next/lib/worker.ts"] | Custom build with App getInitialProps hangs | ### Run `next info` (available from version 12.0.8 and up)
Operating System:
Platform: darwin
Arch: x64
Version: Darwin Kernel Version 20.6.0: Mon Aug 30 06:12:21 PDT 2021; root:xnu-7195.141.6~3/RELEASE_X86_64
Binaries:
Node: 14.18.3
npm: 6.14.15
Yarn: 1.22.10
... | https://github.com/vercel/next.js/issues/33615 | https://github.com/vercel/next.js/pull/34503 | 7c103fac7d96f7ebadf03620044f3b2c02c4df48 | ab40370ea5b69aa4dd601907eb85d25da1140b6b | 2022-01-24T20:52:06Z | javascript | 2022-02-18T09:12:56Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 33,600 | ["packages/next-swc/Cargo.lock", "packages/next-swc/crates/core/Cargo.toml", "packages/next-swc/crates/napi/Cargo.toml", "packages/next-swc/crates/napi/src/bundle/mod.rs", "packages/next-swc/crates/wasm/Cargo.toml"] | next.js seems to be handling JS closures incorrectly | ### Run `next info` (available from version 12.0.8 and up)
```
/bin/sh: pnpm: command not found
Operating System:
Platform: darwin
Arch: arm64
Version: Darwin Kernel Version 21.0.1: Tue Sep 14 20:56:24 PDT 2021; root:xnu-8019.30.61~4/RELEASE_ARM64_T6000
Binaries:
Node: 17.1.0
... | https://github.com/vercel/next.js/issues/33600 | https://github.com/vercel/next.js/pull/33628 | eba64c29a4acd4bd1dfc469c3aec3fd37c6bc372 | 9dd0399dd832dbb6ead80f80e12135b27cfdfd97 | 2022-01-24T08:37:55Z | javascript | 2022-01-25T09:22:22Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 33,598 | ["docs/advanced-features/security-headers.md"] | Improve Content-Security-Policy usage explanation | ### What is the improvement or update you wish to see?
Can you add content security policy header examples?
### Is there any context that might help us understand?
At the moment the docs have
```
{
key: 'Content-Security-Policy',
value: // Your CSP Policy
}
```
Could you give examples of what `// Your CSP... | https://github.com/vercel/next.js/issues/33598 | https://github.com/vercel/next.js/pull/33833 | 4f5975ffc49967f49acb7ea595b75723aa1356df | ad79c04d6bfe91cb25f2a85e7b170e75ac769ed4 | 2022-01-24T07:02:08Z | javascript | 2022-01-31T20:30:47Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 33,578 | ["packages/next/shared/lib/router/router.ts", "test/integration/i18n-support/pages/index.js", "test/integration/i18n-support/test/index.test.js", "test/integration/middleware/core/pages/api/ok.js", "test/integration/middleware/core/pages/redirects/_middleware.js", "test/integration/middleware/core/pages/redirects/index... | Middleware doesn't redirect properly with i18n | ### Run `next info` (available from version 12.0.8 and up)
Operating System:
Platform: darwin
Arch: x64
Version: Darwin Kernel Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019; root:xnu-4903.271.2~2/RELEASE_X86_64
Binaries:
Node: 12.22.9
npm: 6.14.15
Yarn: 1.22.17
... | https://github.com/vercel/next.js/issues/33578 | https://github.com/vercel/next.js/pull/35994 | aaa823c3fa0b4d248b7c172c0e017b7645793a06 | 93678b569bb46df9fad39f9db2b18797872b7c15 | 2022-01-23T17:19:45Z | javascript | 2022-04-11T15:59:07Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 33,553 | ["docs/advanced-features/custom-app.md"] | `appContext.router.pathname` using old value after using `router.push` for customized app | ### Run `next info` (available from version 12.0.8 and up)
```
PS D:\UserData\Downloads\router-push> next info
'pnpm' is not recognized as an internal or external command,
operable program or batch file.
Operating System:
Platform: win32
Arch: x64
Version: Windows 10 Pro
... | https://github.com/vercel/next.js/issues/33553 | https://github.com/vercel/next.js/pull/35303 | 99aea513bfb9721a83feef2812f33819c3ede9ae | 7891645d4b64bb4ee775d0a5a38fc58abc1dfa90 | 2022-01-22T03:48:57Z | javascript | 2022-03-15T14:34:49Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 33,544 | ["packages/next/build/webpack-config.ts", "packages/next/build/webpack/loaders/next-flight-client-loader.ts", "packages/next/build/webpack/loaders/next-flight-server-loader.ts", "packages/next/build/webpack/plugins/flight-manifest-plugin.ts", "test/integration/react-streaming-and-server-components/app/components/client... | RSC: loader improvement & shared components | ### Background
We have 2 webpack loders to handle the transform of server and client components on both server and client side, to make sure:
* server components won't get executed on client side
* client components can be SSR’d
### Problem
#### Exports
Those loaders assume you define components with `ex... | https://github.com/vercel/next.js/issues/33544 | https://github.com/vercel/next.js/pull/34692 | 175e081e862b503d2daf4c2d07d589f86d037f06 | 8ba2aec022f88b8d773013c8188fe284779bba8c | 2022-01-21T16:06:05Z | javascript | 2022-02-28T15:00:28Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 33,536 | ["errors/invalid-api-status-body.md"] | API Routes 204 > Conflict between TypeScript and linter rules | ### Run `next info` (available from version 12.0.8 and up)
Operating System:
Platform: darwin
Arch: arm64
Version: Darwin Kernel Version 21.1.0: Wed Oct 13 17:33:24 PDT 2021; root:xnu-8019.41.5~1/RELEASE_ARM64_T8101
Binaries:
Node: 16.13.2
npm: 7.24.2
Yarn: N/A
... | https://github.com/vercel/next.js/issues/33536 | https://github.com/vercel/next.js/pull/33611 | bc223d76e0e1962ba5904b52597c4b3a47184f11 | b7725133f867b5e530dd4bb5d1fd8d5d389e3364 | 2022-01-21T14:21:02Z | javascript | 2022-02-03T02:41:28Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 33,476 | ["packages/next/shared/lib/loadable.js", "test/production/next/jest/index.test.ts"] | Regression in 12.0.8 for jest: TypeError: require.resolveWeak is not a function | ### Run `next info` (available from version 12.0.8 and up)
Operating System:
Platform: win32
Arch: x64
Version: Windows 10 Enterprise
Binaries:
Node: 16.8.0
npm: 7.21.0
Yarn: 1.22.10
pnpm: N/A
Relevant packages:
next: 12.0.8
react: 17.0.2
... | https://github.com/vercel/next.js/issues/33476 | https://github.com/vercel/next.js/pull/33908 | 694407450638b037673c6d714bfe4126aeded740 | 40329a70a5b4680e71c5ee1d9a7e59b10d80f113 | 2022-01-19T22:13:35Z | javascript | 2022-02-08T14:02:53Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 33,463 | ["packages/next/client/image.tsx", "test/integration/image-component/default/pages/on-loading-complete.js", "test/integration/image-component/default/test/index.test.js"] | onLoadingComplete is being called several times when parent rerenders | ### Run `next info` (available from version 12.0.8 and up)
_No response_
### What version of Next.js are you using?
12.0.3
### What version of Node.js are you using?
14.16.0
### What browser are you using?
Chrome
### What operating system are you using?
Windows
### How are you deploying yo... | https://github.com/vercel/next.js/issues/33463 | https://github.com/vercel/next.js/pull/33474 | 96057c8f67db41cdb8a1ed831e459d6b1e4e4c01 | c879fce0d465cd96d0d05e329c0a8a83f46e29d9 | 2022-01-19T14:57:58Z | javascript | 2022-01-20T15:29:34Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 33,462 | ["package.json", "packages/next/compiled/node-fetch/index.js", "yarn.lock"] | Upgrade `node-fetch` | ### Run `next info` (available from version 12.0.8 and up)
Operating System:
Platform: win32
Arch: x64
Version: Windows 10 Pro
Binaries:
Node: 14.18.2
npm: 6.14.15
Yarn: 1.22.17
pnpm: N/A
Relevant packages:
next: 12.0.8
react: 17.0.2
react... | https://github.com/vercel/next.js/issues/33462 | https://github.com/vercel/next.js/pull/33466 | 818f6b32583c260dfd4a4cd8dbd4841bd5d4639c | 1d4f364515d34586b864923dafb7888bf1ff79d2 | 2022-01-19T14:25:54Z | javascript | 2022-01-19T16:48:11Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 33,458 | ["packages/next-swc/Cargo.lock"] | swcMinify: true, spread props triggers child component re-mount | ### Run `next info` (available from version 12.0.8 and up)
Operating System:
Platform: linux
Arch: x64
Version: #1237-Microsoft Sat Sep 11 14:32:00 PST 2021
Binaries:
Node: 16.10.0
npm: 7.24.0
Yarn: 1.22.5
pnpm: N/A
Relevant packages:
next: 12.0.9-canary.2
... | https://github.com/vercel/next.js/issues/33458 | https://github.com/vercel/next.js/pull/33485 | 2fd17ba1f8712b472914a00326f68104b3968633 | a54eb376e1afc261c898cb4872cd053fc0fb98d3 | 2022-01-19T12:30:50Z | javascript | 2022-01-20T08:54:56Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 33,450 | ["docs/middleware.md"] | Middleware fails in v12.0.8 | ### Run `next info` (available from version 12.0.8 and up)
```sh
Operating System:
Platform: darwin
Arch: x64
Version: Darwin Kernel Version 21.2.0: Sun Nov 28 20:28:54 PST 2021; root:xnu-8019.61.5~1/RELEASE_X86_64
Binaries:
Node: 16.13.0
npm: 8.1.0
Yarn: 3.1.0
p... | https://github.com/vercel/next.js/issues/33450 | https://github.com/vercel/next.js/pull/33535 | ebe95f442089d33a7660cb02a6427ce64a9d223f | f4c1594a6bd975016e5b8abf03f541afcf4723ad | 2022-01-19T08:12:23Z | javascript | 2022-01-21T21:37:15Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 33,441 | ["packages/next/server/image-optimizer.ts", "test/integration/image-optimizer/test/index.test.js"] | On nonexistent image request, next/image hangs and eventually returns a 504 | ### Run `next info` (available from version 12.0.8 and up)
```
Operating System:
Platform: linux
Arch: x64
Version: #51~20.04.1-Ubuntu SMP Fri Jan 7 06:51:40 UTC 2022
Binaries:
Node: 16.13.0
npm: 6.14.15
Yarn: 1.22.15
pnpm: 6.11.0
Relevant packages:
... | https://github.com/vercel/next.js/issues/33441 | https://github.com/vercel/next.js/pull/33719 | 311f66ead6658d8b12021dcab5f55b97c956fcde | c551a329d53ecb1f4543b71cae9672fb8f40ccc1 | 2022-01-18T16:33:56Z | javascript | 2022-01-27T01:41:57Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 33,402 | ["docs/api-reference/next/script.md", "docs/basic-features/script.md"] | Docs: conflict in next/script's onLoad documentation | ### What is the improvement or update you wish to see?
I'm afraid there's currently a conflict between the two documentation pages on next/script. The [Script Component page says](https://nextjs.org/docs/basic-features/script#executing-code-after-loading-onload) following:
> If you are loading a script with eithe... | https://github.com/vercel/next.js/issues/33402 | https://github.com/vercel/next.js/pull/36453 | adcd9143fefe37dd367993a2132550e299a92683 | ff140a729162cd2bd14f17b4ecbf269f03966f59 | 2022-01-17T16:37:15Z | javascript | 2022-04-25T17:51:35Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 33,314 | ["packages/next/lib/is-error.ts", "packages/next/lib/is-serializable-props.ts", "packages/next/shared/lib/is-plain-object.ts"] | Client bundles contain non es5 code | ### Run `next info` (available from version 12.0.8 and up)
Operating System:
Platform: linux
Arch: x64
Version: #1 SMP PREEMPT Wed, 05 Jan 2022 16:20:59 +0000
Binaries:
Node: 16.7.0
npm: 7.20.3
Yarn: N/A
pnpm: N/A
Relevant packages:
next: 12.0.8
... | https://github.com/vercel/next.js/issues/33314 | https://github.com/vercel/next.js/pull/33690 | 33784f1342487007619ddb02ccef3167d5cd8df7 | 662fa6362a07caa9185e999983d42715281a61aa | 2022-01-14T14:01:59Z | javascript | 2022-01-27T17:59:42Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 33,294 | ["packages/next/compiled/@vercel/nft/index.js", "packages/next/package.json", "yarn.lock"] | esbuild not working in prod serverless functions | ### Run `next info` (available from version 12.0.8 and up)
Operating System:
Platform: darwin
Arch: x64
Version: Darwin Kernel Version 21.2.0: Sun Nov 28 20:28:54 PST 2021; root:xnu-8019.61.5~1/RELEASE_X86_64
Binaries:
Node: 15.10.0
npm: 7.5.3
Yarn: 1.22.11
pnpm: 5... | https://github.com/vercel/next.js/issues/33294 | https://github.com/vercel/next.js/pull/33548 | f5fb18198c37727b4abe6e85b74fc33ea191381d | f81a6a5f0fc3a33a51112d4d3261d431e704b0da | 2022-01-14T05:28:39Z | javascript | 2022-01-22T00:14:11Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 33,291 | ["packages/next-swc/Cargo.lock"] | Using spread props in a `next/head` child causes void elements to be decorated with a `children` prop | ### Run `next info` (available from version 12.0.8 and up)
Operating System:
Platform: win32
Arch: x64
Version: Windows 10 Pro
Binaries:
Node: 14.18.1
npm: 8.1.3
Yarn: N/A
pnpm: N/A
Relevant packages:
next: 12.0.8
react: 17.0.2
react-d... | https://github.com/vercel/next.js/issues/33291 | https://github.com/vercel/next.js/pull/33342 | 790db2c2e4786ecc3127ea32263230f342d1dcf7 | aaa77dd73f188494ca5db56cd6932bc66ed3cf35 | 2022-01-13T23:53:22Z | javascript | 2022-01-17T14:09:55Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 33,265 | ["packages/next-swc/Cargo.lock", "packages/next-swc/crates/core/Cargo.toml", "packages/next-swc/crates/napi/Cargo.toml", "packages/next-swc/crates/wasm/Cargo.toml"] | Video.js crash when SWC Minify is enabled | ### Run `next info` (available from version 12.0.8 and up)
_No response_
### What version of Next.js are you using?
12.0.8
### What version of Node.js are you using?
any
### What browser are you using?
Chrome 97.0.4692.71
### What operating system are you using?
Windows11 & MacOS 12.1
###... | https://github.com/vercel/next.js/issues/33265 | https://github.com/vercel/next.js/pull/33427 | 3220bbaba337089624e535f2bc71623e593e725f | b111ba159a8b4f76e6f40d9d95cffea746bb8a70 | 2022-01-13T14:45:55Z | javascript | 2022-01-19T08:15:45Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 33,210 | ["docs/going-to-production.md"] | Docs: Add section about how cache-control headers are set, depending on how your pages fetch data | ### What is the improvement or update you wish to see?
See this comment: https://github.com/vercel/next.js/issues/33204#issuecomment-1010840976
### Is there any context that might help us understand?
^
### Does the docs page already exist? Please link to it.
Maybe here: https://nextjs.org/docs/going-to-production#... | https://github.com/vercel/next.js/issues/33210 | https://github.com/vercel/next.js/pull/35336 | 0a416acdcf2bc16d4a931301e4c192b74c6823ff | 86c1bf6d2b74fa9fa2288a73b529956dd4841bcd | 2022-01-12T10:06:39Z | javascript | 2022-03-16T10:48:45Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 33,191 | ["docs/basic-features/script.md"] | next/script does not trigger onLoad callback when used with beforeInteractive strategy | ### Run `next info` (available from version 12.0.8 and up)
_No response_
### What version of Next.js are you using?
11.1.2
### What version of Node.js are you using?
14.15
### What browser are you using?
Chrome
### What operating system are you using?
Linux
### How are you deploying your application?
next de... | https://github.com/vercel/next.js/issues/33191 | https://github.com/vercel/next.js/pull/36261 | 4a8a3d2400a54448b615fbc75cd91ca8cfea256c | 44c7fd79994d4515dd47e3c8ac94cb0e9f670027 | 2022-01-11T15:31:37Z | javascript | 2022-04-19T11:50:19Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 33,135 | ["packages/next/compiled/nanoid/index.cjs", "packages/next/compiled/postcss-safe-parser/safe-parse.js", "packages/next/compiled/postcss-scss/scss-syntax.js", "packages/next/package.json", "yarn.lock"] | Outdated PostCSS | ### Describe the Bug
PostCSS is listed as a direct dependency with a pinned version.
This makes it impossible for users to use plugins that require a higher version.
Context : https://github.com/csstools/postcss-plugins/issues/147
### Expected
PostCSS should be peer dependency with relaxed constraints
... | https://github.com/vercel/next.js/issues/33135 | https://github.com/vercel/next.js/pull/33142 | 0c5f4e7844e08ae6be7ec3e4f412ecc35c003976 | 1dd053f9fabaaec460570dca79fe326b3de8dee6 | 2022-01-10T11:07:37Z | javascript | 2022-01-13T16:06:38Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 33,110 | ["docs/advanced-features/src-directory.md", "docs/basic-features/environment-variables.md"] | Docs: No info on environment variables in the /src folder | ### What is the improvement or update you wish to see?
Change this line in [this page](https://nextjs.org/docs/advanced-features/src-directory):
> Config files like next.config.js and tsconfig.json should be inside the root directory, moving them to src won't work. Same goes for the public directory
To:
> C... | https://github.com/vercel/next.js/issues/33110 | https://github.com/vercel/next.js/pull/33136 | 213f5a43eac7c95810ae6ccc49d8d36cedfe6115 | 8ae08b94d8737cf421c4c07327c594fa17f5c9f2 | 2022-01-09T12:42:45Z | javascript | 2022-01-10T13:58:29Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 33,081 | ["packages/next/shared/lib/router/router.ts", "packages/next/shared/lib/router/utils/parse-relative-url.ts", "packages/next/shared/lib/utils.ts", "test/integration/client-navigation/pages/nav/relative-1.js", "test/integration/client-navigation/pages/nav/relative-2.js", "test/integration/client-navigation/pages/nav/rela... | next/link treats initial dot incorrectly | ### Run `next info` (available from version 12.0.8 and up)
Operating System:
Platform: Windows
Arch: x64
Version: Windows 10 Enterprise
Binaries:
Node: 16.0.0
npm: 7.10.0
Yarn: N/A
pnpm: N/A
Relevant packages:
next: 12.0.7
react: 17.0.2
... | https://github.com/vercel/next.js/issues/33081 | https://github.com/vercel/next.js/pull/36823 | 99b017e5cbcc7cc9bd220332f6f4847540a44629 | 87826ee186fc65c0b3b4288791f4b575158371c9 | 2022-01-07T09:24:25Z | javascript | 2022-05-22T16:43:48Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 33,076 | ["docs/advanced-features/using-mdx.md"] | typo in documentation for MDX custom components leads to syntax error: unexpected token | ### Run `next info` (available from version 12.0.8 and up)
```
Operating System:
Platform: linux
Arch: x64
Version: #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021
Binaries:
Node: 16.13.1
npm: 8.1.2
Yarn: 1.22.10
pnpm: N/A
Relevant packages:
next: 12.... | https://github.com/vercel/next.js/issues/33076 | https://github.com/vercel/next.js/pull/33077 | aeb67cc28d1d589719b95043042c6cb8f9aab26c | e5e04c9039fd81f31309514a0502fc0e1af272eb | 2022-01-06T21:30:20Z | javascript | 2022-01-06T23:32:31Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 33,043 | ["packages/next/build/polyfills/process.js", "packages/next/build/webpack-config.ts", "packages/next/build/webpack/plugins/middleware-plugin.ts", "test/production/dependencies-can-use-env-vars-in-middlewares/index.test.ts"] | Packages used in middleware can't read env vars >=12.05 | ### Run `next info` (available from version 12.0.8 and up)
_No response_
### What version of Next.js are you using?
12.0.5
### What version of Node.js are you using?
16.3.0
### What browser are you using?
chrome
### What operating system are you using?
macOS
### How are you deploying your application?
yarn d... | https://github.com/vercel/next.js/issues/33043 | https://github.com/vercel/next.js/pull/33141 | f0ad19aef62c058893ed12956d40b22b5a8794d4 | 4aa9879dcc947fabcaaae14387198b8aa5c45296 | 2022-01-05T20:10:06Z | javascript | 2022-01-10T18:45:00Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 33,005 | ["packages/next/build/swc/options.js", "test/unit/jest-next-swc.test.ts"] | `next/jest` sets `NODE_ENV` to `'production'` | ### Run `next info` (available from version 12.0.8 and up)
Operating System:
Platform: darwin
Arch: arm64
Version: Darwin Kernel Version 21.1.0: Wed Oct 13 17:33:24 PDT 2021; root:xnu-8019.41.5~1/RELEASE_ARM64_T8101
Binaries:
Node: 14.17.6
npm: 8.1.4
Yarn: 1.22.15
... | https://github.com/vercel/next.js/issues/33005 | https://github.com/vercel/next.js/pull/33032 | ce3a3d8eea92c1968dbfdb09176e3d82ccbf039a | 1ee13baf000ab391e6017c68eb4770768a8e7674 | 2022-01-04T23:55:46Z | javascript | 2022-01-05T15:22:22Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 32,913 | [".eslintignore", "packages/next/build/swc/options.js", "test/production/emit-decorator-metadata/app/jsconfig.json", "test/production/emit-decorator-metadata/app/pages/api/[[...params]].js", "test/production/emit-decorator-metadata/app/pages/index.js", "test/production/emit-decorator-metadata/index.test.ts"] | Missing `"decoratorMetadata": true` in swc config causes metadata based libraries to fail. | ### What version of Next.js are you using?
12.0.7
### What version of Node.js are you using?
16.7.0
### What browser are you using?
Chrome
### What operating system are you using?
macOS
### How are you deploying your application?
Vercel
### Describe the Bug
The flag `"decoratorMetadata"... | https://github.com/vercel/next.js/issues/32913 | https://github.com/vercel/next.js/pull/32914 | 8039c6b2b564a82ee67d4abdaae0771cee5e69b7 | e0c7794208dbac6d84ad6723741f896527630f34 | 2021-12-31T00:19:01Z | javascript | 2022-02-06T16:48:09Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 32,848 | ["packages/next/server.js"] | Unable to test middleware with Jest | ### What version of Next.js are you using?
12.0.7
### What version of Node.js are you using?
16.13.1
### What browser are you using?
Firefox
### What operating system are you using?
Pop!_OS
### How are you deploying your application?
Vercel
### Describe the Bug
When trying to test `_middleware.js` with Jest,... | https://github.com/vercel/next.js/issues/32848 | https://github.com/vercel/next.js/pull/35181 | 9bff48b9d5998455c9c038d7f5834a58bb9f429f | 84720697e4f00bd77689153f7cf39421be9b1d25 | 2021-12-27T15:35:46Z | javascript | 2022-03-09T22:50:07Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 32,774 | ["packages/next/client/use-intersection.tsx", "test/integration/image-component/default/pages/lazy-noref.js", "test/integration/image-component/default/pages/lazy-withref.js", "test/integration/image-component/default/test/index.test.js"] | Next Image does not work properly when used in a horizontally scrolling container | ### What version of Next.js are you using?
12.0.7
### What version of Node.js are you using?
16.13.0
### What browser are you using?
Chrome (Desktop and Android)
### What operating system are you using?
macOS Monterey and Android 12
### How are you deploying your application?
Vercel (broken when developing loc... | https://github.com/vercel/next.js/issues/32774 | https://github.com/vercel/next.js/pull/33933 | 1ac0fc43fafedcda98710c88ed19b6465ba13672 | d4b29db8c725331581185d3198d6a98ce291d203 | 2021-12-23T19:37:53Z | javascript | 2022-02-07T15:46:16Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 32,772 | ["docs/api-reference/data-fetching/get-static-paths.md"] | Issue with `asPath` when using `getStaticProps` and redirects | ### What version of Next.js are you using?
12.0.7
### What version of Node.js are you using?
14.17.6
### What browser are you using?
Chrome
### What operating system are you using?
Windows
### How are you deploying your application?
Verel
### Describe the Bug
When using redirects in `ne... | https://github.com/vercel/next.js/issues/32772 | https://github.com/vercel/next.js/pull/33401 | 318664562c311322fc63ae993a12736dfaec5c5f | 84cba20ae77527dbfadf470d771f9934c9b7c56a | 2021-12-23T18:32:29Z | javascript | 2022-05-22T22:52:41Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 32,727 | ["packages/next/shared/lib/router/router.ts", "test/integration/middleware/core/pages/rewrites/_middleware.js", "test/integration/middleware/core/pages/rewrites/about-bypass.js", "test/integration/middleware/core/test/index.test.js"] | Allow to opt-out from caching Middleware Preflight | ### Describe the feature you'd like to request
The client needs to know about all routes that are affected by Middleware in order to check with the server if there is a rewrite or a special response and therefore if it should pre-fetch or not. Currently, when we prefetch, we run what we called a "preflight" request ... | https://github.com/vercel/next.js/issues/32727 | https://github.com/vercel/next.js/pull/32767 | 4d307716f712e0d4376b203bbbeb5c2054d4fe30 | 82adaee0cd6d71d8b8307c92115bf032cb6330de | 2021-12-22T11:34:44Z | javascript | 2022-01-03T18:13:28Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 32,713 | ["packages/create-next-app/create-app.ts"] | `yarn create next-app` fails when directory is a workspace | ### What version of Next.js are you using?
12.0.7
### What version of Node.js are you using?
16.13.1
### What browser are you using?
Chrome
### What operating system are you using?
macOS
### How are you deploying your application?
next export
### Describe the Bug
With the following proj... | https://github.com/vercel/next.js/issues/32713 | https://github.com/vercel/next.js/pull/33006 | b39e49eca93ba9144f024189e18bada8e8dacd72 | 5b47639747fd583ccfd83b8f140491707dd14184 | 2021-12-21T21:22:52Z | javascript | 2022-02-06T21:03:35Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 32,656 | ["docs/basic-features/eslint.md", "errors/manifest.json", "errors/no-styled-jsx-in-document.md", "packages/eslint-plugin-next/lib/index.js", "packages/eslint-plugin-next/lib/rules/no-styled-jsx-in-document.js", "test/unit/eslint-plugin-next/no-styled-jsx-in-document.test.ts"] | ESLint rule idea: `<style>` is not allowed inside _document.js | ### Describe the feature you'd like to request
As per the docs: https://nextjs.org/docs/advanced-features/custom-document#caveats
styled-jsx is not allowed inside custom `_document.js` and I was getting 500 errors on all SSR pages when deploying a site to production that had a `<style>` tag inside a custom `_docume... | https://github.com/vercel/next.js/issues/32656 | https://github.com/vercel/next.js/pull/32678 | 2f9e2415e5ab376577858c5d0a8219fef98a1138 | 11ad65e4458990653184b71f64181408b62b3d64 | 2021-12-19T14:18:04Z | javascript | 2022-05-23T02:32:13Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 32,650 | ["packages/next/build/jest/jest.ts"] | Running the dev script concurrently with the Jest test script causes Jest to re-run the tests on page compilation | ### What version of Next.js are you using?
12.0.4
### What version of Node.js are you using?
14.18.2
### What browser are you using?
Chrome
### What operating system are you using?
macOS
### How are you deploying your application?
Vercel
### Describe the Bug
`jest --watch` re-runs the test suites every time ... | https://github.com/vercel/next.js/issues/32650 | https://github.com/vercel/next.js/pull/32659 | 8b12b174e50209b0c71e3dd588c7a0871fe79598 | 6ffa2baa4d0392cddc462eb3788b8c9befb42546 | 2021-12-19T09:55:32Z | javascript | 2021-12-19T19:03:54Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 32,553 | ["packages/next-swc/Cargo.lock", "packages/next-swc/crates/core/Cargo.toml", "packages/next-swc/crates/core/tests/loader/issue-32553/input.js", "packages/next-swc/crates/core/tests/loader/issue-32553/output.js", "packages/next-swc/crates/napi/Cargo.toml", "packages/next-swc/crates/wasm/Cargo.toml"] | SWC Bug with JSX transpilation -- unterminated string constant | ### What version of Next.js are you using?
12
### What version of Node.js are you using?
14
### What browser are you using?
n/a
### What operating system are you using?
MacOS
### How are you deploying your application?
N/A
### Describe the Bug
I'd just like to surface this SWC bug here. If you're on Next 12,... | https://github.com/vercel/next.js/issues/32553 | https://github.com/vercel/next.js/pull/32566 | 47cd07bb75cb8c50fda3680d0f13a796b0e5b687 | 99f9be585b7c4c998763ca61f02718e8cebf4689 | 2021-12-15T22:08:31Z | javascript | 2021-12-16T13:48:03Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 32,548 | ["docs/basic-features/data-fetching.md"] | Docs: getServerSideProps redirect object missing basePath | ### What is the improvement or update you wish to see?
All of the properties of the server-side redirects should be explained. Currently, [the documentation](https://nextjs.org/docs/basic-features/data-fetching#getserversideprops-server-side-rendering) only states that there are `{ destination: string, permanent: bool... | https://github.com/vercel/next.js/issues/32548 | https://github.com/vercel/next.js/pull/32550 | 04fbc663f9b2637ad7b37da9d302f2240d1d2e68 | 15ff1a37d9ff027a7c03cd2c0ec0b815f93ca41c | 2021-12-15T18:51:31Z | javascript | 2021-12-16T08:54:40Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 32,515 | ["packages/next/server/render.tsx", "test/integration/react-streaming-and-server-components/test/index.test.js"] | 404 renders __NEXT_DATA__ as string to DOM when using RSC after deploy, locally no response | ### What version of Next.js are you using?
12.0.8-canary.5 up to 12.0.8-canary.7
### What version of Node.js are you using?
local: 14.8.1 // vercel: 14
### What browser are you using?
Chrome
### What operating system are you using?
macOS
### How are you deploying your application?
Vercel
#... | https://github.com/vercel/next.js/issues/32515 | https://github.com/vercel/next.js/pull/33399 | 6d8923768460c2c70ad76b68d8c206378976d091 | 41614e52d72f532601dc2d118f4f40dbd1e63907 | 2021-12-14T22:03:15Z | javascript | 2022-01-17T20:27:12Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 32,513 | ["packages/next/build/index.ts", "packages/next/server/image-optimizer.ts"] | Using <Image /> component with-docker results in missing image-optimizer | ### What example does this report relate to?
with-docker
### What version of Next.js are you using?
12.0.8
### What version of Node.js are you using?
latest
### What browser are you using?
Chrome
### What operating system are you using?
macOS
### How are you deploying your application?
Docker
### Describe t... | https://github.com/vercel/next.js/issues/32513 | https://github.com/vercel/next.js/pull/32522 | 3da1f17d5a28662be1a20107a0361ddc44f914c4 | 5d606ebae42469ebd2c3e2bc4f94266525c59315 | 2021-12-14T21:49:11Z | javascript | 2021-12-15T14:19:16Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 32,470 | ["packages/next-swc/Cargo.lock", "packages/next-swc/crates/core/Cargo.toml", "packages/next-swc/crates/core/tests/loader/issue-32553/input.js", "packages/next-swc/crates/core/tests/loader/issue-32553/output.js", "packages/next-swc/crates/napi/Cargo.toml", "packages/next-swc/crates/wasm/Cargo.toml"] | Sourcemaps stop working due to multiline comment + CRLF line endings | ### What version of Next.js are you using?
Happens in at least 12.0.0, 12.0.7, 12.0.8-canary.5 and 12.0.8-canary.8.
### What version of Node.js are you using?
16.13.1
### What browser are you using?
Chrome
### What operating system are you using?
Windows
### How are you deploying your applicatio... | https://github.com/vercel/next.js/issues/32470 | https://github.com/vercel/next.js/pull/32566 | 47cd07bb75cb8c50fda3680d0f13a796b0e5b687 | 99f9be585b7c4c998763ca61f02718e8cebf4689 | 2021-12-13T20:26:09Z | javascript | 2021-12-16T13:48:03Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 32,424 | ["docs/api-reference/next/server.md"] | Unable to set cookie before redirect | ### What version of Next.js are you using?
12.0.7
### What version of Node.js are you using?
14.18.1
### What browser are you using?
Opera
### What operating system are you using?
MacOS
### How are you deploying your application?
next start
### Describe the Bug
I cannot seem to find a way to set a cookie THE... | https://github.com/vercel/next.js/issues/32424 | https://github.com/vercel/next.js/pull/32542 | 738a964eade15cf9c633b99f84f273f27888d81e | 4f67edd6387bc377786f32899e5649e09f732b67 | 2021-12-12T14:25:23Z | javascript | 2021-12-21T14:12:02Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 32,417 | ["examples/with-storybook-styled-jsx-scss/.storybook/preview.js", "packages/next/client/index.tsx", "packages/next/package.json", "yarn.lock"] | 4% increase in bundle size from next 11.1.2 to 12.0.7 | ### What version of Next.js are you using?
12.0.7
### What version of Node.js are you using?
14.15.1
### What browser are you using?
Chrome
### What operating system are you using?
macOS
### How are you deploying your application?
Vercel
### Describe the Bug
We have been struggling with our bundle size and p... | https://github.com/vercel/next.js/issues/32417 | https://github.com/vercel/next.js/pull/32730 | b6fb52bbb04f4259b3a6528b7aeaa753c5f3b23f | ec3ca398cbd17a674fe0efe67a2763baf6490324 | 2021-12-12T10:40:35Z | javascript | 2021-12-22T13:38:27Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 32,360 | ["packages/next/compiled/webpack/bundle5.js", "packages/next/package.json", "yarn.lock"] | ReferenceError: Cannot access '__WEBPACK_DEFAULT_EXPORT__' before initialization | ### What version of Next.js are you using?
12.0.7
### What version of Node.js are you using?
14.18.1
### What browser are you using?
N/A
### What operating system are you using?
macOS, Alpine
### How are you deploying your application?
next start
### Describe the Bug
A module which impo... | https://github.com/vercel/next.js/issues/32360 | https://github.com/vercel/next.js/pull/33831 | a7793c7a0c5c5e4496594a3010152cfba31920de | 3ba3bb8d6d8f7ac2dfda1c292fa831b9010c599d | 2021-12-10T08:47:42Z | javascript | 2022-02-01T19:27:31Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 32,338 | ["packages/next/server/render.tsx"] | Make missing Document components trigger an error for production builds | ### What version of Next.js are you using?
12.05 and above
### What version of Node.js are you using?
14.17.6
### What browser are you using?
Chrome
### What operating system are you using?
macOS
### How are you deploying your application?
Other platform
### Describe the Bug
When the us... | https://github.com/vercel/next.js/issues/32338 | https://github.com/vercel/next.js/pull/32345 | 10d814d31ace05ac00946ab6396df5c57ca54f03 | eba9da09eb1d374a0dff5e782b9791bb76759524 | 2021-12-09T21:00:33Z | javascript | 2021-12-13T22:47:34Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 32,332 | ["packages/next/build/webpack/loaders/next-middleware-ssr-loader/render.ts", "packages/next/client/index.tsx", "packages/next/client/rsc.ts", "packages/next/rsc.d.ts", "packages/next/rsc.js", "packages/next/server/render.tsx"] | API to refresh the server root with props | To provide a way for client components to re-render the server component root from the client, with updated props, we need a new API `unstable_useRefreshRoot`. It works similar to the "location" thing in the very first RSC demo:
```js
// foo.client.js
const refresh = unstable_useRefreshRoot()
refresh({ ...pro... | https://github.com/vercel/next.js/issues/32332 | https://github.com/vercel/next.js/pull/32342 | 55d8a14e8a0adfd2ae4e09113076ef33615564ba | 6f8cf675d32bc244883113059622a10a7d8dc49a | 2021-12-09T18:32:47Z | javascript | 2021-12-10T10:22:31Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 32,312 | ["packages/next/compiled/escape-string-regexp/index.js", "packages/next/taskfile.js"] | IE11 & Next.js 12 version have syntax error with rewrites in next.config.js | ### What example does this report relate to?
with rewrites in next.config.js
### What version of Next.js are you using?
12.0.7
### What version of Node.js are you using?
14.17.0
### What browser are you using?
ie11
### What operating system are you using?
Windows
### How are you deploying your application?
n... | https://github.com/vercel/next.js/issues/32312 | https://github.com/vercel/next.js/pull/32310 | 3ca0ac7f74fb114e2d0453cfcb49bd2e97107bc0 | 0b1c9ec47dd3ea96f6ce5d2eec1eaa85e8cd97da | 2021-12-09T10:28:13Z | javascript | 2021-12-09T19:31:53Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 32,302 | ["packages/next/shared/lib/router/router.ts", "test/integration/middleware/core/pages/_interface/[...parts].js", "test/integration/middleware/core/pages/interface/_middleware.js", "test/integration/middleware/core/test/index.test.js"] | Middleware rewrites causing router.replace issue | ### What version of Next.js are you using?
12.0.7
### What version of Node.js are you using?
17.0.1
### What browser are you using?
Chrome
### What operating system are you using?
macOS
### How are you deploying your application?
Vercel
### Describe the Bug
We have a _middleware that re... | https://github.com/vercel/next.js/issues/32302 | https://github.com/vercel/next.js/pull/32534 | e75361fd03872b097e817634c049b3185f24cf56 | 3da1f17d5a28662be1a20107a0361ddc44f914c4 | 2021-12-08T20:54:50Z | javascript | 2021-12-15T13:33:13Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 32,123 | ["packages/next/server/next-server.ts", "test/production/typescript-basic.test.ts"] | Breaking API change in types from 12.0.4 to 12.0.5 | ### What version of Next.js are you using?
12.0.5
### What version of Node.js are you using?
14.18.1
### What browser are you using?
Not applicable
### What operating system are you using?
macOS
### How are you deploying your application?
using custom server
### Describe the Bug
The update from `12.0.4` to `... | https://github.com/vercel/next.js/issues/32123 | https://github.com/vercel/next.js/pull/32134 | c1a1aa4ae2e0ba5d7c4ba023686c29d592c60c87 | 769d68047bf61cf40f178da08da3c2a98732df7b | 2021-12-04T14:14:14Z | javascript | 2021-12-04T22:57:54Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 32,121 | ["packages/eslint-plugin-next/lib/rules/no-server-import-in-page.js", "test/unit/eslint-plugin-next/no-server-import-in-page.test.ts"] | next/server should not be imported outside of pages/_middleware.js | ### What version of Next.js are you using?
12.0.6
### What version of Node.js are you using?
14.18.2
### What browser are you using?
Chrome
### What operating system are you using?
macOS
### How are you deploying your application?
Vercel
### Describe the Bug
I have added _middleware.tsx... | https://github.com/vercel/next.js/issues/32121 | https://github.com/vercel/next.js/pull/32139 | 20814c34f57e2b1eaf420dab10e265fc815b4114 | 5b4e139ddecb5e8eb37b31c8d7ab691ae0c27747 | 2021-12-04T14:00:37Z | javascript | 2021-12-05T14:41:10Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 32,031 | ["package.json"] | Running test locally always fails | ### What version of Next.js are you using?
12.0.4
### What version of Node.js are you using?
14.18.1
### What browser are you using?
Chrome
### What operating system are you using?
macOS
### How are you deploying your application?
yarn test
### Describe the Bug
Everytime I try to run the tests I get the erro... | https://github.com/vercel/next.js/issues/32031 | https://github.com/vercel/next.js/pull/32042 | 31d2184972097741cadcbee534b018fac1cf9de0 | b6914198b4f6ddbec39aaeea50b02035e3c0e58f | 2021-12-02T08:20:04Z | javascript | 2021-12-03T06:02:59Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 31,993 | ["packages/next/build/webpack/loaders/next-middleware-ssr-loader/index.ts", "packages/next/server/base-server.ts", "packages/next/server/load-components.ts", "packages/next/server/render.tsx", "test/integration/react-18/test/index.test.js"] | Pages wrapped with React.memo don’t work if concurrentFeatures is enabled | ### What version of Next.js are you using?
12.0.4 / 12.0.5-canary.12
### What version of Node.js are you using?
16.11.0
### What browser are you using?
Chrome
### What operating system are you using?
macOS
### How are you deploying your application?
next dev
### Describe the Bug
If you ... | https://github.com/vercel/next.js/issues/31993 | https://github.com/vercel/next.js/pull/34526 | 4ad1c5a2bc3384d0eeaef2d05452748a3a9ae467 | ce76d1712e98d7310385c89ec1917242f7c5111c | 2021-12-01T05:38:08Z | javascript | 2022-02-18T15:25:10Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 31,911 | ["packages/next-swc/Cargo.lock", "packages/next-swc/crates/core/Cargo.toml", "packages/next-swc/crates/core/src/next_ssg.rs", "packages/next-swc/crates/core/src/page_config.rs", "packages/next-swc/crates/core/src/shake_exports.rs", "packages/next-swc/crates/core/tests/full/auto-cjs/1/output.js", "packages/next-swc/crat... | Swipe on ionic menu doesn't works with swcMinify on start | ### What version of Next.js are you using?
12.0.4
### What version of Node.js are you using?
16.13.0
### What browser are you using?
Chrome, Firefox
### What operating system are you using?
Windows 11
### How are you deploying your application?
Vercel, next start
### Describe the Bug
The swipe gesture of the... | https://github.com/vercel/next.js/issues/31911 | https://github.com/vercel/next.js/pull/33063 | 320986a2b897bc512c21f7148f4a4c8ce749dcae | 87dbd03eb0ca738fbf669e1f03826af6e59b9b27 | 2021-11-29T09:11:53Z | javascript | 2022-01-10T10:37:32Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 31,855 | ["packages/next-swc/crates/core/src/next_ssg.rs", "packages/next-swc/crates/core/tests/fixture/ssg/getStaticProps/issue-31855/input.js", "packages/next-swc/crates/core/tests/fixture/ssg/getStaticProps/issue-31855/output.js"] | Exported members that are used in SSR/SSG/ISG page function are undefined on the client (Attempted import error: '..' is not exported from '..' (imported as '..').) | ### What version of Next.js are you using?
12.0.8
### What version of Node.js are you using?
16.13.1
### What browser are you using?
Chrome Version 96 (Official Build) (64-bit)
### What operating system are you using?
Ubuntu 20.04 via WSL 2 & Windows 10
### How are you deploying your application... | https://github.com/vercel/next.js/issues/31855 | https://github.com/vercel/next.js/pull/36199 | 44c7fd79994d4515dd47e3c8ac94cb0e9f670027 | deb82802a4d112079ca6fcaa4bca4054d25cec3b | 2021-11-26T16:44:50Z | javascript | 2022-04-19T12:13:57Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 31,827 | ["packages/next/build/webpack-config.ts", "test/integration/middleware/hmr/node_modules/shared-package/index.js", "test/integration/middleware/hmr/node_modules/shared-package/package.json", "test/integration/middleware/hmr/pages/about/_middleware.js", "test/integration/middleware/hmr/pages/index.js"] | Fast refresh not working properly due to page reload when compiling middleware | ### What version of Next.js are you using?
12.0.4
### What version of Node.js are you using?
16.13.0
### What browser are you using?
Chrome, Safari, Edge
### What operating system are you using?
macOS
### How are you deploying your application?
next dev
### Describe the Bug
Since I don'... | https://github.com/vercel/next.js/issues/31827 | https://github.com/vercel/next.js/pull/33873 | 4786557908f000511198e103371e383c1b540150 | a803638da2483f0c468522d5da1037657af53e05 | 2021-11-26T11:36:49Z | javascript | 2022-02-01T21:46:07Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 31,757 | ["packages/next-swc/.cargo/config.toml", "packages/next-swc/Cargo.lock", "packages/next-swc/crates/core/Cargo.toml", "packages/next-swc/crates/napi/Cargo.toml", "packages/next-swc/crates/wasm/Cargo.toml"] | TS behaviour of break and continue swap after forEach usage | ### What version of Next.js are you using?
12.04
### What version of Node.js are you using?
16.13
### What browser are you using?
Chrome
### What operating system are you using?
Window
### How are you deploying your application?
yarn dev
### Describe the Bug
TS behaviour of "break" and ... | https://github.com/vercel/next.js/issues/31757 | https://github.com/vercel/next.js/pull/31963 | 85e578a90616ba5ccf809141816045e65284d08c | 12b44e279bd0958373c1bc31ba4b9a55f4d3cdbc | 2021-11-24T07:06:27Z | javascript | 2021-11-30T15:12:37Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 31,755 | ["packages/next/lib/helpers/should-use-yarn.ts", "packages/next/lib/install-dependencies.ts"] | `next lint` installs stuff using yarn but there's no `yarn.lock` on my project but it does have a `package-lock.json` | ### What version of Next.js are you using?
12.0.5-canary.8
### What version of Node.js are you using?
16.13.0
### What browser are you using?
Chrome
### What operating system are you using?
Windows
### How are you deploying your application?
next start
### Describe the Bug
`next lint` installs stuff using ya... | https://github.com/vercel/next.js/issues/31755 | https://github.com/vercel/next.js/pull/31926 | 1aeb230839e5f2578936f6595969c7b608aa190b | 2ea2c81f52b74b96f65ba4e2a08e404d31d5205b | 2021-11-24T06:11:21Z | javascript | 2022-02-05T20:16:25Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 31,742 | ["packages/next-swc/crates/core/src/lib.rs", "packages/next-swc/crates/core/src/shake_exports.rs", "packages/next-swc/crates/core/tests/fixture.rs", "packages/next-swc/crates/core/tests/fixture/shake-exports/keep-default/input.js", "packages/next-swc/crates/core/tests/fixture/shake-exports/keep-default/output.js", "pac... | Tree shaking next-swc transformation | ### Describe the feature you'd like to request
Add an optional next-swc transform to treeshake unused exports
| https://github.com/vercel/next.js/issues/31742 | https://github.com/vercel/next.js/pull/32253 | 9c1b183a9cc969f59ab68e0bc6230f6d23b8d79f | 0f7f3323c180ebe7046187f3e338a8d818405ea7 | 2021-11-23T17:45:02Z | javascript | 2021-12-08T19:04:13Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 31,685 | ["packages/next-swc/crates/napi/src/transform.rs", "packages/next/build/swc/index.js", "packages/next/build/webpack/loaders/next-swc-loader.js"] | Read file source in next-swc when next-swc-loader is used | Currently webpack reads the file and passes the contents to next-swc, we can reduce some overhead by passing the file path to next-swc and then reading/transforming it in next-swc. | https://github.com/vercel/next.js/issues/31685 | https://github.com/vercel/next.js/pull/31682 | b71f9d9475f0a1790744fe4c9e8d125d50c66f4a | a4159321b20148ff2f9f6fa847395a8c8162dbef | 2021-11-22T12:27:05Z | javascript | 2021-11-25T14:00:14Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 31,680 | ["packages/next/shared/lib/router/router.ts", "test/e2e/middleware-general/app/middleware.js", "test/e2e/middleware-general/app/next.config.js", "test/e2e/middleware-general/app/pages/shallow.js", "test/e2e/middleware-general/test/index.test.ts"] | Unable to disable prefetch on `Router.push()` | ### What version of Next.js are you using?
12.0.4
### What version of Node.js are you using?
16
### What browser are you using?
Chrome
### What operating system are you using?
MacOS
### How are you deploying your application?
next start
### Describe the Bug
Calling `Router.push()` is triggering a prefetch re... | https://github.com/vercel/next.js/issues/31680 | https://github.com/vercel/next.js/pull/37716 | bf7bf8217f0d3df37d740a0cebf2f140e9c518b6 | 7193effcc09f9347f51bd73fac6860c30e4c6acc | 2021-11-22T10:23:17Z | javascript | 2022-06-15T15:09:13Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 31,675 | ["docs/advanced-features/static-html-export.md", "packages/next/build/entries.ts", "packages/next/build/index.ts", "packages/next/build/webpack-config.ts", "packages/next/server/dev/hot-reloader.ts", "test/integration/react-18/app/pages/_document.js"] | 500 Error can not use getInitialProps with getStaticProps after updated react 18, next 12 | ### What version of Next.js are you using?
12.0.4
### What version of Node.js are you using?
16.13.0
### What browser are you using?
chrome
### What operating system are you using?
macOS
### How are you deploying your application?
next dev
### Describe the Bug
I updated react to version... | https://github.com/vercel/next.js/issues/31675 | https://github.com/vercel/next.js/pull/31954 | 6e6bd2158ffae0296b08e7c89928844fa9dd32b0 | 85e578a90616ba5ccf809141816045e65284d08c | 2021-11-22T07:30:23Z | javascript | 2021-11-30T12:52:14Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 31,627 | ["packages/next/build/swc/Cargo.lock", "packages/next/build/swc/crates/core/tests/loader/issue-31627/input.js", "packages/next/build/swc/crates/core/tests/loader/issue-31627/output.js"] | Wrong scope for `this` in functions inside classes with SWC compiler. | ### What version of Next.js are you using?
12.0.4
### What version of Node.js are you using?
16.13.0
### What browser are you using?
Chrome
### What operating system are you using?
MacOS
### How are you deploying your application?
Irrelevant
### Describe the Bug
When turning on SWC for compilation, functions... | https://github.com/vercel/next.js/issues/31627 | https://github.com/vercel/next.js/pull/31639 | f52211bad39c2a29a7caba40bfeb89b600524b41 | 3146ed37f83c0ccade1e2c475a04d82b681385ea | 2021-11-19T17:15:02Z | javascript | 2021-11-20T19:25:52Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 31,591 | ["packages/next/build/output/log.ts", "packages/next/server/dev/next-dev-server.ts", "test/integration/custom-server/server.js", "test/integration/custom-server/test/index.test.js", "test/integration/server-side-dev-errors/pages/uncaught-empty-exception.js", "test/integration/server-side-dev-errors/pages/uncaught-empty... | Next.js don't show stack trace for unhandled rejection errors | ### What version of Next.js are you using?
12.0.1
### What version of Node.js are you using?
16.13.0
### What browser are you using?
Chrome
### What operating system are you using?
Windows
### How are you deploying your application?
next start
### Describe the Bug
 crashes on colons in paths | ### What version of Next.js are you using?
12.0.4
### What version of Node.js are you using?
16.10.0
### What browser are you using?
Chrome 95
### What operating system are you using?
macOS
### How are you deploying your application?
next start
### Describe the Bug
Using `NextResponse.r... | https://github.com/vercel/next.js/issues/31523 | https://github.com/vercel/next.js/pull/32543 | 728d82663c9c65b12c22c02de815297c56a3ff53 | 2c7f8b3d7b098d5f0847662c1b1ee1a10f1efbc1 | 2021-11-17T00:05:52Z | javascript | 2022-03-03T19:36:53Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 31,513 | ["examples/with-playwright/styles/Home.module.css"] | Playwright tests do not work on Github CI | ### What version of Next.js are you using?
12.0.4
### What version of Node.js are you using?
14.x
### What browser are you using?
Chrome Headless
### What operating system are you using?
Ubuntu 18/20
### How are you deploying your application?
Vercel
### Describe the Bug
I did several t... | https://github.com/vercel/next.js/issues/31513 | https://github.com/vercel/next.js/pull/36705 | cefb944ee5c04396707fca54a731d5458cf4e70b | 08ffbc9e09ab9557946631cdfdbb5128e53a5326 | 2021-11-16T20:41:49Z | javascript | 2022-05-05T15:08:28Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 31,479 | ["packages/next/build/swc/Cargo.lock"] | Module parse failed: The keyword 'yield' is reserved | ### What version of Next.js are you using?
12.0.4
### What version of Node.js are you using?
16.13.0
### What browser are you using?
NA
### What operating system are you using?
macOS
### How are you deploying your application?
NA
### Describe the Bug
`npm run build` fails with the following error:
```
Mo... | https://github.com/vercel/next.js/issues/31479 | https://github.com/vercel/next.js/pull/31540 | 055e28ef811e7c9e8365c591400c5aac467b1648 | 2df861ac1285460f18fcd590fe086b85a92f6805 | 2021-11-16T05:21:25Z | javascript | 2021-11-17T16:51:00Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 31,474 | ["examples/cms-sanity/lib/queries.js"] | The cms-sanity example throws the following error: Query error: object or function expected. | ### What example does this report relate to?
cms-sanity
### What version of Next.js are you using?
12.0.4
### What version of Node.js are you using?
17.1.0
### What browser are you using?
Chrome
### What operating system are you using?
Windows
### How are you deploying your application?
Vercel
### Describe ... | https://github.com/vercel/next.js/issues/31474 | https://github.com/vercel/next.js/pull/32182 | cffd209a677db9c953c15e4fc8e168a278d3908c | 1fe014ce17d999864d474684eb70c1f2172ae9ea | 2021-11-16T03:30:03Z | javascript | 2021-12-06T19:32:09Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 31,411 | ["packages/next/shared/lib/router/utils/prepare-destination.ts", "test/integration/route-index/test/index.test.js"] | Internal Server Error 500: `Invalid regular expression: /:\/: \ at end of pattern` | ### What version of Next.js are you using?
12.0.3
### What version of Node.js are you using?
14.18.1
### What browser are you using?
Any
### What operating system are you using?
Any
### How are you deploying your application?
next start on Heroku
### Describe the Bug
We have an automatic security testing too... | https://github.com/vercel/next.js/issues/31411 | https://github.com/vercel/next.js/pull/31791 | d2cef24d5deae8bb27bf619b970e1aca4f069ec3 | 8784682a7497cda0e4131014dcb48c42c07ec5ad | 2021-11-15T09:01:22Z | javascript | 2021-11-30T19:15:13Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 31,391 | ["packages/next/build/swc/Cargo.lock", "packages/next/build/swc/crates/core/tests/loader/issue-31627/input.js", "packages/next/build/swc/crates/core/tests/loader/issue-31627/output.js"] | Can't retrieve data from Firestore when `swcMinify: true` | ### What version of Next.js are you using?
12.0.3
### What version of Node.js are you using?
14
### What browser are you using?
Chrome
### What operating system are you using?
Linux
### How are you deploying your application?
Vercel
### Describe the Bug
I'm using Firebase version 9.4.1. I can't get the data ... | https://github.com/vercel/next.js/issues/31391 | https://github.com/vercel/next.js/pull/31639 | f52211bad39c2a29a7caba40bfeb89b600524b41 | 3146ed37f83c0ccade1e2c475a04d82b681385ea | 2021-11-14T12:50:57Z | javascript | 2021-11-20T19:25:52Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 31,383 | ["docs/api-reference/next/server.md"] | Missing cookie in NextResponse obj | ### What version of Next.js are you using?
12.0.3
### What version of Node.js are you using?
14.x
### What browser are you using?
Chrome
### What operating system are you using?
Window 11
### How are you deploying your application?
next start
### Describe the Bug
Hi, I am trying to set cookie with NextRespon... | https://github.com/vercel/next.js/issues/31383 | https://github.com/vercel/next.js/pull/31707 | 7be75bbf2ff3fbd7daaceb26c6d3318bd79839f8 | 2781b8eb87bab839960ee59f9f3baae4cec2c983 | 2021-11-14T07:06:37Z | javascript | 2021-11-29T22:44:58Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 31,375 | [".eslintignore", "packages/next/build/jest/jest.ts", "packages/next/build/swc/jest-transformer.js", "packages/next/build/swc/options.js", "packages/next/build/webpack-config.ts", "packages/next/build/webpack/loaders/next-swc-loader.js", "test/development/basic/legacy-decorators.test.ts", "test/development/basic/legacy... | Add support for legacy decorators when enabled in tsconfig/jsconfig | Unfortunately it seems that a group of apps is using legacy decorators in babelrc for integration with older mobx applications. We can add support for this through the `experimentalDecorators` flag in `tsconfig`/`jsconfig` as per @kdy1 that flag is the same as legacy decorators. | https://github.com/vercel/next.js/issues/31375 | https://github.com/vercel/next.js/pull/31376 | ae1cee59d600b23b6827bffefdcabd9c6605ccf7 | e0531e30f4ed12ae32cc0e5d1bdf92953faa7fac | 2021-11-13T15:07:25Z | javascript | 2021-11-13T17:26:13Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 31,359 | ["packages/next/build/swc/options.js", "packages/next/build/webpack-config.ts", "packages/next/build/webpack/loaders/next-swc-loader.js", "test/development/basic/theme-ui.test.ts", "test/development/basic/theme-ui/jsconfig.json", "test/development/basic/theme-ui/pages/_app.js", "test/development/basic/theme-ui/pages/in... | Add support for importSource | One of the items in https://github.com/vercel/next.js/discussions/30174#discussion-3643870 | https://github.com/vercel/next.js/issues/31359 | https://github.com/vercel/next.js/pull/31358 | 06f3d398b1fb728bcce8e11b848b5ad9370b490c | a4692d400d666194eb037c5a842f702e259ba1c5 | 2021-11-12T20:06:44Z | javascript | 2021-11-12T20:51:43Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 31,337 | ["docs/api-reference/next/router.md"] | Document router.push returns a promise | ### Discussed in https://github.com/vercel/next.js/discussions/31278
<div type='discussions-op-text'>
<sup>Originally posted by **TrueWill** November 11, 2021</sup>
I'm not quite sure where to post this - is it a bug? a feature? an issue with the docs?
I turned on the [no-floating-promises](https://github.com... | https://github.com/vercel/next.js/issues/31337 | https://github.com/vercel/next.js/pull/31341 | 6ffa2baa4d0392cddc462eb3788b8c9befb42546 | f176683806acda157277e27ca861e1dff62e04df | 2021-11-12T09:22:43Z | javascript | 2021-12-19T23:07:11Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 33,538 | ["packages/next/build/webpack-config.ts", "packages/next/build/webpack/loaders/next-flight-client-loader.ts", "packages/next/build/webpack/plugins/flight-manifest-plugin.ts", "test/integration/react-streaming-and-server-components/app/components/named.client.js", "test/integration/react-streaming-and-server-components/... | Named exports of components are not supported | It is not possible to use named imports/exports for components, i.e. this works:
```tsx
export default function Page() {
...
}
```
and this doesn't work
```tsx
export function Page() {
...
}
```
resulting in the following error:
```
error - unhandledRejection: SyntaxError: Unexpected token ... | https://github.com/vercel/next.js/issues/33538 | https://github.com/vercel/next.js/pull/34974 | 1b17070a2972646a94de9f652510066c94c6c7c3 | 1f1632979c78b3edfe59fd85d8cce62efcdee688 | 2021-11-11T20:45:10Z | javascript | 2022-03-02T20:57:50Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 31,291 | ["packages/next/build/swc/Cargo.lock", "packages/next/build/swc/crates/core/tests/loader/issue-31627/input.js", "packages/next/build/swc/crates/core/tests/loader/issue-31627/output.js"] | Optimisations no longer applied to `_buildManifest.js` when using SWC | ### What version of Next.js are you using?
12.0.4-canary.4
### What version of Node.js are you using?
16.13.0
### What browser are you using?
Chrome
### What operating system are you using?
macOS
### How are you deploying your application?
Vercel
### Describe the Bug
After enabling SWC I noticed that `buildM... | https://github.com/vercel/next.js/issues/31291 | https://github.com/vercel/next.js/pull/31639 | f52211bad39c2a29a7caba40bfeb89b600524b41 | 3146ed37f83c0ccade1e2c475a04d82b681385ea | 2021-11-11T08:07:12Z | javascript | 2021-11-20T19:25:52Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 31,286 | ["examples/auth0/pages/advanced/ssr-profile.js"] | Auth0 API Call Incorrect in Example | ### What version of Next.js are you using?
canary
### What version of Node.js are you using?
15.10.0
### What browser are you using?
Firefox
### What operating system are you using?
macOS
### How are you deploying your application?
`npm run dev`
### Describe the Bug
API signature mismat... | https://github.com/vercel/next.js/issues/31286 | https://github.com/vercel/next.js/pull/31284 | ae1d271f9ab77c63036d4901155a089d13392ea2 | 5014362a7a6359fac8fc1bb8a02eae6736805d7f | 2021-11-11T02:40:54Z | javascript | 2021-11-11T03:16:31Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 31,275 | ["packages/next/build/webpack-config.ts", "test/e2e/next-script/index.test.ts"] | Unable to use `dangerouslySetInnerHTML` and `beforeInteractive` strategy in Script component | ### What version of Next.js are you using?
14.17.1
### What version of Node.js are you using?
12.0.3
### What browser are you using?
Chrome
### What operating system are you using?
macOS
### How are you deploying your application?
npm run dev
### Describe the Bug
Setting `dangerouslySet... | https://github.com/vercel/next.js/issues/31275 | https://github.com/vercel/next.js/pull/37000 | b2045c7669982edbb7002c7f88f8e7665a2168f7 | 81e69e8662e5d4010b1ca726092479f777b0e4d7 | 2021-11-10T22:56:17Z | javascript | 2022-05-18T18:36:11Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 31,254 | ["package.json", "packages/next/server/image-optimizer.ts", "packages/next/server/lib/squoosh/impl.ts", "packages/next/server/lib/squoosh/main.ts", "test/integration/image-optimizer/app/public/mountains.jpg", "test/integration/image-optimizer/test/index.test.js", "yarn.lock"] | New avif image larger than webp | ### What version of Next.js are you using?
12.0.3
### What version of Node.js are you using?
v16.4.0
### What browser are you using?
Chrome
### What operating system are you using?
Mac (local dev environment)
### How are you deploying your application?
next start
### Describe the Bug
Th... | https://github.com/vercel/next.js/issues/31254 | https://github.com/vercel/next.js/pull/31494 | 0cf7061859c1a00979247a552423a1812f8e1081 | 44b4dbcd419b592bea354161a309e0f74dfa67d1 | 2021-11-10T15:31:23Z | javascript | 2021-11-17T20:31:16Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 31,250 | ["packages/next-swc/Cargo.lock", "packages/next-swc/crates/core/Cargo.toml", "packages/next-swc/crates/core/src/next_ssg.rs", "packages/next-swc/crates/core/src/page_config.rs", "packages/next-swc/crates/core/src/shake_exports.rs", "packages/next-swc/crates/core/tests/full/auto-cjs/1/output.js", "packages/next-swc/crat... | Error `Objects are not valid as a React child (found: object with keys...` with `swcMinify: true` | ### What version of Next.js are you using?
v12.0.3 and v12.0.4-canary.4
### What version of Node.js are you using?
v16.3.0
### What browser are you using?
Chrome
### What operating system are you using?
macOS
### How are you deploying your application?
next build && next start
### Describe... | https://github.com/vercel/next.js/issues/31250 | https://github.com/vercel/next.js/pull/33063 | 320986a2b897bc512c21f7148f4a4c8ce749dcae | 87dbd03eb0ca738fbf669e1f03826af6e59b9b27 | 2021-11-10T14:01:29Z | javascript | 2022-01-10T10:37:32Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 31,241 | ["packages/next/cli/next-telemetry.ts", "packages/next/telemetry/storage.ts"] | Make `npx next telemetry disable` output where the preference setting was saved to | ### Describe the feature you'd like to request
For this message:
```
$ npx next telemetry disable
Your preference has been saved.
Status: Disabled
You have opted-out of Next.js' anonymous telemetry program.
No data will be collected from your machine.
Learn more: https://nextjs.org/telemetry
```
I find it... | https://github.com/vercel/next.js/issues/31241 | https://github.com/vercel/next.js/pull/31305 | fbe366f4656a29f8ef03b7ee66c38ab9f642d665 | c4558c913f4f2ce95fccae92a182127a0a451954 | 2021-11-10T11:21:49Z | javascript | 2021-11-11T16:48:00Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 31,228 | ["packages/next/server/router.ts", "test/integration/i18n-support/test/index.test.js"] | i18n configuration. The pathname can contain 2 different locales and it works (f.e. /en/de/). | ### What version of Next.js are you using?
12.0.3
### What version of Node.js are you using?
14.17.5
### What browser are you using?
Chrome
### What operating system are you using?
Windows
### How are you deploying your application?
next start
### Describe the Bug
When I use [i18n conf... | https://github.com/vercel/next.js/issues/31228 | https://github.com/vercel/next.js/pull/31229 | c791da09779e5ec005fd3b01a46872676817db18 | ae1d271f9ab77c63036d4901155a089d13392ea2 | 2021-11-09T22:28:19Z | javascript | 2021-11-11T02:29:20Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 31,196 | ["packages/next/server/web/spec-extension/response.ts", "test/unit/web-runtime/next-response.test.ts"] | NextResponse: Auto detect JSON payload | ### Describe the feature you'd like to request
Allow for `NextResponse` to add Content-Type and body stringify automatically when input is JSON.
### Describe the solution you'd like
Instead of
```js
new Response(JSON.stringify({ message: 'hi' }), {
headers: {
'content-type': 'application/json'
}
})
... | https://github.com/vercel/next.js/issues/31196 | https://github.com/vercel/next.js/pull/31483 | af82de42741341daf2561a297dbbd54e4f3f8e8a | 593d943cd05c388133879750b2197926601a43e0 | 2021-11-09T10:44:55Z | javascript | 2021-11-16T18:38:47Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 31,179 | ["packages/next/server/next-server.ts", "test/integration/middleware/core/test/index.test.js"] | next/server proxies middleware rewrites if not served from localhost | ### What version of Next.js are you using?
12.0.4-canary.0
### What version of Node.js are you using?
16.11.0
### What browser are you using?
Firefox
### What operating system are you using?
macOS
### How are you deploying your application?
next start
### Describe the Bug
When returning... | https://github.com/vercel/next.js/issues/31179 | https://github.com/vercel/next.js/pull/31180 | d1adf1d5039fa3cba78409509f80b3958b60eeaa | 9952cc79dbbfe81723cba0c0e6ba2250c3921964 | 2021-11-08T21:58:39Z | javascript | 2021-11-13T00:20:13Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 31,149 | ["packages/next/lib/typescript/writeConfigurationDefaults.ts"] | False Requirement: isolatedModules is set to true for babel when not using babel | ### What version of Next.js are you using?
12.0.3
### What version of Node.js are you using?
16.9.4
### What browser are you using?
Chrome
### What operating system are you using?
Ubuntu
### How are you deploying your application?
vercel
### Describe the Bug
A dependency does not have i... | https://github.com/vercel/next.js/issues/31149 | https://github.com/vercel/next.js/pull/31150 | 283af4e69bd86e108ae712cbf6921e3f143b40f1 | 9d7900c209329682308cc1a6093f297deae43662 | 2021-11-08T13:46:05Z | javascript | 2021-11-08T19:16:34Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 31,139 | ["packages/next/client/dev/error-overlay/websocket.ts"] | Next v12 upgrade: WebSocket connection to 'wss://localhost:3000/_next/webpack-hmr' failed: for https connections | ### What version of Next.js are you using?
12.0.3
### What version of Node.js are you using?
14.17.6
### What browser are you using?
Chrome
### What operating system are you using?
macOS
### Describe the Bug
Post v12.0.3 migration, when I try to run the application locally via https URL, `ht... | https://github.com/vercel/next.js/issues/31139 | https://github.com/vercel/next.js/pull/31213 | 489ca73e436c54408b8769437d5fd51bb336d6f4 | e3135ccde61c8bed2398962c1a24548a1f774757 | 2021-11-08T11:29:24Z | javascript | 2021-11-09T21:26:55Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 31,104 | ["packages/next/build/entries.ts", "packages/next/build/webpack-config.ts", "packages/next/pages/_document-web.tsx", "packages/next/taskfile.js"] | [Expo] [WebDocument] TypeError: Cannot call a class as a function | ### What version of Next.js are you using?
12.0.3
### What version of Node.js are you using?
16.7.0
### What browser are you using?
Chrome
### What operating system are you using?
macOS
### How are you deploying your application?
N/A
### Describe the Bug
After updating to 12.0.3 from 12.0.2, I'm now getting ... | https://github.com/vercel/next.js/issues/31104 | https://github.com/vercel/next.js/pull/31116 | ad981783abbb347b6510c4dee5ce969e87ab0e24 | cfb8cc841e6c7b80e809565cddfc4219d695c282 | 2021-11-07T04:18:20Z | javascript | 2021-11-07T22:14:50Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 31,077 | ["packages/next-swc/Cargo.lock"] | swc broken on nextjs 12.0.3 with @toast-ui/react-editor | ### What version of Next.js are you using?
12.0.3
### What version of Node.js are you using?
v16.13.0
### What browser are you using?
Chrome
### What operating system are you using?
macOS
### How are you deploying your application?
next build
### Describe the Bug
when i add `@toast-ui/react-editor` to my pro... | https://github.com/vercel/next.js/issues/31077 | https://github.com/vercel/next.js/pull/33461 | e5dee17f776dcc79ebb269f7b7341fa6e2b6c3f1 | 3574b91b48fabc20ba007953dbf3d6b52cfa37a1 | 2021-11-06T09:35:47Z | javascript | 2022-01-19T15:57:39Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 31,013 | ["packages/next/shared/lib/router/router.ts", "test/integration/middleware/with-base-path/pages/_middleware.js", "test/integration/middleware/with-base-path/pages/index.js", "test/integration/middleware/with-base-path/test/index.test.js"] | HEAD prefetch requests caused by middleware do not respect basePath | ### What version of Next.js are you using?
12.0.2
### What version of Node.js are you using?
14
### What browser are you using?
Chrome
### What operating system are you using?
macOs
### How are you deploying your application?
next start
### Describe the Bug
When having a basePath in next-config and some midd... | https://github.com/vercel/next.js/issues/31013 | https://github.com/vercel/next.js/pull/31101 | 3e8b2dcb6c64b4031ae7dbee813a295a064191b9 | 764e29c170ce2c1c779329d3ab16a15caa00081a | 2021-11-05T09:40:02Z | javascript | 2021-11-09T19:03:05Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 31,012 | ["packages/next/build/output/index.ts", "test/integration/amphtml/pages/invalid-amp.js", "test/integration/amphtml/test/index.test.js"] | AMP Validator error logs are shown vertically | ### What version of Next.js are you using?
12.0.2
### What version of Node.js are you using?
v14.16.0
### What browser are you using?
Chorme
### What operating system are you using?
macOS
### How are you deploying your application?
local development
### Describe the Bug
AMP Validator error logs are shown ver... | https://github.com/vercel/next.js/issues/31012 | https://github.com/vercel/next.js/pull/31018 | e9e8e8b423c9c59f1a54db35d282ff20c825a949 | 4c05de3c7e1a6c920e5f8d5f1e740e7b48e1321a | 2021-11-05T09:09:52Z | javascript | 2021-11-26T15:13:09Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 30,989 | ["packages/next/build/entries.ts", "packages/next/build/webpack/loaders/next-middleware-ssr-loader/index.ts", "packages/next/server/dev/hot-reloader.ts", "test/integration/react-streaming-and-server-components/app/pages/err.js", "test/integration/react-streaming-and-server-components/app/pages/err/render.js", "test/int... | Error routes (404, 500) in React Server Components | ### Describe the feature you'd like to request
Support for these features, with correct status codes.
https://nextjs.org/docs/advanced-features/custom-error-page
### Describe the solution you'd like
TBD
### Describe alternatives you've considered
N/A | https://github.com/vercel/next.js/issues/30989 | https://github.com/vercel/next.js/pull/31164 | eb0bd63af48ea9bec85670ad1bcbc455c5f879ec | ef5795327a99ec8a3dfbe0b40fc1fdde3cdc58fb | 2021-11-04T21:21:30Z | javascript | 2021-11-15T17:49:50Z |
closed | vercel/next.js | https://github.com/vercel/next.js | 30,962 | ["docs/api-reference/next/script.md", "docs/basic-features/script.md", "packages/next/client/script.tsx", "test/integration/script-loader/base/pages/page8.js", "test/integration/script-loader/base/pages/page9.js", "test/integration/script-loader/test/index.test.js"] | next/script onLoad run once per cache Key (id, src) | ### What version of Next.js are you using?
12.0.2
### What version of Node.js are you using?
14.18.1
### What browser are you using?
Chrome
### What operating system are you using?
macOS
### How are you deploying your application?
codesandbox
### Describe the Bug
When using more than one `Script` with same `... | https://github.com/vercel/next.js/issues/30962 | https://github.com/vercel/next.js/pull/38849 | 85b00b2ccae5629d3561b0c85579c9455693244c | a8186065b8eb30ef73d82075dbeb2a6fd94c2eaa | 2021-11-04T15:30:19Z | javascript | 2022-07-28T20:42:52Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.