All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
4.2.0 (2023-07-21)
- export lib files (43a0364)
4.1.0 (2023-07-20)
- add transform option (259eca1)
4.0.0 (2023-05-31)
- deps: bump html-dom-parser from 3.1.7 to 4.0.0
3.0.16 (2023-04-21)
- readme: bump version for README.md typo fixes (9f5ce94)
3.0.15 (2023-03-25)
- package: bump html-dom-parser from 3.1.6 to 3.1.7 (ed585e2)
3.0.14 (2023-03-24)
3.0.13 (2023-03-22)
3.0.12 (2023-03-06)
- package: bump [email protected] to fix formatDOM error (7e18b3c)
3.0.11 (2023-03-04)
3.0.10 (2023-03-04)
- upgrade [email protected] to fix template parsing (7632fc0), closes #849
3.0.9 (2023-02-11)
3.0.8 (2023-01-17)
- package: include types in exports to support TypeScript ESM node16 (39844c4)
- package: bump html-dom-parser from 3.1.2 to 3.1.3 (bfe970a)
- package: bump style-to-js from 1.1.2 to 1.1.3 (7cf5b99)
3.0.7 (2023-01-05)
3.0.6 (2022-12-25)
- package: bump style-to-js from 1.1.1 to 1.1.2 (019f1bc)
3.0.5 (2022-12-25)
- index: don't export unused domhandler class Node (7a9c207)
- index: export domhandler classes (4fc3a73)
3.0.4 (2022-08-23)
3.0.3 (2022-08-20)
- package: upgrade html-dom-parser to fix client ES Module export (415cb59)
3.0.2 (2022-08-19)
3.0.1 (2022-07-10)
- parse head/body with newline correctly (bump html-dom-parser) (d00087a)
3.0.0 (2022-07-05)
- bump domhandler from 4 to 5, html-dom-parser from 2 to 3
- upgrade domhandler to 5.0.3 and html-dom-parser to 3.0.0 (a0f63a2)
2.0.0 (2022-06-18)
- package: remove Internet Explorer (IE) support
- package: bump html-dom-parser from 1.2.0 to 2.0.0 (6eeb156)
1.4.14 (2022-05-30)
- bump style-to-js to 1.1.1; don't capitalize ms vendor prefix (3df9a29)
1.4.13 (2022-05-27)
- export domhandler' Element (095b6a2)
1.4.12 (2022-04-22)
- package.json not defined by exports warning (4456f6a)
1.4.11 (2022-04-15)
- upgrade html-dom-parser to add support for react-native (50eafcc)
1.4.10 (2022-03-30)
- package: add support for React 18 (2816c53)
1.4.9 (2022-03-20)
- package: upgrade [email protected] and [email protected] (20e7fd8c)
1.4.8 (2022-02-06)
1.4.7 (2022-02-05)
- package: upgrade html-dom-parser from 1.0.4 to 1.1.0 (750f5e6)
1.4.6 (2022-01-28)
- add exports main field (03bb4d9)
1.4.5 (2022-01-05)
- make reset and submit input types retain value attribs (b9613f4)
1.4.4 (2021-12-18)
- dom-to-react: trim whitespaces if it is not valid in parent (523e292)
- grammar and doc strings (87b0cd4)
- improved language in README.md and removed TOC item (4126592)
- remove #document from list of node names (d6e3554)
1.4.3 (2021-12-13)
1.4.2 (2021-12-06)
- deps: bump domhandler to 4.3.0 and html-dom-parser to 1.0.4 (2a9783b)
1.4.1 (2021-11-27)
- upgrade dependency html-dom-parser to v1.0.3 (8987efb)
1.4.0 (2021-10-01)
1.3.0 (2021-09-07)
- upgrade
react-property
to get react-dom 17 DOM/SVG properties (f0fbbff)
1.2.9 (2021-09-06)
- deps: bump domhandler from 4.2.0 to 4.2.2 (cac7ddf)
- deps: bump html-dom-parser from 1.0.1 to 1.0.2 (72cccad)
- deps: bump react-property from 1.0.1 to 1.0.2 (9feedd7)
1.2.8 (2021-08-12)
- rename unit test per feedback (f39cf38)
- utilities: skip corrupted style attributes (509486e), closes #256
1.2.7 (2021-06-19)
1.2.6 (2021-04-18)
1.2.5 (2021-04-13)
1.2.4 (2021-02-01)
1.2.3 (2021-01-28)
1.2.2 (2021-01-28)
1.2.1 (2021-01-15)
- package: add missing file (70cdb4c)
1.2.0 (2021-01-15)
- package: add es module entry point (ca0340a)
1.1.2 (2021-01-12)
1.1.1 (2020-12-27)
- escape tags inside of
<title>
([email protected]) (07e1055), closes #202
1.1.0 (2020-12-26)
- index: export
domhandler
node types (dfa0c19)
1.0.0 (2020-12-14)
- package: upgrade dependency
html-dom-parser
to 0.5.0 (5568ed7)
- package: upgrade dependency
html-dom-parser
to 0.5.0
0.14.3 (2020-12-12)
0.14.2 (2020-11-23)
0.14.1 (2020-11-03)
0.14.0 (2020-09-11)
0.13.0 (2020-06-07)
- dom-to-react: add option
trim
that skips whitespace nodes (413eaa0) - index: type
trim
in HTMLReactParserOptions (be71b13)
0.12.0 (2020-06-04)
- index: add htmlparser2 type to HTMLReactParserOptions (81f74fb)
- index: add options.htmlparser2 (c4ecf64)
0.11.1 (2020-06-03)
- index: return empty array if first argument is empty string (7f61f97)
0.11.0 (2020-06-02)
- package: upgrade [email protected] (d30bfdc)
0.10.5 (2020-05-26)
- html-to-react: tidy and organize tests in html-to-react.js (8dfbfe0)
- package: add missing peerDependency
typescript
(91fb693) - package: upgrade devDependencies (b2dc83b)
- rollup: upgrade rollup, consolidate config, remove cross-env (55b2b4e)
0.10.4 (2020-05-25)
- attributes-to-props: test that CSS comment is not parsed (0c27987)
- dom-to-react: tidy tests and add case for single node replace (452f6be)
- tidy tests, replace
assert.equal
withassert.strictEqual
(ef04eff)
0.10.3 (2020-03-28)
0.10.2 (2020-03-13)
- index: add default export for parser (6259959)
- html-to-react: add test to ensure default export for parser (efba1d4)
- html-to-react: have a stronger assert (064f0df)
0.10.1 (2020-02-08)
0.10.0 (2019-11-09)
- package: upgrade dependency [email protected] (87a0486)
- package: upgrade devDependencies (aaddf1b)
- dom-to-react: support Preact (c3e77bb)
- types: move TypeScript tests from
lint
totest
directory (7c9ab9d)
0.9.2 (2019-11-04)
- refactor TypeScript declaration file for
index.d.ts
(f1fc00b)
- package: remove
opencollective-postinstall
(6e0b870) - package: upgrade dependency [email protected] (891eda4), closes #126
0.9.1 (2019-07-09)
- replace
webpack
withrollup
in order to optimize bundle (a04ef27) - index: fix rollup error of mixing named and default exports (230de70)
0.9.0 (2019-07-09)
- attributes-to-props: handle attr named after Object properties (3f857bb)
- package: update
react-property
to 1.0.1 (26ebef9)
- attributes-to-props: check for overloaded boolean values (1151cfb)
- attributes-to-props: replace
react-dom
withreact-property
(d6274b9), closes #107
- attributes-to-props: improve test names (17fbdfd)
0.8.1 (2019-07-03)
- html-to-react: update variable name to fix test (73237dd)
0.8.0 (2019-06-24)
- attributes-to-props: fix lint error
no-prototype-builtins
(fa66dfc)
- package: refactor webpack config and generate sourcemap (5dd4f07)
- package: rename npm script
cover
totest:cover
(7d806c8) - package: update
[email protected]
and devDependencies (b39ac53) - package: update dependencies and devDependencies (8765ea9)
- package: update dependency
style-to-object
to 0.2.3 (c2cc2ec)
- dom-to-react: skip and do not parse <script> content (1fb5ee2)
- html-to-react: add test that verifies
domToReact
is exported (320c364) - verify invalid style for
attributesToProps
throws an error (b97f2e1)
0.7.1 (2019-05-27)
0.7.0 (2019-04-05)
- coveralls: moved dtslint tests to lint folder (306fceb)
- types: html-dom-parser > html-react-parser (438b9af)
- types: add lib/dom-to-react declaration (27ed8b6)
0.6.4 (2019-03-29)
- dom-to-react: allow custom keys for replacement (abf20a2)
- dom-to-react: fix typos in the test (4eec53e)
0.6.3 (2019-03-19)
- typescript: test.tsx after dtslint run (38e6bba)
0.6.2 (2019-03-07)
0.6.1 (2019-01-03)
- utilities: allow numbers in custom style names (5a6600f)
0.6.0 (2018-12-17)
- utilities: add support for custom styles beginning with "--*" (2c0a9dc)
0.5.0 (2018-12-16)
- attributes-to-props: undo default function parameter (1017b25)
- support custom elements in React 16 (7b2c5a8)
0.4.7 (2018-09-14)
0.4.6 (2018-05-13)
- accidentally left a console (953e564)
- added test case for viewBox (261ffb7)
- moving svg mock to correct place (6ffb148)
- svg attributes now correctly handled (94643e1)
0.4.5 (2018-05-09)
- package: upgrade [email protected] (d065c60)
0.4.4 (2018-05-07)
- package: upgrade [email protected] (b4a1c6e)
0.4.3 (2018-03-27)
- parser: fix boolean attributes parsing (e478a44)
- parser: fix case when style is empty string (fa2a8b4)
0.4.2 (2018-02-20)
- package: upgrade [email protected] and devDependencies (1c236ed)
- release: do not lint standard-version commit message (2d35a1f)
0.4.1 (2017-11-28)
- attributes-to-props.js: Remove unappropriate console logging and remove double quote from tests (10ff149)
- attributes-to-props.js: Use AST to transform style attributes into an style object (68cd565)
- utilities.js: Format string to lowercase before converting to camel case and assert the string is a string (4522666)
0.4.0 (2017-10-01)
- react-dom-core to dependencies (closes #43)
react-dom
16 no longer exposeslib
, which includes the DOM property configs- Upgrade devDependencies of
react
andreact-dom
to 16 - Update README and examples
0.3.6 (2017-09-30)
- Dependencies
- [email protected]
- Fixes IE9 client parser bug
- Set react and react-dom versions to
^15.4
- Version 16 no longer exposes
HTMLDOMPropertyConfig
andSVGDOMPropertyConfig
- Version 16 no longer exposes
- [email protected]
0.3.5 (2017-06-26)
- Dependencies
- [email protected]
- Fixes IE client parser bug
- [email protected]
- [email protected]
- [email protected]
- Update webpack to enable scope hoisting
0.3.4 (2017-06-17)
- Dependencies:
- Dependencies:
- jsdomify
0.3.3 (2017-01-27)
- Created CHANGELOG with details on each version release (#37)
- Update examples to load parser from relative
dist/
directory (#36) - Removed unnecessary field "browser" in
package.json
(#36)
0.3.2 (2017-01-26)
- Decode HTML entities by default on node (#34)
0.3.1 (2017-01-10)
- Updated README by fixing CDN installation instructions and adding JSFiddle
0.3.0 (2016-11-18)
- Upgrade
react
andreact-dom
to >15.4
0.2.0 (2016-11-18)
- Create npm script
clean
that removesdist/
directory
- Silence webpack warning by keeping react <15.4 in this version
0.1.1 (2016-11-17)
HTMLDOMPropertyConfig.js
andSVGDOMPropertyConfig.js
have been moved fromreact/lib/
toreact-dom/lib/
in v15.4
0.1.0 (2016-10-14)
- Replace HTML to DOM converter with html-dom-parser (#28)
- Save
html-dom-parser
- Remove
domhandler
andhtmlparser2
- Save
- Update tests and README
0.0.7 (2016-09-27)
- Examples of using the parser with script tag and RequireJS (#26)
0.0.6 (2016-09-27)
- README example with advanced usage of
replace
option from @poacher2k (#17) - Contributors section to README (#21)
- Use webpack to build UMD bundle (#22)
- Regex bug on client parser (#24)
0.0.5 (2016-08-30)
- Remove
key
parameter fromreplace
and useReact.cloneElement
(#18)
- Parsing of
<script>
and<style>
tags (#20)
0.0.4 (2016-08-29)
- Send coverage report generated by istanbul to coveralls (#12)
- Display badges in README (#13, #15)
- Update parser's
replace
option with additional 2nd parameterkey
(#16)
- Void elements (e.g.,
<img />
) should not have children (#16) - Set default
key
parameter for sibling elements due to keys warning (#16)
0.0.3 (2016-08-24)
- Differentiate between node and browser environments for parser (#5)
- HTML to DOM conversion on the client (#10)
0.0.2 (2016-08-23)
package.json
peerDependencies forreact
andreact-dom
0.0.1 (2016-08-23)
- HTML to React parser which consists of:
- HTML string to DOM object converter
- DOM object to React nodes converter
- Tests
- README