QA-1 (cross-device), QA-5 and QA-8 are closed by the freedesktop trash from 2A.4; list them and the 2C config/session/log changes in v0.2.8. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
72 lines
5.2 KiB
Markdown
72 lines
5.2 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. A replaced archive keeps its permissions (a private `0600` archive no longer becomes
|
|
world-readable), and archive names close to the file-name length limit work again.
|
|
- **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. If an item cannot be moved
|
|
to the trash (e.g. it is on another filesystem than the home trash, or the trash is broken), vcom asks whether to
|
|
delete the remaining items permanently instead; nothing is deleted without that confirmation.
|
|
- **Mirror (`p`) is refused inside an archive.** It used to give the other pane the archive's temporary directory as
|
|
a normal writable directory; changes there were lost when the archive was closed.
|
|
|
|
### SSH
|
|
- **One unsupported line in `~/.ssh/known_hosts` no longer breaks every connection.** Lines with key types vcom
|
|
cannot parse (e.g. OpenSSH 10 `ssh-mldsa44-ed25519`) are skipped with a warning in the log. A host recorded only
|
|
with such a key is refused rather than silently trusted with a different key.
|
|
- Host key types already recorded for a host are preferred in the handshake (like OpenSSH), so a server known only
|
|
by its ed25519 key is no longer reported as "REMOTE HOST IDENTIFICATION HAS CHANGED".
|
|
|
|
### 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, in local and SSH panes.
|
|
- `j`, `k` and other letters can be typed in the filter (they used to move the cursor); arrows still navigate.
|
|
- `?` can be typed in the SSH add-host form (e.g. in passwords); `F1` opens the form's help.
|
|
|
|
### Trash
|
|
- Follows the freedesktop trash spec: items on another filesystem go to that filesystem's `$topdir/.Trash-$uid`
|
|
instead of failing; `.trashinfo` `Path=` is percent-encoded (names with spaces/Cyrillic restore correctly in other
|
|
tools); `XDG_DATA_HOME` is honoured; name collisions (including broken symlinks already in the trash) never
|
|
overwrite an existing trashed item.
|
|
|
|
### Config, session and logs
|
|
- Choosing a theme changes only the `theme = ...` line; comments and other keys in `vcom.toml` are preserved.
|
|
- A broken config no longer prevents startup: vcom starts with defaults and shows the error in the status line.
|
|
- `./vcom.toml` in the current directory is no longer picked up implicitly.
|
|
- Config and session are written atomically. The session moved to `$XDG_STATE_HOME/vcom/session.toml` (migrated
|
|
once from the old location) and is also saved on SIGTERM/SIGHUP.
|
|
- A single rotating log at `$XDG_STATE_HOME/vcom/vcom.log` replaces a new file in `/tmp/vcom-logs` per run;
|
|
secrets are never logged.
|
|
|
|
### 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.
|