Releases: preactjs/preact-render-to-string
Releases · preactjs/preact-render-to-string
3.7.0
Features / Changes
- Add TypeScript definitions (#39, thanks @niedzielski)
- Correct/simplify component name detection (#44, #45)
- Skip
true
values like Preact's default renderer does (#48)
Bug Fixes
- Fix jsx renderer double closing elements (#36, thanks @marvinhagemeister)
- Fix babel preset issue causing babel-loader errors (#35)
- Fix
dangerouslySetInnerHTML
in JSX mode (#42, #46)
- Fix
{nodeName:undefined}
rendering [object Object]
(#38, #47)
3.6.1
- Prevent stateful re-rendering from being triggered during String rendering (preactjs/preact#524).
3.6.0
- Add slashes to self-closing tags to support both XHTML and HTML (#25, thanks @elliotdavies!)
3.5.0
- Add SVG
xlink
prop support with respect for foreignObject
(thanks @wildlyinaccurate!)
3.4.1
- fix performance regression noticed by @lukeed
3.4.0
- Add support for boolean attributes with empty string value (#17, thanks @wyze)
3.3.0
- Don't render empty values as HTML comments (to match preact no longer doing so)
3.2.1
- Fix issue with Preact 6.1+ and the JSX mode where object values for the
class
prop were serialized as objects instead of their normalized string form
3.2.0
- Update to preact 6.1 and fix
class
/className
massaging, fix class
being left as an Object due to changes in Preact 6.1.