-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version Packages #213
Version Packages #213
Conversation
662cc8f
to
1537346
Compare
Package for the V1 release 🙂 😁 |
7d146ee
to
679bd0f
Compare
1a134f4
to
79a13f5
Compare
🧪 A prerelease is available for testing 🧪 You can install this latest build in your project with: npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/next-on-pages/runs/4991047465/npm-package-next-on-pages-213 Or you can immediately run this with npx https://prerelease-registry.devprod.cloudflare.dev/next-on-pages/runs/4991047465/npm-package-next-on-pages-213 |
73c0e14
to
6ca62ee
Compare
6ca62ee
to
b0d2adc
Compare
3125f6d
to
eca512b
Compare
a9d8c1e
to
8a8843b
Compare
Manual TestingSpot checked on the below Apps deployed via CI using the v2 beta image
Apps deployed via CI using the v1 image
Apps deployed via direct upload
|
bf35c79
to
16ec424
Compare
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@cloudflare/[email protected]
Major Changes
3e2dad8: use and rely on AsyncLocalStorage
previously we've been using the node AsyncLocalStorage in a non-breaking way but now we are committing
to in and using it to store the global env variables as well
this is a breaking change since moving forward all app running using @cloudflare/next-on-pages must
have the nodejs_compat compatibility flag set (before not all needed that)
Minor Changes
6fcb58b: make the experimental minification the default behavior and add an option to disabled it
as part of this:
--experimental-minify
|-e
a no-op argument which simply shows a warning which indicates that it isa deprecated option (we aren't removing the flag so that we don't break existing build scripts)
--disable-worker-minification
|-m
option to disable the minification of the _worker.js script (whichcurrently coincides with the experimental minification)
e053756: add nodejs_compat runtime check
add a runtime check for the presence of the nodejs_compat flag at runtime so that if developers
forget to use such flag instead of receiving an internal server error they receive an error specifically
telling them that they have not specified the flag
87e183b: New routing system runtime handling and implementation.
Improves support for advanced routing with Next.js applications on Pages, through leveraging the Vercel build output configuration. The Vercel build output specifies the relevant routing steps that are taken during the lifetime of a request, and this change implements a new system that handles these steps.
ea761b8: remove disable-chunks-dedup flag
86df485: Support for the internationalization (
i18n
) option innext.config.js
, and locale redirects.4d8a708: utilize Wrangler new capability of dynamically importing code to avoid the evaluation/run of javascript code
when not necessary, reducing the app's startup time (which causes apps to often hit the script startup CPU time limit)
Patch Changes
b3ff89f: Function generation now includes all node modules instead of only node:buffer
d81c2e3: add pnpm files to ignored list for watch mode
add the following files to the list of files we ignore for watch mode:
pnpm-lock.yaml
: for consistency since all the other lock files are ignored.pnpm-store
: to prevent potential infinite loops ([🐛 Bug]: @cloudflare/next-on-pages --watch keeps rebuilding with pnpm #212)_tmp_*
: to prevent infinite loops, this is needed because pnpm saves/deletes temporary files to get the relative path to its store (https://github.com/pnpm/pnpm/blob/3f85e75dad4f5560a17367e5faad5a387bd47d05/store/store-path/src/index.ts#L41), such files start with_tmp_
(see: https://github.com/zkochan/packages/blob/f559aef5b63c2477dd72ce156f35d6111af780f6/path-temp/index.js#L6)bb23b60: Exit with non-zero status if vercel build fails in non-watch mode
e2d2046: Fix the prerendered route handling for favicons.
f1d76cd: Fix the prerendered route handling for generated JSON files.
701f0c2: Prevent infinite loops from occuring when checking phases during routing.