docs: prepare v0.5.1 release

This commit is contained in:
mirivlad 2026-09-06 21:06:50 +08:00
parent a3d97fb1c0
commit c3492f9a18
3 changed files with 16 additions and 20 deletions

View File

@ -72,13 +72,13 @@ Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0
Debian/Ubuntu (amd64):
```bash
sudo apt install ./sshkeeper_0.4.2-1_amd64.deb
sudo apt install ./sshkeeper_0.5.1-1_amd64.deb
```
Fedora/RHEL-family (x86_64):
```bash
sudo dnf install ./sshkeeper-0.4.2-1.x86_64.rpm
sudo dnf install ./sshkeeper-0.5.1-1.x86_64.rpm
```
`arm64`/`aarch64` packages are published alongside the x86_64 builds. Native
@ -98,8 +98,8 @@ sshkeeper --version
The traditional tar.gz archive remains available too:
```bash
tar -xzf sshkeeper_v0.4.2_linux_amd64.tar.gz
sudo install -m 0755 sshkeeper_v0.4.2_linux_amd64/sshkeeper /usr/local/bin/sshkeeper
tar -xzf sshkeeper_v0.5.1_linux_amd64.tar.gz
sudo install -m 0755 sshkeeper_v0.5.1_linux_amd64/sshkeeper /usr/local/bin/sshkeeper
sshkeeper
```

View File

@ -1,16 +0,0 @@
# sshkeeper v0.4.2 — Package Migration Fix
This patch fixes the legacy binary migration added in v0.4.1.
## Fixed
- Debian/RPM package installation now correctly discovers `~/.local/bin/sshkeeper` from `/etc/passwd`.
- The v0.4.1 postinstall script emitted literal `\t`/`\n` text from awk, so user-home candidates were never parsed.
- `/usr/local/bin/sshkeeper` migration was unaffected.
- Added a regression test that exercises passwd-based discovery instead of only injecting legacy paths directly.
## Result
After installing the package, an older `~/.local/bin/sshkeeper` is backed up and replaced with a symlink to `/usr/bin/sshkeeper`, so the packaged binary wins command resolution even in an existing shell session.
No config, database, vault, SSH keys, or other user data are modified.

12
docs/releases/v0.5.1.md Normal file
View File

@ -0,0 +1,12 @@
# sshkeeper v0.5.1 — Package Migration Fix
v0.5.1 is a patch release on top of v0.5.0 Persistent SSH Sessions.
## Fixed
- Fixed DEB/RPM post-install discovery of legacy per-user binaries at `~/.local/bin/sshkeeper`.
- Package installation now correctly backs up a legacy binary and replaces its old path with a symlink to `/usr/bin/sshkeeper`.
- Added a regression test that discovers the user path through passwd data, matching the real package-install path.
- `sshkeeper --version` and `sshkeeper version` continue to report the embedded release version.
No session functionality from v0.5.0 is removed or rolled back.