vercel-release-bot
da13062559
v14.3.0-canary.26
2024-04-26 08:59:39 +00:00
vercel-release-bot
af304c5252
v14.3.0-canary.25
2024-04-26 06:02:43 +00:00
Donny/강동윤
59ad831a13
build: Update @swc/core
to v1.5.0
( #65022 )
...
### What?
Update `@swc/core` npm package.
### Why?
To keep in sync.
### How?
Closes https://linear.app/vercel/issue/SWC-119/
2024-04-26 14:46:59 +09:00
vercel-release-bot
f945d83c5e
v14.3.0-canary.24
2024-04-25 23:22:34 +00:00
Steven
a6a6117197
feat(next/image)!: remove squoosh
in favor of sharp
as optional dependency ( #63321 )
...
## History
Previously, we added support for `squoosh` because it was a wasm
implementation that "just worked" on all platforms when running `next
dev` for the first time. However, it was slow so we always recommended
manually installing `sharp` for production use cases running `next
build` and `next start`.
Now that [`sharp` supports
webassembly](https://sharp.pixelplumbing.com/install#webassembly ), we no
longer need to maintain `squoosh`, so it can be removed. We also don't
need to make the user install sharp manually because it can be installed
under `optionalDependencies`. I left it optional in case there was some
platform that still needed to manually install the wasm variant with
`npm install --cpu=wasm32 sharp` such as codesandbox/stackblitz (I don't
believe sharp has any fallback built in yet).
Since we can guarantee `sharp`, we can also remove `get-orientation` dep
and upgrade `image-size` dep.
I also moved an [existing `sharp`
test](https://github.com/vercel/next.js/pull/56674 ) into its own fixture
since it was unrelated to image optimization.
## Related Issues
- Fixes https://github.com/vercel/next.js/issues/41417
- Related https://github.com/vercel/next.js/pull/54670
- Related https://github.com/vercel/next.js/issues/54708
- Related https://github.com/vercel/next.js/issues/44804
- Related https://github.com/vercel/next.js/issues/48820
- Related https://github.com/vercel/next.js/pull/61810
- Related https://github.com/vercel/next.js/pull/61696
- Related https://github.com/vercel/next.js/issues/44685
- Closes https://github.com/vercel/next.js/issues/64362
## Breaking Change
This is a breaking change because newer versions of `sharp` no longer
support `yarn@1`.
- https://github.com/lovell/sharp/issues/3750
The workaround is to install with `yarn --ignore-engines` flag.
Also note that Vercel no longer defaults to yarn when no lockfile is
found
- https://github.com/vercel/vercel/pull/11131
- https://github.com/vercel/vercel/pull/11242
Closes NEXT-2823
2024-04-25 14:01:56 -04:00
Sebastian Silbermann
04571f39be
Update React from 14898b6a9 to c3048aab4 ( #64798 )
2024-04-25 12:35:35 +02:00
vercel-release-bot
820a084e28
v14.3.0-canary.23
2024-04-25 10:26:21 +00:00
vercel-release-bot
8dcc051298
v14.3.0-canary.22
2024-04-24 23:23:35 +00:00
OJ Kwon
5dd8043f48
Revert "feat: support import attributes" ( #65001 )
...
Reverts vercel/next.js#59480
This PR have a test with incorrect assertion supposed to fail on CI with
turbopack.
https://github.com/vercel/next.js/pull/65000
2024-04-24 21:02:10 +00:00
C. T. Lin
5caeea398a
feat: support import attributes ( #59480 )
...
### What?
Add support to import attributes.
### Why?
The old import assertions syntax is deprecated and the proposal is
updated. See https://github.com/babel/babel/pull/15536
### How?
Add support to import attributes and keep old import assertions working
by using `@babel/plugin-syntax-import-attributes` with the
`deprecatedAssertSyntax` option.
Docs: https://babeljs.io/docs/babel-plugin-syntax-import-attributes
---------
Co-authored-by: Jiachi Liu <inbox@huozhi.im>
Co-authored-by: Steven <steven@ceriously.com>
2024-04-24 15:55:32 +00:00
vercel-release-bot
850f4b9d8e
v14.3.0-canary.21
2024-04-24 01:41:33 +00:00
vercel-release-bot
7bf425d532
v14.3.0-canary.20
2024-04-23 23:22:16 +00:00
Tim Neutkens
a65bd31820
Speed up createNext test suite isolation ( #64909 )
...
## What?
Before: 25.71s
![CleanShot 2024-04-23 at 12 19
42@2x](https://github.com/vercel/next.js/assets/6324199/3a0ebb81-ac55-4b0c-8bfc-9a61ce138e6f )
After: 11.05s (-57%)
![CleanShot 2024-04-23 at 12 16
35@2x](https://github.com/vercel/next.js/assets/6324199/d7b6cd4c-d1e4-4dc2-a423-20b539186d25 )
## How?
Currently the system for isolation looks like this:
- Copy `packages` folder to an isolated directory
- Run `pnpm pack` for all folders in `packages`
- Collect the pack files, add them as `dependencies` in package.json of
the isolated application
- Run `pnpm install`
Because the `next-swc` (Turbopack + SWC, yes we still need to rename the
package) binary file is quite large in development (900MB+) it means we
have to copy, then zip (pnpm pack), then unzip (pnpm install) that
binary, which takes about 3+ seconds in each step.
The change in this PR is to skip the copy/zip/unzip completely by
providing the folder path for the binary directly to Next.js, as it's a
binary we don't need the special isolation for this, it's already
standalone so running it directly allows us to skip 14,6 seconds of work
that is required for each isolated test in development.
This will likely have little effect on CI times as we already do some
tricks like only running the packing at the start of the CI process.
Only thing that could be better and is probably worth doing is adopting
this change for the time it saves for unzipping, that's almost 4 seconds
per test still.
<!-- Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that
you follow the checklist sections below.
Choose the right checklist for the change(s) that you're making:
## For Contributors
### Improving Documentation
- Run `pnpm prettier-fix` to fix formatting issues before opening the
PR.
- Read the Docs Contribution Guide to ensure your contribution follows
the docs guidelines:
https://nextjs.org/docs/community/contribution-guide
### Adding or Updating Examples
- The "examples guidelines" are followed from our contributing doc
https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md
- Make sure the linting passes by running `pnpm build && pnpm lint`. See
https://github.com/vercel/next.js/blob/canary/contributing/repository/linting.md
### Fixing a bug
- Related issues linked using `fixes #number`
- Tests added. See:
https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs
- Errors have a helpful link attached, see
https://github.com/vercel/next.js/blob/canary/contributing.md
### Adding a feature
- Implements an existing feature request or RFC. Make sure the feature
request has been accepted for implementation before opening a PR. (A
discussion must be opened, see
https://github.com/vercel/next.js/discussions/new?category=ideas )
- Related issues/discussions are linked using `fixes #number`
- e2e tests added
(https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs )
- Documentation added
- Telemetry added. In case of a feature if it's used or not.
- Errors have a helpful link attached, see
https://github.com/vercel/next.js/blob/canary/contributing.md
## For Maintainers
- Minimal description (aim for explaining to someone not on the team to
understand the PR)
- When linking to a Slack thread, you might want to share details of the
conclusion
- Link both the Linear (Fixes NEXT-xxx) and the GitHub issues
- Add review comments if necessary to explain to the reviewer the logic
behind a change
### What?
### Why?
### How?
Closes NEXT-
Fixes #
-->
Closes NEXT-3200
---------
Co-authored-by: JJ Kasper <jj@jjsweb.site>
2024-04-23 21:12:59 +02:00
Donny/강동윤
0cd93b3a19
feat(turbopack): Handle fragments in requests ( #64232 )
...
# Turbopack
* https://github.com/vercel/turbo/pull/7935 <!-- Donny/강동윤 -
feat(turbopack): Handle fragment in requests -->
### What?
turbopack counterpart: https://github.com/vercel/turbo/pull/7935
### Why?
We need to fix build
### How?
Closes PACK-1006
2024-04-23 21:10:13 +02:00
vercel-release-bot
d4394f6c25
v14.3.0-canary.19
2024-04-23 14:31:58 +00:00
JJ Kasper
8373776f5e
Revert turborepo to 1.13.3-canary.2 cont. ( #64895 )
...
Continues https://github.com/vercel/next.js/pull/64892 which reverted
original upgrade first before applying the upgrade to version we think
should be clear.
Closes NEXT-3198
2024-04-22 23:40:49 +00:00
vercel-release-bot
2fb781dadd
v14.3.0-canary.18
2024-04-22 23:22:37 +00:00
vercel-release-bot
3ea57cd725
v14.3.0-canary.17
2024-04-22 21:59:55 +00:00
OJ Kwon
372f00eb07
fext(next): extend next.config for mdxRs support options ( #64801 )
...
### What
Closes PACK-2978, requires https://github.com/vercel/turbo/pull/8005 .
PR extends existing mdxRs config from accepting object as well in
addition to current boolean flag, mainly to allow to specify what kind
of markdown types will be used between gfm and commonmark.
2024-04-22 21:51:47 +00:00
JJ Kasper
75c9e2b85e
Revert turborepo to 1.13.3-canary.2 ( #64892 )
...
Reverts turborepo bump while investigating some issues
reverts: https://github.com/vercel/next.js/pull/64767
reverts: https://github.com/vercel/next.js/pull/64842
x-ref: [slack
thread](https://vercel.slack.com/archives/C04KC8A53T7/p1713816363062429 )
Closes NEXT-3195
2024-04-22 21:29:13 +00:00
vercel-release-bot
c595cf76a4
v14.3.0-canary.16
2024-04-22 14:40:29 +00:00
Hendrik Liebau
f936932758
Enable loading source maps for Next Server and React ( #64527 )
2024-04-22 12:40:23 +00:00
Donny/강동윤
7552a7a0ef
build: Update swc_core
to v0.90.33
( #64553 )
...
# Turbopack
* https://github.com/vercel/turbo/pull/7992 <!-- hrmny -
build(turbo-repository): fix napi build with LLD -->
* https://github.com/vercel/turbo/pull/7765 <!-- Tobias Koppers - Drop
excessive cells after task reexecution -->
* https://github.com/vercel/turbo/pull/7955 <!-- Donny/강동윤 - chore:
Update `styled-jsx` -->
* https://github.com/vercel/turbo/pull/7987 <!-- Donny/강동윤 - build:
Update `swc_core` to `v0.90.33` -->
### What?
Update swc crates to
0f07acbc57
### Why?
To keep in sync.
### How?
Closes PACK-2968
2024-04-22 07:04:45 +00:00
vercel-release-bot
4e1eb08a8f
v14.3.0-canary.15
2024-04-21 23:21:40 +00:00
Sebastian Silbermann
aa126abbda
Upgrade Turborepo ( #64842 )
...
Closes NEXT-3181
2024-04-21 21:12:03 +00:00
vercel-release-bot
f09650b7b4
v14.3.0-canary.14
2024-04-20 23:21:14 +00:00
vercel-release-bot
02e5f650e3
v14.3.0-canary.13
2024-04-19 23:23:22 +00:00
Tim Neutkens
bd6ab041a4
Upgrade Turborepo ( #64767 )
...
## What?
Upgrade Turborepo to the latest version and enable the new terminal UI
to dogfood: https://turbo.build/blog/turbo-1-13-0#new-terminal-ui .
<!-- Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that
you follow the checklist sections below.
Choose the right checklist for the change(s) that you're making:
## For Contributors
### Improving Documentation
- Run `pnpm prettier-fix` to fix formatting issues before opening the
PR.
- Read the Docs Contribution Guide to ensure your contribution follows
the docs guidelines:
https://nextjs.org/docs/community/contribution-guide
### Adding or Updating Examples
- The "examples guidelines" are followed from our contributing doc
https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md
- Make sure the linting passes by running `pnpm build && pnpm lint`. See
https://github.com/vercel/next.js/blob/canary/contributing/repository/linting.md
### Fixing a bug
- Related issues linked using `fixes #number`
- Tests added. See:
https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs
- Errors have a helpful link attached, see
https://github.com/vercel/next.js/blob/canary/contributing.md
### Adding a feature
- Implements an existing feature request or RFC. Make sure the feature
request has been accepted for implementation before opening a PR. (A
discussion must be opened, see
https://github.com/vercel/next.js/discussions/new?category=ideas )
- Related issues/discussions are linked using `fixes #number`
- e2e tests added
(https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs )
- Documentation added
- Telemetry added. In case of a feature if it's used or not.
- Errors have a helpful link attached, see
https://github.com/vercel/next.js/blob/canary/contributing.md
## For Maintainers
- Minimal description (aim for explaining to someone not on the team to
understand the PR)
- When linking to a Slack thread, you might want to share details of the
conclusion
- Link both the Linear (Fixes NEXT-xxx) and the GitHub issues
- Add review comments if necessary to explain to the reviewer the logic
behind a change
### What?
### Why?
### How?
Closes NEXT-
Fixes #
-->
Closes NEXT-3164
2024-04-19 18:26:54 +00:00
vercel-release-bot
35879797e7
v14.3.0-canary.12
2024-04-19 15:39:50 +00:00
vercel-release-bot
35838c5bfb
v14.3.0-canary.11
2024-04-18 23:22:57 +00:00
Wyatt Johnson
64e2ffc1e0
[actions] Enforce body limit using Transform stream ( #64694 )
...
<!-- Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that
you follow the checklist sections below.
Choose the right checklist for the change(s) that you're making:
## For Contributors
### Improving Documentation
- Run `pnpm prettier-fix` to fix formatting issues before opening the
PR.
- Read the Docs Contribution Guide to ensure your contribution follows
the docs guidelines:
https://nextjs.org/docs/community/contribution-guide
### Adding or Updating Examples
- The "examples guidelines" are followed from our contributing doc
https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md
- Make sure the linting passes by running `pnpm build && pnpm lint`. See
https://github.com/vercel/next.js/blob/canary/contributing/repository/linting.md
### Fixing a bug
- Related issues linked using `fixes #number`
- Tests added. See:
https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs
- Errors have a helpful link attached, see
https://github.com/vercel/next.js/blob/canary/contributing.md
### Adding a feature
- Implements an existing feature request or RFC. Make sure the feature
request has been accepted for implementation before opening a PR. (A
discussion must be opened, see
https://github.com/vercel/next.js/discussions/new?category=ideas )
- Related issues/discussions are linked using `fixes #number`
- e2e tests added
(https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs )
- Documentation added
- Telemetry added. In case of a feature if it's used or not.
- Errors have a helpful link attached, see
https://github.com/vercel/next.js/blob/canary/contributing.md
## For Maintainers
- Minimal description (aim for explaining to someone not on the team to
understand the PR)
- When linking to a Slack thread, you might want to share details of the
conclusion
- Link both the Linear (Fixes NEXT-xxx) and the GitHub issues
- Add review comments if necessary to explain to the reviewer the logic
behind a change
### What?
### Why?
### How?
Closes NEXT-
Fixes #
-->
### What?
This ensures that the body limit option is enforced on all request
bodies sent to the Node.js runtime, not just the multipart field size
limits.
### Why?
The documentation states that this should limit the body size,
previously it only limited the field size.
### How?
This uses a `Transform` stream from Node.js. [Based on my
benchmarks](https://gist.github.com/wyattjoh/c470d98095da2f95f5920396aba2a206 )
using the transform stream added next to no overhead, yet it did
simplify the implementation quite a bit. Assuming this is due to the
already performant stream support within Node.js.
Closes NEXT-3151
2024-04-18 16:04:20 -06:00
vercel-release-bot
58f92b05f4
v14.3.0-canary.10
2024-04-18 19:40:52 +00:00
vercel-release-bot
36e8706933
v14.3.0-canary.9
2024-04-17 23:14:42 +00:00
Benjamin Woodruff
b7a84913be
update turbopack ( #64686 )
...
* https://github.com/vercel/turbo/pull/7995 <!-- Benjamin Woodruff - fix(turbopack-node) postcss.config.js path resolution on Windows -->
(plus unrelated turborepo + CI changes)
This PR should not be cherrypicked into the 14-2-1 branch. Instead https://github.com/vercel/next.js/pull/64677 should be merged into that branch, as that PR contains only the one above Windows commit.
2024-04-17 15:41:06 -07:00
vercel-release-bot
e49daec80a
v14.3.0-canary.8
2024-04-17 17:26:03 +00:00
Jiachi Liu
1e3a1cbaab
Upgrade typescript to 5.3 ( #64043 )
...
Closes NEXT-2997
---------
Co-authored-by: eps1lon <sebastian.silbermann@vercel.com>
2024-04-17 18:35:29 +02:00
vercel-release-bot
bc1d19071f
v14.3.0-canary.7
2024-04-17 08:49:52 +00:00
vercel-release-bot
a9ff94f466
v14.3.0-canary.6
2024-04-16 23:22:28 +00:00
vercel-release-bot
649a07c7f4
v14.3.0-canary.5
2024-04-16 14:16:19 +00:00
Tobias Koppers
064788fee3
fix HMR for cases where chunking changes ( #64367 )
...
* test case for https://github.com/vercel/turbo/pull/7947
* fix source map retrieval for HMR-updated assets
Closes PACK-2944
2024-04-16 12:36:41 +02:00
vercel-release-bot
cb744ecfbd
v14.3.0-canary.4
2024-04-15 23:22:22 +00:00
Sam Ko
be2c20a6e2
chore(next/font): update @capsizecss/metrics package ( #64528 )
...
## Why?
Having the latest `@capsizecss/metrics` package allows us to have the
latest font fallbacks when using
[`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts ).
- x-ref:
https://github.com/vercel/next.js/issues/47115#issuecomment-2051755660
- x-ref:
https://github.com/vercel/next.js/issues/47115#issuecomment-2055079526
-
https://github.com/seek-oss/capsize/releases/tag/%40capsizecss%2Fmetrics%403.0.0
Closes NEXT-3123
2024-04-15 15:14:58 -07:00
vercel-release-bot
b647facf0b
v14.3.0-canary.3
2024-04-15 22:05:01 +00:00
vercel-release-bot
a9adf0db67
v14.3.0-canary.2
2024-04-15 21:45:17 +00:00
vercel-release-bot
19c206038b
v14.3.0-canary.1
2024-04-15 21:13:24 +00:00
Tobias Koppers
3491417ac5
update turbopack ( #64501 )
...
* https://github.com/vercel/turbo/pull/7858 <!-- Tobias Koppers -
refactor GlobalCssAsset to fix dynamic import of css -->
* https://github.com/vercel/turbo/pull/7944 <!-- Will Binns-Smith -
Update lockfile for compatibility with next.js -->
* https://github.com/vercel/turbo/pull/7936 <!-- Tobias Koppers - fix
panic when searching an the root span -->
* https://github.com/vercel/turbo/pull/7959 <!-- Tobias Koppers - fix
missing async loader -->
2024-04-15 22:19:31 +02:00
vercel-release-bot
03b7a0fb12
v14.3.0-canary.0
2024-04-15 17:24:31 +00:00
vercel-release-bot
97b4a99b0b
v14.2.1-canary.7
2024-04-15 16:21:28 +00:00
vercel-release-bot
f9cd55ff32
v14.2.1-canary.6
2024-04-15 10:45:59 +00:00
vercel-release-bot
33e8334d35
v14.2.1-canary.5
2024-04-14 21:39:40 +00:00
vercel-release-bot
2a605af154
v14.2.1-canary.4
2024-04-13 23:23:45 +00:00
vercel-release-bot
68f722ba2d
v14.2.1-canary.3
2024-04-12 23:19:45 +00:00
vercel-release-bot
6fb9efbcaa
v14.2.1-canary.2
2024-04-12 18:01:43 +00:00
vercel-release-bot
c2b62d49c7
v14.2.1-canary.1
2024-04-12 10:09:21 +00:00
vercel-release-bot
6d96c3f468
v14.2.1-canary.0
2024-04-11 20:33:27 +00:00
vercel-release-bot
774563f2b9
v14.2.0
2024-04-11 19:35:36 +00:00
vercel-release-bot
7aabb1d5ce
v14.2.0-canary.67
2024-04-11 17:23:54 +00:00
Tobias Koppers
cbee70991f
update turbopack ( #64347 )
...
* https://github.com/vercel/turbo/pull/7409 <!-- hrmny - chore: add
parallel rust frontend and remove unused rust dependencies -->
* https://github.com/vercel/turbo/pull/7920 <!-- Tobias Koppers - remove
warning when there is no PostCSS config -->
* https://github.com/vercel/turbo/pull/7856 <!-- Donny/강동윤 - build:
Update `swc_core` to `v0.90.29` -->
* https://github.com/vercel/turbo/pull/7941 <!-- Tobias Koppers - fix
recursion cycle when having a cycle of dynamic imports -->
* https://github.com/vercel/turbo/pull/7943 <!-- Tobias Koppers - fix
HMR by removing chunks from chunk list hash -->
2024-04-11 19:16:27 +02:00
vercel-release-bot
265d7b97ba
v14.2.0-canary.66
2024-04-11 15:14:55 +00:00
Tobias Koppers
6224b9e29f
Revert "build: Update swc_core
to v0.90.30
" ( #64329 )
...
Reverts vercel/next.js#63790
2024-04-11 11:47:50 +02:00
Donny/강동윤
02dd1e55f0
build: Update swc_core
to v0.90.30
( #63790 )
...
# Turbopack
* https://github.com/vercel/turbo/pull/7409 <!-- hrmny - chore: add
parallel rust frontend and remove unused rust dependencies -->
* https://github.com/vercel/turbo/pull/7920 <!-- Tobias Koppers - remove
warning when there is no PostCSS config -->
* https://github.com/vercel/turbo/pull/7929 <!-- Tim Neutkens - Remove
environment variables page from Turbopack docs -->
* https://github.com/vercel/turbo/pull/7926 <!-- Tim Neutkens - Remove
outdated section -->
* https://github.com/vercel/turbo/pull/7925 <!-- Tim Neutkens - Update
Turbopack CSS docs -->
* https://github.com/vercel/turbo/pull/7928 <!-- Tim Neutkens - Update
Next.js mention in Turbopack docs -->
* https://github.com/vercel/turbo/pull/7856 <!-- Donny/강동윤 - build:
Update `swc_core` to `v0.90.29` -->
### What?
Update SWC crates.
### Why?
1. To keep in sync
2. Prepare usage of source map range mappings.
https://github.com/getsentry/rust-sourcemap/pull/77
### How?
Closes PACK-2860
2024-04-11 00:09:18 +00:00
vercel-release-bot
22754faff6
v14.2.0-canary.65
2024-04-10 23:22:42 +00:00
vercel-release-bot
167ea3382f
v14.2.0-canary.64
2024-04-09 21:36:28 +00:00
Tobias Koppers
dedf385450
update turbopack ( #64257 )
...
* https://github.com/vercel/turbo/pull/7912 <!-- Tobias Koppers - fix
edge condition in environment -->
* https://github.com/vercel/turbo/pull/7914 <!-- hrmny - feat: support
interop for namespace importing cjs function exports -->
2024-04-09 23:33:01 +02:00
vercel-release-bot
c289063517
v14.2.0-canary.63
2024-04-08 23:22:35 +00:00
vercel-release-bot
e46d088aec
v14.2.0-canary.62
2024-04-07 23:22:18 +00:00
vercel-release-bot
42f8ac16c6
v14.2.0-canary.61
2024-04-06 23:21:38 +00:00
vercel-release-bot
acaf642fbd
v14.2.0-canary.60
2024-04-05 23:22:28 +00:00
vercel-release-bot
a00bed86d0
v14.2.0-canary.59
2024-04-05 18:36:31 +00:00
vercel-release-bot
073cd74433
v14.2.0-canary.58
2024-04-04 23:48:21 +00:00
vercel-release-bot
710cf7c27f
v14.2.0-canary.57
2024-04-04 23:22:38 +00:00
vercel-release-bot
e273b335da
v14.2.0-canary.56
2024-04-03 23:23:53 +00:00
Jiwon Choi
e8349a52ba
test(cna): split and refactor ( #63921 )
...
> Note: Did not add additional tests or make many changes to the utils,
possible refactoring on the following PR.
This PR split the legacy tests into four sections to improve the
maintenance and concurrency of CNA tests:
- `prompts`: target prompt interactions. `Y/n`
- `examples`: target `--example` and `--example-path` flags.
- `templates`: target the flag values such as `--app`, `--eslint`, etc.
- `package-manager`: target package managers: npm, pnpm, yarn, bun
---------
Co-authored-by: JJ Kasper <jj@jjsweb.site>
2024-04-03 10:16:40 -07:00
vercel-release-bot
e8ffd337df
v14.2.0-canary.55
2024-04-03 16:07:20 +00:00
vercel-release-bot
2db296e4fa
v14.2.0-canary.54
2024-04-02 23:22:33 +00:00
vercel-release-bot
94b19bbad2
v14.2.0-canary.53
2024-04-02 21:15:15 +00:00
vercel-release-bot
f4aeebf099
v14.2.0-canary.52
2024-04-01 23:23:00 +00:00
vercel-release-bot
952da876f7
v14.2.0-canary.51
2024-03-31 23:21:05 +00:00
vercel-release-bot
1c5aa7fa09
v14.2.0-canary.50
2024-03-30 23:21:02 +00:00
vercel-release-bot
274a764625
v14.2.0-canary.49
2024-03-29 22:36:19 +00:00
Donny/강동윤
29d53c87ea
feat(next-swc): Pass names of side-effect-free packages ( #63268 )
...
### What?
Pass the names of side-effect-free packages specified in `experimental.optimizePackageImports`.
Turbopack counterpart: https://github.com/vercel/turbo/pull/7731
### Why?
Some packages like `@tremor/react` causes a problem without `optimizePackageImports`.
### How?
Closes PACK-2527
2024-03-29 06:28:48 +00:00
vercel-release-bot
cbf901ca69
v14.2.0-canary.48
2024-03-28 23:21:44 +00:00
vercel-release-bot
fe9ce66262
v14.2.0-canary.47
2024-03-28 13:38:44 +00:00
vercel-release-bot
0c21ff7df6
v14.2.0-canary.46
2024-03-27 23:21:35 +00:00
vercel-release-bot
1d9833bc63
v14.2.0-canary.45
2024-03-27 19:12:36 +00:00
Tobias Koppers
ab5d0a2002
update turbopack ( #63778 )
...
* https://github.com/vercel/turbo/pull/7797 <!-- Tobias Koppers - fix
externals in side-effect optimized modules -->
* https://github.com/vercel/turbo/pull/7830 <!-- Tobias Koppers - Avoid
showing import map description in resolving issue when there is no
import map mapping -->
* https://github.com/vercel/turbo/pull/7833 <!-- Tobias Koppers - add
next.js trace format -->
* https://github.com/vercel/turbo/pull/7835 <!-- Tobias Koppers -
correct global start by first start time -->
* https://github.com/vercel/turbo/pull/7812 <!-- Will Binns-Smith -
Turbopack docs: Fix broken webpack loaders link -->
* https://github.com/vercel/turbo/pull/7847 <!-- Will Binns-Smith -
Turbo tasks: Reuse aggregation context and apply queued updates -->
* https://github.com/vercel/turbo/pull/7840 <!-- Tobias Koppers - add
concurrency corrected duration -->
* https://github.com/vercel/turbo/pull/7854 <!-- Tobias Koppers - fix
size_hint on count hash set -->
2024-03-27 20:09:08 +01:00
vercel-release-bot
2fc408d66d
v14.2.0-canary.44
2024-03-26 23:23:31 +00:00
vercel-release-bot
c7dbbd9a54
v14.2.0-canary.43
2024-03-25 23:22:56 +00:00
vercel-release-bot
c2e3d9ac18
v14.2.0-canary.42
2024-03-25 15:57:25 +00:00
Donny/강동윤
6b6590592e
Update turbopack ( #63541 )
...
# Turbopack
* https://github.com/vercel/turbo/pull/7815 <!-- Tobias Koppers - fix
alias in getResolve -->
* https://github.com/vercel/turbo/pull/7796 <!-- Donny/강동윤 - Update
`swc_core` to `v0.90.24` -->
* https://github.com/vercel/turbo/pull/7775 <!-- Tobias Koppers - fix
single css chunks with import context -->
* https://github.com/vercel/turbo/pull/7776 <!-- Tobias Koppers - change
port of trace-server -->
* https://github.com/vercel/turbo/pull/7763 <!-- Tobias Koppers -
Tracing improvements -->
* https://github.com/vercel/turbo/pull/7813 <!-- Tobias Koppers - fix
webpack loader incorrectly calling custom_evaluate -->
* https://github.com/vercel/turbo/pull/7764 <!-- Tobias Koppers - fix
some small bugs in turbo-tasks that are required for GC -->
* https://github.com/vercel/turbo/pull/7816 <!-- Chris Olszewski -
chore: remove some unused imports -->
* https://github.com/vercel/turbo/pull/7823 <!-- OJ Kwon -
fix(sourcemap): update sourcemap, remove checker -->
### What?
Update SWC crates to
ad932f0921
### Why?
To keep in sync.
### How?
- Closes PACK-2807
- Closes PACK-2819
---------
Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
2024-03-25 03:15:02 +00:00
vercel-release-bot
ce0120954e
v14.2.0-canary.41
2024-03-24 23:23:19 +00:00
vercel-release-bot
2746990135
v14.2.0-canary.40
2024-03-23 23:21:07 +00:00
vercel-release-bot
65d699e7d7
v14.2.0-canary.39
2024-03-22 21:20:06 +00:00
vercel-release-bot
fe87d8c6f9
v14.2.0-canary.38
2024-03-22 12:39:08 +00:00
Kiko Beats
0f6a6b232a
chore: upgrade @edge-runtime/cookies
( #63602 )
2024-03-22 10:58:49 +00:00
vercel-release-bot
368e9aa9ae
v14.2.0-canary.37
2024-03-21 23:51:55 +00:00
vercel-release-bot
d1248a7536
v14.2.0-canary.36
2024-03-21 23:23:03 +00:00
Maël Nison
7de7cbf283
Upgrades enhanced-resolve ( #63499 )
...
This PR upgrades `enhanced-resolve` to `5.16.0` so as to benefit from
https://github.com/webpack/enhanced-resolve/pull/301 , recently merged.
Without this diff, importing dependencies from files from external PnP
projects would fail. It's a little niche, but I'm working on a
documentation website that leverages that to allow deploying multiple
websites from the same template.
Co-authored-by: Sam Ko <sam@vercel.com>
Co-authored-by: Steven <steven@ceriously.com>
2024-03-21 15:27:15 -04:00
vercel-release-bot
04f5781c1b
v14.2.0-canary.35
2024-03-21 17:49:30 +00:00
vercel-release-bot
c0f9d246d1
v14.2.0-canary.34
2024-03-20 23:22:37 +00:00
vercel-release-bot
833df606b2
v14.2.0-canary.33
2024-03-19 23:22:30 +00:00
vercel-release-bot
ad4a7bf403
v14.2.0-canary.32
2024-03-19 22:10:11 +00:00
Tobias Koppers
14f16c7050
update turbopack ( #63475 )
...
* https://github.com/vercel/turbo/pull/7762 <!-- Tobias Koppers - avoid
panic -->
* https://github.com/vercel/turbo/pull/7750 <!-- Tobias Koppers - fix
ASSET_PREFIX -->
* https://github.com/vercel/turbo/pull/7761 <!-- Tobias Koppers -
process source maps from webpack loaders -->
2024-03-19 15:58:19 +01:00
vercel-release-bot
7943315cce
v14.2.0-canary.31
2024-03-19 14:48:23 +00:00
Sam Ko
73b4bfbc20
chore(next/font): update @capsizecss/metrics package to the latest ( #63440 )
...
## Why?
-
https://github.com/seek-oss/capsize/releases/tag/%40capsizecss%2Fmetrics%402.2.0
Closes NEXT-2854
2024-03-19 00:22:17 +00:00
Zack Tanner
15e76ead7e
Update React from 6c3b8dbfe to 14898b6a9 ( #63439 )
...
Update React from 6c3b8dbfe to 14898b6a9.
### React upstream changes
- https://github.com/facebook/react/pull/28580
Closes NEXT-2853
2024-03-19 00:18:18 +00:00
vercel-release-bot
1439503b3b
v14.2.0-canary.30
2024-03-18 23:21:43 +00:00
OJ Kwon
e12535c706
build(cargo): bump up turbopack ( #63429 )
...
### What
fix test/development/acceptance-app/app-hmr-changes.test.ts.
Closes PACK-2765
2024-03-18 21:11:37 +00:00
vercel-release-bot
57da10beea
v14.2.0-canary.29
2024-03-18 19:47:03 +00:00
OJ Kwon
2cd58bb091
build(package): pin typescript-eslint/parser for supported node.js ( #63424 )
...
### What
https://github.com/typescript-eslint/typescript-eslint/pull/8671
introduces a change to enforce node.js >= 18.18.0. This is technically
breaking changes, and affects us as we support 18.17.0 still
(https://github.com/vercel/next.js/blob/canary/package.json#L254 ).
As a workaround, pin dep version to avoid 7.3.0 - later when we lift our
engines, can remove those.
Closes PACK-2763
2024-03-18 15:43:34 -04:00
vercel-release-bot
8b9e18503c
v14.2.0-canary.28
2024-03-18 10:01:02 +00:00
vercel-release-bot
8d5e9178f9
v14.2.0-canary.27
2024-03-17 23:23:04 +00:00
vercel-release-bot
f1a999ee73
v14.2.0-canary.26
2024-03-16 22:31:13 +00:00
vercel-release-bot
3b6b04ae2c
v14.2.0-canary.25
2024-03-16 20:06:26 +00:00
vercel-release-bot
fd692b61e0
v14.2.0-canary.24
2024-03-15 23:22:11 +00:00
vercel-release-bot
39a8429ac4
v14.2.0-canary.23
2024-03-14 23:21:31 +00:00
vercel-release-bot
847b340180
v14.2.0-canary.22
2024-03-14 12:45:30 +00:00
Donny/강동윤
92fbd7802c
build: Update turbopack ( #63273 )
...
# Turbopack changes
* https://github.com/vercel/turbo/pull/7726 <!-- OJ Kwon - feat(node): augment webpack loader's logger context -->
* https://github.com/vercel/turbo/pull/7729 <!-- Donny/강동윤 - Update `swc_core` to `v0.90.22` -->
2024-03-14 08:53:14 +00:00
vercel-release-bot
768a92b15b
v14.2.0-canary.21
2024-03-13 23:21:44 +00:00
vercel-release-bot
9d601afb08
v14.2.0-canary.20
2024-03-13 17:25:13 +00:00
Donny/강동윤
013ba06810
chore: Update swc_core
to v0.90.21
( #63031 )
...
### What?
- Update `swc_core` to fix performance regression caused by the creation
of the `tokio` runtime.
This PR practically reverts
https://github.com/vercel/next.js/pull/62441 .
- Apply various minifier bug fixes.
- https://github.com/swc-project/swc/pull/8730
- https://github.com/swc-project/swc/pull/8733
- https://github.com/swc-project/swc/pull/8725
- https://github.com/swc-project/swc/pull/8726
- https://github.com/swc-project/swc/pull/8727
- Apply https://github.com/swc-project/plugins/pull/271 (Closes
PACK-2714)
### Why?
Someone reported a performance regression. See
https://github.com/swc-project/swc/issues/8708
### How?
Closes PACK-2693
---------
Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com>
2024-03-13 17:11:43 +00:00
Tim Neutkens
8ef121dff5
Implement new runtime_type for Turbopack ( #63212 )
...
## What?
Implementation of https://github.com/vercel/turbo/pull/7711
<!-- Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that
you follow the checklist sections below.
Choose the right checklist for the change(s) that you're making:
## For Contributors
### Improving Documentation
- Run `pnpm prettier-fix` to fix formatting issues before opening the
PR.
- Read the Docs Contribution Guide to ensure your contribution follows
the docs guidelines:
https://nextjs.org/docs/community/contribution-guide
### Adding or Updating Examples
- The "examples guidelines" are followed from our contributing doc
https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md
- Make sure the linting passes by running `pnpm build && pnpm lint`. See
https://github.com/vercel/next.js/blob/canary/contributing/repository/linting.md
### Fixing a bug
- Related issues linked using `fixes #number`
- Tests added. See:
https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs
- Errors have a helpful link attached, see
https://github.com/vercel/next.js/blob/canary/contributing.md
### Adding a feature
- Implements an existing feature request or RFC. Make sure the feature
request has been accepted for implementation before opening a PR. (A
discussion must be opened, see
https://github.com/vercel/next.js/discussions/new?category=ideas )
- Related issues/discussions are linked using `fixes #number`
- e2e tests added
(https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs )
- Documentation added
- Telemetry added. In case of a feature if it's used or not.
- Errors have a helpful link attached, see
https://github.com/vercel/next.js/blob/canary/contributing.md
## For Maintainers
- Minimal description (aim for explaining to someone not on the team to
understand the PR)
- When linking to a Slack thread, you might want to share details of the
conclusion
- Link both the Linear (Fixes NEXT-xxx) and the GitHub issues
- Add review comments if necessary to explain to the reviewer the logic
behind a change
### What?
### Why?
### How?
Closes NEXT-
Fixes #
-->
Closes NEXT-2791
---------
Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com>
2024-03-13 16:16:57 +01:00
Donny/강동윤
3e6720c364
build: Update turbopack ( #63229 )
...
# Turbopack
* https://github.com/vercel/turbo/pull/7719 <!-- Tobias Koppers - accept
css files outside of the project as virtual assets -->
* https://github.com/vercel/turbo/pull/7661 <!-- Tobias Koppers - more
efficient node.js process startup -->
* https://github.com/vercel/turbo/pull/7720 <!-- Tobias Koppers -
generate correct async module handling for side effects optimization -->
* https://github.com/vercel/turbo/pull/7718 <!-- Donny/강동윤 -
fix(turbopack): Fix CSS Modules class name for lightningcss mode -->
### What?
Update tests to make CSS Modules of `lightningcss` work with CSS grids.
### Why?
`lightningcss` enforces the class name to end with `[local]`.
See: https://lightningcss.dev/css-modules.html#css-grid
### How?
Closes PACK-2731
2024-03-13 10:13:56 +00:00
vercel-release-bot
ca10b73cd5
v14.2.0-canary.19
2024-03-12 23:22:31 +00:00
Tobias Koppers
18547d5fd0
add support for assets in edge ( #63209 )
...
### What?
add support for `new URL(..., import.meta.url)` assets in edge. e. g.
needed for og-image.
### Why?
### Turbopack Changes
* https://github.com/vercel/turbo/pull/7712 <!-- Tobias Koppers - allow
to use full urls in browser runtime -->
Closes PACK-2725
2024-03-12 21:37:16 +00:00
OJ Kwon
11af8dd96f
build(cargo): bump up turbopack ( #63205 )
...
* https://github.com/vercel/turbo/pull/7696 <!-- Leah -
fix(turbopack-ecmascript): always create values from object
destructuring -->
* https://github.com/vercel/turbo/pull/7709 <!-- OJ Kwon - build(cargo):
bump up deps, resolve build failures
Resolves build failurs with recent transitive deps bump.
Closes PACK-2720
2024-03-12 21:50:10 +01:00
vercel-release-bot
c1daa769f6
v14.2.0-canary.18
2024-03-12 17:31:06 +00:00
vercel-release-bot
0e9baea77f
v14.2.0-canary.17
2024-03-12 15:10:31 +00:00
Sam Ko
7b5d81c0c9
chore: upgrade turbo to 1.12.5 ( #63163 )
2024-03-11 20:35:54 -04:00
vercel-release-bot
d4069559f2
v14.2.0-canary.16
2024-03-11 23:23:31 +00:00
vercel-release-bot
6d0d1fe347
v14.2.0-canary.15
2024-03-11 22:00:55 +00:00
vercel-release-bot
da72b60e37
v14.2.0-canary.14
2024-03-11 20:51:37 +00:00
Donny/강동윤
d55699d5f7
feat(turbopack): Enable lightningcss
for turbopack by default ( #62565 )
...
# Turbopack
* https://github.com/vercel/turbo/pull/7682 <!-- Will Binns-Smith -
Turbopack HMR: url-encode sourceURLs -->
* https://github.com/vercel/turbo/pull/7524 <!-- Donny/강동윤 -
feat(turbopack): Enable lightningcss for turbopack by default -->
### What?
Enable lightningcss by default, for `--turbo` mode.
### Why?
It's time to do it 😄
### How?
Turbopack counterpart: https://github.com/vercel/turbo/pull/7524
Closes PACK-2600
2024-03-11 06:49:43 +00:00
vercel-release-bot
6fee6b271b
v14.2.0-canary.13
2024-03-10 23:23:45 +00:00
vercel-release-bot
fff9ddc204
v14.2.0-canary.12
2024-03-09 23:23:12 +00:00
OJ Kwon
42b42a6498
build(cargo): bump up turbopack ( #63073 )
...
### What
* https://github.com/vercel/turbo/pull/7684 <!-- OJ Kwon -
feat(resolve): skip alias to d.ts -->
Closes PACK-2702
2024-03-09 01:29:21 +00:00
vercel-release-bot
a2457c979b
v14.2.0-canary.11
2024-03-08 23:24:43 +00:00
vercel-release-bot
5482940dd9
v14.2.0-canary.10
2024-03-08 15:19:20 +00:00
Tobias Koppers
72d88c1596
app layouts/pages depend on shared main files ( #63042 )
...
### What?
avoid duplication of next.js internals in app dir
For the example/hello-world:
Before:
```
Route (app) Size First Load JS
┌ ○ / 15 kB 184 kB
└ ○ /_not-found 15 kB 184 kB
+ First Load JS shared by all 169 kB
├ chunks/[project]__929616._.js 85.2 kB
├ chunks/[project]_packages_next_dist_0f911b._.js 83.2 kB
└ other shared chunks (total) 230 B
```
After:
```
Route (app) Size First Load JS
┌ ○ / 15 kB 104 kB
└ ○ /_not-found 15 kB 104 kB
+ First Load JS shared by all 88.9 kB
├ chunks/[project]_packages_next_dist_0f911b._.js 83.2 kB
└ other shared chunks (total) 5.7 kB
```
Closes PACK-2695
### Turbopack changes
* https://github.com/vercel/turbo/pull/7617 <!-- OJ Kwon -
feat(turbopack): add missing webpack context property -->
* https://github.com/vercel/turbo/pull/7676 <!-- Tim Neutkens -
Implement minify for Turbopack runtime file -->
* https://github.com/vercel/turbo/pull/7677 <!-- Tobias Koppers - add
FullContextTransition -->
2024-03-08 16:12:33 +01:00
vercel-release-bot
af5b4db98a
v14.2.0-canary.9
2024-03-08 08:29:26 +00:00
Tim Neutkens
36e401ecc5
Enable minification for Turbopack ( #62994 )
...
## What?
Implementation for https://github.com/vercel/turbo/pull/7660 . Enables
minification of browser files.
<!-- Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that
you follow the checklist sections below.
Choose the right checklist for the change(s) that you're making:
## For Contributors
### Improving Documentation
- Run `pnpm prettier-fix` to fix formatting issues before opening the
PR.
- Read the Docs Contribution Guide to ensure your contribution follows
the docs guidelines:
https://nextjs.org/docs/community/contribution-guide
### Adding or Updating Examples
- The "examples guidelines" are followed from our contributing doc
https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md
- Make sure the linting passes by running `pnpm build && pnpm lint`. See
https://github.com/vercel/next.js/blob/canary/contributing/repository/linting.md
### Fixing a bug
- Related issues linked using `fixes #number`
- Tests added. See:
https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs
- Errors have a helpful link attached, see
https://github.com/vercel/next.js/blob/canary/contributing.md
### Adding a feature
- Implements an existing feature request or RFC. Make sure the feature
request has been accepted for implementation before opening a PR. (A
discussion must be opened, see
https://github.com/vercel/next.js/discussions/new?category=ideas )
- Related issues/discussions are linked using `fixes #number`
- e2e tests added
(https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs )
- Documentation added
- Telemetry added. In case of a feature if it's used or not.
- Errors have a helpful link attached, see
https://github.com/vercel/next.js/blob/canary/contributing.md
## For Maintainers
- Minimal description (aim for explaining to someone not on the team to
understand the PR)
- When linking to a Slack thread, you might want to share details of the
conclusion
- Link both the Linear (Fixes NEXT-xxx) and the GitHub issues
- Add review comments if necessary to explain to the reviewer the logic
behind a change
### What?
### Why?
### How?
Closes NEXT-
Fixes #
-->
Closes NEXT-2742
---------
Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com>
2024-03-08 08:11:50 +01:00
vercel-release-bot
ea5b23c870
v14.2.0-canary.8
2024-03-07 23:24:26 +00:00
vercel-release-bot
0b679a0fed
v14.2.0-canary.7
2024-03-07 21:37:05 +00:00
Donny/강동윤
03d89bc56d
Update turbopack ( #62971 )
...
# Turbopack
* https://github.com/vercel/turbo/pull/7625 <!-- Tobias Koppers -
generate calls of bindings correctly without this context -->
* https://github.com/vercel/turbo/pull/7621 <!-- Donny/강동윤 - fix: Fix
purity lint for CSS Modules in swc mode -->
* https://github.com/vercel/turbo/pull/7640 <!-- Tobias Koppers - very
dynamic requests will only lead to a warning -->
* https://github.com/vercel/turbo/pull/7639 <!-- Donny/강동윤 - build:
Update `swc_core` to `v0.90.17` -->
### What?
Update turbopack
### Why?
To keep in sync
### How?
2024-03-07 14:30:54 +01:00
Donny/강동윤
5be869b667
build: Update swc_core
to v0.90.17
( #62924 )
...
### What?
Update SWC crates.
### Why?
To keep in sync.
### How?
Closes PACK-2670
2024-03-07 11:25:16 +09:00
vercel-release-bot
dd6cfd9882
v14.2.0-canary.6
2024-03-06 23:22:59 +00:00
Sam Ko
ee273c42bc
chore(next-font): update @capsize/metrics package to the latest ( #62896 )
...
## Why?
We need to be up-to-date with this package so our `next/font` is working
optimally. → https://github.com/seek-oss/capsize/releases .
Unlikely related to the latest
[comment](https://github.com/vercel/next.js/issues/47115#issuecomment-1979248754 ),
but a good reminder I need to check this regularly (or we should
automate it, or have a better solution).
Closes NEXT-2715
2024-03-06 12:04:20 -08:00
vercel-release-bot
e28be5377f
v14.2.0-canary.5
2024-03-06 19:57:27 +00:00
JJ Kasper
67eca23ae5
Upgrade to latest @edge-runtime packages ( #62955 )
...
This upgrades to the latest edge-runtime packages as it includes
exposing `performance`. This was reverted previously as our publishes
were failing with a specific change that has since been removed
upstream.
Closes NEXT-2730
2024-03-06 11:43:48 -08:00
Donny/강동윤
3ed96f92cb
feat: Introduce lightningcss-loader for webpack users ( #61327 )
...
### What?
I'm recreating a PR because CI of
https://github.com/vercel/next.js/pull/58712 uses `lightningcss@1.14.0`
for an unknown reason.
Add an opt-in feature to use `lightningcss` instead of webpack
css-loader.
### Why?
In the name of performance.
### How?
This PR is largely based on https://github.com/fz6m/lightningcss-loader
by @fz6m.
(Thank you for nice work)
Closes PACK-1998
Closes PACK-2124
---------
Co-authored-by: OJ Kwon <1210596+kwonoj@users.noreply.github.com>
2024-03-06 17:07:53 +01:00
vercel-release-bot
1ad3963d44
v14.2.0-canary.4
2024-03-06 12:03:01 +00:00
vercel-release-bot
6e8a859bca
v14.2.0-canary.3
2024-03-06 09:51:39 +00:00
vercel-release-bot
6045048b26
v14.2.0-canary.2
2024-03-05 23:25:45 +00:00
vercel-release-bot
d0b30787e2
v14.2.0-canary.1
2024-03-05 20:48:05 +00:00
monssef
8d8ec75912
bump @edge-runtime/cookies for Partitioned cookie support ( #62889 )
...
Bumps `@edge-runtime/cookies` to add support for `set-Cookie:
Partitioned` attribute
- https://github.com/vercel/edge-runtime/pull/825
-
https://developer.mozilla.org/en-US/docs/Web/Privacy/Privacy_sandbox/Partitioned_cookies
2024-03-05 19:34:35 +00:00
Tobias Koppers
405933a0ea
update turbopack ( #62884 )
...
* https://github.com/vercel/turbo/pull/7622 <!-- Tobias Koppers - don't
apply alternatives if there is an exports field -->
2024-03-05 15:57:50 +00:00
vercel-release-bot
07e5b60a03
v14.2.0-canary.0
2024-03-05 01:09:36 +00:00
JJ Kasper
e5a4e82f30
Update start release handling ( #62851 )
...
This removes the hacky handling for executing lerna with using the
official commands directly, this also removes the legacy package.json
scripts we had for publishing.
Closes NEXT-2700
---------
Co-authored-by: Zack Tanner <zacktanner@gmail.com>
2024-03-04 16:28:22 -08:00
JJ Kasper
eeb2369a5d
Update to latest version ( #62850 )
...
Updates our version to match the last backport for canaries.
Closes NEXT-2699
2024-03-04 16:04:21 -08:00
vercel-release-bot
a1c9c3b9d4
v14.1.2-canary.7
2024-03-04 23:22:19 +00:00
vercel-release-bot
91a84b3ee2
v14.1.2-canary.6
2024-03-04 21:47:40 +00:00
vercel-release-bot
b80d388032
v14.1.2-canary.5
2024-03-04 16:11:11 +00:00
vercel-release-bot
330b04ff55
v14.1.2-canary.4
2024-03-04 12:29:28 +00:00
Tobias Koppers
92eecbfdff
Turbopack: sass support ( #62717 )
...
### What?
* upgrades turbopack for `getResolve` in webpack loaders
* add missing resolve-url-loader to turbopack for full sass support
Closes PACK-2634
2024-03-04 11:56:55 +00:00
OJ Kwon
e9862a80f8
build(cargo): update turbopack ( #62744 )
...
### What
* https://github.com/vercel/turbo/pull/7544 <!-- Tobias Koppers -
extract a turbopack-resolve crate -->
* https://github.com/vercel/turbo/pull/7547 <!-- Tobias Koppers - only
register once -->
* https://github.com/vercel/turbo/pull/7447 <!-- Leah - fix(turbopack):
catch invalid source map paths -->
* https://github.com/vercel/turbo/pull/7503 <!-- Leah -
fix(turbopack-node): don't bundle postcss config -->
* https://github.com/vercel/turbo/pull/7445 <!-- Tobias Koppers - allow
to set a name on the virtual file system -->
* https://github.com/vercel/turbo/pull/7552 <!-- Tobias Koppers - add
default_files, prefer_relative and fully_specified resolve options -->
* https://github.com/vercel/turbo/pull/7560 <!-- Tobias Koppers - remove
unused code -->
* https://github.com/vercel/turbo/pull/7562 <!-- Tobias Koppers - add
getResolve to webpack loader context -->
* https://github.com/vercel/turbo/pull/7564 <!-- Tobias Koppers - fix
serde deserialization -->
* https://github.com/vercel/turbo/pull/7566 <!-- Tobias Koppers - Revert
"add getResolve to webpack loader context" -->
* https://github.com/vercel/turbo/pull/7565 <!-- Tobias Koppers - Ignore
circular aliasing with alias field -->
* https://github.com/vercel/turbo/pull/7320 <!-- OJ Kwon -
feat(turbo-tasks-fetch): allow specifying a proxy -->
* https://github.com/vercel/turbo/pull/7573 <!-- OJ Kwon - Revert
"Remove mopa dependency in turbo-tasks" -->
* https://github.com/vercel/turbo/pull/7526 <!-- Alexander Lyon - Handle
logging story better on daemon -->
Closes PACK-2639
---------
Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com>
2024-03-04 11:33:21 +01:00
vercel-release-bot
9fb18e6739
v14.1.2-canary.3
2024-03-03 23:21:56 +00:00
vercel-release-bot
f2d4d04ff8
v14.1.2-canary.2
2024-03-02 23:21:32 +00:00
vercel-release-bot
d70a554032
v14.1.2-canary.1
2024-03-01 23:17:20 +00:00
Sam Ko
47f73cd8ec
refactor(cli): refactor cli to commander ( #61877 )
...
## Description
Refactor the [Next.js
CLI](https://nextjs.org/docs/app/api-reference/next-cli ) to use
[commander](https://github.com/tj/commander.js ) instead of
[arg](https://github.com/vercel/arg ).
## Why?
- Auto-generated, properly formatted help command + output. With `arg`,
much of the help commands were manually added via a single
`console.log`, causing deviations over time.
- Ergonomic, ease of adding new subcommands and rules
## Breaking Changes
- Update the experimental `next experimental-compile` and `next
experimental-generate` build commands in favor of `next build
--experimental-build-mode=compile/generate`
---------
Co-authored-by: JJ Kasper <jj@jjsweb.site>
2024-03-01 23:12:47 +00:00
vercel-release-bot
2f7721a632
v14.1.2-canary.0
2024-03-01 21:49:46 +00:00
JJ Kasper
8562680f23
Update version from backport ( #62745 )
...
Ensures new canaries start from correct version as we did a backport for
`v14.1.1`
Closes NEXT-2663
2024-03-01 21:35:18 +00:00
vercel-release-bot
c77454a02a
v14.1.1-canary.82
2024-02-29 23:21:48 +00:00
JJ Kasper
d0fc16defe
Revert "chore: drop npm-run-all
" ( #62700 )
...
Reverts vercel/next.js#62642
Closes NEXT-2650
2024-02-29 13:59:24 -08:00
neomad1337
c6e865bf6f
Upgrade mini-css-extract-plugin ( #62698 )
...
## For Contributors
### What?
This PR upgrades the mini-css-extract-plugin dependency
### Why?
In this
[version](https://github.com/webpack-contrib/mini-css-extract-plugin/releases/tag/v2.4.4 ),
the bug related to content hash is fixed. This bug causes different
hashes of CSS chunks in the webpack chunk.
### How?
Closes
[NEXT-1146](https://linear.app/vercel/issue/NEXT-1146/hashes-are-different-between-multiple-servers-with-generatebuildid )
Fixes #49230
Co-authored-by: Madiyar Turkenov <tagwriter@mail.ru>
Co-authored-by: Sam Ko <sam@vercel.com>
2024-02-29 21:20:50 +00:00
Jan Nicklas
56c8792698
add native css nesting support ( #62644 )
...
today ~83% of all browsers support css nesting:
https://caniuse.com/css-nesting
![CSS Nesting Browser
Support](https://github.com/css-modules/postcss-modules-local-by-default/assets/4113649/141f8dce-a8bd-4df4-b2bd-210252189711 )
https://caniuse.com/css-nesting
https://developer.mozilla.org/en-US/docs/Web/CSS/Nesting_selector
therefore this pr upgrades postcss-modules-local-by-default which fixes
a bug in
https://github.com/css-modules/postcss-modules-local-by-default/pull/64 )
- `.foo { &:hover { a_value: some-value; } }` is pure
- `.foo { html &:hover { a_value: some-value; } }` is pure
- `.foo { &:global(.bar) { a_value: some-value; } }` is pure
- `:global(.foo) { &:hover { a_value: some-value; } }` is **not** pure
upgrading the package will allow using css nestings with or **without**
postcss compilation
it fixes the following error:
```
CssSyntaxError: postcss-modules-local-by-default: <css input>:1:8: Selector "&:hover" is not pure (pure selectors must contain at least one local class or id)
```
Fixes #55053
Fixes #33734
Fixes #10475
Co-authored-by: Sam Ko <sam@vercel.com>
2024-02-29 18:13:10 +00:00
vercel-release-bot
603b3771ce
v14.1.1-canary.81
2024-02-29 16:38:01 +00:00
vercel-release-bot
f0461abff0
v14.1.1-canary.80
2024-02-28 23:23:19 +00:00
vercel-release-bot
6a7a0da737
v14.1.1-canary.79
2024-02-28 22:42:21 +00:00
Balázs Orbán
340125a74d
chore: drop npm-run-all
( #62642 )
...
Closes #62627 , Closes #62610
Closes NEXT-2638
2024-02-28 09:42:19 -05:00
vercel-release-bot
6b6575ce48
v14.1.1-canary.78
2024-02-28 12:09:02 +00:00
Donny/강동윤
9408f35b11
Update Turbopack ( #62632 )
...
### What?
* https://github.com/vercel/turbo/pull/7520 <!-- Leah - fix(turbopack):
restore `require.resolve` functionality -->
* https://github.com/vercel/turbo/pull/7504 <!-- Donny/강동윤 -
fix(turbopack): Enable CSS parsing option for legacy nesting syntax -->
* https://github.com/vercel/turbo/pull/7528 <!-- Tobias Koppers - add
test case for ?: -->
* https://github.com/vercel/turbo/pull/7518 <!-- Donny/강동윤 - Update
`swc_core` to `v0.90.12` -->
* https://github.com/vercel/turbo/pull/7535 <!-- Donny/강동윤 -
fix(turbopack): Fix ordering of `IssueStage`s -->
* https://github.com/vercel/turbo/pull/7406 <!-- Leah -
fix(turbopack-core): don't resolve exports field in folders -->
* https://github.com/vercel/turbo/pull/7537 <!-- Donny/강동윤 -
feat(turbopack): Add `JsValue::TypeOf` -->
* https://github.com/vercel/turbo/pull/7527 <!-- Tobias Koppers -
implement handling for alias field resolving in more cases -->
* https://github.com/vercel/turbo/pull/7539 <!-- Tobias Koppers - add
external require back to edge runtime -->
### Why?
To keep in sync
### How?
---------
Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com>
2024-02-28 08:43:29 +00:00
vercel-release-bot
b0fcd44e13
v14.1.1-canary.77
2024-02-27 23:20:54 +00:00
Donny/강동윤
523b7f8601
feat(turbopack): Sort issues ( #62566 )
...
### What?
Sort issues emitted by turbopack.
### Why?
Make it deterministic and testable
### How?
Closes PACK-2440
turbopack counterpart: https://github.com/vercel/turbo/pull/7519
---------
Co-authored-by: Tobias Koppers <tobias.koppers@googlemail.com>
2024-02-27 19:07:32 +00:00
vercel-release-bot
036a4f60fc
v14.1.1-canary.76
2024-02-27 18:20:06 +00:00
vercel-release-bot
36dde3c37e
v14.1.1-canary.75
2024-02-27 17:21:46 +00:00
vercel-release-bot
eb6867fdad
v14.1.1-canary.74
2024-02-26 23:22:03 +00:00
Jiachi Liu
87015acead
Upgrade vendored react ( #62549 )
...
### React upstream changes
- https://github.com/facebook/react/pull/28438
- https://github.com/facebook/react/pull/28436
- https://github.com/facebook/react/pull/25954
- https://github.com/facebook/react/pull/28434
- https://github.com/facebook/react/pull/28433
- https://github.com/facebook/react/pull/28432
- https://github.com/facebook/react/pull/28415
- https://github.com/facebook/react/pull/27903
- https://github.com/facebook/react/pull/28430
- https://github.com/facebook/react/pull/28424
- https://github.com/facebook/react/pull/28400
- https://github.com/facebook/react/pull/28422
- https://github.com/facebook/react/pull/28423
- https://github.com/facebook/react/pull/28412
- https://github.com/facebook/react/pull/28418
- https://github.com/facebook/react/pull/28421
- https://github.com/facebook/react/pull/28417
- https://github.com/facebook/react/pull/28399
- https://github.com/facebook/react/pull/28408
- https://github.com/facebook/react/pull/28350
- https://github.com/facebook/react/pull/28387
- https://github.com/facebook/react/pull/28403
- https://github.com/facebook/react/pull/28384
- https://github.com/facebook/react/pull/28409
- https://github.com/facebook/react/pull/28398
- https://github.com/facebook/react/pull/28405
- https://github.com/facebook/react/pull/28328
- https://github.com/facebook/react/pull/28402
- https://github.com/facebook/react/pull/28386
- https://github.com/facebook/react/pull/28388
- https://github.com/facebook/react/pull/28379
- https://github.com/facebook/react/pull/28383
- https://github.com/facebook/react/pull/28390
- https://github.com/facebook/react/pull/28389
- https://github.com/facebook/react/pull/28382
- https://github.com/facebook/react/pull/28348
Closes NEXT-2600
2024-02-26 18:53:56 +01:00
vercel-release-bot
0fcb946eca
v14.1.1-canary.73
2024-02-26 10:40:07 +00:00
Tobias Koppers
d9b2a4baea
update turbopack ( #62523 )
...
* https://github.com/vercel/turbo/pull/7437 <!-- Tobias Koppers - report
relative start/end and fix start time for events -->
* https://github.com/vercel/turbo/pull/7446 <!-- Tobias Koppers - allow
to aggregate all spans -->
* https://github.com/vercel/turbo/pull/6651 <!-- max -
fix(postcss_configs): support for resolve `postcss.config.json` file -->
* https://github.com/vercel/turbo/pull/7448 <!-- Leah - chore: remove
"rust" npm package -->
* https://github.com/vercel/turbo/pull/7436 <!-- Leah -
refactor(turbo-tasks-fs): move file watching into separate file -->
* https://github.com/vercel/turbo/pull/7396 <!-- Donny/강동윤 -
feat(turbopack): Apply critical ES lint rules -->
* https://github.com/vercel/turbo/pull/7421 <!-- Donny/강동윤 -
fix(turbopack): Use different title for non-parsing issues -->
* https://github.com/vercel/turbo/pull/7501 <!-- Tobias Koppers -
Tracing: Report progress on initial read -->
* https://github.com/vercel/turbo/pull/7508 <!-- Donny/강동윤 -
fix(turbopack): Fix CSS Modules of turbopack in swc mode -->
* https://github.com/vercel/turbo/pull/7424 <!-- Donny/강동윤 -
fix(turbopack): Analyze for-of stmts to allow using `sharp` -->
* https://github.com/vercel/turbo/pull/7510 <!-- Tobias Koppers - dedupe
primary_modules to avoid deduping in chunking, reduce memory usage -->
* https://github.com/vercel/turbo/pull/7509 <!-- Tobias Koppers - split
graph_node_to_referenced_nodes into cacheable and non-cacheable parts
-->
* https://github.com/vercel/turbo/pull/7516 <!-- Tobias Koppers - fix
ignore in package.json -->
* https://github.com/vercel/turbo/pull/7500 <!-- Tobias Koppers - add
span count to trace-server -->
* https://github.com/vercel/turbo/pull/7507 <!-- Donny/강동윤 -
fix(turbopack): Fix CSS module purity validator -->
2024-02-26 11:19:31 +01:00
vercel-release-bot
bef716ad03
v14.1.1-canary.72
2024-02-24 23:22:11 +00:00
vercel-release-bot
8166c15973
v14.1.1-canary.71
2024-02-23 22:55:51 +00:00
Jiachi Liu
e5d604f33b
Upgrade vendored react ( #62326 )
...
### React upstream changes
- https://github.com/facebook/react/pull/28333
- https://github.com/facebook/react/pull/28334
- https://github.com/facebook/react/pull/28378
- https://github.com/facebook/react/pull/28377
- https://github.com/facebook/react/pull/28376
- https://github.com/facebook/react/pull/28338
- https://github.com/facebook/react/pull/28331
- https://github.com/facebook/react/pull/28336
- https://github.com/facebook/react/pull/28320
- https://github.com/facebook/react/pull/28317
- https://github.com/facebook/react/pull/28375
- https://github.com/facebook/react/pull/28367
- https://github.com/facebook/react/pull/28380
- https://github.com/facebook/react/pull/28368
- https://github.com/facebook/react/pull/28343
- https://github.com/facebook/react/pull/28355
- https://github.com/facebook/react/pull/28374
- https://github.com/facebook/react/pull/28362
- https://github.com/facebook/react/pull/28344
- https://github.com/facebook/react/pull/28339
- https://github.com/facebook/react/pull/28353
- https://github.com/facebook/react/pull/28346
- https://github.com/facebook/react/pull/25790
- https://github.com/facebook/react/pull/28352
- https://github.com/facebook/react/pull/28326
- https://github.com/facebook/react/pull/27688
- https://github.com/facebook/react/pull/28329
- https://github.com/facebook/react/pull/28332
- https://github.com/facebook/react/pull/28340
- https://github.com/facebook/react/pull/28327
- https://github.com/facebook/react/pull/28325
- https://github.com/facebook/react/pull/28324
- https://github.com/facebook/react/pull/28309
- https://github.com/facebook/react/pull/28310
- https://github.com/facebook/react/pull/28307
- https://github.com/facebook/react/pull/28306
- https://github.com/facebook/react/pull/28315
- https://github.com/facebook/react/pull/28318
- https://github.com/facebook/react/pull/28226
- https://github.com/facebook/react/pull/28308
- https://github.com/facebook/react/pull/27563
- https://github.com/facebook/react/pull/28297
- https://github.com/facebook/react/pull/28286
- https://github.com/facebook/react/pull/28284
- https://github.com/facebook/react/pull/28275
- https://github.com/facebook/react/pull/28145
- https://github.com/facebook/react/pull/28301
- https://github.com/facebook/react/pull/28224
- https://github.com/facebook/react/pull/28152
- https://github.com/facebook/react/pull/28296
- https://github.com/facebook/react/pull/28294
- https://github.com/facebook/react/pull/28279
- https://github.com/facebook/react/pull/28273
- https://github.com/facebook/react/pull/28269
- https://github.com/facebook/react/pull/28376
- https://github.com/facebook/react/pull/28338
- https://github.com/facebook/react/pull/28331
- https://github.com/facebook/react/pull/28336
- https://github.com/facebook/react/pull/28320
- https://github.com/facebook/react/pull/28317
- https://github.com/facebook/react/pull/28375
- https://github.com/facebook/react/pull/28367
- https://github.com/facebook/react/pull/28380
- https://github.com/facebook/react/pull/28368
- https://github.com/facebook/react/pull/28343
- https://github.com/facebook/react/pull/28355
- https://github.com/facebook/react/pull/28374
- https://github.com/facebook/react/pull/28362
- https://github.com/facebook/react/pull/28344
- https://github.com/facebook/react/pull/28339
- https://github.com/facebook/react/pull/28353
- https://github.com/facebook/react/pull/28346
- https://github.com/facebook/react/pull/25790
- https://github.com/facebook/react/pull/28352
- https://github.com/facebook/react/pull/28326
- https://github.com/facebook/react/pull/27688
- https://github.com/facebook/react/pull/28329
- https://github.com/facebook/react/pull/28332
- https://github.com/facebook/react/pull/28340
- https://github.com/facebook/react/pull/28327
- https://github.com/facebook/react/pull/28325
- https://github.com/facebook/react/pull/28324
- https://github.com/facebook/react/pull/28309
- https://github.com/facebook/react/pull/28310
- https://github.com/facebook/react/pull/28307
- https://github.com/facebook/react/pull/28306
- https://github.com/facebook/react/pull/28315
- https://github.com/facebook/react/pull/28318
- https://github.com/facebook/react/pull/28226
- https://github.com/facebook/react/pull/28308
- https://github.com/facebook/react/pull/27563
- https://github.com/facebook/react/pull/28297
- https://github.com/facebook/react/pull/28286
- https://github.com/facebook/react/pull/28284
- https://github.com/facebook/react/pull/28275
- https://github.com/facebook/react/pull/28145
- https://github.com/facebook/react/pull/28301
- https://github.com/facebook/react/pull/28224
- https://github.com/facebook/react/pull/28152
- https://github.com/facebook/react/pull/28296
- https://github.com/facebook/react/pull/28294
- https://github.com/facebook/react/pull/28279
- https://github.com/facebook/react/pull/28273
- https://github.com/facebook/react/pull/28269
Closes NEXT-2542
Disable ppr test for strict mode for now, @acdlite will check it and
we'll sync again
2024-02-23 12:46:58 +01:00
vercel-release-bot
1aaa40c781
v14.1.1-canary.70
2024-02-22 23:23:39 +00:00
vercel-release-bot
aafb329c6d
v14.1.1-canary.69
2024-02-21 23:22:02 +00:00
vercel-release-bot
5dd895db83
v14.1.1-canary.68
2024-02-21 21:46:16 +00:00
Sébastien Vanvelthem
cd6dacd59f
eslint-config-next: allow typescript eslint v7 ( #62137 )
...
### What?
Allow [typescript-eslint
v7](https://typescript-eslint.io/blog/announcing-typescript-eslint-v7 )
support
### Why?
Allow compatibility with typescript eslint v7, pave the way to support
eslint flat config and possibly typescript 5.4
### How?
Add a v7 to the allowed versions in eslint-config-next dependencies and
regenerate the lock with pnpm install. Be aware that some eslint peer
dev deps have been updated in the process. See the lock
Tested with pnpm build && ppm lint
## Close
- Closes https://github.com/vercel/next.js/issues/62138
2024-02-21 14:01:43 -05:00
vercel-release-bot
063c286416
v14.1.1-canary.67
2024-02-21 11:00:29 +00:00
vercel-release-bot
79b7cb5f07
v14.1.1-canary.66
2024-02-21 06:09:07 +00:00
Sam Ko
745b1b59b2
fix(next-font): update capsize css so fallbacks are updated with the … ( #62309 )
...
## Description
We need to manually update the `@capsizecss/metrics` every time it
updates so we get the latest fallback fonts.
## Changes
- https://github.com/vercel/next.js/issues/47115
Closes NEXT-2547
2024-02-20 22:04:56 -08:00
vercel-release-bot
ad992d4576
v14.1.1-canary.65
2024-02-20 23:21:37 +00:00