html-to-react
Version:
A lightweight library that converts raw HTML to a React DOM structure.
260 lines (143 loc) • 12.1 kB
Markdown
# Change Log
## Master/Unreleased
## [v1.7.0](https://github.com/aknuds1/html-to-react/tree/v1.7.0)
- Don't process attributes for custom elements [151](https://github.com/aknuds1/html-to-react/pull/151) ([bilobom](https://github.com/bilobom))
## [v1.6.0](https://github.com/aknuds1/html-to-react/tree/v1.6.0)
- Use React as peer dependency [149](https://github.com/aknuds1/html-to-react/pull/149) ([woofers](https://github.com/woofers))
- Add TypeScript type definitions [#146](https://github.com/aknuds1/html-to-react/pull/146) ([xnevz](https://github.com/xnevz), [aknuds1](https://github.com/aknuds1))
## [v1.5.1](https://github.com/aknuds1/html-to-react/tree/v1.5.1)
- Don't camelCase CSS custom properties [145](https://github.com/aknuds1/html-to-react/pull/145) ([tylersticka](https://github.com/tylersticka))
## [v1.5.0](https://github.com/aknuds1/html-to-react/tree/v1.5.0)
- Drop dependency on Ramda
## [v1.4.8](https://github.com/aknuds1/html-to-react/tree/v1.4.8)
- Bump Ramda to 0.28 [#138](https://github.com/aknuds1/html-to-react/pull/138) ([rajatdua](https://github.com/rajatdua))
## [v1.4.7](https://github.com/aknuds1/html-to-react/tree/v1.4.7)
- Make sure event handlers, f.ex. "onclick", are functions [#126](https://github.com/aknuds1/html-to-react/pull/126) ([aknuds1](https://github.com/aknuds1))
## [v1.4.6](https://github.com/aknuds1/html-to-react/tree/v1.4.6)
- Handle boolean attributes differing from React's representation [\#132](https://github.com/aknuds1/html-to-react/pull/132) ([aknuds1](https://github.com/aknuds1))
## [v1.4.5](https://github.com/aknuds1/html-to-react/tree/v1.4.5)
- Add support for React 17 [\#120\(https://github.com/aknuds1/html-to-react/pull/120) ([rexxars](https://github.com/rexxars))
## [v1.4.4](https://github.com/aknuds1/html-to-react/tree/v1.4.4)
- Upgrade htmlparser2 to v5
## [v1.4.3](https://github.com/aknuds1/html-to-react/tree/v1.4.3)
- Handle non-boolean empty element attributes
## [v1.4.2](https://github.com/aknuds1/html-to-react/tree/v1.4.2)
- Support onclick attribute of HTML elements
## [v1.4.1](https://github.com/aknuds1/html-to-react/tree/v1.4.1)
- Allow nodes to be preprocessed [\#99](https://github.com/aknuds1/html-to-react/pull/99) ([aknuds1](https://github.com/aknuds1))
## [v1.4.0](https://github.com/aknuds1/html-to-react/tree/v1.4.0)
- Allow nodes to be preprocessed [\#90](https://github.com/aknuds1/html-to-react/pull/90) ([manixate](https://github.com/manixate))
## [v1.3.4](https://github.com/aknuds1/html-to-react/tree/v1.3.4)
- Use lodash.camelcase instead of underscore.string.fp [\#76](https://github.com/aknuds1/html-to-react/pull/76) ([codepunkt](https://github.com/codepunkt))
## [v1.3.3](https://github.com/aknuds1/html-to-react/tree/v1.3.3)
- Handle free-standing text nodes in HTML
[Full Changelog](https://github.com/aknuds1/html-to-react/compare/v1.3.2...v1.3.3)
## [v1.3.2](https://github.com/aknuds1/html-to-react/tree/v1.3.2)
- Handle directives in HTML
[Full Changelog](https://github.com/aknuds1/html-to-react/compare/v1.3.1...v1.3.2)
## [v1.3.1](https://github.com/aknuds1/html-to-react/tree/v1.3.1)
- Handle invalid inline styles
[Full Changelog](https://github.com/aknuds1/html-to-react/compare/v1.3.0...v1.3.1)
**Merged pull requests:**
- Handle invalid inline styles [\#52](https://github.com/aknuds1/html-to-react/pull/52) ([nickpalmer](https://github.com/nickpalmer))
## [v1.3.0](https://github.com/aknuds1/html-to-react/tree/v1.3.0)
- Upgrade to React 16
[Full Changelog](https://github.com/aknuds1/html-to-react/compare/v1.2.12...v1.3.0)
## [v1.2.12](https://github.com/aknuds1/html-to-react/tree/v1.2.12)
- Trim inline style props values
[Full Changelog](https://github.com/aknuds1/html-to-react/compare/v1.2.11...v1.2.12)
**Merged pull requests:**
- Trim inline style props values [\#47](https://github.com/aknuds1/html-to-react/pull/47) ([gycianka](https://github.com/gycianka))
## [v1.2.11](https://github.com/aknuds1/html-to-react/tree/v1.2.11)
- Handle base64 inlined images
[Full Changelog](https://github.com/aknuds1/html-to-react/compare/v1.2.10...v1.2.11)
**Merged pull requests:**
- Fix for base64 inlined images [\#33](https://github.com/aknuds1/html-to-react/pull/33) ([aleemb](https://github.com/aleemb))
## [v1.2.10](https://github.com/aknuds1/html-to-react/tree/v1.2.10)
- Handle background-image styles
[Full Changelog](https://github.com/aknuds1/html-to-react/compare/v1.2.9...v1.2.10)
**Merged pull requests:**
- Handle background-image styles [\#31](https://github.com/aknuds1/html-to-react/pull/31) ([brett-nuske-alliancesoftware](https://github.com/brett-nuske-alliancesoftware))
## [v1.2.9](https://github.com/aknuds1/html-to-react/tree/v1.2.9)
- Handle `for` attribute
[Full Changelog](https://github.com/aknuds1/html-to-react/compare/v1.2.8...v1.2.9)
## [v1.2.8](https://github.com/aknuds1/html-to-react/tree/v1.2.8)
- Handle xmlns:xlink
[Full Changelog](https://github.com/aknuds1/html-to-react/compare/v1.2.7...v1.2.8)
**Merged pull requests:**
- Converting for to htmlFor [\#30](https://github.com/aknuds1/html-to-react/pull/30) ([nathanfriemel](https://github.com/nathanfriemel))
## [v1.2.7](https://github.com/aknuds1/html-to-react/tree/v1.2.7)
- Depend directly on domhandler, for compatibility with older Node.js
[Full Changelog](https://github.com/aknuds1/html-to-react/compare/v1.2.6...v1.2.7)
## [v1.2.6](https://github.com/aknuds1/html-to-react/tree/v1.2.6)
- Make library smaller
[Full Changelog](https://github.com/aknuds1/html-to-react/compare/v1.2.5...v1.2.6)
## [v1.2.5](https://github.com/aknuds1/html-to-react/tree/v1.2.5)
[Full Changelog](https://github.com/aknuds1/html-to-react/compare/v1.2.4...v1.2.5)
**Merged pull requests:**
- Test of inline style with characters entities. [\#21](https://github.com/aknuds1/html-to-react/pull/21) ([Gycianka](https://github.com/Gycianka))
## [v1.2.4](https://github.com/aknuds1/html-to-react/tree/v1.2.4)
[Full Changelog](https://github.com/aknuds1/html-to-react/compare/v1.2.3...v1.2.4)
**Merged pull requests:**
- parsing multiple root elements [\#17](https://github.com/aknuds1/html-to-react/pull/17) ([oroce](https://github.com/oroce))
## [v1.2.3](https://github.com/aknuds1/html-to-react/tree/v1.2.3)
[Full Changelog](https://github.com/aknuds1/html-to-react/compare/v1.2.2...v1.2.3)
**Merged pull requests:**
- Occurrence of ampersand in attributes are decoded to `&` to avoid ano… [\#15](https://github.com/aknuds1/html-to-react/pull/15) ([gerhardsletten](https://github.com/gerhardsletten))
## [v1.2.2](https://github.com/aknuds1/html-to-react/tree/v1.2.2)
[Full Changelog](https://github.com/aknuds1/html-to-react/compare/v1.2.1...v1.2.2)
**Merged pull requests:**
- handle xmlns attributes (e.g. xlink:href) [\#9](https://github.com/aknuds1/html-to-react/pull/9) ([gfx](https://github.com/gfx))
## [v1.2.1](https://github.com/aknuds1/html-to-react/tree/v1.2.1)
[Full Changelog](https://github.com/aknuds1/html-to-react/compare/v1.2.0...v1.2.1)
## [v1.2.0](https://github.com/aknuds1/html-to-react/tree/v1.2.0)
[Full Changelog](https://github.com/aknuds1/html-to-react/compare/v1.1.2...v1.2.0)
**Merged pull requests:**
- Replace element children [\#2](https://github.com/aknuds1/html-to-react/pull/3) ([hirefrederick](https://github.com/hirefrederick))
## [v1.1.2](https://github.com/aknuds1/html-to-react/tree/v1.1.2)
[Full Changelog](https://github.com/aknuds1/html-to-react/compare/v1.1.1...v1.1.2)
## [v1.1.1](https://github.com/aknuds1/html-to-react/tree/v1.1.1)
[Full Changelog](https://github.com/aknuds1/html-to-react/compare/v1.1.0...v1.1.1)
## [v1.1.0](https://github.com/aknuds1/html-to-react/tree/v1.1.0)
[Full Changelog](https://github.com/aknuds1/html-to-react/compare/v1.0.0...v1.1.0)
## [v1.0.0](https://github.com/mikenikles/html-to-react/tree/v1.0.0)
[Full Changelog](https://github.com/mikenikles/html-to-react/compare/v0.1.0...v1.0.0)
**Fixed bugs:**
- Travis build fails due to a ReferenceError [\#11](https://github.com/mikenikles/html-to-react/issues/11)
**Closed issues:**
- Should not insert spans into tables even if there is white space [\#30](https://github.com/mikenikles/html-to-react/issues/30)
- Img, br and hr tags produce warnings [\#29](https://github.com/mikenikles/html-to-react/issues/29)
- using import instead of require [\#26](https://github.com/mikenikles/html-to-react/issues/26)
- Cherry pick lodash [\#22](https://github.com/mikenikles/html-to-react/issues/22)
- problem with textarea [\#9](https://github.com/mikenikles/html-to-react/issues/9)
- Warning: Each child in an array or iterator should have a unique "key" prop. Check the render method [\#7](https://github.com/mikenikles/html-to-react/issues/7)
- State of the library? [\#6](https://github.com/mikenikles/html-to-react/issues/6)
- best way to pass callbacks? [\#5](https://github.com/mikenikles/html-to-react/issues/5)
**Merged pull requests:**
- Treat textarea as a void element [\#33](https://github.com/mikenikles/html-to-react/pull/33) ([mikenikles](https://github.com/mikenikles))
- Clean up NPM scripts [\#32](https://github.com/mikenikles/html-to-react/pull/32) ([mikenikles](https://github.com/mikenikles))
- Pass through options to parser [\#27](https://github.com/mikenikles/html-to-react/pull/27) ([benjeffery](https://github.com/benjeffery))
- Use modularized lodash [\#25](https://github.com/mikenikles/html-to-react/pull/25) ([no23reason](https://github.com/no23reason))
- Test with node 4 and 5 on travis [\#24](https://github.com/mikenikles/html-to-react/pull/24) ([thangngoc89](https://github.com/thangngoc89))
- Fix npm test [\#21](https://github.com/mikenikles/html-to-react/pull/21) ([mikenikles](https://github.com/mikenikles))
- Create element keys per sequence [\#20](https://github.com/mikenikles/html-to-react/pull/20) ([aknuds1](https://github.com/aknuds1))
- Add editorconfig [\#19](https://github.com/mikenikles/html-to-react/pull/19) ([aknuds1](https://github.com/aknuds1))
- Decode text nodes before passing to React [\#18](https://github.com/mikenikles/html-to-react/pull/18) ([aknuds1](https://github.com/aknuds1))
- Deal with void element tags [\#17](https://github.com/mikenikles/html-to-react/pull/17) ([mikenikles](https://github.com/mikenikles))
- Make sure tests fail on console warnings [\#16](https://github.com/mikenikles/html-to-react/pull/16) ([mikenikles](https://github.com/mikenikles))
- Upgrade React to the latest version [\#15](https://github.com/mikenikles/html-to-react/pull/15) ([mikenikles](https://github.com/mikenikles))
- Fix the blanket dependency for now [\#12](https://github.com/mikenikles/html-to-react/pull/12) ([mikenikles](https://github.com/mikenikles))
- Fix key warning [\#10](https://github.com/mikenikles/html-to-react/pull/10) ([lithin](https://github.com/lithin))
- Fixing parser's error message when multiple roots are found [\#1](https://github.com/mikenikles/html-to-react/pull/1) ([Yomguithereal](https://github.com/Yomguithereal))
## [v0.1.0](https://github.com/mikenikles/html-to-react/tree/v0.1.0) (2015-06-20)
[Full Changelog](https://github.com/mikenikles/html-to-react/compare/v0.0.6...v0.1.0)
## [v0.0.6](https://github.com/mikenikles/html-to-react/tree/v0.0.6) (2015-06-20)
[Full Changelog](https://github.com/mikenikles/html-to-react/compare/v0.0.5...v0.0.6)
## [v0.0.5](https://github.com/mikenikles/html-to-react/tree/v0.0.5) (2015-06-20)
[Full Changelog](https://github.com/mikenikles/html-to-react/compare/v0.0.4...v0.0.5)
## [v0.0.4](https://github.com/mikenikles/html-to-react/tree/v0.0.4) (2015-06-20)
[Full Changelog](https://github.com/mikenikles/html-to-react/compare/v0.0.3...v0.0.4)
## [v0.0.3](https://github.com/mikenikles/html-to-react/tree/v0.0.3) (2015-06-20)
[Full Changelog](https://github.com/mikenikles/html-to-react/compare/v0.0.2...v0.0.3)
## [v0.0.2](https://github.com/mikenikles/html-to-react/tree/v0.0.2) (2015-06-20)
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*