|
3 | 3 | ## Unreleased
|
4 | 4 | <!-- Add all new changes here. They will be moved under a version at release -->
|
5 | 5 |
|
| 6 | +## 3.10.0 |
| 7 | +`2024-8-1` |
| 8 | +* `NEW` Add postfix snippet for `unpack` |
| 9 | +* `NEW` Add support for lambda style functions, `|paramList| expr` is syntactic sugar for `function(paramList) return expr end` |
| 10 | +* `NEW` Added lua regular expression support for `Lua.doc.<scope>Name` [#2753](https://github.com/LuaLS/lua-language-server/pull/2753) |
| 11 | +* `NEW` You can now click on "References" in CodeLen to display the reference list |
| 12 | +* `NEW` You can now click on "References" in CodeLen to display the reference list(VSCode) |
| 13 | +* `NEW` Improved behavior for inserting new lines: |
| 14 | + + When inside an annotation, an annotation tag will be added at the beginning of the line (VSCode). |
| 15 | + + When between `function () end` or similar constructs, the format will be adjusted to a more reasonable one (VSCode) and leading/trailing spaces will be removed (generic). |
| 16 | + + Attempts to semantically fix improper indentation (generic). |
| 17 | +* `CHG` Improve performance of multithreaded `--check` and `undefined-field` diagnostic |
| 18 | +* `CHG` Change spacing of parameter inlay hints to match other LSPs, like `rust-analyzer` |
| 19 | +* `FIX` `diagnostics.severity` defaulting to "Warning" when run using `--check` [#2730](https://github.com/LuaLS/lua-language-server/issues/2730) |
| 20 | +* `FIX` Respect `completion.showParams` config for local function completion |
| 21 | +* `FIX` Addons can now self-recommend as expected. Fixed by correcting the `wholeMatch` function |
| 22 | +* `FIX` Now correctly evaluates the visibility of fields in a class when they are defined directly in the object. use for completion and invisible dianostic. [#2752](https://github.com/LuaLS/lua-language-server/issues/2752) |
| 23 | +* `FIX` Bad triggering of the `inject-field` diagnostic, when the fields are declared at the creation of the object [#2746](https://github.com/LuaLS/lua-language-server/issues/2746) |
| 24 | +* `FIX` Inconsistent type narrow behavior of function call args [#2758](https://github.com/LuaLS/lua-language-server/issues/2758) |
| 25 | +* `FIX` Improve the `missing-fields` logic to be able to correctly handle classes defined several times [#22770](https://github.com/LuaLS/lua-language-server/pull/2770) |
| 26 | +* `FIX` Typos in annotation descriptions |
| 27 | +* `FIX` incorrect `CompletionItemKind` for postfix snippets [#2773](https://github.com/LuaLS/lua-language-server/pull/2773) |
| 28 | + |
6 | 29 | ## 3.9.3
|
7 | 30 | `2024-6-11`
|
8 | 31 | * `FIX` Sometimes providing incorrect autocompletion when chaining calls
|
|
140 | 163 | Cat = 1,
|
141 | 164 | Dog = 2,
|
142 | 165 | }
|
143 |
| - |
| 166 | + |
144 | 167 | ---@param animal userdata
|
145 | 168 | ---@param atp AnimalType
|
146 | 169 | ---@return boolean
|
|
0 commit comments