Releases: preactjs/preact-render-to-string
Releases · preactjs/preact-render-to-string
5.1.13
- Improve HTML entity escaping performance (#181, thanks @marvinhagemeister)
Maintenance
- Replace Travis CI with Github Actions (#179, thanks @marvinhagemeister)
- Upgrade devDeps (#177, thanks @andrewiggins)
5.1.12
- Fix
options.diffed
andoptions._commit
never being called (#175, thanks @marvinhagemeister) - Prevent to self-close if
dangerouslySetInnerHTML
is set (#174, thanks @clomie) - Prefer ESM over CJS in package exports (#173, thanks @developit)
5.1.11
Bug Fixes
- Invoke
options._diff
hook (#172, thanks @sventschui) - Do not close void elements with a closing tag (#167, thanks @gpoitch)
- Omit
defaultValue
attribute (#163, thanks @sventschui)
Maintenance
- Add prettier setup (#168, thanks @marvinhagemeister)
- Optimize HTML entity encoding (#170, thanks @developit)
5.1.10
- Fix SSR for
<textarea value>
(#161, thanks @developit) - Add
voidElements
config option (#156, thanks @sventschui) - Keep state changes during
getDerivedStateFromProps
(#155, thanks @sventschui) - Export
renderToString
asrenderToStaticMarkup
(#157, thanks @sventschui) - Stringify boolean
aria-*
attributes (#158, thanks @sventschui)
5.1.9
- Remove the babel debug jsx properties to the stringified html (#152, thanks @JoviDeCroock )
- Fix accidental camelCasing of CSS Variables (#153, thanks @developit)
5.1.8
5.1.7
- Add support for node
exports
(#134, thanks @marvinhagemeister)
5.1.6
5.1.5
- Add
setState()/forceUpdate()
no-op methods to prevent errors (#139, thanks @developit) - Update Travis CI org name to
preactjs
[skip ci] (#138, thanks @mbrukman)
5.1.4
- Add
package-lock
for pika (#132, thanks @JoviDeCroock) - Add TypeScript definitions for JSX renderer (#131, thanks @squidfunk)