Releases: almonk/bonsplit
Releases · almonk/bonsplit
Release list
v1.1.1
Fixed
- Fixed delegate notifications not being sent when closing tabs (#2)
- Tabs now correctly communicate through
BonsplitControllerfor proper delegate callbacks
- Tabs now correctly communicate through
Added
- New public method
closeTab(_ tabId: TabID, inPane paneId: PaneID) -> Boolfor efficient tab closing when pane is known
v1.1.0
Two-Way Synchronization API
Geometry Query
layoutSnapshot()- Get flat list of pane geometries with pixel coordinatestreeSnapshot()- Get full tree structure for external consumptionfindSplit(_:)- Check if a split exists by UUID
Programmatic Updates
setDividerPosition(_:forSplit:fromExternal:)- Set divider position with loop preventionsetContainerFrame(_:)- Update container frame when window moves/resizes
Geometry Notifications
didChangeGeometrydelegate callback - Notified when any pane geometry changesshouldNotifyDuringDragdelegate callback - Opt-in to real-time notifications during divider drag
New Types
LayoutSnapshot,PixelRect,PaneGeometry,ExternalTreeNode,ExternalPaneNode,ExternalSplitNode,ExternalTab
Debug Tools
- Debug window in Example app for testing synchronization features