Changelog
All notable changes to this project will be documented in this file.
See Conventional Commits for commit guidelines.
4.0.0
1 Dec 2022
💥 BREAKING CHANGES
- Minimum supported Node version is v14.18; we’re dropping v12 support
3.2.0
12 Aug 2022
✨ Features
3.1.1
18 Apr 2022
🔧 Fixed
- tweak types (53e36a4)
3.1.0
11 Apr 2022
✨ Features
- export defaults and version (1107244)
3.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()
2.1.0
24 May 2021
✨ Features
- config file based major bump blacklisting (e15f9bb)
2.0.15
11 Apr 2021
⏪ Reverts
- Revert “chore: setup refresh” (23cf206)
2.0.1
28 Jan 2021
🔧 Fixed
- add
testStatsto npmignore (f3c84e9)
2.0.0
23 Jan 2021
✨ Features
- rewrite in TS and start using named exports (a716ebe)
💥 BREAKING CHANGES
- before:
import isIndexWithin from …— nowimport { isIndexWithin } from …
1.16.0
28 Nov 2020
Accidental version bump during migration to SourceHut. Sorry about that.
1.15.0
24 Sept 2020
✨ Features
- add safeguards against wrong input types (2949e4d)
1.14.0
1 Jun 2019
✨ Features
- Add benchmark (e8ad5d6)
- Rebase removing all dependencies, simplifying algorithm and making it around 85x faster (a6fb39f)
1.14.0
11 May 2019
Rebased the program to be around 84 times faster — from around 4,443 ops/sec to 396,730 ops/sec. The plain Array.some/Array.find is still around 1.4 times faster (around 490,747 ops/sec) but we perform input validation and still return a result if null is given (meaning there are no ranges) so it simplifies the code of the parent packages.
- 💥 Removed
opts.skipIncomingRangeSortingbecause we’re switched to simpleArray.somenow - 💥 Removed all dependencies:
lodash.isplainobjectcheck-types-miniis-natural-number-stringis-natural-numberordinal-number-suffixranges-sort
1.13.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.9.0
26 Dec 2018
- Now we allow null as ranges array value (2nd arg.) (4c57155)
- Setup refresh and tiny rebasing (4e5cb2c)
1.8.0
25 Oct 2018
- Updated all dependencies
- Restored coveralls.io reporting
- Restored unit test linting
1.7.0
26 Jul 2018
- We now allow 2nd argument to be
null. This will instantly yieldfalseresult and will notthrow. It’s because we want to avoid type checks, and Slices method.current()returns either ranges array ornull. Latter would havethrown up until now.
1.6.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.5.0
11 May 2018
Setup refresh. Plus:
- Set up Prettier
- Removed
package.lockand.editorconfig - Wired Rollup to remove comments from non-dev builds. This means we can now leave the
console.logs in the source code — Rollup will remove from production code. - Unit tests are pointing at ES modules build, which means that code coverage is correct now, without Babel functions being missed
1.4.0
6 Feb 2018
opts.skipIncomingRangeSorting
1.3.0
10 Jan 2018
opts.returnMatchedRangeInsteadOfTrue
1.2.0
29 Nov 2017
- Set up Rollup and now we generate three builds: CommonJS, UMD and ES Modules.
- Rebased the source to be in ES Modules.
1.1.0
13 Sept 2017
- If any of the ranges has starting index bigger than ending (like
[2, 1]), it does not make sense and program willthrow. - Even more unit tests. It does not matter that there’s 100% coverage, the more the better, especially testing edge cases.
1.0.0
13 Sept 2017
- Initial release