Releases: Shopify/ruby-lsp
Releases · Shopify/ruby-lsp
v0.17.16
v0.17.16
⚠️ Important changes to semantic highlighting
We realized that the server was returning an excessive number of semantic tokens back to editors. In large files, that resulted in a lot of lag. This version of the Ruby LSP takes two steps to improve the performance:
- We added support for semantic token delta requests, which return only the difference in tokens between document state changes
- We minimized the number of tokens returned to include only ambiguous syntax. Everything else is highlighted using the bundled Text Mate grammar
Please ensure that you are on the latest version of both extension and server. If you spot anything that isn't working properly, report an issue.
✨ Enhancements
- Add literal types to inferrer (#2468) by @vinistock
- Support semantic token deltas (#2478) by @vinistock
- Turn off semantic highlighting on files with more than 100k chars (#2481) by @vinistock
- Minimize semantic tokens returned for constants and method calls (#2479) by @vinistock
- Disable diagnostics on large files (#2483) by @vinistock
- Minimize semantic tokens returned for local variables (#2482) by @vinistock
🐛 Bug Fixes
vscode-ruby-lsp-v0.7.17
vscode-ruby-lsp-v0.7.17
✨ Enhancements
- Minimize semantic tokens returned for local variables (#2482) by @vinistock
🐛 Bug Fixes
vscode-ruby-lsp-v0.7.16
v0.17.15
v0.17.15
🐛 Bug Fixes
- Rely always on workspace URI instead of Dir.pwd (#2424) by @vinistock
- Fix singleton class nesting when inside top level reference (#2471) by @vinistock
- Assume UTF-8 when detecting Rails (#2469) by @andyw8
- Improve definition handling for guessed receiver types (#2472) by @st0012
v0.17.14
v0.17.14
✨ Enhancements
- Create RBSDocument (#2437) by @vinistock
🐛 Bug Fixes
- Consider that the project has a type checker if
sorbet-static
is present as transitive dependency (#2443) by @vinistock - Fix parsing erb with bare
yield
(#2444) by @Earlopain - Make Rails app detection based on Rails::Application superclass (#2218) by @louim
- Fix extracting a method without another declaration to anchor replacement (#2429) by @vinistock
📦 Other Changes
- Make document generic (#2436) by @vinistock
- Document use of
init_options
to configure LSP inside Neovim (#2445) by @adam12 - Run signature blocks ahead of time and compact after indexing (#2460) by @vinistock
v0.17.13
v0.17.13
📦 Other Changes
- Use window log messages instead of printing to stderr (#2419) by @vinistock
- Use
toggle
block style for code action instead of switch (#2427) by @vinistock - Make configuration part of the index (#2433) by @st0012
- Move Sorbet level and
locate_first_within_range
to RubyDocument (#2435) by @vinistock - Bugfix: Recognise ERB files correctly in Neovim (#2432) by @tsvallender
vscode-ruby-lsp-v0.7.15
vscode-ruby-lsp-v0.7.15
✨ Enhancements
- Add Ruby Copilot chat agent with domain driven design command (#2366) by @vinistock
- Enhance debugger attachment requests (#2431) by @st0012
🐛 Bug Fixes
- Fix grammar for class and module keyword matching (#2371) by @andyw8
- Avoid requiring json for chruby activation (#2430) by @vinistock
v0.17.12
v0.17.12
✨ Enhancements
- Allow for indexing enhancements through included hooks (#2358) by @vinistock
- Indicate multiple signatures for Hover and Completion Resolve (#2415) by @andyw8
- Add switch block refactor (#2372) by @vinistock
📦 Other Changes
- Add kate to editors list (#2375) by @larskanis
v0.17.11
v0.17.11
✨ Enhancements
🐛 Bug Fixes
- Fix definition listener's sorbet early return condition (#2392) by @st0012
- Correct capability objects for document symbol, folding range, and hover (#2397) by @st0012
- Disable certain LSP features for .erb files through registration options (#2398) by @st0012
📦 Other Changes
v0.17.10
v0.17.10
✨ Enhancements
🐛 Bug Fixes
- Correctly linearize singleton parent classes with namespace (#2354) by @vinistock
- Properly split singleton nesting during linearization (#2355) by @vinistock
- Document highlight shouldn't include the block for a method invocation (#2357) by @andyw8
- Prevent non keywords from accidentally matching on type formatting (#2364) by @vinistock
- Fix NodeContext's handling of namespaced singleton method (#2385) by @st0012