v8.0.0
Big, so I figure I should finally start doing release notes.
Breaking changes
- If you're using this package programmatically, as a
required JavaScript module, then you'll have to upgrade to ESMimports, because that's how the library is exposed now. See Sindre Sorhus' helpful document if you're feeling unsure how to migrate.
New features
-
New
!testcommands:exit,only. See the readme. -
You can finally use
<<inside HTML comments now, so you can do shell heredocs. Not because upstream fixed their bug, but because I rejected their reality and substituted my own. -
New
TXM_HAS_COLOR/TXM_HAS_COLOURenv variable exposed to tests, which you can use to force colour on at appropriate times, if you're using a custom assert library inchecktests. (Colours you output onstdout/stderrshow up as part of the error message.) -
Better error messages and documentation improvements.
-
Lighter package; fewer dependencies. Removed yargs, parse5-sax-parser, concat-stream, and wrote the necessary parts myself, because they're not worth the bloat for how little of them we're using. Likely much faster too.
Background maintenance details for nerds
-
I moved the package to ES modules, so the future is here. Was necessary to upgrade dependencies that had moved to ESM. (Tests still use
requirefor now. I'll get around eventually to porting them to real JavaScript.) -
I git CI working on Github Actions, in a way that automatically tests against Node Active LTS.