Skip to content

Commit

Permalink
Version Packages (#197)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Apr 29, 2023
1 parent a680db6 commit d7e62c7
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 34 deletions.
5 changes: 0 additions & 5 deletions .changeset/nervous-wolves-march.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/orange-colts-fly.md

This file was deleted.

16 changes: 0 additions & 16 deletions .changeset/pretty-goats-battle.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/swift-islands-doubt.md

This file was deleted.

24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
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.0",
"version": "0.10.1",
"bin": "./bin/index.js",
"scripts": {
"prettier": "npx prettier --ignore-unknown --ignore-path=.gitignore .",
Expand Down

0 comments on commit d7e62c7

Please sign in to comment.