From 35eba25830d57e12ad02932f1ff797de1f317056 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 8 Mar 2024 09:26:54 +1100 Subject: [PATCH] chore: version packages (#110) Co-authored-by: github-actions[bot] --- .changeset/great-grapes-burn.md | 30 ------------------------------ src/CHANGELOG.md | 31 +++++++++++++++++++++++++++++++ src/package.json | 7 +++++-- src/version.ts | 2 +- 4 files changed, 37 insertions(+), 33 deletions(-) delete mode 100644 .changeset/great-grapes-burn.md 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'