Release Notes
Added
parcela config keeps this machine's settings in ~/.config/parcela/config.yaml ($XDG_CONFIG_HOME, or PARCELA_CONFIG), with list, get, set, add, remove, unset and path.
sharing.domains and sharing.domain_port share every environment on the machine under its own domains, so a repository no longer names one host's domain. They apply only to projects with an HTTP service; --domain and PARCELA_DOMAIN override them.
sharing.lan, sharing.lan_ip and sharing.tailscale share every run on the machine, for a remote dev box reached over the LAN or tailnet. --no-share still turns sharing off for a run.
proxy.port moves a running proxy and puts the old port back if the new one is taken. proxy.caddy names the Caddy binary. trust: false stops up from offering to trust the CA.
telemetry, updates (like PARCELA_NO_UPDATE=1), worktrees.directory (where create puts checkouts) and ports.backend (the backend port range).
--domain is repeatable and PARCELA_DOMAIN takes a comma-separated list, so one run can be shared under several domains on the same loopback port. Runs saved with one domain keep working after an upgrade.
parcela autostart enable starts again, at login, the environments that were running when the machine went down, shared as their last run was. It installs a per-user LaunchAgent or systemd user unit and needs no password. Environments stopped with down stay stopped.
parcela relay install works on Linux, with systemd socket units running systemd-socket-proxyd as the user.
parcela trust --remove untrusts the CA, and parcela trust --export prints the certificate to install on phones and other computers.
parcela up --detach shows a progress line with the elapsed time and the processes it is waiting on, in a terminal.
CLICOLOR_FORCE and FORCE_COLOR keep colors when output is piped. NO_COLOR still wins.
- A "How it works" page in the documentation draws the pieces, names, requests, sharing and lifecycle.
Changed
parcela proxy install and uninstall are now parcela relay install and uninstall, with parcela relay status; the old names still work. The relay is a system service in front of the proxy, not the proxy itself.
- The debug menu on an app page lists, starts, stops and shows logs for that page's own environment only, so a script in one app cannot see or stop another. Manage all opens the menu on
parcela-ui.localhost, which manages every environment.
parcela telemetry enable and disable save the choice in the host config, so it applies to every state directory. A choice saved in telemetry.json by an older release still applies until then.
- Errors and notices show the command to run in cyan.
parcela config lists keys in columns, with each unset key's default.
parcela --help lists everyday commands first, with shorter descriptions.
ls, status and the checkout view show paths under the home directory as ~/….
parcela doctor suggests parcela open when the environment already runs, and parcela autostart and parcela relay say how to turn them on.
- Ready environments check their processes and listeners every 2 seconds instead of every 200 ms, and the proxy renews routes every second with a 5-second lease. One idle environment spawns about 7 times fewer
ps and lsof processes.
- Commands check whether a running proxy needs updating without taking its lock: about 1 ms instead of 5 ms per command.
Removed
sharing in parcela.yaml. A domain names one machine's front proxy, so it is now a host setting. A file that still has sharing loads, so environments it started can be stopped after upgrading, but the block is ignored with a warning that names the parcela config add sharing.domains command to run instead.
Fixed
parcela relay status reports the port the installed relay forwards to, read from its service file, not the current state directory's proxy port, and says when they differ.
Install parcela 0.8.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/lostcoords/parcela/releases/download/v0.8.0/parcela-installer.sh | sh
Download parcela 0.8.0