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.1.0
12 Aug 2022
✨ Features
3.0.15
18 Apr 2022
🔧 Fixed
- tweak types (6e721d2)
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.9
23 Mar 2021
🔧 Fixed
- address the
opts.allowCustomTagNames
in context of malformed closing tags (0a785fa) - better detection of missing opening bracket when slash + known tag name follows (b569953)
2.0.1
28 Jan 2021
🔧 Fixed
- add
testStats
to npmignore (f3c84e9)
2.0.0
23 Jan 2021
✨ Features
- rewrite in TS, start using named exports (7842225)
💥 BREAKING CHANGES
- previously, you’d consume like:
import isOpening from …
— nowimport { isOpening } from …
1.10.1
15 Dec 2020
Performance Improvements
- improve from 1.91 opts/sec to 186.179 opts/sec in one branch (eadc8ee)
1.10.0
13 Dec 2020
✨ Features
1.9.0
28 Nov 2020
Accidental version bump during migration to SourceHut. Sorry about that.
1.8.0
7 Sept 2020
✨ Features
- add type checks and split tests into multiple files (6a40e8b)
1.7.0
16 Mar 2020
🔧 Fixed
- require that tag name would not be followed by equal sign (9081082)
✨ Features
- add more tests and finally fix the dashes in front of tag names (2a36483)
- make the requirements more strict for when opening bracket is missing (a672d99)
opts.skipOpeningBracket
(6238e92)- require that tag names matched if !opts.allowCustomTagNames (0638865)
- require that tag names would not start with a dash (messes up broken comment tag logic) (e0ff061)
1.6.0
9 Feb 2020
✨ Features
opts.allowCustomTagNames
(1771e43)
1.5.0
27 Dec 2019
✨ Features
- recognise tags that have attributes with no quotes (cfe677c)
1.4.0
21 Dec 2019
✨ Features
- recognise unknown html attributes with dashes (d13d043)
1.3.0
14 Dec 2019
✨ Features
- add one more type of char arrangement — slash in front, confirmed tag name follows (8d1ecc9)
1.2.0
18 Nov 2019
✨ Features
- improve the algorithm to include way more broken tag cases (fd94b61)
- loosen the requirements for the character that follows recognised tag name sequence (6201e2b)
1.1.0
2 Nov 2019
✨ Features
- init (04dfb3b)
- recognise any html tags which start with bracket followed by a known tag name (3ac6327)
1.0.0
1 Nov 2019
- First public release