Steps to reproduce
Create a file. Make some changes.
Rename the file. Now, the previous changes are not visible in the version history.
Make some changes, then rename the file back to the original name. Now, neither the changes from the original name, or the new name, are visible.
Did you follow the troubleshooting guide? [Y/N]
yes
Expected result
Version history continues to be accessible, somehow, after renaming a file.
Actual result
Version history appears to be completely wiped whenever a file is renamed.
Environment
Reproduced this in a brand new vault, with no modifications except to enable Sync:
SYSTEM INFO:
Obsidian version: v1.6.5
Installer version: v1.6.5
Operating system: #1 SMP PREEMPT_DYNAMIC Fri, 21 Jun 2024 19:49:19 +0000 6.9.6-arch1-1
Login status: logged in
Catalyst license: none
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none
Sync log
2024-07-01 12:44 - Paused
2024-07-01 12:44 - Connecting to server
2024-07-01 12:44 - Connection successful. Detecting changes…
2024-07-01 12:44 - Resumed. Detecting changes…
2024-07-01 12:44 - Uploading file .obsidian/appearance.json
2024-07-01 12:44 - Upload complete .obsidian/appearance.json
2024-07-01 12:44 - Uploading file .obsidian/app.json
2024-07-01 12:44 - Upload complete .obsidian/app.json
2024-07-01 12:44 - Uploading file Welcome.md
2024-07-01 12:44 - Upload complete Welcome.md
2024-07-01 12:44 - Uploading file .obsidian/core-plugins.json
2024-07-01 12:44 - Upload complete .obsidian/core-plugins.json
2024-07-01 12:44 - Uploading file .obsidian/graph.json
2024-07-01 12:44 - Upload complete .obsidian/graph.json
2024-07-01 12:44 - Uploading file .obsidian/core-plugins-migration.json
2024-07-01 12:44 - Upload complete .obsidian/core-plugins-migration.json
2024-07-01 12:44 - Fully synced
2024-07-01 12:45 - Uploading file Untitled.md
2024-07-01 12:45 - Upload complete Untitled.md
2024-07-01 12:45 - Fully synced
2024-07-01 12:45 - Deleting remote file Untitled.md
2024-07-01 12:45 - Uploading file rename test note.md
2024-07-01 12:45 - Upload complete rename test note.md
2024-07-01 12:45 - Fully synced
2024-07-01 12:45 - Uploading file rename test note.md
2024-07-01 12:45 - Upload complete rename test note.md
2024-07-01 12:45 - Fully synced
2024-07-01 12:45 - Uploading file rename test note.md
2024-07-01 12:45 - Upload complete rename test note.md
2024-07-01 12:45 - Fully synced
2024-07-01 12:45 - Uploading file rename test note.md
2024-07-01 12:45 - Upload complete rename test note.md
2024-07-01 12:45 - Fully synced
2024-07-01 12:46 - Deleting remote file rename test note.md
2024-07-01 12:46 - Uploading file rename test note 2.md
2024-07-01 12:46 - Upload complete rename test note 2.md
2024-07-01 12:46 - Fully synced
2024-07-01 12:46 - Uploading file rename test note 2.md
2024-07-01 12:46 - Upload complete rename test note 2.md
2024-07-01 12:46 - Fully synced
2024-07-01 12:46 - Deleting remote file rename test note 2.md
2024-07-01 12:46 - Uploading file rename test note.md
2024-07-01 12:46 - Upload complete rename test note.md
2024-07-01 12:46 - Fully synced
2024-07-01 12:46 - Uploading file rename test note.md
2024-07-01 12:46 - Upload complete rename test note.md
2024-07-01 12:46 - Fully synced
[details=“Sync settings “Copy Debug Info””]
SYSTEM INFO:
Obsidian version: v1.6.5
Installer version: v1.6.5
Operating system: #1 SMP PREEMPT_DYNAMIC Fri, 21 Jun 2024 19:49:19 +0000 6.9.6-arch1-1
Login status: logged in
Catalyst license: none
Insider build toggle: off
SYNC INFO:
Vault ID: 0daa75e570f45c54f4cbed1e61b8bccb
Host server: wss://sync-20.obsidian.md
Device name:
Allowed file types: image, audio, pdf, video
Allowed special types: app, appearance, appearance-data, hotkey, core-plugin, core-plugin-data
Ignored directories:
Vault path: /home/cooperc/tmp/test
Sync logs:
1719834333800 Info Uploading file - rename test note.md
1719834333863 Info Upload complete - rename test note.md
1719834333865 Info Fully synced
1719834343867 Info Uploading file - rename test note.md
1719834343950 Info Upload complete - rename test note.md
1719834343951 Info Fully synced
1719834361096 Info Deleting remote file - rename test note.md
1719834361148 Info Uploading file - rename test note 2.md
1719834361181 Info Upload complete - rename test note 2.md
1719834361198 Info Fully synced
1719834371186 Info Uploading file - rename test note 2.md
1719834371260 Info Upload complete - rename test note 2.md
1719834371262 Info Fully synced
1719834401948 Info Deleting remote file - rename test note 2.md
1719834402003 Info Uploading file - rename test note.md
1719834402041 Info Upload complete - rename test note.md
1719834402053 Info Fully synced
1719834412043 Info Uploading file - rename test note.md
1719834412496 Info Upload complete - rename test note.md
1719834412499 Info Fully synced
[/details]
Additional information
I found Renaming a file permanently erases its Sync history, but this seems like a separate issue. Firstly, the workaround in that thread (“If you rename it to the original name, the previous versions are still there.”) no longer works. And secondly, this behavior apparently was changed: Obsidian Sync: keep track of file renames and moves in sync history.
So it seems like something regressed.
To me, this seems very bad! To the point of making me want to cancel my Sync subscription and find some other way of handling sync.
Thanks for taking a look.