diff --git a/.changeset/great-grapes-burn.md b/.changeset/great-grapes-burn.md deleted file mode 100644 index cd155382..00000000 --- a/.changeset/great-grapes-burn.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -"frog": minor ---- - -This version of Frog removes the concept of "Render Cycles". All frames now facilitate a single cycle. - -There are a couple of small **deprecations**: - -1. Deprecated `cycle` from context – you can now omit the conditionals completely. - -```diff -app.frame('/', c => { -- if (c.cycle === 'main') console.log('hello world') -+ console.log('hello world') -}) -``` - -2. Deprecated `fonts` property in `c.res` in favor of `fonts` on frame route options: - -```diff -app.frame('/', c => { - return c.res({ - imageOptions: { -- fonts: // ... - } - }) -}, { -+ fonts: // ... -}) -``` \ No newline at end of file diff --git a/src/CHANGELOG.md b/src/CHANGELOG.md index 23287a70..17caed81 100644 --- a/src/CHANGELOG.md +++ b/src/CHANGELOG.md @@ -1,5 +1,36 @@ # frog +## 0.5.0 + +### Minor Changes + +- [#109](https://github.com/wevm/frog/pull/109) [`e5296d8`](https://github.com/wevm/frog/commit/e5296d8be88efba603aa7b56290a2063fcf27154) Thanks [@jxom](https://github.com/jxom)! - This version of Frog removes the concept of "Render Cycles". All frames now facilitate a single cycle. + + There are a couple of small **deprecations**: + + 1. Deprecated `cycle` from context – you can now omit the conditionals completely. + + ```diff + app.frame('/', c => { + - if (c.cycle === 'main') console.log('hello world') + + console.log('hello world') + }) + ``` + + 2. Deprecated `fonts` property in `c.res` in favor of `fonts` on frame route options: + + ```diff + app.frame('/', c => { + return c.res({ + imageOptions: { + - fonts: // ... + } + }) + }, { + + fonts: // ... + }) + ``` + ## 0.4.8 ### Patch Changes diff --git a/src/package.json b/src/package.json index de3f1e09..257b54f3 100644 --- a/src/package.json +++ b/src/package.json @@ -1,7 +1,7 @@ { "name": "frog", "description": "Framework for Farcaster Frames", - "version": "0.4.8", + "version": "0.5.0", "type": "module", "module": "_lib/index.js", "types": "_lib/index.d.ts", @@ -84,7 +84,10 @@ "license": "MIT", "homepage": "https://frog.fm", "repository": "wevm/frog", - "authors": ["awkweb.eth", "jxom.eth"], + "authors": [ + "awkweb.eth", + "jxom.eth" + ], "funding": [ { "type": "github", diff --git a/src/version.ts b/src/version.ts index 418b1e28..2af0104b 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const version = '0.4.8' +export const version = '0.5.0'