Skip to content

Releases: Shopify/ruby-lsp

v0.17.16

26 Aug 18:37
d53c934
Compare
Choose a tag to compare

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:

  1. We added support for semantic token delta requests, which return only the difference in tokens between document state changes
  2. 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

🐛 Bug Fixes

  • Avoid using stubs in test_helper.rb as it depends on Mocha (#2474) by @st0012

vscode-ruby-lsp-v0.7.17

26 Aug 13:47
d53c934
Compare
Choose a tag to compare

vscode-ruby-lsp-v0.7.17

✨ Enhancements

  • Minimize semantic tokens returned for local variables (#2482) by @vinistock

🐛 Bug Fixes

  • Improve Ruby LSP extension's status item names (#2484) by @st0012

vscode-ruby-lsp-v0.7.16

21 Aug 19:01
0d919fb
Compare
Choose a tag to compare

vscode-ruby-lsp-v0.7.16

✨ Enhancements

  • Add VS Code command to collect issue reporting data (#2456) by @st0012

v0.17.15

20 Aug 21:41
30e66ca
Compare
Choose a tag to compare

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

19 Aug 19:49
54584ff
Compare
Choose a tag to compare

v0.17.14

✨ Enhancements

🐛 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

v0.17.13

14 Aug 14:24
47f53be
Compare
Choose a tag to compare

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

13 Aug 18:03
3f2046a
Compare
Choose a tag to compare

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

08 Aug 17:48
b7f033e
Compare
Choose a tag to compare

v0.17.12

✨ Enhancements

📦 Other Changes

v0.17.11

02 Aug 18:22
a9fd899
Compare
Choose a tag to compare

v0.17.11

✨ Enhancements

  • Add go-to-definition support to autoloaded constants (#2395) by @st0012

🐛 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

  • Add some more detail for LazyVim config (#2399) by @andyw8

v0.17.10

30 Jul 16:41
935c7e6
Compare
Choose a tag to compare

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

📦 Other Changes

  • Make Index#index_all index rbs files too (#2353) by @st0012
  • Add outdated version info to troubleshooting guide (#2060) by @andyw8