- 28 Jun, 2022 9 commits
-
-
JJ Kasper authored
-
JJ Kasper authored
-
Dom Sip authored
Update middleware-upgrade-guide.md Ensure that before and after examples are consistent
-
Kiko Beats authored
-
JJ Kasper authored
-
JJ Kasper authored
* Ensure client cache keys match between prefetch and transition * handle some middleware cases * lint-fix * fix lint rename
-
JJ Kasper authored
-
Steven authored
Fixes flaky tests when placeholder.com is down https://github.com/vercel/next.js/pull/38080#issuecomment-1168036939
-
Steven authored
We don't need to include `<noscript>` for `next/future/image` since it uses native lazy loading instead of the `IntersectionObserver` (https://github.com/vercel/next.js/pull/37927). The only case when we still need `<noscript>` is for `placeholder="blur"` because it requires client-side JS to switch the from blur image to final image on load.
-
- 27 Jun, 2022 20 commits
-
-
JJ Kasper authored
-
JJ Kasper authored
* Fix resolving dynamic routes when on returns a redirect * Update fix and add test case
-
Javi Velasco authored
* Add `init` to some `NextResponse` methods * Add NextResponse.redirect test and fix headers Co-authored-by:JJ Kasper <jj@jjsweb.site>
-
Ali Yusuf authored
Closes: #37805 ## Bug - [x] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` Co-authored-by:JJ Kasper <22380829+ijjk@users.noreply.github.com>
-
JJ Kasper authored
-
JJ Kasper authored
* Add error for renaming of unstable_revalidate * update test * run test for dev too
-
JJ Kasper authored
-
Balázs Orbán authored
* feat: report `eslint-config-next` version in `next info` * update test
-
Kiko Beats authored
This new version renamed `globalThis.Edge` into `globalThis.EdgeRuntime`.
-
Gal Schlezinger authored
avoid fetching a chunk for api endpoints on middleware redirect. This still makes a request to the data endpoint, not sure if this is a good idea, but a rewrite _can_ happen from that data request. ## Related - Fixes #37944 - Fixes https://github.com/vercel/next.js/issues/37783 ## 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 `pnpm lint` - [ ] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)
-
Houssein Djirdeh authored
Fixes https://github.com/vercel/next.js/issues/37741. Allows `next/script` to be placed inside of `_document` body in addition to `Head`. ## Bug - [X] Related issues linked using `fixes #number` - [X] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md`
-
Javi Velasco authored
It is possible that users that are defining `src/pages` in their project confuse the "project root" to locate middleware with the actual project root instead of `src/middleware` so this PR rephrases the migration guide to make explicit that the it should be located **next** to the `pages` folder.
-
Steven authored
This PR removes experimental `layout="raw"` from `next/image` since it was moved to `next/future/image` in #37927
-
stefanprobst authored
this makes all `experimental.images` options optional, so they can be toggled individually. ## 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 `pnpm lint` - [ ] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)
-
Jiachi Liu authored
* Rename page runtime edge to experimental-edge * fix ut * fix lint * PageRuntime -> ServerRuntime * rename constant
-
JJ Kasper authored
* Ensure we do not ignore module not found errors during build * lint-fix
-
Max Proske authored
Converted Next.js Bundle Analyzer example over to TypeScript to align with the Examples guide. I also replaced `faker` with `@faker-js/faker`. Faker has been forked and maintained [here](https://github.com/faker-js/faker) after the original author [deleted](https://www.theverge.com/2022/1/9/22874949/developer-corrupts-open-source-libraries-projects-affected) the library. ## Documentation / Examples - [X] Make sure the linting passes by running `pnpm lint` - [X] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)
-
Max Proske authored
Converted AMP Story example over to TypeScript to align with the Examples guide. Note: Requires `v12.1.7-canary.41` or newer to build https://github.com/vercel/next.js/pull/37744#issuecomment-1159573754 ## Documentation / Examples - [X] Make sure the linting passes by running `pnpm lint` - [X] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)
-
Steven Tey 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 `pnpm lint` - [ ] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples) Co-authored-by:
JJ Kasper <22380829+ijjk@users.noreply.github.com>
-
Radu Nemerenco authored
…env example files ## 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 `pnpm lint` - [ ] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)
-
- 26 Jun, 2022 11 commits
-
-
Balázs Orbán authored
Ref: https://github.com/vercel/next.js/runs/7042041627?check_suite_focus=true https://github.com/vercel/next.js/runs/7042041634?check_suite_focus=true https://docs.github.com/en/actions/creating-actions/creating-a-javascript-action#commit-tag-and-push-your-action-to-github ## 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 `pnpm lint` - [ ] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)
-
M. Zakiyuddin Munziri authored
Co-authored-by:JJ Kasper <jj@jjsweb.site>
-
Jiachi Liu authored
middleware-ssr-loader -> edge-ssr-loader middleware-flight-manifest -> flight-manifest
-
Lee Robinson authored
-
Gal Schlezinger authored
This rule was good and kinda made sense when we had nested Middleware. Now that we have a single Middleware, one might extract logic into different places and I don't think we should limit importing `NextResponse` or `NextRequest`. ## Related - Closes #36239 - Closes #37309 ## Bug - [x] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md`
-
Max Proske authored
Converted AMP First Boilerplate example over to TypeScript to match the Contribution guidelines. Note: Requires `v12.1.7-canary.41` or newer to build https://github.com/vercel/next.js/pull/37744#issuecomment-1159573754 ## Documentation / Examples - [X] Make sure the linting passes by running `pnpm lint` - [X] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)
-
Mikis Woodwinter authored
* feat: add keep-alive timeout params for next-start * feat: add keep-alive timeout args to next-cli's start * docs: add docs for keep-alive timeouts * docs: fix grammar & typos * refactor: handle NaN for args * test: add tests for timeout args * revert: remove headersTimeout option * fix: remove input validation for keepAliveTimeout arg * feat: add input-range validation for keepAliveTimeout arg * Error and tests for range validation * Make sure timeout actually changes * Fix error messsage * Apply suggestions from code review Co-authored-by:
Steven <steven@ceriously.com> Co-authored-by:
Hannes Bornö <hannes.borno@vercel.com> Co-authored-by:
Balázs Orbán <info@balazsorban.com> Co-authored-by:
Steven <steven@ceriously.com>
-
Aleksa Cukovic authored
I added ` *.tsbuildinfo` to gitignores of examples that use typescript and don't already have it. By use typescript I mean have `tsconfig` somewhere in their directory tree. I used the following script to update the files: ```bash #!/bin/bash set -eou pipefail cd examples examples=`git ls-files . | grep tsconfig | xargs dirname | grep -v "/"` for example in $examples; do if ! grep -q tsbuildinfo $example/.gitignore; then gitignore="$example/.gitignore" echo $gitignore tail -c1 $gitignore | read -r _ || echo >> $gitignore echo -e "\n# typescript\n*.tsbuildinfo" >> $gitignore fi done ``` -
JJ Kasper authored
-
Luis Alvarez D authored
Updated gitignore
-
william-keller authored
## Bugfix - Missing package dependency in package.json causing -> Can't resolve 'prop-types'
-