Skip to content

v0.2.1 — Bug Fix Release

Choose a tag to compare

@5djr 5djr released this 29 May 00:43
· 22 commits to main since this release

v0.2.1 — Bug Fix Release

All bugs found by a multi-agent automated audit of the v0.2.0 changes.

Fixes

Critical

  • Terminal data racecreateTermSession previously blocked the IPC response until OS detection finished (up to 2 s), causing early terminal output (MOTD, login banners) to be silently dropped. The IPC now resolves immediately; OS info arrives via a separate ssh-os-detected push event with zero impact on terminal throughput.

Medium

  • SSH mid-session error ignoredclient.on('error') after a session was established called reject() (a no-op on a settled Promise) but never called onClose, leaving the terminal tab stuck in a connected state. It now explicitly calls onClose so the tab closes correctly.
  • TCP socket leak on unresponsive serverscloseSessionsForConnection was missing the 5 s client.destroy() fallback that sshCloseSession already had. Fixed.
  • Import loses jump host — Importing a previously exported connection file discarded jumpHost and jumpPort fields. Fixed.
  • HTTP test misleading on redirects — The ⚡ Test button reported HTTP 301 ✓ (green) for endpoints that always redirect, never actually testing the destination. It now follows one redirect before reporting.

Minor

  • OS detection exec channel leak — When the 2 s detection timeout fired, the remote exec stream was left open. The stream is now destroyed on timeout.
  • tr command could corrupt unusual distro IDstr -d '"ID= ' deleted any character in that set from the distro name. Replaced with sed 's/^ID=//;s/"//g' which strips only the literal prefix and quotes.
  • osCache grows unboundedsettings.json osCache was accepted with no entry limit. Now capped at 500 entries.