Releases: vercel/satori
Releases · vercel/satori
0.0.45
What's Changed
This new release includes a couple of important bug fixes and improvements related to emoji handling, image sizes, viewBox
, currentColor
, break-word
and white-space
, it's recommended to upgrade.
Note: If you are using
@vercel/og
, please upgrade to the latest version@vercel/[email protected]
which is using this new Satori release under the hood.
Core Changes
- feat: support for currentcolor by @LuciNyan in #296
- fix: support for kannada by @ianonavy in #314
- Resolve image size for data URIs by @sahithyandev in #310
- Prefer svg width and height prop and only set viewBox when available by @huozhi in #329
- fix: data uri quote handling by @wei in #333
- Add currentColor support for SVGs by @jueungrace in #299
- Support full width characters and symbols for support for common Japanese text by @neverether in #344
- Fix emojis wrongly handled due to kerning logic by @shuding in #351
- Fix \n bug by @shuding in #352
- Fix word break and add tests by @shuding in #353
Playground and Other Improvements
- fix: playground current color stopped working by @LuciNyan in #294
- Update docs to reflect
currentcolor
support restriction by @jueungrace in #300 - Add exports of
Font
,FontWeight
,FontStyle
types by @wooorm in #292 - feat: add tailwind support for html preview by @promer94 in #330
- Playground improvement by @shuding in #349
New Contributors
- @ianonavy made their first contribution in #314
- @wooorm made their first contribution in #292
- @sahithyandev made their first contribution in #310
- @huozhi made their first contribution in #329
- @wei made their first contribution in #333
- @promer94 made their first contribution in #330
- @neverether made their first contribution in #344
Full Changelog: 0.0.44...0.0.45
0.0.44
What's Changed
- Fixes 234 background image url fails when using quotes by @Sam-Apostel in #256
- Add support for passing in
0
as first argument tolinear-gradient
andrepeating-linear-gradient
+ color model tests by @jueungrace in #251 - Better kerning by @shuding in #258
- Add docs about asm.js/WASM/native differences by @mrkldshv in #259
- chore: use lowercase for resvg-js names by @yisibl in #279
- feat: throw explicit errors when useing unsupported image types by @LuciNyan in #276
- Support multiple directions in linear-gradient by @shuding in #284
- Fix image size resolution by @shuding in #285
- Support Noto math and symbol fonts by @shuding in #286
New Contributors
- @jueungrace made their first contribution in #251
- @yisibl made their first contribution in #279
Full Changelog: 0.0.43...0.0.44
0.0.43
What's Changed
- chore: update readme to mention
dangerouslySetInnerHTML
by @styfle in #226 - fix: support both integer and float numerical values of viewBox, width and height regex matching in image handler by @filipditrich in #225
- Add
whiteSpace: pre-line
support by @shuding in #233 - Improve error message when fonts option is not passed by @wong2 in #232
- feat: playground aspect-ratio configuration added by @rxb3rth in #204
- chore: fix typo by @LuciNyan in #241
- chore: add .idea into .gitignore by @LuciNyan in #242
- feature(playground): Migrate playground app to typescript by @adarshaacharya in #227
- feat: throw error when
dangerouslySetInnerHTML
is used by @mrkldshv in #243 - Fix font weight resolving by @jeetiss in #246
- Support dynamic size by @jeetiss in #247
- Fix emoji detection by @shuding in #248
- Fix SVG parsing bugs with viewBox and width/height by @shuding in #249
New Contributors
- @filipditrich made their first contribution in #225
- @wong2 made their first contribution in #232
- @rxb3rth made their first contribution in #204
- @LuciNyan made their first contribution in #241
- @adarshaacharya made their first contribution in #227
- @mrkldshv made their first contribution in #243
- @jeetiss made their first contribution in #246
Full Changelog: 0.0.42...0.0.43
0.0.42
What's Changed
- doc(README): Add missing definition of jsx example by @azaleta in #191
- chore: Improve error message when improperly loading yoga; run resvg in web worker in playground by @shuding in #210
- fix: Fix consecutive line breaks with
pre
by @shuding in #213 - chore: Refactor image implementation and support background for by @shuding in #214
- fix: backgroundImage with offsets by @Sam-Apostel in #207
New Contributors
- @azaleta made their first contribution in #191
- @Sam-Apostel made their first contribution in #207
Full Changelog: 0.0.41...0.0.42
0.0.41
What's Changed
- fix: remove duplicate styling by @akulsr0 in #193
- feat: Add cjs support by @searchableguy in #195
- chore: added eslint and prettier by @akulsr0 in #196
New Contributors
- @akulsr0 made their first contribution in #193
- @searchableguy made their first contribution in #195
Full Changelog: 0.0.40...0.0.41