Skip to content

Releases: haltcase/tablemark

v3.1.0

02 Apr 02:09
Compare
Choose a tag to compare
FEATURES
  • support eliding padding in header separator (#17) (a4d24ce), closes #16

v3.0.0

26 Oct 03:21
Compare
Choose a tag to compare
FEATURES
  • rewrite in TypeScript as ESM (feb3dd1)
  • require node 14.16+ (21b6d9e)
BREAKING CHANGES
  • support for node <14.16 has been dropped.
  • tablemark must be used as an ES module and is no longer available as common js.
  • the shape of the options object to the tablemark function is simplified:
    • options.stringifyoptions.toCellText
    • options.wrap.widthoptions.wrapWidth
    • options.wrap.guttersoptions.wrapWithGutters
  • a RangeError is thrown instead of a TypeError when
    an invalid alignment is specified.

v2.0.0

26 Jul 00:11
Compare
Choose a tag to compare
FEATURES
BREAKING CHANGES
  • support for node 4, 6, and < 8.10 has been dropped.

v1.2.0

14 Jan 09:38
Compare
Choose a tag to compare
BUG FIXES
  • handle pipes in content correctly (#7) (3f803e9)
FEATURES
PERFORMANCE
  • lift regex out of function scope (6d8ab99)

v1.1.0

14 Jan 09:35
Compare
Choose a tag to compare

Many thanks to @tjconcept for the new features in this latest release. 🎉

FEATURES
  • align cell content (cc5b883) (#1)
  • sentence case headers derived from keys (c2c97ff) (#2)
  • support custom "toString" function (0c5d79b) (#3)