- 14 May, 2021 6 commits
-
-
Tim Neutkens authored
-
Tobias Koppers authored
Co-authored-by:Tim Neutkens <timneutkens@me.com>
-
Tim Neutkens authored
-
JJ Kasper authored
Co-authored-by:kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
-
JJ Kasper authored
Co-authored-by:kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
-
Yamagishi Kazutoshi authored
When Image Optimization is enabled, if the URL of the image is not correct as a regular expression (e.g. `/image.png?lang=c++`), Next.js will give an error and fail to build.
-
- 13 May, 2021 9 commits
-
-
JJ Kasper authored
This updates the beforeFiles rewrites note to mention the rewrites can affect `_next` files which are required for loading pages client-side. ## Documentation / Examples - [x] Make sure the linting passes
-
Tim Neutkens authored
This regex is no longer needed since it no longer matches with the strip-ansi version that is bundled with Next.js ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added ## 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. ## Documentation / Examples - [ ] Make sure the linting passes
-
Rishabh Poddar authored
It's a change to the package.json file to update the supertokens-auth-react version. The changes in this version are: - How supertokens session works in the context of an iframe - Dependencies of supertokens-auth-react now use a `^` -------- One more change is to do with how the redirection works in the demo app in case of session expiry or if a user clicks on signout.
-
Tim Neutkens authored
-
Tim Neutkens authored
Updates an old message in the docs that caused some confusion here: https://github.com/vercel/next.js/issues/24904#issuecomment-837086983 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added ## 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. ## Documentation / Examples - [ ] Make sure the linting passes
-
JJ Kasper authored
This makes sure a catch-all rewrite doesn't override the params from a dynamic route in minimal mode, it also makes sure we don't attempt applying headers and rewrites un-necessarily in minimal mode. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added
-
Janicklas Ralph authored
-
Marcos Taron authored
Update `create-next-app` documentation based in #25010 issue. ## Documentation / Examples - [X] Make sure the linting passes
-
Janicklas Ralph authored
## Bug Fix no-sync-scripts doc
-
- 12 May, 2021 6 commits
-
-
Tobias Koppers authored
This improves long term caching by avoiding hash changes workaround fix #25013 The real problem is fixed by #24573 ## Bug - [x] Related issues linked using `fixes #number` - [ ] Integration tests added
-
Tobias Koppers authored
## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added ## 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. ## Documentation / Examples - [ ] Make sure the linting passes
-
JJ Kasper authored
This fixes ie11 compatibility that broke in https://github.com/vercel/next.js/pull/24656 from the polyfills not being loaded first, our existing ie11 test caught this but was failing, this ensures the test is passing again. This also updates the `hrefValue` optional chaining in the eslint plugin as these files aren't transpiled and related tests were failing in azure ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added
-
Janicklas Ralph authored
-
Janicklas Ralph authored
-
JJ Kasper authored
Since node v10 is now officially EOL this updates our windows tests to use v12 instead
-
- 11 May, 2021 6 commits
-
-
JJ Kasper authored
This fixes an infinite redirect in the `has` redirect examples by ensuring not to match the redirect destination itself ## Documentation / Examples - [x] Make sure the linting passes
-
Tobias Koppers authored
emit must be called on build program to leverage caching While the the current way of calling incremental typescript seem to work, it actually doesn't use caching correct. A difference is only notice-able on larger code bases...
-
Yamagishi Kazutoshi authored
-
Alessandro Ursino authored
-
Tim Neutkens authored
-
Evan Ye authored
Update the with-mdx-remote example based on [next-mdx-remote](https://github.com/hashicorp/next-mdx-remote) v3.0, to make it faster and lighter-weight. For more detail of API changes and migration guild, please refer to [v3.0.0 release note](https://github.com/hashicorp/next-mdx-remote/releases/tag/3.0.0).
-
- 10 May, 2021 13 commits
-
-
JJ Kasper authored
-
Houssein Djirdeh authored
Adds lint rules to the Next.js ESLint plugin to: - Disallow importing `next/head` inside `pages/_document.js` - Disallow importing `next/document` outside of `pages/_document.js` Both rules will be surfaced as **errors** within the recommended config of the plugin. Fixes #13712 #13958
-
Henrik Wenz authored
## Changes - Update dependencies - Use new `useAnimations` hook - Remove next-transpile-modules in favour of drei - Refactor Components - Remove dynamic import - Enable webpack5 (by removing `next.config.js`) - Removed missing key warning ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added ## 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. ## Documentation / Examples - [x] Make sure the linting passes
-
Mike Plis authored
This example currently fails to build with the error: ``` -> % yarn build yarn run v1.22.10 $ next build warn - React 17.0.1 or newer will be required to leverage all of the upcoming features in Next.js 11. Read more: https://nextjs.org/docs/messages/react-version info - Using webpack 5. Reason: no next.config.js https://nextjs.org/docs/messages/webpack5 Failed to compile. ./components/alert.tsx:2:16 Type error: Could not find a declaration file for module 'classnames'. '/Users/mike/workspace/blog/node_modules/classnames/index.js' implicitly has an 'any' type. Try `npm i --save-dev @types/classnames` if it exists or add a new declaration (.d.ts) file containing `declare module 'classnames';` 1 | import Container from './container' > 2 | import cn from 'classnames' | ^ 3 | import { EXAMPLE_PATH } from '../lib/constants' 4 | 5 | type Props = { error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. ``` As of [`v2.3.1`](https://github.com/JedWatson/classnames/blob/master/HISTORY.md#v230--2021-04-01), the `classnames` package started providing its own types, so the `@types/classnames` package [became a stub](https://unpkg.com/browse/@types/classnames@2.3.1/). We get the error because the `classnames` version is pinned to the old, type-less version, while `@types/classnames` picked up the new stubbed version. Removing `@types/classnames` and updating `classnames` to the latest version fixes the build error. ## Documentation / Examples - [x] Make sure the linting passes
-
Houssein Djirdeh authored
Adds a lint rule warning to the Next.js ESLint plugin if a custom Google Font is added at page-level instead of with a custom document (`.document.js`) _Note: This will be generalized to include more font providers in the near future._
-
Houssein Djirdeh authored
Adds a lint rule warning to the Next.js ESLint plugin if `passHref=true` is not assigned for `<Link>` wrapping a custom component. Fixes #23713
-
Tobias Koppers authored
fixes a small bug which caused the webpack chunk to be too big as it includes references to all pages ## Bug - [x] Related issues linked using `fixes #number` - [ ] Integration tests added ## 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. ## Documentation / Examples - [ ] Make sure the linting passes
-
Tim Neutkens authored
-
Tim Neutkens authored
-
Luigi Colombi authored
Co-authored-by:kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
-
Tim Neutkens authored
## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added ## 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. ## Documentation / Examples - [ ] Make sure the linting passes
-
Darsh Patel authored
Co-authored-by:kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
-
Janicklas Ralph authored
-