This repository has been archived by the owner on Mar 6, 2024. It is now read-only.
Releases: cloudflare/collapsify
Releases · cloudflare/collapsify
Small bug fixes and clean up of dead code.
General goal of this was to clean up things that are unused/unloved, and reduce the dependencies down to the things that we need and that matter.
The end goal being that long term maintenance is easier.
Fixes:
- Export
simpleCollapsify
correctly from the entrypoint.
Updates:
- Updated to TS 5
- Updated xo for recent ESLint changes.
Removals:
- Removed the http server mode, it was not loved.
- Removed the coverage testing, it was never used.
- Removed
got
from the cli version, used global fetch instead. (hard dep on nodejs >= 18) - Makefile/Travis config, these were unused.
Updater terser
- Update terser for vuln fix.
Fix inline css
Fix for inline css blocks that are larger than 1kb
Refactor and convert to TS
Breaking changes:
- Repository has been converted to Typescript.
- Module format changed to ESM modules.
- Library consumers have to bring their own
fetch
function. - HTML parser has been changed to
html-rewriter-wasm
for native async support, this library loads a WASM binary.
Other changes:
- Better error messages are now returned on failure.
- Numerous dependencies upgrade.
v0.6.0
v0.6.0
Collapsify Bot Now CSS Animated
Now with Sentimental Versioning!
Fixes
- Correctly collapse CSS stylesheets included via a "import" directive in an inline style tag. [https://github.com/cloudflare/collapsify/commit/93d1dbfa292090b66650664a4644e5faec8fc31c] [CP-61]
Additional changes:
- Logging code coverage of CI runs [https://github.com/cloudflare/collapsify/commit/db60ab324bd8bf0a2d4d7c48165e078c35ce0552]
- Extending CI coverage to Node.js 4 [https://github.com/cloudflare/collapsify/commit/5db164b8fde6fed082913feb838128b9391f15e3] [https://github.com/cloudflare/collapsify/commit/630630f8c42638b025805b363a4d86fcec30b706]