Image Kit
1.5.0
2026-10-03
- Placeholder imports take a list of fields.
?placeholder=color,blurhashreturns exactly those fields; the fields areblurhash,thumbhash,color,size,preview(a tiny PNG as a data URI),aspect(width / height) andall, in any order.&shape=rawreturns the names as listed (withsizeas an object) instead of<VImage>prop names. The older single values (?placeholder,=blurhash,=thumbhash,=color) keep their shape. See Choosing what to compute. - One value at a time:
?color,?size,?aspectand?previewnext to the existing?blurhashand?thumbhash. - Settings for one import:
?blurhash&components=6x4,&sample=64,&strategy=average. They never touch the shared cache or the manifest. - New
typesoption of the Vite plugin. A TypeScript module pattern allows a single*, so an import with a list or with settings cannot be typed by the bundled declarations; withtypes: truethe plugin writessrc/vik-imports.d.tsfor every such import it sees (a path can be given instead), typed loosely with optional fields. - The bundled declarations (
@macrulez/vue-image-kit/vite/client) gain?color,?size,?previewand?aspect. - A new scalar name is taken only as a bare flag (
?size, not?size=large), so another plugin's parameter with the same name is left alone.