New Features
- Native macOS Window Tabs: The tab bar is now rendered by macOS itself — identical to Finder, Safari, and Xcode tabs with automatic dark/light mode support, drag-to-reorder, and "Merge All Windows" for free
- Independent Tab Windows: Each tab is a full independent window with its own sidebar, editor, and state — no more shared state between tabs
Improvements
- Tab Switching Performance: Schema is now cached per connection so new native tabs reuse the already-loaded schema instead of re-fetching from the database (saves 500ms–2s per tab)
- Background Schema Loading: Schema loads concurrently — table data appears immediately while autocomplete schema loads in the background
- Sidebar MVVM Refactor: Sidebar table list migrated to a testable
SidebarViewModelarchitecture with extractedTableRowViewand context menu components - Window title updates dynamically after in-place navigation (sidebar click, FK navigation)
- 10+ SwiftUI rendering optimizations to prevent O(N) view cascades across windows
Bug Fixes
- Fixed sidebar losing keyboard focus (arrow key navigation) after opening a second table tab
- Fixed sidebar active state flash when clicking a table that opens in a new native window tab
- Fixed sidebar losing active state when opening a second table in a new native window tab
- Fixed sidebar not refreshing after switching databases via Cmd+K
- Fixed Cmd+W in empty state doing nothing — now closes the connection window and disconnects
- Fixed Cmd+K database switch flooding all windows with error alerts
- Fixed clicking a table in the sidebar replacing the current tab instead of opening a new one
- Fixed Cmd+W on any tab disconnecting the entire session
- Fixed Cmd+T from empty state creating two native tabs instead of one
- Fixed native tab title showing "SQL Query" instead of the table name
- Fixed Cmd+W on the last tab disconnecting the session instead of returning to empty state