New
0.7.1
Notable Changes
- The BSP can now update its internal state when source files are added/removed from the workspace (previously, it would completely reset itself). This should provide a great performance boost compared to the old approach. This relies on a regular bazel query call, so a new
--query-flagparam has been added in case you need to pass something special to it (e.g. disabling BEP processing). - The BSP will now attempt to terminate any lingering child processes before terminating itself. This should fix an issue when long Bazel builds could linger long after the BSP was terminated.
- The reference sourcekit-lsp SHA has been bumped to a fork commit that contains a candidate fix for https://github.com/swiftlang/sourcekit-lsp/issues/2455. Using this SHA should result in much faster startup times.
What's Changed
- Add retry logic to InitializeHandler by @rockbruno in https://github.com/spotify/sourcekit-bazel-bsp/pull/171
- Add support for file changes without resetting the BSP by @rockbruno in https://github.com/spotify/sourcekit-bazel-bsp/pull/163
- Terminate child processes when shutting down the BSP by @rockbruno in https://github.com/spotify/sourcekit-bazel-bsp/pull/172
Full Changelog: https://github.com/spotify/sourcekit-bazel-bsp/compare/0.7.0...0.7.1
Compatibility
This release was developed / tested for:
- Xcode 26.1.1
- Bazel:
8.4.1 - rules_swift:
3.4.0 - rules_apple:
4.3.3 - apple_support:
1.24.5 - sourcekit-lsp: rockbruno/rochab/fast-lsp
- This forked commit contains a candidate fix for https://github.com/swiftlang/sourcekit-lsp/issues/2455.