Skip to content

Commit fbb8fd1

Browse files
committed
docs(CHANGES) preserve symlinks when writing config files
why: Document the symlink-preservation fix and format-detection improvement shipped in this branch. what: - Add Bug fixes entry under v1.59.x unreleased section
1 parent 26af9e8 commit fbb8fd1

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

CHANGES

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,20 @@ $ uvx --from 'vcspull' --prerelease allow vcspull
3737
_Notes on upcoming releases will be added here_
3838
<!-- END PLACEHOLDER - ADD NEW CHANGELOG ENTRIES BELOW THIS LINE -->
3939

40+
### Bug fixes
41+
42+
#### `config`: Preserve symlinks when writing config files (#538)
43+
44+
Config files that are symbolic links (e.g. `~/.vcspull.yaml` pointing to a
45+
dotfiles directory) were being silently replaced by regular files on every
46+
write, destroying the symlink. The write now goes through the link — a temp
47+
file is created next to the real target, renamed into place, and the symlink
48+
directory entry is preserved.
49+
50+
Format detection now also inspects the symlink target's extension, so a
51+
`.yaml` symlink pointing to a `.json` file serialises correctly as JSON rather
52+
than overwriting the target with YAML.
53+
4054
## vcspull v1.58.0 (2026-03-01)
4155

4256
### New features

0 commit comments

Comments
 (0)