Skip to content

Releases: TroyAlford/react-jsx-parser

Simple method calls, ** & % operators

21 Oct 08:09
Compare
Choose a tag to compare
  • Support simple methods like array.includes() (@timkindberg #106)
  • Support for operators ** and %

Ternaries, Fallbacks, and Dependency Updates

15 Oct 01:13
Compare
Choose a tag to compare
  • updated all dependencies, including migrating to acorn@7+ and acorn-jsx@5+
  • fixed a minor bug with rendering results of boolean comparisons (@timkindberg #104)
  • added fallback rendering for error states (@knsv #102)

Automatic Key Generation + Unrecognized symbols errors

13 Jul 21:06
Compare
Choose a tag to compare

!=, !==, and non-random keys

05 Jun 21:50
Compare
Choose a tag to compare
  • disabled automatically generating random key props (@jeffmwells #90, #73)
  • added support for != and !==

error handling, bound expression calls, ==, ===

24 May 17:15
Compare
Choose a tag to compare
  • When enabled, error handling actually throws errors (@arunoda #87)
  • Fn Expressions in JSX can now take arguments, as foo={bar('baz')} (@jldinh #88)
  • == and === expressions in JSX now correctly result in true or false (@anatollix #89)

Bugfix for whitespace between elements

03 Apr 07:36
Compare
Choose a tag to compare
  • Fixes a subtle error with rendering whitespace between inline elements.

&&, || and ternary parsing

03 Apr 03:18
Compare
Choose a tag to compare
  • Added support for &&, || and cond ? truePart : falsePart ternary syntax! (@kopacki #85)

falsy JsxText renders correctly (honoring 0)

22 Mar 21:28
Compare
Choose a tag to compare
  • JSX like <p>{0}</p> should output <p>0</p> instead of <p></p> (#83)

Spread Operator support for props binding!

20 Mar 16:18
Compare
Choose a tag to compare

Security updates, dependencies, and tooling

03 Mar 01:58
Compare
Choose a tag to compare
  • Resolved vulnerabilities in several dependencies
  • Updated dependencies
  • Migrated to CircleCI v2