Releases: Shopify/ruby-lsp
Releases · Shopify/ruby-lsp
v0.4.0
What's Changed
🚧 Breaking Changes
- Completely dettach IO from parallel request execution by @vinistock in #368
✨ Enhancements
- Inform users of failing cops by @andyw8 in #454
- Add semantic highlighting for sorbet methods by @TobiasBales in #371
- Add path completion support inside
requirecalls by @paracycle in #259
🐛 Bug Fixes
- Avoid running RuboCop outside of project folder by @vinistock in #469
- Properly place
endwhen there's extra content after keyword by @vinistock in #462
🛠 Other Changes
- Adjust some return types to avoid nils by @andyw8 in #463
- Fix return type of Executor#execute by @vinistock in #468
- Reuse uri when executing hover by @vinistock in #470
- Substitute all T::Struct usage for plain Objects by @vinistock in #493
- Refactor code actions to use context instead of our own cache by @vinistock in #488
New Contributors
- @TobiasBales made their first contribution in #371
Full Changelog: v0.3.8...v0.4.0
v0.3.8
What's Changed
🐛 Bug Fixes
- Fix comment continuation incorrectly matching keywords by @vinistock in #411
- Refactor locating nodes based on positions by @vinistock in #451
🛠 Other Changes
- Add note about
.expfiles to README by @andyw8 in #398 - Ignore
SyntaxTree::ArgsForwardinHighlightTargetby @andyw8 in #399 - Add test for argument forwarding (
...) by @andyw8 in #396 - Add note about VSCode Neovim and selection ranges by @andyw8 in #404
- Regenerate Gemfile.lock on CI to fix failures on Ruby 3.2 by @egiurleo in #403
- Minor wording fix for Document Symbol by @andyw8 in #408
- Upgrade to syntax-tree 5 by @andyw8 in #376
- Add
.jsonor.rbextension to.expfiles by @andyw8 in #402 - Adjust Gemfile.lock platforms by @vinistock in #410
- Update rubocop-shopify to 2.11.1 and apply corrections by @andyw8 in #425
- Use 3.2.0 for dev by @st0012 in #427
- Upgrade bundler by @st0012 in #428
- Add Sorbet shims for debug gem by @andyw8 in #430
- Adjust Sorbet shims for debug gem by @andyw8 in #441
- Add note about SyntaxTree fallback by @andyw8 in #442
- Add fixture for a return with multiple statements in parens by @shopify-aiden in #446
- Refer to vscode-ruby-lsp as an extension, not a plugin by @andyw8 in #453
- Set up
ruby/debugwith configuration for Minitest by @andyw8 in #431 - Update Diagnostics#run to not create errors if document didn't parse by @shopify-aiden in #445
- Stop trying to maintain a parsable source by @vinistock in #455
New Contributors
- @shopify-aiden made their first contribution in #446
Full Changelog: v0.3.7...v0.3.8
v0.3.7
What's Changed
✨ Enhancements
- Add range semantic highlighting by @vinistock in #358
🐛 Bug Fixes
- Take client encoding into consideration when applying text edits by @vinistock in #360
- Fix the code action cache level by @vinistock in #382
🛠 Other Changes
- Start testing Ruby 3.2 on CI by @vinistock in #375
- Illustrate which tests
ExpectationsTestRunneris running by @andyw8 in #383 - Fix flaky code actions test by @vinistock in #388
- Upgrade to Ruby 3.2-rc1 by @vinistock in #390
New Contributors
Full Changelog: v0.3.6...v0.3.7
v0.3.6
What's Changed
🐛 Bug Fixes
- Rescue any errors when trying to apply edits to the parsable source by @vinistock in #354
🛠 Other Changes
- Ignore errors when trying to parse our parsable source by @vinistock in #352
- Limit our Syntax Tree requirement to < 5.0.0 by @vinistock in #359
Full Changelog: v0.3.5...v0.3.6
v0.3.5
What's Changed
✨ Enhancements
- Add semantic tokens for local arguments by @vinistock in #284
🐛 Bug Fixes
- Test and handle the situation where RailsDocumentClient#search_index being nil by @st0012 in #328
- Handle fields in semantic highlighting by @vinistock in #339
- Skip node locating when the document is not parsed by @st0012 in #343
🛠 Other Changes
- Bump syntax tree requirement to v4.0.0 by @vinistock in #329
- Autoload RailsDocumentClient by @st0012 in #331
- Add extra test cases by @vinistock in #333
Full Changelog: v0.3.4...v0.3.5
v0.3.4
What's Changed
✨ Enhancements
🛠 Other Changes
- Update syntax tree requirement to 3.6.3 by @vinistock in #324
- Make parsing lazy by @vinistock in #323
Full Changelog: v0.3.3...v0.3.4
v0.3.3
What's Changed
- Resolve TODO for LSP v3.17 by @paracycle in #268
- Add runtime dependency on version 3.17.x of LSP gem by @paracycle in #269
- Handle class/module declarations as a
classtoken withdeclarationmodifier by @paracycle in #260 - Fix some project settings by @paracycle in #270
- Add basic inlay hint support by @RyanBrushett in #261
- Handle required parameters in semantic highlighting by @vinistock in #271
- Add comment continuation via on type
on_type_formattingby @paracycle in #274 - Make RuboCop runner use composition instead of inheritance by @paracycle in #278
- Protect worker against cancellation during popping by @vinistock in #280
- Handle formatting errors in on_error block by @vinistock in #279
- Fix on type formatting pipe completion for regular or expressions by @vinistock in #282
- Do not fail on LoadError by @vinistock in #292
- Make the diagnostic request parallel by @vinistock in #293
- Improve worker stability by @vinistock in #295
- Test helper improvements by @st0012 in #294
- Remove rebornix.ruby and recommend Shopify's extension pack by @wildmaples in #300
- Include params and backtrace for error telemetry by @vinistock in #301
- Remove non existing visit methods from semantic highlighting by @vinistock in #302
- Add check valid visits rake task by @vinistock in #303
- Prevent older versions of Rubocop from breaking LSP by @adisonlampert in #296
- Add GitHub action to create release by @vinistock in #309
- Add missing rest in release action by @vinistock in #310
- Use ref_name for release title by @vinistock in #311
Full Changelog: v0.3.0...v0.3.3
v0.3.2
v0.3.1
What's Changed
✨ Enhancements
- Resolve TODO for LSP v3.17 (#268)
- Add dependency constraint for LSP v3.17 (#269)
- Add comment continuation via on type on_type_formatting (#274)
🐛 Bug Fixes
- Handle class/module declarations as a class token with declaration modifier (#260)
- Handle required parameters in semantic highlighting (#271)
- Make RuboCop runner use composition instead of inheritance (#278)
- Protect worker against cancellation during popping (#280)
- Handle formatting errors in on_error block (#279)
- Fix on type formatting pipe completion for regular or expressions (#282)
- Do not fail on LoadError (#292)
Full Changelog: v0.3.0...v0.3.1
v0.3.0
✨ Enhancements
- Add on type formatting completions (#253)
- Upgrade syntax_tree requirement to >= 3.4 (#254)
- Show error message when there's a InfiniteCorrectionLoop exception (#252)
- Add request cancellation (#243)
New Contributors
- @cursedcoder made their first contribution in (#209)
- @KaanOzkan made their first contribution in (#227)
Full Changelog: v0.2.0...v0.3.0