Update dependency ruby-lsp to "~> 0.19.0"
This MR contains the following updates:
Package | Update | Change |
---|---|---|
ruby-lsp | minor |
"~> 0.17.0" -> "~> 0.19.0"
|
MR created with the help of gitlab-org/frontend/renovate-gitlab-bot
Release Notes
Shopify/ruby-lsp (ruby-lsp)
v0.19.1
v0.19.1
✨ Enhancements
- Add find references support for constants (https://github.com/Shopify/ruby-lsp/pull/2632) by @vinistock
- Display add-on version in the displayAddons command (https://github.com/Shopify/ruby-lsp/pull/2662) by @st0012
- Add support for range formatting with Syntax Tree (https://github.com/Shopify/ruby-lsp/pull/2657) by @vinistock
- Make
type
optional inIndex#entries_for
(https://github.com/Shopify/ruby-lsp/pull/2667) by @KaanOzkan - Add method support to References request (https://github.com/Shopify/ruby-lsp/pull/2650) by @andyw8
- Index global variables (https://github.com/Shopify/ruby-lsp/pull/2656) by @snutij
🐛 Bug Fixes
- Fix
ruby-lsp-check
raising when server message itself is an error (https://github.com/Shopify/ruby-lsp/pull/2659) by @Earlopain - Prevent lazy comment fetching from failing if file gets deleted (https://github.com/Shopify/ruby-lsp/pull/2661) by @vinistock
- Avoid directly calling version to avoid Sorbet error (https://github.com/Shopify/ruby-lsp/pull/2663) by @st0012
- Handle multibyte characters in RubyDocument (https://github.com/Shopify/ruby-lsp/pull/2669) by @NotFounds
v0.19.0
v0.19.0
🚧 Breaking Changes
- Add version constraint for add-ons (https://github.com/Shopify/ruby-lsp/pull/2638) by @vinistock
✨ Enhancements
- Add infrastructure for keyword documentation (https://github.com/Shopify/ruby-lsp/pull/2581) by @vinistock
- Reduce noise from "This file is too long" warning (https://github.com/Shopify/ruby-lsp/pull/2651) by @alexcrocha
- Allow declaration of project addons (https://github.com/Shopify/ruby-lsp/pull/2601) by @vinistock
- Add rename support for constants (https://github.com/Shopify/ruby-lsp/pull/2626) by @vinistock
🐛 Bug Fixes
- Handle multibyte characters in indexing (https://github.com/Shopify/ruby-lsp/pull/2619) by @NotFounds
- Guess types for chained invocations (https://github.com/Shopify/ruby-lsp/pull/2637) by @vinistock
📦 Other Changes
- Avoid a deprecation warning on Ruby 3.4 with the uri gem (https://github.com/Shopify/ruby-lsp/pull/2618) by @Earlopain
v0.18.4
v0.18.4
✨ Enhancements
- Add heredoc delimiter documentation on hover (https://github.com/Shopify/ruby-lsp/pull/2617) by @vinistock
🐛 Bug Fixes
- Support plain heredocs in on type formatting (https://github.com/Shopify/ruby-lsp/pull/2620) by @vinistock
- Account for RBS untyped functions (https://github.com/Shopify/ruby-lsp/pull/2631) by @vinistock
📦 Other Changes
- Generalize scope so that it can be used with any locals (https://github.com/Shopify/ruby-lsp/pull/2603) by @vinistock
- Add index troubleshooting steps (https://github.com/Shopify/ruby-lsp/pull/2633) by @andyw8
- Use different error code for code action errors (https://github.com/Shopify/ruby-lsp/pull/2634) by @vinistock
v0.18.3
v0.18.3
🐛 Bug Fixes
- Only require RuboCop diagnostic inside the formatter (https://github.com/Shopify/ruby-lsp/pull/2610) by @vinistock
📦 Other Changes
- Stabilize guessed types (https://github.com/Shopify/ruby-lsp/pull/2599) by @vinistock
v0.18.2
v0.18.2
✨ Enhancements
- Collect inlay hints during combined requests (https://github.com/Shopify/ruby-lsp/pull/2588) by @vinistock
🐛 Bug Fixes
- Fix completion for inherited constants (https://github.com/Shopify/ruby-lsp/pull/2586) by @vinistock
- Handle method aliases in completion resolve (https://github.com/Shopify/ruby-lsp/pull/2590) by @vinistock
- Fix bundler env (https://github.com/Shopify/ruby-lsp/pull/2595) by @epoberezhny
📦 Other Changes
- Remove all autoloads (https://github.com/Shopify/ruby-lsp/pull/2589) by @vinistock
v0.18.1
v0.18.1
🐛 Bug Fixes
- Delete comment prefix when lazy fetching (https://github.com/Shopify/ruby-lsp/pull/2584) by @vinistock
v0.18.0
v0.18.0
🚧 Breaking Changes
- Optimize indexing comment collection (https://github.com/Shopify/ruby-lsp/pull/2547) by @vinistock
✨ Enhancements
- Output written to $stderr when no explicit device provided (https://github.com/Shopify/ruby-lsp/pull/2514) by @adam12
- Index forwarded parameters (https://github.com/Shopify/ruby-lsp/pull/2540) by @vinistock
- Add signature matching for positional parameters (https://github.com/Shopify/ruby-lsp/pull/2541) by @vinistock
- Turn on semantic highlighting for ERB (https://github.com/Shopify/ruby-lsp/pull/2542) by @vinistock
- Add keyword support to signature match (https://github.com/Shopify/ruby-lsp/pull/2546) by @vinistock
- Automatically switch overload in signature help (https://github.com/Shopify/ruby-lsp/pull/2553) by @vinistock
- Add support for delegating completion requests for ERB files (https://github.com/Shopify/ruby-lsp/pull/2551) by @vinistock
- Delegate all possible features for ERB (https://github.com/Shopify/ruby-lsp/pull/2563) by @vinistock
🐛 Bug Fixes
- Respect
-c .rubocop.yml
in.rubocop
(https://github.com/Shopify/ruby-lsp/pull/2524) by @Earlopain - Fix minitest code lens filter patterns (https://github.com/Shopify/ruby-lsp/pull/2522) by @thomasmarshall
- Turn Bundler settings into execution environment (https://github.com/Shopify/ruby-lsp/pull/2535) by @vinistock
- Fix inference for compact namespace declarations (https://github.com/Shopify/ruby-lsp/pull/2569) by @vinistock
📦 Other Changes
- Replace IndexablePath with ResourceUri concept (https://github.com/Shopify/ruby-lsp/pull/2423) by @vinistock
- Revert "Replace IndexablePath with ResourceUri concept" (https://github.com/Shopify/ruby-lsp/pull/2523) by @vinistock
- Uses Jekyll to generate the documentation (https://github.com/Shopify/ruby-lsp/pull/2536) by @st0012
- Include Ruby LSP Rails' documentation (https://github.com/Shopify/ruby-lsp/pull/2559) by @st0012
- Update example configuration for LazyVim (https://github.com/Shopify/ruby-lsp/pull/2566) by @johnpitchko
v0.17.17
v0.17.17
✨ Enhancements
- Add
entries_for
method to indexer (https://github.com/Shopify/ruby-lsp/pull/2500) by @andyw8 - Forward initialization settings to addons (https://github.com/Shopify/ruby-lsp/pull/2513) by @vinistock
🐛 Bug Fixes
- Protect method resolution from circular aliases (https://github.com/Shopify/ruby-lsp/pull/2499) by @vinistock
- Return semantic tokens for local vars shadowed by parameters (https://github.com/Shopify/ruby-lsp/pull/2509) by @vinistock
- Fix Ruby LSP formatting range to comply with LSP specification (https://github.com/Shopify/ruby-lsp/pull/2438) by @vitallium
📦 Other Changes
- Raise AddonNotFoundError exception when the addon is not found (https://github.com/Shopify/ruby-lsp/pull/2507) by @andyw8
- Upgrade Prism requirement to v1 (https://github.com/Shopify/ruby-lsp/pull/2508) 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 (https://github.com/Shopify/ruby-lsp/pull/2468) by @vinistock
- Support semantic token deltas (https://github.com/Shopify/ruby-lsp/pull/2478) by @vinistock
- Turn off semantic highlighting on files with more than 100k chars (https://github.com/Shopify/ruby-lsp/pull/2481) by @vinistock
- Minimize semantic tokens returned for constants and method calls (https://github.com/Shopify/ruby-lsp/pull/2479) by @vinistock
- Disable diagnostics on large files (https://github.com/Shopify/ruby-lsp/pull/2483) by @vinistock
- Minimize semantic tokens returned for local variables (https://github.com/Shopify/ruby-lsp/pull/2482) by @vinistock
🐛 Bug Fixes
- Avoid using stubs in test_helper.rb as it depends on Mocha (https://github.com/Shopify/ruby-lsp/pull/2474) by @st0012
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.