File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,6 +11,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111
1212- MongoDB Atlas connections failing to authenticate (#438 )
1313- MongoDB TLS certificate verification skipped for SRV connections
14+ - Active tab data no longer refreshes when switching back to the app window
15+ - Undo history preserved when switching between database tables
16+ - Health monitor now detects stuck queries beyond the configured timeout
17+ - SSH tunnel closure errors now logged instead of silently discarded
18+ - Schema/database restore errors during reconnect now logged
1419
1520## [ 0.23.1] - 2026-03-24
1621
Original file line number Diff line number Diff line change @@ -88,6 +88,8 @@ final class AIChatViewModel {
8888
8989 // MARK: - Private
9090
91+ /// nonisolated(unsafe) is required because deinit is not @MainActor-isolated,
92+ /// so accessing a @MainActor property from deinit requires opting out of isolation.
9193 @ObservationIgnored nonisolated ( unsafe) private var streamingTask : Task < Void , Never > ?
9294 private var streamingAssistantID : UUID ?
9395 private var lastUsedFeature : AIFeature = . chat
Original file line number Diff line number Diff line change @@ -13,16 +13,19 @@ struct WindowAccessor: NSViewRepresentable {
1313 return view
1414 }
1515
16- func updateNSView( _ nsView: WindowAccessorView , context: Context ) { }
16+ func updateNSView( _ nsView: WindowAccessorView , context: Context ) {
17+ nsView. onWindow = onWindow
18+ }
1719}
1820
1921final class WindowAccessorView : NSView {
2022 var onWindow : ( ( NSWindow ) -> Void ) ?
23+ private weak var capturedWindow : NSWindow ?
2124
2225 override func viewDidMoveToWindow( ) {
2326 super. viewDidMoveToWindow ( )
24- if let window {
25- onWindow ? ( window)
26- }
27+ guard let window, window !== capturedWindow else { return }
28+ capturedWindow = window
29+ onWindow ? ( window )
2730 }
2831}
You can’t perform that action at this time.
0 commit comments