Skip to content

Releases: preactjs/preact-render-to-string

6.0.0

28 Mar 10:26
2484cd4

Choose a tag to compare

Major Changes

  • #241 e8cbf66 Thanks @developit! - Improve performance by another 5-10% using switch and short-circuiting, and move pretty-printing + shallow rendering into preact-render-to-string/jsx.

  • #282 6376f62 Thanks @JoviDeCroock! - Remove trailing space for void_elements, this could fail some test_assertions as
    <img /> will become <img/>, the other VOID_ELEMENTS this will be applied for
    can be found here

  • #286 7a8b590 Thanks @JoviDeCroock! - Remove the castin to VNode for preact/debug, this is fixed in Preact >= 10.13.0

Patch Changes

5.2.6

23 Oct 15:47
2dbc28f

Choose a tag to compare

Patch Changes

5.2.5

06 Oct 19:18
359a58e

Choose a tag to compare

Patch Changes

5.2.2

16 Aug 20:09
43689d3

Choose a tag to compare

Patch Changes

5.2.1

12 Jul 20:27
13b68cf

Choose a tag to compare

Patch Changes

5.1.21

08 Apr 08:15
c1eb8c4

Choose a tag to compare

5.1.21

Patch Changes

5.1.20

21 Feb 13:40
936f71d

Choose a tag to compare

Patch Changes

5.1.19

05 Apr 10:49

Choose a tag to compare

5.1.18

30 Mar 00:07

Choose a tag to compare

  • Prevent possible memory leak in 5.1.17.

5.1.17

28 Mar 09:38

Choose a tag to compare

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 improve encodeEntities performance on Intel CPUs (#192, thanks @developit)

Maintenance