Skip to content

Releases: zspecza/common-tags

v1.5.0

24 Nov 00:28
Compare
Choose a tag to compare

Breaking Changes 🚨

  • stripIndents removes empty lines - this is a bug and will be fixed in v1.5.1 (#128)

Fixes

  • oneLine preserves whitespace within lines (#90) - thanks @hjdivad!
  • inlineArrayTransformer doesn't add extra newlines when maintaining indentation (#114) - thanks @ibrahima!
  • a conjunction is not added by inlineArrayTransformer when there is only one element in an array (#117) - thanks @LucianBuzzo!
  • oneLineTrim works properly in cases where there's no indentation (#126)
  • non-standard (not yet) trimLeft/trimRight were replaced with regular expressions (#127)

New Features

  • "start" and "end" were added as new sides accepted by trimResultTransformer (#127)

Dependencies

  • babel-runtime was bumped to ^6.26.0 from ^6.18.0

v1.4.0

12 Nov 10:16
Compare
Choose a tag to compare
  • Fixed some incorrect documentation for commaList- tags indicating output to be serial/oxford comma when it was not
  • Added support for serial/oxford commas to inlineArrayTransformer
  • Added support for jsnext:main thanks to @k15a

v1.3.1

07 Jul 09:25
Compare
Choose a tag to compare

Removes the requirement on NPM3

v1.3.0

21 Jun 21:00
Compare
Choose a tag to compare

Props to @morcerf on this release 🎊

v1.2.2

16 Jun 14:53
Compare
Choose a tag to compare
  • fixes a small build error on node v4

v1.2.1

08 Jun 21:07
Compare
Choose a tag to compare
  • Fixes a critical bug that prevented more than one use of any tag that uses trimResultTransformer

v1.2.0

30 May 09:36
Compare
Choose a tag to compare
  • Adds aliases for html tag: source and codeBlock

v1.1.2

30 May 09:17
Compare
Choose a tag to compare
  • fixes a bug where missing regenerator-runtime would throw errors during the pre-publish build cycle. (end users need not worry about this if using older versions)

v1.1.1

24 May 02:03
Compare
Choose a tag to compare
  • no longer require default when used in commonjs format
  • small tweak to bithound config regarding unused dependency
  • more terse export syntax
  • tests now warn of dependencies that are not exported properly
  • tests now stop at first failure
  • update wallaby config
  • give contributors credit

v1.1.0

23 May 08:00
Compare
Choose a tag to compare
  • added splitStringTransformer
  • html tag now properly converts newline characters in strings to actual newlines with indentation