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

🔧 Fixed

💥 BREAKING CHANGES

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

5.1.0

12 Aug 2022

Features

5.0.14

21 Apr 2022

🔧 Fixed

  • improve the throw message (9c69a06)

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, start using named exports (85483e4)

💥 BREAKING CHANGES

  • previously: import detectIsItHTMLOrXhtml from … — now import { detectIsItHTMLOrXhtml } from …

3.11.0

28 Nov 2020

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

3.10.0

27 Sept 2020

Features

  • split tests into separate files and add examples (d5d1fc3)

3.9.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.3.0

17 Oct 2018
  • Updated all dependencies
  • Restored unit test coverage tracking: reporting in terminal and coveralls.io
  • Restored unit test linting

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

3 May 2018
  • Set up Prettier
  • 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 — Rollup will remove from production code.

3.0.0

9 Dec 2017
  • Rebased in ES node_modules
  • Set up the Rollup (nice rhyming). Now we generate CommonJS, UMD and ES Module (native code) builds.
  • Set up raw ESLint on airbnb-base preset with semicolons off. Also linting for AVA unit tests.

2.0.0

2 Mar 2017
  • In order to prevent accidental input argument mutation when object is given, now we’re throwing a type error when the input argument is present, but of a wrong type. That’s enough to warrant a major API change under semver.