|
2 | 2 |
|
3 | 3 | ## Unreleased |
4 | 4 | <!-- Add all new changes here. They will be moved under a version at release --> |
| 5 | +* `NEW` Add matching checks between the shape of tables and classes, during type checking. [#2768](https://github.com/LuaLS/lua-language-server/pull/2768 |
| 6 | +* `FIX` Error `attempt to index a nil value` when `Lua.hint.semicolon == 'All'` [#2788](https://github.com/LuaLS/lua-language-server/issues/2788) |
| 7 | + |
| 8 | +## 3.10.3 |
| 9 | +`2024-8-8` |
| 10 | +* `FIX` Memory leak with `---@enum(partical)` |
| 11 | + |
| 12 | +## 3.10.2 |
| 13 | +`2024-8-7` |
| 14 | +* `NEW` Add support for binary metamethod on right operand [#2777](https://github.com/LuaLS/lua-language-server/pull/2777) |
| 15 | +* `FIX` Incorrect indentation fixing in some case |
| 16 | + |
| 17 | +## 3.10.1 |
| 18 | +`2024-8-2` |
| 19 | +* `FIX` Runtime error |
| 20 | +* `FIX` Disable indentation fixing for Non-VSCode |
| 21 | + |
| 22 | +## 3.10.0 |
| 23 | +`2024-8-1` |
5 | 24 | * `NEW` Add postfix snippet for `unpack` |
6 | | -* `FIX` `diagnostics.severity` defaulting to "Warning" when run using `--check` [#2730](https://github.com/LuaLS/lua-language-server/issues/2730) |
7 | 25 | * `NEW` Add support for lambda style functions, `|paramList| expr` is syntactic sugar for `function(paramList) return expr end` |
8 | | -* `FIX` Respect `completion.showParams` config for local function completion |
| 26 | +* `NEW` Added lua regular expression support for `Lua.doc.<scope>Name` [#2753](https://github.com/LuaLS/lua-language-server/pull/2753) |
| 27 | +* `NEW` You can now click on "References" in CodeLen to display the reference list(VSCode) |
| 28 | +* `NEW` Improved behavior for inserting new lines: |
| 29 | + + When inside an annotation, an annotation tag will be added at the beginning of the line (VSCode). |
| 30 | + + 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). |
| 31 | + + Attempts to semantically fix improper indentation (generic). |
9 | 32 | * `CHG` Improve performance of multithreaded `--check` and `undefined-field` diagnostic |
| 33 | +* `CHG` Change spacing of parameter inlay hints to match other LSPs, like `rust-analyzer` |
| 34 | +* `FIX` `diagnostics.severity` defaulting to "Warning" when run using `--check` [#2730](https://github.com/LuaLS/lua-language-server/issues/2730) |
| 35 | +* `FIX` Respect `completion.showParams` config for local function completion |
10 | 36 | * `FIX` Addons can now self-recommend as expected. Fixed by correcting the `wholeMatch` function |
11 | 37 | * `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) |
12 | | -* `NEW` added lua regular expression support for Lua.doc.<scope>Name [#2753](https://github.com/LuaLS/lua-language-server/pull/2753) |
13 | 38 | * `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) |
14 | | -* `CHG` Change spacing of parameter inlay hints to match other LSPs, like `rust-analyzer` |
15 | 39 | * `FIX` Inconsistent type narrow behavior of function call args [#2758](https://github.com/LuaLS/lua-language-server/issues/2758) |
16 | | -* `NEW` Add matching checks between the shape of tables and classes, during type checking. [#2768](https://github.com/LuaLS/lua-language-server/pull/2768 |
| 40 | +* `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) |
| 41 | +* `FIX` Typos in annotation descriptions |
| 42 | +* `FIX` incorrect `CompletionItemKind` for postfix snippets [#2773](https://github.com/LuaLS/lua-language-server/pull/2773) |
17 | 43 |
|
18 | 44 | ## 3.9.3 |
19 | 45 | `2024-6-11` |
|
0 commit comments