date: 2026-07-29 title: 'Spice v2.1.2 (Jul 28, 2026)' type: blog authors: [sgrebnov] tags: [release, duckdb, acceleration]
Spice v2.1.2 is now available! 🛠️
Spice v2.1.2 is a patch release focused on improving the DuckDB data accelerator. It upgrades the DuckDB engine to v1.5.5 and introduces the on_full_refresh parameter, giving file-mode DuckDB accelerations compact, predictable disk usage across repeated full refreshes.
on_full_refreshFile-mode DuckDB (opens in a new tab) accelerations using refresh_mode: full now reclaim disk space on every refresh, keeping the database file compact and disk usage predictable for long-running deployments. Each full refresh bulk-loads a fresh copy of the data, and the new on_full_refresh modes ensure the space held by prior copies is returned rather than accumulating in the file.
The new on_full_refresh acceleration parameter controls how disk space is reclaimed after each full refresh:
reuse_file (default): Existing behavior — refresh into the existing database file.replace_file: Each full refresh streams data into a fresh staging database file, carries over every other object sharing the file (other datasets' tables, views, indexes, and Spice metadata), checkpoints it, and atomically replaces the configured file. Queries are never interrupted — in-flight queries drain against the old file while new queries see the new file — and space is fully reclaimed on every refresh.checkpoint_file: After each refresh, run a CHECKPOINT in place, escalating to FORCE CHECKPOINT when concurrent transactions block the plain attempt (waiting for in-flight transactions; never aborting them).The DuckDB engine is upgraded from v1.5.3 to v1.5.5 (opens in a new tab), bringing the latest upstream stability fixes.
No breaking changes.
No new cookbook recipes.
The Spice Cookbook (opens in a new tab) includes more than 100 recipes to help you get started with Spice quickly and easily.
To upgrade to v2.1.2, use one of the following methods:
CLI:
Homebrew:
Docker:
Pull the spiceai/spiceai:2.1.2 image:
For available tags, see DockerHub (opens in a new tab).
Helm:
AWS Marketplace:
Spice is available in the AWS Marketplace (opens in a new tab).
on_full_refresh: replace_file — full refresh into a new database file, atomically replaced by @lukekim (opens in a new tab) in #12135 (opens in a new tab)*Full Changelog: https://github.com/spiceai/spiceai/compare/v2.1.1...v2.1.2 (opens in a new tab)