You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Track the CLI version in a version.json file in the cache directory.
When a version mismatch is detected, quit running daemons and clear
stale cache entries (preserving logs) to prevent issues from leftover
files after an upgrade.
Signed-off-by: Thomas Hallgren <thomas@tada.se>
Copy file name to clipboardExpand all lines: docs/release-notes.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,12 @@ New Linux package installers (.deb for Debian/Ubuntu and .rpm for Fedora/RHEL) a
20
20
A new Windows installer (.exe) is now available that installs Telepresence with the root daemon configured as a Windows service. The installer bundles WinFSP and SSHFS-Win dependencies for volume mount support, adds Telepresence to the system PATH, and optionally installs the TelepresenceDaemon service. This eliminates the need for elevated privileges when using Telepresence. Currently available for amd64 architecture only due to dependency constraints.
21
21
</div>
22
22
23
+
## <divstyle="display:flex;"><imgsrc="images/feature.png"alt="feature"style="width:30px;height:fit-content;"/><divstyle="display:flex;margin-left:7px;">Automatic cache cleanup on version change</div></div>
24
+
<divstyle="margin-left: 15px">
25
+
26
+
Telepresence now tracks its version in a version.json file in the cache directory. When the CLI detects that the major.minor version differs from the running binary, it automatically quits running daemons and clears stale cache entries (preserving logs). This prevents issues caused by leftover cache files from a previous version. Patch and pre-release version changes do not trigger a cache cleanup.
27
+
</div>
28
+
23
29
## Version 2.26.2 <spanstyle="font-size: 16px;">(February 14)</span>
24
30
## <divstyle="display:flex;"><imgsrc="images/bugfix.png"alt="bugfix"style="width:30px;height:fit-content;"/><divstyle="display:flex;margin-left:7px;">[Dial 127.0.0.1 instead of 0.0.0.0 when connecting to local daemons](https://github.com/telepresenceio/telepresence/issues/4048)</div></div>
Copy file name to clipboardExpand all lines: docs/release-notes.mdx
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,12 @@ New Linux package installers (.deb for Debian/Ubuntu and .rpm for Fedora/RHEL) a
26
26
A new Windows installer (.exe) is now available that installs Telepresence with the root daemon configured as a Windows service. The installer bundles WinFSP and SSHFS-Win dependencies for volume mount support, adds Telepresence to the system PATH, and optionally installs the TelepresenceDaemon service. This eliminates the need for elevated privileges when using Telepresence. Currently available for amd64 architecture only due to dependency constraints.
27
27
</Body>
28
28
</Note>
29
+
<Note>
30
+
<Titletype="feature">Automatic cache cleanup on version change</Title>
31
+
<Body>
32
+
Telepresence now tracks its version in a version.json file in the cache directory. When the CLI detects that the major.minor version differs from the running binary, it automatically quits running daemons and clears stale cache entries (preserving logs). This prevents issues caused by leftover cache files from a previous version. Patch and pre-release version changes do not trigger a cache cleanup.
33
+
</Body>
34
+
</Note>
29
35
## Version 2.26.2 <spanstyle={{fontSize:'16px'}}>(February 14)</span>
30
36
<Note>
31
37
<Titletype="bugfix"docs="https://github.com/telepresenceio/telepresence/issues/4048">Dial 127.0.0.1 instead of 0.0.0.0 when connecting to local daemons</Title>
0 commit comments