Releases: Shopify/ruby-lsp
Releases · Shopify/ruby-lsp
v0.17.17
v0.17.17
✨ Enhancements
- Add
entries_for
method to indexer (#2500) by @andyw8 - Forward initialization settings to addons (#2513) by @vinistock
🐛 Bug Fixes
- Protect method resolution from circular aliases (#2499) by @vinistock
- Return semantic tokens for local vars shadowed by parameters (#2509) by @vinistock
- Fix Ruby LSP formatting range to comply with LSP specification (#2438) by @vitallium
📦 Other Changes
- Raise AddonNotFoundError exception when the addon is not found (#2507) by @andyw8
- Upgrade Prism requirement to v1 (#2508) by @vinistock
vscode-ruby-lsp-v0.7.18
vscode-ruby-lsp-v0.7.18
✨ Enhancements
- Warn users if shadownev is not installed (#2498) by @vinistock
- Show progress while initializing the server (#2505) by @vinistock
🐛 Bug Fixes
- fix(grammar): Fix syntax highlighting for Kernel.` method in Ruby grammar (#2493) by @Sean0628
- Always run Ruby activation using cmd for RubyInstaller (#2489) by @vinistock
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