vcom/CHANGELOG.md
vrubelroman 0a98a75212 chore: prepare v0.2.8 (changelog, version bump)
Version in model.go, README, PKGBUILD and flake.nix (which was still at
0.2.6). Tagging/publishing is left to the maintainer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 23:15:39 +03:00

43 lines
2.8 KiB
Markdown

# Changelog
## v0.2.8 — stability hotfixes
Data-loss and crash fixes for v0.2.7 while the larger rework is in progress.
### Data loss
- **Archiving no longer destroys the source.** Archiving `data.tar` as tar (or `report.zip` as zip) into the same
directory used to truncate the source; archiving a directory into a pane inside it made the archive include
itself. Both are now refused. Archives are written to a temporary file and renamed into place only on success,
so a failed or cancelled run leaves no partial file and keeps an existing archive intact; replacing an existing
archive asks first.
- **Deleting a remote symlink to a directory no longer wipes the target directory.** The link itself is removed.
- **SSH panes no longer act on local files.** Rename, Enter (edit / run / open / enter archive), archive and unpack
in an SSH pane used to operate on the *local* file with the same path (e.g. running a local
`/usr/local/bin/deploy.sh`). They are now refused with a message until remote support lands.
- **No more writes into an archive pane or the SSH host list.** Copy/move/unpack/archive into a pane showing an
archive used to put files into a temporary directory that is deleted when the archive is closed; with the
`ssh://` host list as target, files went to `./ssh:/…` in the process directory. Both are now refused.
- **Delete moves to the trash by default.** Permanent deletion is chosen explicitly with `D`/`d` in the dialog.
`behavior.confirm_delete = false` now works and skips the question only for the trash.
### Crashes and races
- Caret mode (`i` in the info pane) no longer panics without colors (`NO_COLOR`, dumb terminals).
- Closing an SSH connection while it is in use (background transfer, mirrored pane, preview) no longer races or
panics. Mirrored panes and background jobs share a reference-counted connection: leaving a host in one pane no
longer disconnects the other pane or a running transfer.
### Usability
- Status and error messages are shown in a line above the footer (they were never displayed before).
- Cyrillic (and other non-Latin) text can be typed in mkdir, rename, the filter and the SSH form; Russian-layout
keys still work as commands in the browser.
- `PgDn` works.
- `q` closes the info pane, the filter or the selection first, and quits only from the plain browser; `q` no longer
closes the SSH add-host form while typing.
- `n` cancels yes/no dialogs, as their hints say.
- Creating a directory that already exists reports an error instead of silent success.
### Development
- In-process SSH/SFTP test server with a fault-injecting proxy (`internal/testutil/sshtest`), tree helpers
(`fstree`), a Bubble Tea test driver (`teadriver`) and behavioural smoke tests for the UI.
- CI: `make ci` runs gofmt, vet, a vendor consistency check, build and race-enabled tests; releases run the same
workflow.