Changelog
All notable changes to this project will be documented in this file.
See Conventional Commits for commit guidelines.
5.2.1
🔧 Fixed
- clarify invalid language subtags (a2ddf70)
- set input arg type back to string and obligatory one at that (636bf2f)
- type defensive language validation (0f5123e)
Performance Improvements
5.2.0
Performance Improvements
- Recorded a 6.09% higher normalized benchmark score than v5.1.3 (4,586,651 → 4,865,837).
🔧 Fixed
✨ Features
add codsen-glob and migrate glob consumers (5595a2b)
fix memory leak, rebase and update all data (2ffb629)
refresh the tooling and generate with the latest dependencies (781f802)
Replace the positional parser with an RFC 5646 cursor parser.
Eliminate per-call RegExp retention; lookup sets and ranges are initialized once.
Fix grandfathered casing, extlang prefixes/count, script→variant parsing, duplicate variants/singletons, extension/private-use handling, and private script endpoints.
Update the registry from 2019 to the official IANA 2026–06–14 snapshot.
Make runme.js (line 1) deterministic, cwd-independent, and prefix-aware.
Fix the vacuous Datahub assertions and added regressions through test 65.
Remove the now-unused codsen-utils dependency and synchronized the lockfile.
Remove obsolete debug logging, resolving the line-label violations.
Thank you https://github.com/DamilojuVeriff for alerting about the leak and raising a POC PR.
5.0.0
💥 BREAKING CHANGES
- Minimum supported Node version is v14.18; we’re dropping v12 support
4.1.2
🔧 Fixed
- address memory leaks related to arrays not being garbage-collected (7001193)
4.1.0
✨ Features
- export types (11b5fb9)
4.0.0
✨ Features
- migrate to ES Modules (8c9d95d)
💥 BREAKING CHANGES
- programs now are in ES Modules and won’t work with Common JS
require()
3.1.0
✨ Features
- config file based major bump blacklisting (e15f9bb)
3.0.15
⏪ Reverts
- Revert “chore: setup refresh” (23cf206)
3.0.1
🔧 Fixed
- add
testStatsto npmignore (f3c84e9)
3.0.0
✨ Features
- rewrite in TS, start using named exports (5b05e0c)
💥 BREAKING CHANGES
- previously, you’d consume like:
import isLangCode from ...— nowimport { isLangCode } from ...
2.0.0
Accidental version bump during migration to SourceHut. Sorry about that.
1.0.0
✨ Features
- init (00776db)
💥 BREAKING CHANGES
- init
1.0.0
- First public release