From ef63ae2ebd3742ee98b8ff10f67431baebc8e5ac Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 17 Jul 2023 18:57:00 +0100 Subject: [PATCH] Version Packages (#381) Co-authored-by: github-actions[bot] --- .changeset/clean-experts-tap.md | 21 ---------------- .changeset/neat-terms-boil.md | 5 ---- .../eslint-plugin-next-on-pages/CHANGELOG.md | 2 ++ .../eslint-plugin-next-on-pages/package.json | 2 +- packages/next-on-pages/CHANGELOG.md | 24 +++++++++++++++++++ packages/next-on-pages/package.json | 2 +- 6 files changed, 28 insertions(+), 28 deletions(-) delete mode 100644 .changeset/clean-experts-tap.md delete mode 100644 .changeset/neat-terms-boil.md diff --git a/.changeset/clean-experts-tap.md b/.changeset/clean-experts-tap.md deleted file mode 100644 index f861808da..000000000 --- a/.changeset/clean-experts-tap.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -'@cloudflare/next-on-pages': patch ---- - -bundle assets produced by the Vercel build and make them accessible via fetch - -Vercel/Next can allow access binary assets bundled with their edge functions in the following manner: - -``` -const font = fetch(new URL('../../assets/asset-x', import.meta.url)).then( - (res) => res.arrayBuffer(), -); -``` - -As you can see in this `@vercel/og` example: -https://vercel.com/docs/concepts/functions/edge-functions/og-image-generation/og-image-examples#using-a-custom-font - -This sort of access to bindings is necessary for the `@vercel/og` package to work and might be used in other packages -as well, so it is something that we need to support. -We do so by making sure that we properly bind the assets found in the Vercel build output into our worker -and that fetches to such assets (using blob urls) are correctly handled (this requires us to patch the global `fetch` function) diff --git a/.changeset/neat-terms-boil.md b/.changeset/neat-terms-boil.md deleted file mode 100644 index 4c6e66ea1..000000000 --- a/.changeset/neat-terms-boil.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@cloudflare/next-on-pages': patch ---- - -Fix multiple search params with the same key not being preserved diff --git a/packages/eslint-plugin-next-on-pages/CHANGELOG.md b/packages/eslint-plugin-next-on-pages/CHANGELOG.md index 6ee25a2b7..5777d5bae 100644 --- a/packages/eslint-plugin-next-on-pages/CHANGELOG.md +++ b/packages/eslint-plugin-next-on-pages/CHANGELOG.md @@ -1,5 +1,7 @@ # eslint-plugin-next-on-pages +## 1.3.1 + ## 1.3.0 ### Minor Changes diff --git a/packages/eslint-plugin-next-on-pages/package.json b/packages/eslint-plugin-next-on-pages/package.json index c9e68b266..0b9333742 100644 --- a/packages/eslint-plugin-next-on-pages/package.json +++ b/packages/eslint-plugin-next-on-pages/package.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-next-on-pages", - "version": "1.3.0", + "version": "1.3.1", "main": "dist/index.js", "scripts": { "prebuild": "rimraf dist", diff --git a/packages/next-on-pages/CHANGELOG.md b/packages/next-on-pages/CHANGELOG.md index ce0681159..e897edbd4 100644 --- a/packages/next-on-pages/CHANGELOG.md +++ b/packages/next-on-pages/CHANGELOG.md @@ -1,5 +1,29 @@ # @cloudflare/next-on-pages +## 1.3.1 + +### Patch Changes + +- 619beea: bundle assets produced by the Vercel build and make them accessible via fetch + + Vercel/Next can allow access binary assets bundled with their edge functions in the following manner: + + ``` + const font = fetch(new URL('../../assets/asset-x', import.meta.url)).then( + (res) => res.arrayBuffer(), + ); + ``` + + As you can see in this `@vercel/og` example: + https://vercel.com/docs/concepts/functions/edge-functions/og-image-generation/og-image-examples#using-a-custom-font + + This sort of access to bindings is necessary for the `@vercel/og` package to work and might be used in other packages + as well, so it is something that we need to support. + We do so by making sure that we properly bind the assets found in the Vercel build output into our worker + and that fetches to such assets (using blob urls) are correctly handled (this requires us to patch the global `fetch` function) + +- 76a8bb4: Fix multiple search params with the same key not being preserved + ## 1.3.0 ### Minor Changes diff --git a/packages/next-on-pages/package.json b/packages/next-on-pages/package.json index dba140a4f..e36597873 100644 --- a/packages/next-on-pages/package.json +++ b/packages/next-on-pages/package.json @@ -1,6 +1,6 @@ { "name": "@cloudflare/next-on-pages", - "version": "1.3.0", + "version": "1.3.1", "bin": "./bin/index.js", "scripts": { "lint": "eslint src",