From d7e62c7fb99241565b41a664abfde29bbac99755 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 30 Apr 2023 00:17:53 +0100 Subject: [PATCH] Version Packages (#197) Co-authored-by: github-actions[bot] --- .changeset/nervous-wolves-march.md | 5 ----- .changeset/orange-colts-fly.md | 7 ------- .changeset/pretty-goats-battle.md | 16 ---------------- .changeset/swift-islands-doubt.md | 5 ----- CHANGELOG.md | 24 ++++++++++++++++++++++++ package.json | 2 +- 6 files changed, 25 insertions(+), 34 deletions(-) delete mode 100644 .changeset/nervous-wolves-march.md delete mode 100644 .changeset/orange-colts-fly.md delete mode 100644 .changeset/pretty-goats-battle.md delete mode 100644 .changeset/swift-islands-doubt.md diff --git a/.changeset/nervous-wolves-march.md b/.changeset/nervous-wolves-march.md deleted file mode 100644 index 6d4fd93e7..000000000 --- a/.changeset/nervous-wolves-march.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@cloudflare/next-on-pages': patch ---- - -improve the error message shown when the Vercel build fails to make clearer that the issue is not next-on-pages related diff --git a/.changeset/orange-colts-fly.md b/.changeset/orange-colts-fly.md deleted file mode 100644 index de7613365..000000000 --- a/.changeset/orange-colts-fly.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@cloudflare/next-on-pages': patch ---- - -Fix static route handling in the app directory and copy prerendered routes to the build output static directory. - -If an app directory project builds pages without specifying a runtime and has no server-side functionality, it defaults to generating static pages. These pages are in the form of prerendered routes, which are stored in the build output directory with prerender configs, fallback files, and functions. The functions it creates are not necessary and will be invalid nodejs functions as no runtime was specified, and the fallback files can instead be used as static assets for the pages. diff --git a/.changeset/pretty-goats-battle.md b/.changeset/pretty-goats-battle.md deleted file mode 100644 index 022fe34ab..000000000 --- a/.changeset/pretty-goats-battle.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -'@cloudflare/next-on-pages': patch ---- - -remove astring dependency - -remove the `astring` dependency and by doing so basically just create and edit -javascript code via string manipulations. - -this should speed up the experimental minification (since we don't generate js code -from ASTs anymore) and avoid potential bugs in the `astring` library (like #151) - -note that this is not the cleanest solution and that we should look into implementing -more robust and stable javascript code handling via AST visiting and manipulations -(but currently that has proven quite problematic since modern javascript libraries that -allow such code modding have turned out to be very slow, significantly impacting DX) diff --git a/.changeset/swift-islands-doubt.md b/.changeset/swift-islands-doubt.md deleted file mode 100644 index 89c3c9c3e..000000000 --- a/.changeset/swift-islands-doubt.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@cloudflare/next-on-pages': patch ---- - -fix require-call typo preventing nodeBufferPlugin from properly working diff --git a/CHANGELOG.md b/CHANGELOG.md index 7891c7743..d867279cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,29 @@ # @cloudflare/next-on-pages +## 0.10.1 + +### Patch Changes + +- a680db6: improve the error message shown when the Vercel build fails to make clearer that the issue is not next-on-pages related +- b07e3bc: Fix static route handling in the app directory and copy prerendered routes to the build output static directory. + + If an app directory project builds pages without specifying a runtime and has no server-side functionality, it defaults to generating static pages. These pages are in the form of prerendered routes, which are stored in the build output directory with prerender configs, fallback files, and functions. The functions it creates are not necessary and will be invalid nodejs functions as no runtime was specified, and the fallback files can instead be used as static assets for the pages. + +- bddbe04: remove astring dependency + + remove the `astring` dependency and by doing so basically just create and edit + javascript code via string manipulations. + + this should speed up the experimental minification (since we don't generate js code + from ASTs anymore) and avoid potential bugs in the `astring` library (like #151) + + note that this is not the cleanest solution and that we should look into implementing + more robust and stable javascript code handling via AST visiting and manipulations + (but currently that has proven quite problematic since modern javascript libraries that + allow such code modding have turned out to be very slow, significantly impacting DX) + +- 9f5b83c: fix require-call typo preventing nodeBufferPlugin from properly working + ## 0.10.0 ### Minor Changes diff --git a/package.json b/package.json index 7e646eadd..d8f0aa7c5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/next-on-pages", - "version": "0.10.0", + "version": "0.10.1", "bin": "./bin/index.js", "scripts": { "prettier": "npx prettier --ignore-unknown --ignore-path=.gitignore .",