- 29 May, 2022 17 commits
-
-
JJ Kasper authored
-
Ryan authored
Changed bullet points to say "getStaticPaths" instead of "getStaticProps". Fixes https://github.com/vercel/next.js/issues/37288 ## Feature - [x] Related issues linked using `fixes #number` - [x] Documentation added ## 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)
-
JJ Kasper authored
* Update swc builds * test builds * use alias for now * fix typo * handle existing case * update windows and bsd * fix * re-add publish check
-
ArianHamdi authored
close #37283
-
Lee Robinson authored
Verified it's working: https://leerob.github.io/gh-pages-test/
-
JJ Kasper authored
-
JJ Kasper authored
-
Tim Neutkens authored
-
Tim Neutkens authored
Co-authored-by:
Shu Ding <g@shud.in> Co-authored-by:
kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
-
JJ Kasper authored
* Ensure all bench dependencies are added * bump * another dep * add env
-
Remco Haszing authored
Although it’s not intended for use in TypeScript, TypeScript still offers some nice features when it’s used in next.config.js (completion, hovers, `"checkJs": true`). ## 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 - [x] Make sure the linting passes by running `yarn lint` Co-authored-by:JJ Kasper <22380829+ijjk@users.noreply.github.com>
-
JJ Kasper authored
* Update to leverage pnpm for monorepo * update compiled * update stats action * update ci install step * update ci * add test dep * update invoking scripts * update caching * skip cache for now * update dep * update packages and fix babel * update compiled * update lint * update test * update ci * update pnpm store caching * update path for windows * update restore-key config * update caching * remove extra build azure stage * re-add checkout * update setting pnpm store * bump * remove azure caching as pnpm is faster to download * update contributing * apply suggestions * remove install-peers * prepublish -> prepublishOnly * prepublish -> prepublishOnly more * more yarn -> pnpm references * more yarn -> pnpm references take 2 * use workspace protocol for root package.json Co-authored-by:Steven <steven@ceriously.com>
-
Donny/강동윤 authored
This also updates swc crates to https://github.com/swc-project/swc/commit/7eac56163943925a19017dcb8c8a47c8af2dc702Co-authored-by:
JJ Kasper <22380829+ijjk@users.noreply.github.com>
-
Cozy Indigo authored
## Documentation / Examples - [X] Make sure the linting passes by running `yarn lint` Graphql API has updated with use of nodes, this bugfix updates these specifications. Co-authored-by:JJ Kasper <22380829+ijjk@users.noreply.github.com>
-
Saullo Almeida 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 `yarn 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>
-
Shyam Gupta authored
## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [x] Related issues linked using fixes #33829 - [x] 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` Co-authored-by:JJ Kasper <22380829+ijjk@users.noreply.github.com>
-
Hannes Bornö authored
* Ignore popstate with invalid state * Make tests pass * i18n case fixed * Fix lint error * Unhandled Promise Rejection * Revert "Unhandled Promise Rejection" This reverts commit ac4fde7654ed549822185ab0229a6d01c6ea194f. * fix type check Co-authored-by:JJ Kasper <jj@jjsweb.site>
-
- 28 May, 2022 1 commit
-
-
JJ Kasper authored
This refactors the `incremental-cache` and moves the file-system cache handling to it's own cache handler allowing it to be replaced by a custom cache handler (experimental). Closes: https://github.com/vercel/next.js/pull/22619 ## 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 `yarn lint` - [ ] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)
-
- 27 May, 2022 12 commits
-
-
Imad Atyat-Allah 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 `yarn lint` - [ ] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)
-
Steven authored
This command changed in pnpm [6.32.13](https://github.com/pnpm/pnpm/releases/tag/v6.32.13) and [7.1.1](https://github.com/pnpm/pnpm/releases/tag/v7.1.1) so lets update it since its been a few weeks and we can expect pnpm users to update more regularly than npm users. - Fixes https://github.com/vercel/next.js/pull/37240 - Fixes https://github.com/vercel/next.js/pull/37045 - Fixes https://github.com/vercel/next.js/pull/37032 - Fixes https://github.com/vercel/next.js/pull/36602 - Fixes https://github.com/vercel/next.js/pull/36496
-
JJ Kasper authored
-
Jiachi Liu authored
When using `next/dynamic` with `suspense: true`, the API will opt into `React.lazy` with react 18. But previously it doesn't preload the dynamic chunks. This pr will include the chunks into initial html for faster hydration instead of loading the chunk until the script is executed. This makes `next/dynamic` has a significant difference from `React.lazy` api x-ref: https://github.com/vercel/next.js/issues/37197#issuecomment-1138496911 x-ref: https://github.com/vercel/next.js/pull/37244
-
Tom authored
## Documentation / Examples - [x] Make sure the linting passes by running `yarn 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 <steven@ceriously.com>
-
Tom authored
Fixes #37064 ## Documentation / Examples - [x] Make sure the linting passes by running `yarn 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>
-
Javi Velasco authored
* Do not exclude internal _next request in middleware * Allow for `NextURL` to parse prefetch requests * Add test for middleware data prefetch * Refactor `hasBasePath` and `replaceBasePath` * Refactor `removeTrailingSlash` * Refactor parsed next url to use `getNextPathnameInfo` * Allow to configure `NextURL` * Ensure middleware rewrites with always with a locale Co-authored-by:JJ Kasper <jj@jjsweb.site>
-
Shu Ding authored
Another strategy to do achieve the goal of #36995. With this PR the module IDs will be: - (1) RSC: named (_this one doesn't matter_) - (2) SSR: named - (3) Client: deterministic And we include the client module IDs in the flight manifest, as well as an extra mapping of 3) → 2) so during SSR it can require the correct module still. ## 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 `yarn lint` - [ ] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)
-
Balázs Orbán authored
Fixes https://github.com/vercel/next.js/issues/37230 ## 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 `yarn lint` - [ ] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)
-
LongYinan authored
-
JJ Kasper authored
-
OJ Kwon authored
* build(actions): skip plugin features for non supported platform * test builds * update turbo config * Revert "test builds" This reverts commit 50bdb9765b9fcd4c09e4dcf6566f512ac1a30da0. Co-authored-by:JJ Kasper <jj@jjsweb.site>
-
- 26 May, 2022 10 commits
-
-
JJ Kasper authored
-
Shu Ding authored
Two small things noticed today. When calling `getDependencies` concurrently (which is happening right now) the cache doesn't work as it's after the `await`, so here we move it to cache the promise instead. Also `NUM_OF_MICROSEC_IN_SEC` isn't accurate and it should be `NANOSEC` actually. ## 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 `yarn lint` - [ ] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)
-
Lee Robinson authored
When you run `next build`, the sizes you're seeing in the output are the compressed sizes with gzip.
-
OJ Kwon authored
* build(cargo): build swc with plugin support * feat(next): expose experimental swcplugins config * docs(compiler): add description * build(cargo): resolve feature conflicts * build(cargo): resolve build conflict * Update docs/advanced-features/compiler.md Co-authored-by:
Maia Teegarden <dev@padmaia.rocks> Co-authored-by:
Maia Teegarden <dev@padmaia.rocks>
-
Stanley Hong authored
**Broken** (#local-images) **Updated** (/docs/basic-features/image-optimization.md#local-images)
-
JJ Kasper authored
-
Jiachi Liu authored
Fixes #37197 tested with `examples/analyze-bundles/`, stripped off 300b of the the use-sync-external-store shim when applied the code change. ## Bug - [x] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md`
-
Tom Marshall authored
* Updates the `cms-kontent` example `Image` component to implement the suggested improvements from @styfle in #37188. * Simplifies the Kontent loader host checking. * Reduces the default image quality to from `100` to `75`. * Add `tslib` dependency to fix `Module not found: Can't resolve 'tslib'` error when importing `transformImageUrl` in the `Image` component. It looks like this might be a bug in v11 of the Kontent Delivery SDK, as it appears `tslib` needs to be included as dependency, rather than dev dependency. I missed this originally as the example runs fine in the Next repo as the root `yarn.lock` has `tslib`. It's only when the example is used via `yarn create next-app` that the issue occurs. We can likely remove this in future alongside an upgrade to the SDK package once this issue has been fixed and released there. https://github.com/vercel/next.js/pull/37188
-
Balázs Orbán authored
Follow-up on https://github.com/vercel/next.js/pull/37193 ## 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 `yarn lint` - [ ] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)
-
Tim Neutkens authored
* Remove __props__ * Remove refreshCache function
-