Popis obuhvaća 4 verzije programa Comtrya, od 10. ožujka 2026. do trenutačne 0.13.0. Svaka vodi na instalacijske datoteke na poslužitelju izdavača.
| Verzija | Datum | Veličina | Datoteke |
|---|---|---|---|
| 0.13.0Najnovija | 30. studenoga 2026. | — | 64-bitno Prijenosna verzija Bilješke o izdanjuStage 4 of the road to 1.0.0: make it expressive. Manifests can now say version: 2, the format 1.0.0 will promise to keep. Version 1 manifests keep working unchanged, and comtrya manifests upgrade converts them. 1.0.0 will be the last 0.13.x with that promise added.
Install
curl -fsSL https://comtrya.dev/install.sh | sh
Windows: irm https://comtrya.dev/install.ps1 | iex. Or cargo install comtrya.
Manifest version 2
A chapter of its own and a migration page explain it. In short:
- The manifest is parsed first, then each value is rendered on its own, so an error names the value; the manifest's where is checked before any template (#786)
- A value that is only a template can become a number or a boolean (#788)
- One name per action and field: from/to everywhere, also on file.link; old aliases are refused with the name to use (#786, #787)
- Variants set only the fields that differ from their action, and where picks the variant (#789)
- Files next to the manifest with ./, so your own folder layout works without files/ (#790)
- title names an action in the log (#786)
- register on command.run keeps its stdout, stderr and exit code for later where conditions and templates (#792)
- schema-v2.json for editors (#792)
- comtrya manifests upgrade shows how a version 1 manifest looks in version 2, --write changes the files. A manifest that only needs version: 2 keeps its text and comments, and files that aren't manifests are left alone (#794, #796)
Features
- package.install takes state: present | latest | absent with every provider, in both versions (#791, #793, #26)
- present installs only the missing packages, so a second run does nothing (#800, #805)
- ignore globs in Comtrya.yaml leave files that aren't manifests out (#785)
- manifest.name and manifest.dir contexts, in both versions (#790, #317)
- user.cache_dir context (#799)
Changed
- apt uses apt-get, whose command line is stable for scripts, and doesn't keep downloaded packages. A sudoers rule that lets comtrya run only apt without a password needs apt-get too (#802)
- apt runs apt-get update first when its package lists don't know a package, like on a fresh system (#801)
- An action skipped by its where says so in the log, instead of "nothing to be done to reconcile action" (#806)
- The log line of an action with variants names the variant that ran (#803)
- file.link without from says it needs from (#787)
Fixes
- The file.link docs had from and to reversed (#804)
Security
- cargo deny ignores RUSTSEC-2026-0620 (curve25519-dalek, through age): comtrya only uses age's passphrase (scrypt) encryption, not the affected code, and no fixed version is released yet (#798)
For contributors
- Compat tests compare with comtrya-lib 0.12.0 (#784)
- docs/book.toml builds with mdBook 0.5 |
| 0.12.0 | 27. studenoga 2026. | — | 64-bitno Prijenosna verzija Bilješke o izdanjuStage 3 of the road to 1.0.0: make it readable. Most of this release is inside the code, so it's easier to read and to contribute to. For you, the log reads better and a few bugs are gone. No breaking changes for manifests.
Install
curl -fsSL https://comtrya.dev/install.sh | sh
Windows: irm https://comtrya.dev/install.ps1 | iex. Or cargo install comtrya.
Security
- url 2.5.9 for RUSTSEC-2026-0592, a stack overflow on deeply nested blob: URLs (#779)
Features
- os.arch context names the CPU, like x86_64 or aarch64 (#753)
- Global options also work after the command: comtrya apply -v -d ./manifests is the same as comtrya -v -d ./manifests apply (#756)
Changed
- Step texts in the log say what happens in plain words, like Run pacman -S git or Link ~/.zshrc to files/zshrc (#763)
- Action summaries read the same way, like Copy the contents of a into b or Set com.apple.dock autohide to true; package.install lists its packages (#780)
- Errors of include_variables sources and where conditions keep their cause (#755)
Fixes
- --dry-run shows a file.link to a file an earlier step makes, like a program it unpacks, instead of failing (#754)
- FreeBSD/DragonFly pkg checks with a dry run whether packages would be removed before it installs, like pkgin. Before, it installed right away, twice (#757)
- Windows: directory.copy fails on a link back to a directory above it instead of copying it into itself until the path gets too long (#761)
- A manifest that is a link is named by the link, like dev.git for dev/git.yaml, not by the file it points to (#775)
- macos.default shows what it writes instead of a missing-summary warning (#752)
Build
- Smaller and quicker to build: gix without default features, rustls with ring instead of aws-lc, the update check on reqwest instead of ureq (#765, #768, #769)
- tracing-journald only on Linux, where journald exists (#781)
- sha2 0.11, dirs 7 (#751)
Library (comtrya-lib)
- No anyhow: functions return typed errors, comtrya_lib::error_chain prints them (#755)
- Step has no initializers and finalizers; Exec.stop_if_stdout_contains replaces OutputContains, Event::FinalizersFailed is gone (#757)
- Atom::execute and Exec::execute_with_lines return Result<()>, atoms::Output is removed (#759)
For contributors
- ARCHITECTURE.md: the path of comtrya apply as a diagram, and where to change what (#776, #777)
- Module docs with examples on docs.rs (#774); cargo xtask check runs fmt, clippy, tests, docs and the MSRV check (#773)
- CI: clippy pedantic subset (#764), cargo doc -D warnings (#767), cargo deny and cargo machete (#762)
- Large files split by topic (#770, #771, #772); no unwrap outside tests (#766) |
| 0.11.0 | 31. listopada 2026. | — | 64-bitno Prijenosna verzija Bilješke o izdanjuThe core of comtrya was rebuilt in this release: manifests are parsed in two steps, actions plan typed steps, and a new executor in the library runs them.
That made room for running manifests in parallel, a privileged helper with one password prompt per run, Ctrl-C that stops cleanly, and much clearer errors.
Most manifests keep working unchanged; read Breaking changes first.
Install
curl -fsSL https://comtrya.dev/install.sh | sh
Windows: irm https://comtrya.dev/install.ps1 | iex. Or cargo install comtrya.
Breaking changes
- A manifest that can't be loaded fails the run. A parse or template error, an unreadable file or a newer version now fails that manifest and skips the manifests that depend on it, and comtrya exits with 1, also for --dry-run and status. A depends on a manifest that doesn't exist fails that manifest. Unrelated manifests still run. (#670)
- directory.copy copies the contents of from into to on every platform. Before, on unix, to/<name>/ was created unless to ended with /. Copying a directory into itself now fails. (#720, #721)
- .toml manifests are named without .toml, like .yaml ones: tools/git.toml is tools.git (was tools.git.toml). Update depends and -m that use the old name. (#695)
- Comtrya.yaml in the manifest directory is no longer loaded as an empty manifest named Comtrya.
- Steps that can't run (target is a directory, unknown user or group, wrong passphrase, directory not empty) log a warning Skipping …: reason instead of an error. As before, they don't fail the action.
New
- --jobs N / -j N runs independent manifests at once, each as soon as its dependencies are done. Steps that touch the same paths, package database or terminal take turns. The default stays 1. (#739, closes #15)
- privileged: true (or sudo: true) on every file.* and directory.* action makes the change as root. comtrya keeps running as you and starts one helper through sudo, doas or run0, so you're asked for your password once per run. (#738, closes #502)
- Ctrl-C lets the step that's running finish, then stops; a second Ctrl-C quits at once. (#737)
- continue_on_error: true on any action: a failure becomes a warning and the manifest goes on. (#749, closes #288)
- default_manifests in Comtrya.yaml: what comtrya apply runs without -m. (#745, closes #237)
- Comtrya.yml and Comtrya.toml are read as well as Comtrya.yaml. (#746, closes #239)
- --log-file <path> writes the log to a file too, with timestamps, at least at -v level. (#747, closes #254)
- A status line shows that a long step is still running, on an interactive terminal. (#748, closes #514)
- Unknown keys are warned about with the key that's probably meant, also inside nested objects (`ulr` in `key` of action 1 (package.repository) is ignored, did you mean `url`?). An unknown action name suggests the closest one. (#714, #717, #733)
- luarocks package provider for Lua modules. (#744, closes #311)
- pkgin installs itself on NetBSD with pkg_add when it's missing. (#743, closes #513)
- git.clone accepts repository and reference (branch or tag) again. (#671)
- -v streams program output line by line while command.run and package managers run; a program killed by a signal says so. (#736)
Changed
- --dry-run shows a step that needs a file an earlier step would make, like unpacking an archive that's downloaded first (closes #128). It fails when an action can't be planned, and reports every such action. (#675, #726)
- Errors name the path and keep their cause, like can't create /x/y: No such file or directory or process_with `op inject` failed: Command failed with exit code: 1: bad key. A misspelled action name or a missing field is reported with the action's position and line. (#725, #727, #729)
- Git manifest locations (-d https://…) are updated on every run, use their branch and path (https://github.com/me/dotfiles#main:dotfiles), and fall back to the cached clone offline. (#704, #719)
- include_variables sources are read at the same time; one that hasn't answered after 30 seconds |
| 0.9.2 | 10. ožujka 2026. | — | 64-bitno Prijenosna verzija |