- add
core::error::Errorimplementation forminipng::Error, now that theErrortrait is incore. - upgrade to Edition 2024 (MSRV is now probably 1.85.0)
- add overflow check for chunk length. this could have resulted in debug-only panics for maliciously crafted images.
- add “impossible compressed size” check which slightly mitigates the problem of a malicious image causing you to allocate a shitton of memory.