|
3 | 3 | ## Unreleased |
4 | 4 | <!-- Add all new changes here. They will be moved under a version at release --> |
5 | 5 | * `NEW` Support type inference for `@field` and `@type` function declarations in method overrides [#3367](https://github.com/LuaLS/lua-language-server/issues/3367) |
| 6 | +* `FIX` Deduplicate documentation bindings for parameters |
| 7 | +* `FIX` Correct `math.type` meta return annotation to use `nil` instead of the string literal `'nil'` |
| 8 | +* `FIX` Fix initial `nameStyle.config` not getting loaded in the appropriate workspace. |
| 9 | +* `FIX` string.match and string.gmatch may return `string|integer?` [#3357](https://github.com/LuaLS/lua-language-server/issues/3357) |
| 10 | + |
| 11 | +## 3.18.2 |
| 12 | +* `CHG` `duplicate-set-field` diagnostic now supports linked suppression: when any occurrence of a duplicate field is suppressed with `---@diagnostic disable` or `---@diagnostic disable-next-line`, all warnings for that field name will be suppressed |
| 13 | +* `REVERT` Reverted commit 1dd194da537df432f97295ea167dfef19acd7a4e which fix for type inference in and/or idioms. The circular dependency guard introduced issues with type narrowing in if-blocks where variables are reassigned (e.g., `if x then x = 0 end` would lose type information from the if-block in subsequent code). This needs a more refined solution to balance fixing circular dependencies without breaking type narrowing. |
| 14 | + |
| 15 | +## 3.18.1 |
| 16 | +`2026-04-08` |
| 17 | +* `FIX` Allow `global` to be used as an identifier in Lua 5.5 when it is not part of a `global` declaration |
| 18 | + |
| 19 | +## 3.18.0 |
| 20 | +`2026-04-03` |
| 21 | +* `CHG` Always track symbol-links |
6 | 22 | * `CHG` Modified the `ResolveRequire` function to pass the source URI as a third argument. |
| 23 | +* `CHG` Improved the output of test failures during development |
| 24 | +* `FIX` Fix type inference for `x == nil and "default" or x` idiom [#2236](https://github.com/LuaLS/lua-language-server/issues/2236) |
| 25 | +* `FIX` Fix type loss for assignments inside `if`/`for` blocks due to circular dependency in tracer [#2374](https://github.com/LuaLS/lua-language-server/issues/2374) [#2494](https://github.com/LuaLS/lua-language-server/issues/2494) |
| 26 | +* `FIX` Resolve generic class method return types for `@param self list<T>` pattern |
| 27 | +* `FIX` Fix `ipairs(self)` type resolution in generic class methods |
| 28 | +* `FIX` Fix double angle brackets in generic sign display (`list<<T>>` -> `list<T>`) |
| 29 | +* `FIX` Fix nil crash in `getParentClass` for `doc.field` without class |
| 30 | +* `FIX` Fix type inference for bitwise operators (`<<`, `>>`, `&`, `|`, `~`) on integer variables |
| 31 | +* `FIX` Fix constant value computation for chained bitwise expressions in hover tooltips |
| 32 | +* `FIX` Support Lua 5.5 prefix local attributes such as `local <close>x` and `local <const>x` |
| 33 | +* `FIX` Correct `os` and `io` meta return types. |
7 | 34 |
|
8 | 35 | ## 3.17.1 |
9 | 36 | `2026-01-20` |
|
0 commit comments