- 12 Aug, 2022 2 commits
- 11 Aug, 2022 15 commits
-
-
JJ Kasper authored
This re-adds `styled-jsx` as a normal dependency for now leaving the require hook in place so that we can correctly handle mis-matching versions in the module tree. x-ref: [slack thread](https://vercel.slack.com/archives/C02CDC2ALJH/p1660254377444709) ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md`
-
JJ Kasper authored
-
Jeferson S. Brito authored
-
Tim Neutkens authored
* Enable @typescript-eslint/no-use-before-define typedefs and enums * Enable variables * Move in client/index * Revert "Move in client/index" This reverts commit 592d70cf3d9cd39e741905faf9229f664c9b4ebd. * Move wrapApp * Revert "Revert "Move in client/index"" This reverts commit 14b6105eb45ab87b3b4a1d6f2907d8b9e9657888. * Fix classes cases
-
Tim authored
-
Alex Castle authored
This PR adds default style properties to a fill-mode image using `next/future/image` of 0 for all positions. This should replicate the existing `layout="fill"` behavior better, and make it easier to migrate. Tests are also added for fill styling.
-
JJ Kasper authored
-
Alvin Bryan authored
-
Jiachi Liu authored
-
JJ Kasper authored
This fixes the case where we were incorrectly ignoring the next-auth API endpoint since it matched the `.next` watch ignore and also adds a test case to ensure we match this route correctly. ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` Fixes: https://github.com/vercel/next.js/issues/39495
-
JJ Kasper authored
-
dcdev67 authored
## Feature - [x] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [x] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have helpful link attached, see `contributing.md` ## Changes Added in on-demand revalidation for Contentful example. Specifically, added the revalidate api path, a new environment variable which will contain the secret, and some additions to the README. Co-authored-by:JJ Kasper <22380829+ijjk@users.noreply.github.com>
-
Noel Kim (김민혁) authored
* Feat: Add Kebab case * Add document * Feat: Add Kebab case * Add document * Add Test cases
-
JJ Kasper authored
* Add hot-reloading for env file changes * update watching * update test * update initial env handling * undo test change * add comment for entries clearing * update on-demand-entry-handler restart handling * lint-fix * handle bad plugin
-
X7Becka authored
## Bug - [fixes #39035 ] 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:
Steven <229881+styfle@users.noreply.github.com> Co-authored-by:
JJ Kasper <22380829+ijjk@users.noreply.github.com>
-
- 10 Aug, 2022 15 commits
-
-
JJ Kasper authored
-
JJ Kasper authored
* Fix swc build for freebsd target * test build * update build * update version * test v0 * use napi directly * revert vm version * undo test build
-
Steven authored
Since corepack is already [enabled for this repository](https://github.com/vercel/next.js/blob/1669c606842cce96eef4845a2cc679e73d16e383/package.json#L218), lets recommend it for contributing. Learn more: https://styfle.dev/blog/corepack
-
JJ Kasper authored
-
Maedah Batool authored
The [comparison table for migration](https://nextjs.org/docs/api-reference/next/future/image#migration) to `next/future/image` looks odd layout-wise. The issue was brought up via this [Slack thread](https://vercel.slack.com/archives/C02F56A54LU/p1660040275310949). This PR makes this improvement. ### New implementation <img width="1216" alt="image" src="https://user-images.githubusercontent.com/12712988/183631902-6850836b-cb4e-44ea-909f-ba353725be15.png"> ## 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:
Steven <229881+styfle@users.noreply.github.com>
-
JJ Kasper authored
-
JJ Kasper authored
* Tweak styled-jsx type declarations * fix lint
-
Wyatt Johnson 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:
Tim Neutkens <6324199+timneutkens@users.noreply.github.com> Co-authored-by:
JJ Kasper <22380829+ijjk@users.noreply.github.com>
-
JJ Kasper authored
This ensures we properly handle rewrites when the request is a WebSocket request. This also adds an integration test to ensure it is working as expected in dev and production mode. ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` Fixes: https://github.com/vercel/next.js/issues/32634 Closes: https://github.com/vercel/next.js/pull/38455
-
JJ Kasper authored
* Ensure default _app is used when falling back to default _error * make render check less specific due to arbitrary wait
-
Tim Neutkens authored
Found that this rule was added but all options are set to `false` so it doesn't do anything. Started with enabling it for examples to ensure minimal breaking of existing PRs. ## 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)
-
Damien Simonin Feugas authored
###
📖 What's in there? As part of the 4 hands work done in #39397, we accidentally removed a describe for middleware "using a single matcher with i18n" (and no base path nor trailing slash). This PR restores it. ### 🧪 How to test? ``` pnpm testheadless --testPathPattern middleware-matcher ``` ###🆙 Note to reviewers There's only a couple lines with meaningful change in this PR. Hide whitespaces in github's diff screen to find it more easily: https://github.com/vercel/next.js/pull/39452/files?diff=split&w=1 -
Gal Schlezinger authored
This version fixes a bug where [crypto buffers (ArrayBuffer, Uint8Array) not compatible with text decoding](https://github.com/vercel/edge-runtime/commit/17475e4df728c1f1be2956cf8cf0b376fc8c1f59).
-
M. Zakiyuddin Munziri authored
# Description The link to https://nextjs.org/docs/messages/invalid-getserversideprops-value does not exist, the correct link should be https://nextjs.org/docs/messages/invalid-getserversideprops-return-value   # Solution ## From Referring to the pattern, there is no `return`  ## To So I removed the word `return` to match the pattern  ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ x] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [x] 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>
-
Jono Hewitt authored
* Update `router.prefetch` documentation Include documentation for setting the locale as an option within `router.prefetch`. * apply suggestions Co-authored-by:JJ Kasper <jj@jjsweb.site>
-
- 09 Aug, 2022 8 commits
-
-
JJ Kasper authored
-
Damien Simonin Feugas authored
* feat(middleware): augments / matcher with /index * fix(#39396): not invoked with i18n and trailingSlash * add test case * tweak matcher a bit and add tests Co-authored-by:JJ Kasper <jj@jjsweb.site>
-
Alex Castle authored
* Wrap sizes code snippets in component * Don't remove docs import statement
-
JJ Kasper authored
-
Shu Ding authored
extract redirect utils
-
Alex Castle authored
This PR updates the documentation for the `sizes` proper in next/image to make it more clear what this prop does and why it's (very) important to use it. After feedback, I'll update this PR to also modify the future image component docs. Co-authored-by:
Steven <229881+styfle@users.noreply.github.com> Co-authored-by:
JJ Kasper <22380829+ijjk@users.noreply.github.com>
-
Jiachi Liu authored
Improve styled-jsx types in next.js, previously there's no `declare module` for styled-jsx and there's type name conflicts in `styled-jsx/index.d.ts` and we use a rename hack to avoid the conflicts. Now styled-jsx 5.0.3 fixed those issues. x-ref: https://github.com/vercel/styled-jsx/pull/805
-
fediev authored
Improve description of `query` `query` is not just representing of the query string. It has the same values as `router.query`.
-