Skip to content
Skip to Content

Compatibility

Kache v2 release channels, interfaces, and upgrade behavior

These docs describe stable Kache v2.1.1. Start with Installation to choose a release, or Upgrading to v2 for an existing installation. Release candidates and betas require an explicit version selection.

CLI and configuration

Within stable 2.x releases, documented commands, options, and configuration keys follow the major-version compatibility contract. Removing an interface or changing its meaning requires a major release. New commands, options, and keys can appear in minor releases. Prerelease interfaces can change before their corresponding stable release.

For scripts, use documented JSON output and check schema_version. Consumers should ignore additional fields they do not use. Removing fields or changing their meaning requires a new schema version and a major stable Kache release. Human-readable output, monitor layouts, and diagnostic wording can change. See Command reference for JSON schemas and exit codes.

V2 includes config get, list, set, unset, path, and explain --all. Blaze routing is optional and off by default. Explanations identify producer versions and separate recognized failures recorded before a known fix.

Installation and local state

V2 ships kache and kache-engine. Install matching versions together and keep the companion discoverable next to the client. Existing Cargo wrapper settings continue to name kache. Copying only that executable into a container or a custom package is no longer sufficient.

Cache entries, input predictions, event logs, and compiler incremental state are implementation details. An upgrade can migrate an index, invalidate old keys, or start managed incremental state cold. They are not covered by the JSON CLI contract. A miss after an upgrade does not by itself mean the cache is broken. Historical events cannot acquire diagnostic fields they never recorded.

Use one Kache release per cache/runtime instance. The daemon lifecycle covers replacement, same-version rebuilds, and older clients. Finish active builds before replacing the binaries.

Library crates and planner

Published Kache libraries follow their major version for public Rust APIs; public struct fields, enum variants, and trait methods are part of those APIs. Each crate declares its own minimum Rust version. See the crate boundaries.

The planner service and Helm chart remain previews. Deployment, authentication, and HA behavior can change even when their versions track the CLI release. A planner is optional for local caching and exact remote lookups.

Building from source

The CLI declares Rust 1.95 or newer in Cargo.toml. The repository pins Rust 1.99 for development and release builds. This requirement concerns building Kache; compiler-cache eligibility also depends on the compiler, arguments, platform, and artifact type. See Current support.

Available for:
Apple macOS logomacOSMicrosoft Windows logoWindowsLinux logoLinux
Download Kunobi