Skip to content

Commit

Permalink
Version Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed May 13, 2023
1 parent 8a46b36 commit 1a134f4
Show file tree
Hide file tree
Showing 13 changed files with 48 additions and 78 deletions.
12 changes: 0 additions & 12 deletions .changeset/friendly-poets-smile.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/hot-eagles-love.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/orange-sloths-love.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/red-radios-hug.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/rotten-ducks-brush.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/six-squids-tickle.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/slow-suits-deliver.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/strong-llamas-protect.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tame-feet-think.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tricky-turtles-drum.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/unlucky-chicken-join.md

This file was deleted.

47 changes: 47 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,52 @@
# @cloudflare/next-on-pages

## 1.0.0

### 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:

- make `--experimental-minify`|`-e` a no-op argument which simply shows a warning which indicates that it is
a deprecated option (we aren't removing the flag so that we don't break existing build scripts)
- add a `--disable-worker-minification`|`-m` option to disable the minification of the \_worker.js script (which
currently coincides with the experimental minification)

- 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 in `next.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

- 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 (https://github.com/cloudflare/next-on-pages/issues/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.

## 0.10.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cloudflare/next-on-pages",
"version": "0.10.1",
"version": "1.0.0",
"bin": "./bin/index.js",
"scripts": {
"prettier": "npx prettier --ignore-unknown --ignore-path=.gitignore .",
Expand Down

0 comments on commit 1a134f4

Please sign in to comment.