From 28f3d41ff3103247313065af4ea6e484c7cc15ce Mon Sep 17 00:00:00 2001 From: Stephan Cilliers <5469870+stephancill@users.noreply.github.com> Date: Fri, 5 Apr 2024 12:30:20 +0200 Subject: [PATCH] frames.js@0.12.0, @frames.js/render@0.1.1, @frames.js/debugger@0.1.15 --- .changeset/brown-walls-thank.md | 5 ----- .changeset/honest-nails-arrive.md | 5 ----- .changeset/mean-dolls-hope.md | 5 ----- .changeset/modern-dolphins-float.md | 6 ------ .changeset/nine-badgers-jam.md | 5 ----- .changeset/pink-pots-teach.md | 5 ----- .changeset/real-socks-appear.md | 6 ------ .changeset/tasty-panthers-protect.md | 5 ----- .changeset/thirty-islands-begin.md | 5 ----- .changeset/weak-moons-provide.md | 5 ----- docs/CHANGELOG.md | 13 +++++++++++++ docs/package.json | 2 +- examples/framesjs-starter/CHANGELOG.md | 14 ++++++++++++++ examples/framesjs-starter/package.json | 6 +++--- examples/utils-starter/CHANGELOG.md | 11 +++++++++++ examples/utils-starter/package.json | 4 ++-- packages/debugger/CHANGELOG.md | 6 ++++++ packages/debugger/package.json | 6 +++--- packages/frames.js/CHANGELOG.md | 13 +++++++++++++ packages/frames.js/package.json | 2 +- packages/render/CHANGELOG.md | 12 ++++++++++++ packages/render/package.json | 4 ++-- templates/cloudflare-worker/CHANGELOG.md | 12 ++++++++++++ templates/cloudflare-worker/package.json | 6 +++--- templates/express/CHANGELOG.md | 12 ++++++++++++ templates/express/package.json | 6 +++--- templates/hono/CHANGELOG.md | 12 ++++++++++++ templates/hono/package.json | 6 +++--- templates/next-starter-with-examples/CHANGELOG.md | 12 ++++++++++++ templates/next-starter-with-examples/package.json | 6 +++--- templates/next-utils-starter/CHANGELOG.md | 12 ++++++++++++ templates/next-utils-starter/package.json | 6 +++--- templates/next/CHANGELOG.md | 12 ++++++++++++ templates/next/package.json | 6 +++--- templates/remix/CHANGELOG.md | 12 ++++++++++++ templates/remix/package.json | 6 +++--- 36 files changed, 186 insertions(+), 85 deletions(-) delete mode 100644 .changeset/brown-walls-thank.md delete mode 100644 .changeset/honest-nails-arrive.md delete mode 100644 .changeset/mean-dolls-hope.md delete mode 100644 .changeset/modern-dolphins-float.md delete mode 100644 .changeset/nine-badgers-jam.md delete mode 100644 .changeset/pink-pots-teach.md delete mode 100644 .changeset/real-socks-appear.md delete mode 100644 .changeset/tasty-panthers-protect.md delete mode 100644 .changeset/thirty-islands-begin.md delete mode 100644 .changeset/weak-moons-provide.md create mode 100644 templates/cloudflare-worker/CHANGELOG.md create mode 100644 templates/express/CHANGELOG.md create mode 100644 templates/hono/CHANGELOG.md create mode 100644 templates/next-starter-with-examples/CHANGELOG.md create mode 100644 templates/next-utils-starter/CHANGELOG.md create mode 100644 templates/next/CHANGELOG.md create mode 100644 templates/remix/CHANGELOG.md diff --git a/.changeset/brown-walls-thank.md b/.changeset/brown-walls-thank.md deleted file mode 100644 index e71364dd9..000000000 --- a/.changeset/brown-walls-thank.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"frames.js": minor ---- - -feat: allow arbitrary response in frames handler diff --git a/.changeset/honest-nails-arrive.md b/.changeset/honest-nails-arrive.md deleted file mode 100644 index 2acf15640..000000000 --- a/.changeset/honest-nails-arrive.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"frames.js": patch ---- - -fix: split pages router bundle to client side and server side to prevent leaks diff --git a/.changeset/mean-dolls-hope.md b/.changeset/mean-dolls-hope.md deleted file mode 100644 index f9d30daef..000000000 --- a/.changeset/mean-dolls-hope.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"frames.js": patch ---- - -fix: page router adapter for next.js node.js request handling diff --git a/.changeset/modern-dolphins-float.md b/.changeset/modern-dolphins-float.md deleted file mode 100644 index 30b3c1f12..000000000 --- a/.changeset/modern-dolphins-float.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"frames.js": patch -"docs": patch ---- - -feat: application level errors support diff --git a/.changeset/nine-badgers-jam.md b/.changeset/nine-badgers-jam.md deleted file mode 100644 index 6621c5750..000000000 --- a/.changeset/nine-badgers-jam.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"frames.js": minor ---- - -feat: split pages router to client and server entrypoints diff --git a/.changeset/pink-pots-teach.md b/.changeset/pink-pots-teach.md deleted file mode 100644 index db0e2f2c2..000000000 --- a/.changeset/pink-pots-teach.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"framesjs-starter": patch ---- - -chore: remove unused packages diff --git a/.changeset/real-socks-appear.md b/.changeset/real-socks-appear.md deleted file mode 100644 index 3298c3bde..000000000 --- a/.changeset/real-socks-appear.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@frames.js/debugger": patch -"@frames.js/render": patch ---- - -feat: frame error message support diff --git a/.changeset/tasty-panthers-protect.md b/.changeset/tasty-panthers-protect.md deleted file mode 100644 index ac915b809..000000000 --- a/.changeset/tasty-panthers-protect.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"framesjs-starter": patch ---- - -feat: cast actions example diff --git a/.changeset/thirty-islands-begin.md b/.changeset/thirty-islands-begin.md deleted file mode 100644 index 99f0fe071..000000000 --- a/.changeset/thirty-islands-begin.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"framesjs-starter": patch ---- - -feat: error example diff --git a/.changeset/weak-moons-provide.md b/.changeset/weak-moons-provide.md deleted file mode 100644 index c71be79b6..000000000 --- a/.changeset/weak-moons-provide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"docs": patch ---- - -fix: add connectedAddress docs diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 6fc393e89..81f675492 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,5 +1,18 @@ # docs +## 0.0.7 + +### Patch Changes + +- 2290278: feat: application level errors support +- d15f927: fix: add connectedAddress docs +- Updated dependencies [424b0ea] +- Updated dependencies [e681ce9] +- Updated dependencies [40934fb] +- Updated dependencies [2290278] +- Updated dependencies [e681ce9] + - frames.js@0.12.0 + ## 0.0.6 ### Patch Changes diff --git a/docs/package.json b/docs/package.json index 2c5fa67e1..fc5c2f18c 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,6 +1,6 @@ { "name": "docs", - "version": "0.0.6", + "version": "0.0.7", "type": "module", "private": true, "scripts": { diff --git a/examples/framesjs-starter/CHANGELOG.md b/examples/framesjs-starter/CHANGELOG.md index 13e1746b3..c071e3e03 100644 --- a/examples/framesjs-starter/CHANGELOG.md +++ b/examples/framesjs-starter/CHANGELOG.md @@ -1,5 +1,19 @@ # framesjs-starter +## 0.2.12 + +### Patch Changes + +- 64691ad: chore: remove unused packages +- 424b0ea: feat: cast actions example +- 7c74f35: feat: error example +- Updated dependencies [424b0ea] +- Updated dependencies [e681ce9] +- Updated dependencies [40934fb] +- Updated dependencies [2290278] +- Updated dependencies [e681ce9] + - frames.js@0.12.0 + ## 0.2.11 ### Patch Changes diff --git a/examples/framesjs-starter/package.json b/examples/framesjs-starter/package.json index 4151895f8..67975499b 100644 --- a/examples/framesjs-starter/package.json +++ b/examples/framesjs-starter/package.json @@ -1,6 +1,6 @@ { "name": "framesjs-starter", - "version": "0.2.11", + "version": "0.2.12", "private": true, "scripts": { "dev": "node ./scripts/dev-script.js", @@ -14,7 +14,7 @@ "@vercel/kv": "^1.0.1", "@xmtp/frames-validator": "^0.5.0", "clsx": "^2.1.0", - "frames.js": "^0.11.3", + "frames.js": "^0.12.0", "next": "^14.1.0", "react": "^18.2.0", "react-dom": "^18.2.0", @@ -24,7 +24,7 @@ "node": ">=18.17.0" }, "devDependencies": { - "@frames.js/debugger": "^0.1.14", + "@frames.js/debugger": "^0.1.15", "@types/node": "^18.17.0", "@types/react": "^18.2.0", "@types/react-dom": "^18.2.0", diff --git a/examples/utils-starter/CHANGELOG.md b/examples/utils-starter/CHANGELOG.md index 436d55970..47cec2e6f 100644 --- a/examples/utils-starter/CHANGELOG.md +++ b/examples/utils-starter/CHANGELOG.md @@ -1,5 +1,16 @@ # utils-starter +## 1.1.6 + +### Patch Changes + +- Updated dependencies [424b0ea] +- Updated dependencies [e681ce9] +- Updated dependencies [40934fb] +- Updated dependencies [2290278] +- Updated dependencies [e681ce9] + - frames.js@0.12.0 + ## 1.1.5 ### Patch Changes diff --git a/examples/utils-starter/package.json b/examples/utils-starter/package.json index 38659e7a8..c5a9f48e9 100644 --- a/examples/utils-starter/package.json +++ b/examples/utils-starter/package.json @@ -1,6 +1,6 @@ { "name": "utils-starter", - "version": "1.1.5", + "version": "1.1.6", "private": true, "scripts": { "dev": "next dev -p 3004", @@ -9,7 +9,7 @@ "lint": "eslint . --max-warnings 0" }, "dependencies": { - "frames.js": "^0.11.0", + "frames.js": "^0.12.0", "next": "^14.0.4", "react": "^18.2.0", "react-dom": "^18.2.0" diff --git a/packages/debugger/CHANGELOG.md b/packages/debugger/CHANGELOG.md index f11c68076..74c652db0 100644 --- a/packages/debugger/CHANGELOG.md +++ b/packages/debugger/CHANGELOG.md @@ -1,5 +1,11 @@ # @frames.js/debugger +## 0.1.15 + +### Patch Changes + +- 7c74f35: feat: frame error message support + ## 0.1.14 ### Patch Changes diff --git a/packages/debugger/package.json b/packages/debugger/package.json index f4b217c18..5fd40e56a 100644 --- a/packages/debugger/package.json +++ b/packages/debugger/package.json @@ -5,7 +5,7 @@ "frames.js", "farcaster" ], - "version": "0.1.14", + "version": "0.1.15", "bin": { "frames": "./bin/debugger.js" }, @@ -26,7 +26,7 @@ }, "devDependencies": { "@farcaster/core": "^0.14.7", - "@frames.js/render": "^0.1.0", + "@frames.js/render": "^0.1.1", "@noble/ed25519": "^2.0.0", "@radix-ui/react-accordion": "^1.1.2", "@radix-ui/react-checkbox": "^1.0.4", @@ -48,7 +48,7 @@ "clsx": "^2.1.0", "eslint-config-next": "^14.1.0", "eslint": "^8.56.0", - "frames.js": "^0.11.3", + "frames.js": "^0.12.0", "lucide-react": "^0.344.0", "postcss": "^8", "qrcode.react": "^3.1.0", diff --git a/packages/frames.js/CHANGELOG.md b/packages/frames.js/CHANGELOG.md index 4ebee9b5f..d898e5742 100644 --- a/packages/frames.js/CHANGELOG.md +++ b/packages/frames.js/CHANGELOG.md @@ -1,5 +1,18 @@ # frames.js +## 0.12.0 + +### Minor Changes + +- 424b0ea: feat: allow arbitrary response in frames handler +- e681ce9: feat: split pages router to client and server entrypoints + +### Patch Changes + +- e681ce9: fix: split pages router bundle to client side and server side to prevent leaks +- 40934fb: fix: page router adapter for next.js node.js request handling +- 2290278: feat: application level errors support + ## 0.11.4 ### Patch Changes diff --git a/packages/frames.js/package.json b/packages/frames.js/package.json index b59e2cc14..725c95f3d 100644 --- a/packages/frames.js/package.json +++ b/packages/frames.js/package.json @@ -1,6 +1,6 @@ { "name": "frames.js", - "version": "0.11.4", + "version": "0.12.0", "type": "module", "main": "./dist/index.cjs", "types": "index.d.cts", diff --git a/packages/render/CHANGELOG.md b/packages/render/CHANGELOG.md index 960ae976b..4a5587ae8 100644 --- a/packages/render/CHANGELOG.md +++ b/packages/render/CHANGELOG.md @@ -1,5 +1,17 @@ # @frames.js/render +## 0.1.1 + +### Patch Changes + +- 7c74f35: feat: frame error message support +- Updated dependencies [424b0ea] +- Updated dependencies [e681ce9] +- Updated dependencies [40934fb] +- Updated dependencies [2290278] +- Updated dependencies [e681ce9] + - frames.js@0.12.0 + ## 0.1.0 ### Minor Changes diff --git a/packages/render/package.json b/packages/render/package.json index e0930f5b9..b87cf02a6 100644 --- a/packages/render/package.json +++ b/packages/render/package.json @@ -1,6 +1,6 @@ { "name": "@frames.js/render", - "version": "0.1.0", + "version": "0.1.1", "type": "module", "main": "./dist/index.cjs", "types": "index.d.cts", @@ -84,6 +84,6 @@ }, "dependencies": { "@farcaster/core": "^0.14.7", - "frames.js": "^0.11.3" + "frames.js": "^0.12.0" } } diff --git a/templates/cloudflare-worker/CHANGELOG.md b/templates/cloudflare-worker/CHANGELOG.md new file mode 100644 index 000000000..03bac7f61 --- /dev/null +++ b/templates/cloudflare-worker/CHANGELOG.md @@ -0,0 +1,12 @@ +# template-cloudflare-worker + +## 0.0.1 + +### Patch Changes + +- Updated dependencies [424b0ea] +- Updated dependencies [e681ce9] +- Updated dependencies [40934fb] +- Updated dependencies [2290278] +- Updated dependencies [e681ce9] + - frames.js@0.12.0 diff --git a/templates/cloudflare-worker/package.json b/templates/cloudflare-worker/package.json index 1dcd4a89d..e573516da 100644 --- a/templates/cloudflare-worker/package.json +++ b/templates/cloudflare-worker/package.json @@ -1,17 +1,17 @@ { "name": "template-cloudflare-worker", "description": "Simple Cloudflare Worker template with Frames.js, React and TypeScript", - "version": "0.0.0", + "version": "0.0.1", "type": "module", "private": true, "dependencies": { - "frames.js": "^0.11.2", + "frames.js": "^0.12.0", "react": "^18.2.0" }, "devDependencies": { "@cloudflare/vitest-pool-workers": "^0.1.0", "@cloudflare/workers-types": "^4.20240320.1", - "@frames.js/debugger": "^0.1.13", + "@frames.js/debugger": "^0.1.15", "@types/node": "^18.17.0", "@types/react": "^18.2.45", "concurrently": "^8.2.2", diff --git a/templates/express/CHANGELOG.md b/templates/express/CHANGELOG.md new file mode 100644 index 000000000..d3588a0f6 --- /dev/null +++ b/templates/express/CHANGELOG.md @@ -0,0 +1,12 @@ +# template-express + +## 0.0.1 + +### Patch Changes + +- Updated dependencies [424b0ea] +- Updated dependencies [e681ce9] +- Updated dependencies [40934fb] +- Updated dependencies [2290278] +- Updated dependencies [e681ce9] + - frames.js@0.12.0 diff --git a/templates/express/package.json b/templates/express/package.json index 18207d4f2..f5b0fde6b 100644 --- a/templates/express/package.json +++ b/templates/express/package.json @@ -1,17 +1,17 @@ { "name": "template-express", - "version": "0.0.0", + "version": "0.0.1", "type": "module", "private": true, "dependencies": { "compression": "^1.7.4", "express": "^4.19.1", - "frames.js": "^0.11.2", + "frames.js": "^0.12.0", "react": "^18.2.0", "sirv": "^2.0.4" }, "devDependencies": { - "@frames.js/debugger": "^0.1.13", + "@frames.js/debugger": "^0.1.15", "@types/express": "^4.17.21", "@types/node": "^18.17.0", "@types/react": "^18.2.45", diff --git a/templates/hono/CHANGELOG.md b/templates/hono/CHANGELOG.md new file mode 100644 index 000000000..e0c1bad6d --- /dev/null +++ b/templates/hono/CHANGELOG.md @@ -0,0 +1,12 @@ +# template-hono + +## 0.0.1 + +### Patch Changes + +- Updated dependencies [424b0ea] +- Updated dependencies [e681ce9] +- Updated dependencies [40934fb] +- Updated dependencies [2290278] +- Updated dependencies [e681ce9] + - frames.js@0.12.0 diff --git a/templates/hono/package.json b/templates/hono/package.json index 55bf096a2..1b09da266 100644 --- a/templates/hono/package.json +++ b/templates/hono/package.json @@ -1,16 +1,16 @@ { "name": "template-hono", - "version": "0.0.0", + "version": "0.0.1", "type": "module", "private": true, "dependencies": { "@hono/node-server": "^1.9.0", "hono": "^4.1.3", - "frames.js": "^0.11.2", + "frames.js": "^0.12.0", "react": "^18.2.0" }, "devDependencies": { - "@frames.js/debugger": "^0.1.13", + "@frames.js/debugger": "^0.1.15", "@hono/vite-dev-server": "^0.10.0", "@types/node": "^18.17.0", "@types/react": "^18.2.45", diff --git a/templates/next-starter-with-examples/CHANGELOG.md b/templates/next-starter-with-examples/CHANGELOG.md new file mode 100644 index 000000000..128717807 --- /dev/null +++ b/templates/next-starter-with-examples/CHANGELOG.md @@ -0,0 +1,12 @@ +# template-next-starter-with-examples + +## 0.0.1 + +### Patch Changes + +- Updated dependencies [424b0ea] +- Updated dependencies [e681ce9] +- Updated dependencies [40934fb] +- Updated dependencies [2290278] +- Updated dependencies [e681ce9] + - frames.js@0.12.0 diff --git a/templates/next-starter-with-examples/package.json b/templates/next-starter-with-examples/package.json index 723d3ecaa..c9ca1baba 100644 --- a/templates/next-starter-with-examples/package.json +++ b/templates/next-starter-with-examples/package.json @@ -1,6 +1,6 @@ { "name": "template-next-starter-with-examples", - "version": "0.0.0", + "version": "0.0.1", "private": true, "scripts": { "dev": "concurrently --kill-others \"next dev\" \"frames --url http://localhost:3000\"", @@ -15,7 +15,7 @@ "@xmtp/frames-validator": "^0.5.0", "class-variance-authority": "^0.7.0", "clsx": "^2.1.0", - "frames.js": "^0.11.2", + "frames.js": "^0.12.0", "lucide-react": "^0.331.0", "next": "^14.1.0", "react": "^18.2.0", @@ -26,7 +26,7 @@ "node": ">=18.17.0" }, "devDependencies": { - "@frames.js/debugger": "^0.1.13", + "@frames.js/debugger": "^0.1.15", "@types/node": "^18.17.0", "@types/react": "^18.2.0", "@types/react-dom": "^18.2.0", diff --git a/templates/next-utils-starter/CHANGELOG.md b/templates/next-utils-starter/CHANGELOG.md new file mode 100644 index 000000000..783eb32b1 --- /dev/null +++ b/templates/next-utils-starter/CHANGELOG.md @@ -0,0 +1,12 @@ +# template-next-utils-starter + +## null + +### Patch Changes + +- Updated dependencies [424b0ea] +- Updated dependencies [e681ce9] +- Updated dependencies [40934fb] +- Updated dependencies [2290278] +- Updated dependencies [e681ce9] + - frames.js@0.12.0 diff --git a/templates/next-utils-starter/package.json b/templates/next-utils-starter/package.json index 21bf07e6e..ce4059f62 100644 --- a/templates/next-utils-starter/package.json +++ b/templates/next-utils-starter/package.json @@ -1,6 +1,6 @@ { "name": "template-next-utils-starter", - "version": "", + "version": null, "private": true, "type": "module", "scripts": { @@ -10,14 +10,14 @@ "lint": "next lint" }, "dependencies": { - "frames.js": "^0.11.2", + "frames.js": "^0.12.0", "next": "^14.0.4", "react": "^18.2.0", "react-dom": "^18.2.0" }, "devDependencies": { "@next/eslint-plugin-next": "^14.0.4", - "@frames.js/debugger": "^0.1.13", + "@frames.js/debugger": "^0.1.15", "@types/eslint": "^8.56.1", "@types/node": "^20.10.6", "@types/react": "^18.2.46", diff --git a/templates/next/CHANGELOG.md b/templates/next/CHANGELOG.md new file mode 100644 index 000000000..b7e2af143 --- /dev/null +++ b/templates/next/CHANGELOG.md @@ -0,0 +1,12 @@ +# template-next + +## 0.0.1 + +### Patch Changes + +- Updated dependencies [424b0ea] +- Updated dependencies [e681ce9] +- Updated dependencies [40934fb] +- Updated dependencies [2290278] +- Updated dependencies [e681ce9] + - frames.js@0.12.0 diff --git a/templates/next/package.json b/templates/next/package.json index a76f724e3..ca47786e3 100644 --- a/templates/next/package.json +++ b/templates/next/package.json @@ -1,10 +1,10 @@ { "name": "template-next", - "version": "0.0.0", + "version": "0.0.1", "private": true, "type": "module", "dependencies": { - "frames.js": "^0.11.2", + "frames.js": "^0.12.0", "next": "^14.1.2", "react": "^18.2.0", "react-dom": "^18.2.0" @@ -13,7 +13,7 @@ "@types/node": "^18.17.0", "@types/react": "^18.2.0", "@types/react-dom": "^18.2.0", - "@frames.js/debugger": "^0.1.13", + "@frames.js/debugger": "^0.1.15", "concurrently": "^8.2.2", "typescript": "^5.3.3" }, diff --git a/templates/remix/CHANGELOG.md b/templates/remix/CHANGELOG.md new file mode 100644 index 000000000..3d5becf30 --- /dev/null +++ b/templates/remix/CHANGELOG.md @@ -0,0 +1,12 @@ +# template-remix + +## 0.0.1 + +### Patch Changes + +- Updated dependencies [424b0ea] +- Updated dependencies [e681ce9] +- Updated dependencies [40934fb] +- Updated dependencies [2290278] +- Updated dependencies [e681ce9] + - frames.js@0.12.0 diff --git a/templates/remix/package.json b/templates/remix/package.json index 973f0a81f..1f61d4a87 100644 --- a/templates/remix/package.json +++ b/templates/remix/package.json @@ -1,6 +1,6 @@ { "name": "template-remix", - "version": "0.0.0", + "version": "0.0.1", "private": true, "type": "module", "engines": { @@ -10,13 +10,13 @@ "@remix-run/node": "^2.8.1", "@remix-run/react": "^2.8.1", "@remix-run/serve": "^2.8.1", - "frames.js": "^0.11.2", + "frames.js": "^0.12.0", "isbot": "^4.1.0", "react": "^18.2.0", "react-dom": "^18.2.0" }, "devDependencies": { - "@frames.js/debugger": "^0.1.13", + "@frames.js/debugger": "^0.1.15", "@remix-run/dev": "^2.8.1", "@types/react": "^18.2.20", "@types/react-dom": "^18.2.7",