Skip to content

Releases: seangenabe/rubyfy

v4.0.0

14 Nov 18:10
Compare
Choose a tag to compare

Renderer.renderSingle was changed to a member method from being a static method. Added defaults to renderSingle.

v3.0.0

14 Nov 05:19
Compare
Choose a tag to compare

Renderer.render, and by extension rubyfy, has been changed to emit Array<string|HTMLElement> in order to account for invalid HTML being returned originally.

v2.0.0

14 Nov 05:10
Compare
Choose a tag to compare
  • Migrated from CoffeeScript to ECMAScript 2015(-ish...). Only compatible from node v6, transform as necessary.
  • (major) Removed undocumented parser option Parser#regex. If anyone wants to override the regex I use in this module, please submit an issue for your case.
  • (major) Parser and renderer functions now return undefined instead of null in cases where it did before.
  • (major) Parser now accepts input only from Parser#parse instead of the constructor and #text. The result of parse is now invariant among multiple calls to it.
  • (major) #hasRuby has been removed. To check for ruby existence, check the hasRuby property of the returned array.