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

backOpen Source→detect-is-it-html-or-xhtml→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.

6.2.1

22 Aug 2026

Performance Improvements

  • optimise package hot paths and JSON editing (f3112bd)

6.2.0

19 Aug 2026

🔧 Fixed

  • make validation diagnostics safe (7b01074)
  • reject non-string falsy inputs (f000de4)
  • resolve various review findings (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)

6.1.3

15 Jan 2026

Performance Improvements

  • Recorded a 15.26% higher normalized benchmark score than v6.0.23 (2,374,844 → 2,737,251).

6.0.0

1 Dec 2022

🔧 Fixed

  • tweak types (96755ff)

💥 BREAKING CHANGES

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

5.1.0

12 Aug 2022

✨ Features

  • export types (11b5fb9)

5.0.15

5 Jul 2022

Performance Improvements

  • Recorded a 41.34% higher normalized benchmark score than v5.0.14 (2,555,865 → 3,612,573).

5.0.14

21 Apr 2022

🔧 Fixed

  • improve the throw message (9c69a06)

Performance Improvements

  • Recorded a 2.36% higher normalized benchmark score than v5.0.13 (2,496,918 → 2,555,865).

5.0.12

22 Jan 2022

Performance Improvements

  • Recorded a 19.71% higher normalized benchmark score than v5.0.11 (2,289,152 → 2,740,302).

5.0.9

24 Dec 2021

Performance Improvements

  • Recorded a 11.4% higher normalized benchmark score than v5.0.8 (3,977,108 → 4,430,618).

5.0.7

30 Nov 2021

Performance Improvements

  • Recorded a 57.85% higher normalized benchmark score than v5.0.5 (3,784,190 → 5,973,495).

5.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()

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