v2.0.0
Note
This release includes multiple API changes. Please refer to the Docs for new usage guide and #171 for v2 roadmap.
This release
🚀 Enhancements
- CLI rewritten with unjs/citty (#167)
- Server rewritten with unjs/h3 (#168)
- Optimize + sanitize svg sources with svgo (#180)
- Use unjs/ofetch to improve http error handling (ac30512)
- http: Allow ignoring
cache-control
header withignoreCacheControl
(4690342)
🩹 Fixes
- Respect global
maxAge
option as fallback (2abe014) - server: Improve
304
handling (06820b5) - server: Append
Vary
header instead of overriding it (fb3cf1d) - server: Set headers only if not already set (ce0cf0e)
💅 Refactors
- Rewrite storage system decoupling from Node.js and with unjs/unstorage support (#164)
- Improve error handling (9826cda)
- Upgrade to unjs/image-meta 0.2.x (1017deb)