Skip to content

Releases: TroyAlford/react-jsx-parser

v1.29.0

03 Dec 18:55
Compare
Choose a tag to compare

bugfix: options tags & key generation

15 May 16:05
Compare
Choose a tag to compare
  • key generation now honors any pre-allocated key props on children (@jonw09 #192)
  • <option> tag correctly renders/binds children, not [object Object] (@rostber #197)
  • bumped several dependency versions for security reasons (#193, #194, #195)

bugfix: patch-package postinstall script

08 Feb 16:17
e854bdd
Compare
Choose a tag to compare
  • fixes an issue with the postinstall use of patch-package (#180)

components prop typing

07 Feb 21:05
bec2ef0
Compare
Choose a tag to compare
  • components prop TS typing now handles ExoticComponent declarations (such as forwardRef) (#174)

@types/react & @types/react-dom => optionalDependencies

30 Nov 23:07
972e162
Compare
Choose a tag to compare
  • moved typescript type dependencies to optionalDependencies (#164)

autoCloseVoidElements (<hr> and <hr/> both work)

14 Nov 21:08
fd97894
Compare
Choose a tag to compare
  • added autoCloseVoidElements prop, allowing HTML-compliant void elements to parse correctly (#163)

Fragments, TS, and peerDependencies

09 Nov 23:43
fae48c8
Compare
Choose a tag to compare
  • Add support for <></> Fragment shorthand (#155)
  • Update peerDependencies to allow react 17 (#159)
  • Another fix for TypeScript typings (#157)

TypeScript Types

16 Oct 23:59
Compare
Choose a tag to compare
  • Change mechanism for defining TypeScript types (#145, #151, #152, #153)
  • Update all dependencies
  • Add contributors list, for npm

Special thanks to @bitPogo for suggestions on how to correct the TS generation!

Support for IE11

07 Jun 18:42
cda0c1e
Compare
Choose a tag to compare
  • Add an es5 build target to output, which fully transpiles acorn-jsx (#124)

TypeScript, className, and renderUnrecognized

02 Jun 08:07
d0ff9d3
Compare
Choose a tag to compare
  • All code is now written in TypeScript, and release contains TS typing. (#123)
  • Support className prop, with output on wrapper div, if enabled (#132)
  • Support renderUnrecognized() prop, for rendering unrecognized tags (#131)