No changes yet
- Bump dev. dependencies
- Fix CLI output for non-verbose logging
- Make CLI less verbose
- Fix TypeScript support
- Add JSDoc / TypeScript support
- Back to the roots, minimize dependency footprint, similar to how Mathias Bynens handled the library
- Minimum required node version to execute tests is now 16.7.0, due to the use of
node:stream/consumers
- Asynchronous
minifyPipeline
function utilizing Node.jsnode:stream/promises
pipeline
- Add NodeJS 20.x to the test matrix
- Add (this) changelog
- Add to remove unnecessary standalone declaration from prolog
- Add option to remove schema location attributes from tags
Reduce required NodeJS engine version to >= 16
Major bump to use ES Modules
3.5.0 being the last version to support require
- Fix Node engine definition (Node 10 was never supported)
- Create Node.js test GitHub Action workflow
- Make removing whitespace after XML prolog more lenient
Improve replacing between brackets
Fix issue with preserving whitespace
Add to consider xml:space and <pre> for whitepsace
Add progress indicator to CLI for streaming
Automatically switch to streaming large files
Add minifyStream function and --stream CLI option
CLI to report unknown flags
Add prolog / doctype minification
Add all options to CLI
Add --output
option to CLI
Update README.md w/ online version
Add removeUnusedDefaultNamespace
to README.md
Add tests, shorten namespaces and text trims
Fix multiple used namespaces in attributes
Fix used namespaces in attributes
Fix determine used namespaces
Performance improvement for XML w/o CData tags
Fix to remove whitespace before closing >
Add collapseEmptyElements
option to collapse empty elements
Fix to not minify CDATA sections
Fix issues with unused namespace detection
First NPM release, adapting the original code of Mathias Bynens
Original version(s) by Mathias Bynens. Changes are lost in space