Skip to content

v2.4.0

Latest

Choose a tag to compare

@mattmc3 mattmc3 released this 01 Dec 22:10
· 2 commits to main since this release
db7fc72

[v2.4.0]

  • Requires git 2.29 or newer. antidote checks once before cloning or fetching and stops with upgrade advice on an older git. That excludes the stock git on Ubuntu 18.04 (2.17) and 20.04 (2.25); stay on antidote 2.3 there with git -C <antidote dir> checkout v2.3.0.
  • Add a tag: annotation to hold or follow tags (#278). tag:v1.2.3 stays on that tag and antidote update skips it. tag:*, tag:^1, tag:^1.2, and tag:^1.2.3 follow the highest stable version tag in that range, and antidote update moves them forward. Versions compare numerically and pre-releases are skipped. antidote install -t/--tag writes one.
  • Add antidote pin to write pin: annotations for you. It pins each bundle at the commit it has checked out, or at the newest commit on or before a date with --as-of. It prints the result, or rewrites the plugins file with -i and keeps a .bak. --force moves existing pins, --remove drops them, and a tag: line becomes a pin: of the commit its tag names. Bundles it pins get their full history, since antidote update skips them afterward.
  • Accept abbreviated SHAs in pin:, down to 7 characters. A full SHA is still the stronger lock, since anyone who can push to the repo can make a commit with the same short prefix.
  • Accept 64-character SHA-256 commit IDs in pin:, so bundles from SHA-256 repos can be pinned and their snapshots restored. Git 3.0 makes SHA-256 the default for new repos.
  • pin: only takes commit SHAs. A tag name there is an error that points to tag:.
  • Fix antidote update exiting 1 when every bundle is pinned (#279).
  • Fix a repo's extra *.plugin.zsh files being sourced alongside its real one under the escaped path-style, so a repo shipping a deprecated alias loaded twice.
  • Fix a lone new bundle not being zcompiled until its second run.
  • Speed up startup from a compiled static file by skipping the .zwc freshness checks when zsh is already running the compiled copy.
  • Internal: stale-check test fixtures against their generator, so a local fixture dir built before a fixture was added gets rebuilt.

Full Changelog: v2.3.0...v2.4.0