github-actions
released this
07 Mar 22:28
·
317 commits
to main
since this release
Minor Changes
-
#109
e5296d8
Thanks @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:
- Deprecated
cycle
from context – you can now omit the conditionals completely.
app.frame('/', c => { - if (c.cycle === 'main') console.log('hello world') + console.log('hello world') })
- Deprecated
fonts
property inc.res
in favor offonts
on frame route options:
app.frame('/', c => { return c.res({ imageOptions: { - fonts: // ... } }) }, { + fonts: // ... })
- Deprecated