Skip to content

v1.5.0

Compare
Choose a tag to compare
@fatfisz fatfisz released this 24 Nov 00:28
· 134 commits to master since this release

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