v0.1.0¶
To allow for file preview using WASM, chithi required some breaking changes, but we've worked hard to make sure that the upgrade path was smooth as possible.
Installation¶
Update your chithi to latest version using docker-compose.
Inside your docker compose directory for chithi deployment:
Then:
Breaking changes¶
Chithi frontend needs COOP and COEP headers¶
In the latest version of chithi, we do in browser transformation of images to show a preview to users.
Now chithi supports the following transformations:
- SVG -> PNG (using @resvg/resvg-wasm)
- HEIC -> PNG (using heic-to)
- JXL -> PNG (using @jsquash/jxl)
To accomodate these with wasm threads, we have to enable COOP and COEP headers.
You can read an article on web.dev on why COOP and COEP headers are needed.
Info
While the site itself does not change much in meaningful way, having no COOP and COEP headers mean your fonts and other assets wont load properly.
That means your reverse proxy of choice must add the security headers.
Please see the deployment section for your reverse proxy of choice.