Changelog

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

6.0.0

1 Dec 2022

💥 BREAKING CHANGES

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

5.1.0

12 Aug 2022

Features

5.0.0

9 Sept 2021

Features

💥 BREAKING CHANGES

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

4.1.0

24 May 2021

Features

  • config file based major bump blacklisting (e15f9bb)

4.0.15

11 Apr 2021

Reverts

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

4.0.1

28 Jan 2021

🔧 Fixed

  • add testStats to npmignore (f3c84e9)

4.0.0

23 Jan 2021

Features

  • rewrite in TS and start using named exports (353f021)

💥 BREAKING CHANGES

  • previously: import rsort from … — now import { rSort } from …

3.14.0

28 Nov 2020

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

3.13.0

7 Sept 2020

Features

  • discard any nulls among the ranges (5f86fbc)

3.12.0

24 May 2020

Features

  • don’t throw error if input is not array or it’s empty — just quickly return it (e169a87)

3.11.0

1 Feb 2020

Features

  • remove all dependencies (3c8fda8)

3.10.39

2 Oct 2019

Performance Improvements

  • remove orginal number package and check-types-mini, make 165 times faster (6e995c5)

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

3.6.0

26 Dec 2018

3.5.0

29 Nov 2018
  • Add opts.progressFn — if you pass a function, it will report the progress, calling that function with a number between 0 and 100. It’s not precise and meant to be used as an approximate progress indicator.

3.4.0

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

3.3.0

11 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
  • Removed package-lock

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

3.1.0

10 Jan 2018
  • Updated all dependencies and setup in general

3.0.0

3 Dec 2017
  • Set up Rollup, generating three builds: CommonJS, UMD and ES Modules
  • Rebase the code to be natively in ES Modules

PS. Bumping major just in case this breaks API endpoints.

2.1.0

13 Sept 2017
  • Add more description in readme
  • Add more unit tests, including tests for examples used in readme

2.0.0

12 Sept 2017
  • Add opts.strictlyTwoElementsInRangeArrays (default is false, differently from v1 which is opposite)

1.0.0

11 Sept 2017
  • Initial release