[v2.2.0]
- Add
zstyle ':antidote:bundle:*' min-age <days>to keep bundles a fixed number of days behind upstream, giving a bad push time to be noticed before it reaches your shell. Clones and updates stop at the newest commit that has been upstream long enough. A plugin with no commit that old is still installed at its latest commit. Pinned bundles ignore it. Commit dates are attacker-controlled, so treat this as a cushion, not a supply chain guarantee, and usepin:when you need a fixed commit. - Clone bundles shallow, then deepen them with a background fetch, so the first run stays fast but full history is available afterward. Set
zstyle ':antidote:bundle:*' shallow 'yes'to hold a bundle at its shallow clone. - Make dynamic bundling dramatically faster by caching each
antidote bundleline's generated script under$ANTIDOTE_HOME/.dynamic, sosource <(antidote init)shells reuse the cached script instead of forking a subprocess per line. On local fixtures that takes a warm bundle line from roughly 30ms to under 0.5ms! Setzstyle ':antidote:dynamic' zcompile 'yes'to also compile the cached scripts. - Fix a theme repo sourcing every
.zsh-themeit ships when none is named for the repo directory. Bundlingromkatv/powerlevel10ksourced bothpowerlevel10k.zsh-themeand thepowerlevel9kcompatibility shim. - Fix
antidote updatereporting success when a worker failed, and fix bundles with the same short name overwriting each other's reports. - Fix
antidote update --dry-rundeepening shallow clones, a permanent side effect from a dry run, and repair the temp dir cleanup trap. - Fix
antidote updatetreating ashallow.lockheld by a background deepen as an update failure rather than contention. - Fix
antidote loaddiscarding the existing static file when regeneration failed.
Full Changelog: v2.1.1...v2.2.0