| 
2 | 2 | 
 
  | 
3 | 3 | ## Unreleased  | 
4 | 4 | <!-- Add all new changes here. They will be moved under a version at release -->  | 
5 |  | -* `FIX` Don't truncate any output when running in `--doc` mode [#3049](https://github.com/LuaLS/lua-language-server/issues/3049)  | 
6 |  | -* `CHG` [#3014] Generic pattern now supports definition after capture and optional, union, array  | 
7 |  | -  ```lua  | 
8 |  | -  ---@generic T  | 
9 |  | -  ---@param t `T`.Cat?  | 
10 |  | -  ---@return T?  | 
11 |  | -  local function f(t) end  | 
12 | 5 | 
 
  | 
13 |  | -  local t = f('Smile') --> t is `(Smile.Cat)?`  | 
14 |  | -  ```  | 
15 |  | -* `NEW` Test CLI: `--name=<testname>` `-n=<testname>`: run specify unit test  | 
16 |  | -* `FIX` Fixed the error that the configuration file pointed to by the `--configpath` option was not read and loaded.  | 
17 |  | -* `FIX` Generic return can be optional.  | 
18 |  | -* `FIX` Fixed the comment calculating in docs `---@param a string?Comment` - now its `Comment` instead of `omment`.  | 
19 |  | -* `FIX` Fixed cannot bind variables using tail comment `@class` [#2673](https://github.com/LuaLS/lua-language-server/issues/2673)  | 
20 |  | -* `FIX` Fixed missing field completion for generic class object [#2196](https://github.com/LuaLS/lua-language-server/issues/2196) [#2945](https://github.com/LuaLS/lua-language-server/issues/2945) [#3041](https://github.com/LuaLS/lua-language-server/issues/3041)  | 
 | 6 | +## 3.13.6  | 
 | 7 | +`2025-2-6`  | 
21 | 8 | * `NEW` `---@class` supports attribute `partial`, which will not check missing inherited fields [#3023](https://github.com/LuaLS/lua-language-server/issues/3023)  | 
22 | 9 |   ```lua  | 
23 | 10 |   ---@class Config  | 
 | 
34 | 21 |   This enables the previous missing field check behavior before [#2970](https://github.com/LuaLS/lua-language-server/issues/2970)  | 
35 | 22 | * `NEW` Added variable substitution support for vscode's `${workspaceFolder:x}` when resolving path placeholders [#2987](https://github.com/LuaLS/lua-language-server/issues/2987)  | 
36 | 23 | * `NEW` Added `--check_format=json|pretty` for use with `--check` to output diagnostics in a human readable format.  | 
 | 24 | +* `NEW` Test CLI: `--name=<testname>` `-n=<testname>`: run specify unit test  | 
 | 25 | +* `CHG` [#3014] Generic pattern now supports definition after capture and optional, union, array  | 
 | 26 | +  ```lua  | 
 | 27 | +  ---@generic T  | 
 | 28 | +  ---@param t `T`.Cat?  | 
 | 29 | +  ---@return T?  | 
 | 30 | +  local function f(t) end  | 
 | 31 | + | 
 | 32 | +  local t = f('Smile') --> t is `(Smile.Cat)?`  | 
 | 33 | +  ```  | 
 | 34 | +* `FIX` Fixed the error that the configuration file pointed to by the `--configpath` option was not read and loaded.  | 
 | 35 | +* `FIX` Don't truncate any output when running in `--doc` mode [#3049](https://github.com/LuaLS/lua-language-server/issues/3049)  | 
 | 36 | +* `FIX` Generic return can be optional.  | 
 | 37 | +* `FIX` Fixed the comment calculating in docs `---@param a string?Comment` - now its `Comment` instead of `omment`.  | 
 | 38 | +* `FIX` Fixed cannot bind variables using tail comment `@class` [#2673](https://github.com/LuaLS/lua-language-server/issues/2673)  | 
 | 39 | +* `FIX` Fixed missing field completion for generic class object [#2196](https://github.com/LuaLS/lua-language-server/issues/2196) [#2945](https://github.com/LuaLS/lua-language-server/issues/2945) [#3041](https://github.com/LuaLS/lua-language-server/issues/3041)  | 
37 | 40 | 
 
  | 
38 | 41 | ## 3.13.5  | 
39 | 42 | `2024-12-20`  | 
 | 
0 commit comments