Skip to content

Commit

Permalink
chore: version packages (#110)
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 Mar 7, 2024
1 parent e5296d8 commit 35eba25
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 33 deletions.
30 changes: 0 additions & 30 deletions .changeset/great-grapes-burn.md

This file was deleted.

31 changes: 31 additions & 0 deletions src/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
7 changes: 5 additions & 2 deletions src/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = '0.4.8'
export const version = '0.5.0'

0 comments on commit 35eba25

Please sign in to comment.