Releases: preactjs/preact-render-to-string
Releases · preactjs/preact-render-to-string
5.1.20
Patch Changes
-
#209
298d05e
Thanks @rschristian! - On empty className w/ compat, class attribute will no longer be duplicated -
#203 Thanks @developit! - Fix serialize defaultValue as value attribute
5.1.19
- Fix hooks not working in jsx renderer (#196, thanks @marvinhagemeister)
5.1.18
5.1.17
This release contains a few minor performance improvements.
- Skip effect checks during rendering (#193, thanks @JoviDeCroock)
- Add
encodeEntities
fast path for inputs that don't need anything replaced (#194, thanks @jviide) - Add fast path for
Fragments
and improveencodeEntities
performance on Intel CPUs (#192, thanks @developit)
Maintenance
- Benchmark runner updates (#189, thanks @developit)
- Update test setup (#188, thanks @marvinhagemeister)
5.1.16
Whilst the memoization in #184 does improve runtime scores it has no limit on how much it caches. This could lead to a memory leak for content heavy sites. Let this be a lesson for myself to always put limits on all the things!
Bug Fixes
- Revert "Memoize entity encoding" (#187, thanks @marvinhagemeister)
- Fix empty CSS value not ignored in inline styles (#186, thanks @marvinhagemeister)
5.1.15
- Performance: Memoize entity encoding (#184, thanks @marvinhagemeister)
Maintenance
- Add some simple Benchmarks (#169, thanks @marvinhagemeister)
5.1.4
- Revert back to old
commonjs
behaviour. (#183, thanks @marvinhagemeister)
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)