Skip to content

Commit fa7030b

Browse files
Version Packages
1 parent 6376f62 commit fa7030b

11 files changed

+32
-53
lines changed

.changeset/beige-hounds-enjoy.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/bright-ligers-jam.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/clever-ghosts-grin.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/fifty-hounds-press.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/fluffy-poets-happen.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/gentle-trains-attack.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changeset/quiet-toes-carry.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/soft-badgers-clap.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/thick-islands-share.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
11
# preact-render-to-string
22

3+
## 6.0.0
4+
5+
### Major Changes
6+
7+
- [#241](https://github.com/preactjs/preact-render-to-string/pull/241) [`e8cbf66`](https://github.com/preactjs/preact-render-to-string/commit/e8cbf66b2620842671b5c95817454ff2ddb0e450) Thanks [@developit](https://github.com/developit)! - Improve performance by another 5-10% using `switch` and short-circuiting, and move pretty-printing from into `preact-render-to-string/jsx`.
8+
9+
* [#282](https://github.com/preactjs/preact-render-to-string/pull/282) [`6376f62`](https://github.com/preactjs/preact-render-to-string/commit/6376f62309ec19482ded68406a03910ad6de57d1) Thanks [@JoviDeCroock](https://github.com/JoviDeCroock)! - Remove trailing space for void_elements, this could fail some test_assertions as
10+
`<img />` will become `<img/>`, the other `VOID_ELEMENTS` this will be applied for
11+
can be found [here](https://github.com/preactjs/preact-render-to-string/blob/remove-trailing-space/src/index.js#L368-L385)
12+
13+
- [#286](https://github.com/preactjs/preact-render-to-string/pull/286) [`7a8b590`](https://github.com/preactjs/preact-render-to-string/commit/7a8b590237a70e8708e46cb1d92ab24327f60160) Thanks [@JoviDeCroock](https://github.com/JoviDeCroock)! - Remove the castin to VNode for `preact/debug`, this is fixed in Preact >= 10.13.0
14+
15+
### Patch Changes
16+
17+
- [#286](https://github.com/preactjs/preact-render-to-string/pull/286) [`7a8b590`](https://github.com/preactjs/preact-render-to-string/commit/7a8b590237a70e8708e46cb1d92ab24327f60160) Thanks [@JoviDeCroock](https://github.com/JoviDeCroock)! - Change style calculation to use a Set rather than Regex
18+
19+
* [#285](https://github.com/preactjs/preact-render-to-string/pull/285) [`a0546fe`](https://github.com/preactjs/preact-render-to-string/commit/a0546fe6a008eca54edfcd97f775c4b5581d086c) Thanks [@JoviDeCroock](https://github.com/JoviDeCroock)! - Fix CJS export
20+
21+
- [#288](https://github.com/preactjs/preact-render-to-string/pull/288) [`0b04860`](https://github.com/preactjs/preact-render-to-string/commit/0b0486029ca10a846c368a0ab404e4b2e8eb96d6) Thanks [@glenchao](https://github.com/glenchao)! - Enumerate draggable attribute, so the output isn't `draggable` but `draggable="true"`
22+
23+
* [#283](https://github.com/preactjs/preact-render-to-string/pull/283) [`3defa9d`](https://github.com/preactjs/preact-render-to-string/commit/3defa9dab48cc7379c9135d92273fbb7f886cab0) Thanks [@JoviDeCroock](https://github.com/JoviDeCroock)! - Follow up fixes to #278
24+
25+
- [#270](https://github.com/preactjs/preact-render-to-string/pull/270) [`5c6877d`](https://github.com/preactjs/preact-render-to-string/commit/5c6877d13d60b4cdd87632ac3052b006207568ff) Thanks [@developit](https://github.com/developit)! - improve unmount option hook call performance
26+
27+
* [#278](https://github.com/preactjs/preact-render-to-string/pull/278) [`8cf7cef`](https://github.com/preactjs/preact-render-to-string/commit/8cf7cef0e96b3e48ffea5fcf4f76db6410de8346) Thanks [@JoviDeCroock](https://github.com/JoviDeCroock)! - Improve performance by
28+
29+
- storing the void_elements in a Set
30+
- hoisting the `x-link` regex
31+
- remove case-insensitive from regexes and calling `.toLowerCase()` instead
32+
- caching suffixes for css-props
33+
334
## 5.2.6
435

536
### Patch Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "preact-render-to-string",
33
"amdName": "preactRenderToString",
4-
"version": "5.2.6",
4+
"version": "6.0.0",
55
"description": "Render JSX to an HTML string, with support for Preact components.",
66
"main": "dist/index.js",
77
"umd:main": "dist/index.umd.js",

0 commit comments

Comments
 (0)