Skip to content

Image Kit ​

1.5.0 ​

2026-10-03

  • Placeholder imports take a list of fields. ?placeholder=color,blurhash returns exactly those fields; the fields are blurhash, thumbhash, color, size, preview (a tiny PNG as a data URI), aspect (width / height) and all, in any order. &shape=raw returns the names as listed (with size as 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, ?aspect and ?preview next to the existing ?blurhash and ?thumbhash.
  • Settings for one import: ?blurhash&components=6x4, &sample=64, &strategy=average. They never touch the shared cache or the manifest.
  • New types option 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; with types: true the plugin writes src/vik-imports.d.ts for 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, ?preview and ?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.