Skip to Content
  • Website
Codsen
  • Home
  • Open Source
  • Articles
  • About

backOpen Source→string-collapse-leading-whitespace→Changelog

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.2.0

19 Aug 2026

🔧 Fixed

  • resolve review findings REV-004 through REV-007 (b60e9ee)
  • retire direct publish aliases (f98e31e)

✨ Features

  • add codsen-glob and migrate glob consumers (5595a2b)
  • refresh the tooling and generate with the latest dependencies (781f802)

⏪ Reverts

  • Revert “Merge pull request #128 from codsen/release/npm-32198404552–1″ (5baeeaa), closes #128
  • Revert “Merge pull request #127 from codsen/release/npm-32194020886–1″ (5f1e94d), closes #127

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

  • export types (11b5fb9)

6.0.0

9 Sept 2021

✨ Features

  • migrate to ES Modules (8c9d95d)

💥 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
back 

Copyright

All rights reserved © Roy Revelt 2026
All our open source packages are under MIT licenceopens in a new tab

Activities

🐛 See a bug? Raise an issueopens in a new tab
💘 Check out the Indiewebopens in a new tab and Libera manifestoopens in a new tab