Changelog

All notable changes to this project will be documented in this file.
See Conventional Commits opens in a new tab for commit guidelines.

7.0.0

1 Dec 2022

💥 BREAKING CHANGES

  • Minimum supported Node version is v14.18; we’re dropping v12 support

6.1.0

12 Aug 2022

Features

6.0.0

9 Sept 2021

Features

💥 BREAKING CHANGES

  • programs now are in ES Modules and won’t work with Common JS require()

5.1.0

24 May 2021

Features

  • config file based major bump blacklisting (e15f9bb)

5.0.15

11 Apr 2021

Reverts

  • Revert “chore: setup refresh” (23cf206)

5.0.1

28 Jan 2021

🔧 Fixed

  • add testStats to npmignore (f3c84e9)

5.0.0

23 Jan 2021

Features

  • rewrite in TS, start using named exports (a92b9e8)

💥 BREAKING CHANGES

  • previously you’d consume like: import collWhitespace from … — now consume like import { collWhitespace } from …

4.0.0

28 Nov 2020

Accidental version bump during migration to SourceHut. Sorry about that.

3.0.0

24 Sept 2020

Features

  • properly treat all kinds of line endings (aa197c2)

💥 BREAKING CHANGES

  • it’s a fix to support Windows line endings, CRLF, but no changes API-wise

2.0.0

14 Sept 2019

Features

  • keep raw non-breaking spaces, gather line breaks and non-breaking spaces (fae52f8)

💥 BREAKING CHANGES

  • Nonbreaking spaces are not removed any more

1.12.0

20 Jan 2019
  • Various documentation and setup tweaks after we migrated to monorepo
  • Setup refresh: updated dependencies and all config files using automated tools

1.6.0

26 Dec 2018
  • Add the second argument — originalLimitLinebreaksCount — max ceiling count of consecutive line breaks (74e2458)

1.5.0

25 Oct 2018
  • Updated all dependencies
  • Restored coveralls.io reporting
  • Restored unit test linting

1.4.0

3 Jul 2018
  • Second argument — originalLimitLinebreaksCount — let’s you override previous default of 1 max line break. Whatever natural number is set here, that many, maximum, linebreaks will be put instead of a whitespace (if that whitespace contains that many at the first place). Practically, we need this to allow empty lines in ranges- class libraries’ output. Previously all leading/trailing whitespace was capped to single linebreak and to produce a single empty line we need to consecutive line breaks. This release allows that.

1.3.0

29 Jun 2018
  • Set up Rollup to remove comments from the code

1.2.0

16 Jun 2018

GitHub sold us out. In the meantime, we:

  • Migrated to BitBucket (to host repo + perform CI) and Codacy (for code quality audit)
  • Dropped BitHound (RIP) and Travis

1.1.0

26 May 2018
  • Set up Prettier on a custom ESLint rule set.
  • Removed package.lock and .editorconfig
  • Wired Rollup to remove comments from non-dev builds. This means we can now leave the console.logs in the source code — there’s no need to comment-out console.log statements or care about them not spilling into production. Now it’s done automatically.
  • Unit tests are pointing at ES modules build, which means that code coverage is correct now, without Babel functions being missed. This is important because now code coverage is real again and now there are no excuses not to perfect it.

1.0.0

18 Jan 2018
  • First public release