Documents / Release notes / rel-21abb0e54631
0.30.3 — an older docir keeps the agent files a newer one wrote
agent update, agent install and self upgrade no longer let an older docir replace agent files a newer build wrote; they keep them, warn, and write them only with --force.
🎯 The release¶
An older docir keeps the agent files a newer one wrote, instead of quietly replacing them.
docir agent update regenerated every agent file from the running build's templates, whatever
the file's version stamp said. In a shared repository that meant a teammate one release behind
could replace the skill a newer build had written with older text — and docir self upgrade
did the same whenever its install step did not move the version. Both reported updated and
exited 0.
🐛 Bug fixes¶
-
A file a newer docir wrote is kept, not downgraded (
issue-af3f335688f4). Its row sayskeptand names the version that wrote it, a warning on stderr says what to do, and nothing in the skill directory is written or deleted. This applies todocir agent install,docir agent updateanddocir self upgrade. Upgrade docir and run the command again; only when the older text is what you want — a repository pinned to an older release on purpose — write it anyway:bashdocir agent update --forceAn absent or unparseable stamp is written over as before, and versions are ordered as PEP 440, so
0.10.0is newer than0.9.0.
⬆️ Upgrading¶
- The guard lives in the build that runs the command, so releases before this one still
overwrite. Upgrade every machine that refreshes a shared repository's agent files, then run
docir agent updateso the installed skill explains akeptrow. - If an older build already downgraded your skill,
git log -p .claude/skills/shows when;docir agent updatefrom this release writes the current text back. - A uv tool installed with an exact version pin is one
docir self upgradecannot move — it says so and quotes the installer. Reinstall it the way the installer's hint names, then rundocir self upgrade --no-package.
🔗 Full changelog¶
See CHANGELOG.md