Releases: Shopify/ruby-lsp
Releases · Shopify/ruby-lsp
v0.4.5
What's Changed
✨ Enhancements
- Allow registering hover listeners by @vinistock in #593
🐛 Bug Fixes
🛠 Other Changes
- Add bug and feature issue templates by @vinistock in #626
- Fix event emitter example title by @vinistock in #634
- Separate server notifications and requests by @vinistock in #631
- feat(benchmark): display missing requests by @snutij in #619
- Fix benchmark exit status by @vinistock in #636
- Windows compatibility by @andyw8 in #635
- Fix benchmark script by @andyw8 in #638
- Don't support debugging on Windows by @andyw8 in #639
- Reuse same PR comment for benchmark results by @snutij in #645
- Fix keyword recognition for on-type formatting by @andyw8 in #612
New Contributors
Full Changelog: v0.4.4...v0.4.5
v0.4.4
What's Changed
✨ Enhancements
- Add code lens for running entire test class by @adisonlampert in #598
- Refactor hover with event emitter by @vinistock in #607
- Add code lens for test methods by @adisonlampert in #609
🐛 Bug Fixes
- Avoid trying to parse document if there are no new edits by @vinistock in #617
- Improve robustness of extract to variable by @vinistock in #615
- Fix server encoding registration and prefer UTF-8 by @vinistock in #618
🛠 Other Changes
- Fix variable spelling (capabilities) by @andyw8 in #603
- Add option to skip benchmark in CI by @andyw8 in #613
- Use Ruby LSP debug tasks in launch by @vinistock in #616
- Use bugfix label for release automation by @vinistock in #627
Full Changelog: v0.4.3...v0.4.4
v0.4.3
What's Changed
✨ Enhancements
🐛 Bug Fixes
- Fix rescue inlay hint with captured variable by @vinistock in #572
- Avoid analyzing named regexp captures if left side is not a literal by @vinistock in #574
- Fetch latest doc for Rails versions that do not have their own docs by @adisonlampert in #591
- Only show refactor action if range is not empty by @vinistock in #595
- Add syntax tree node types and fix issues surfaced by typechecking by @vinistock in #583
- Make requests that handle text edits non concurrent by @vinistock in #600
🛠 Other Changes
- Create Rubocop Cop to detect LanguageServer constants by @caalberts in #543
- Include version and uri in document by @vinistock in #561
- Restructure README by @vinistock in #580
- Add Slack and VS Code extension badges to readme by @st0012 in #582
- Use document.uri instead of passing uri around by @vinistock in #597
New Contributors
- @caalberts made their first contribution in #543
- @molawson made their first contribution in #573
Full Changelog: v0.4.2...v0.4.3
v0.4.2
What's Changed
✨ Enhancements
- Make extract to variable more robust by @vinistock in #529
- Add highlighting support for more local variables by @vinistock in #538
- Allow specifying a formatter by @vinistock in #556
- Make it easier to configure enabled features by @vinistock in #562
- Prevent excessive array allocations in
visit_all
by @vinistock in #567
🐛 Bug Fixes
- Prevent duplicate ranges for code folding by @andyw8 in #528
- Visit command blocks in semantic highlighting by @vinistock in #537
🛠 Other Changes
- Avoid unnecessary String#sub in diagnostic by @vinistock in #518
- Link to the extension README for debugging information by @andyw8 in #526
- Update Ruby and bundler by @vinistock in #533
- Fix coding folding when argument has no parenthesis (e.g. RSpec syntax) by @andyw8 in #517
- Start processing method definitions with inline visibility modifiers by @paracycle in #547
- Support running server in debug mode by @st0012 in #557
- Require bundler by @icnagy in #560
New Contributors
Full Changelog: v0.4.1...v0.4.2
v0.4.1
What's Changed
✨ Enhancements
- Add codeAction/resolve and variable extraction refactoring by @jenny-codes in #491
🐛 Bug Fixes
- Fix completion on syntax error by @vinistock in #502
- Fix path completions when partial path is typed by @paracycle in #509
- Skip formatting if the document is not valid by @st0012 in #507
🛠 Other Changes
- Warn that the LSP is ready on initialized by @vinistock in #505
- Add shutdown complete notice to logs by @andyw8 in #513
- Update texts for refactor: extract variable by @jenny-codes in #514
New Contributors
- @jenny-codes made their first contribution in #491
Full Changelog: v0.4.0...v0.4.1
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
require
calls by @paracycle in #259
🐛 Bug Fixes
- Avoid running RuboCop outside of project folder by @vinistock in #469
- Properly place
end
when 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
.exp
files to README by @andyw8 in #398 - Ignore
SyntaxTree::ArgsForward
inHighlightTarget
by @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
.json
or.rb
extension to.exp
files 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/debug
with 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
ExpectationsTestRunner
is 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