From b0b5c8f17fdcb6f8d6244eca48b8fc053e9b15ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Thu, 6 Feb 2025 15:14:12 +0800 Subject: [PATCH] 3.13.6 --- changelog.md | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/changelog.md b/changelog.md index ba7cd1fd1..baa1210fc 100644 --- a/changelog.md +++ b/changelog.md @@ -2,22 +2,9 @@ ## Unreleased -* `FIX` Don't truncate any output when running in `--doc` mode [#3049](https://github.com/LuaLS/lua-language-server/issues/3049) -* `CHG` [#3014] Generic pattern now supports definition after capture and optional, union, array - ```lua - ---@generic T - ---@param t `T`.Cat? - ---@return T? - local function f(t) end - local t = f('Smile') --> t is `(Smile.Cat)?` - ``` -* `NEW` Test CLI: `--name=` `-n=`: run specify unit test -* `FIX` Fixed the error that the configuration file pointed to by the `--configpath` option was not read and loaded. -* `FIX` Generic return can be optional. -* `FIX` Fixed the comment calculating in docs `---@param a string?Comment` - now its `Comment` instead of `omment`. -* `FIX` Fixed cannot bind variables using tail comment `@class` [#2673](https://github.com/LuaLS/lua-language-server/issues/2673) -* `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) +## 3.13.6 +`2025-2-6` * `NEW` `---@class` supports attribute `partial`, which will not check missing inherited fields [#3023](https://github.com/LuaLS/lua-language-server/issues/3023) ```lua ---@class Config @@ -34,6 +21,22 @@ This enables the previous missing field check behavior before [#2970](https://github.com/LuaLS/lua-language-server/issues/2970) * `NEW` Added variable substitution support for vscode's `${workspaceFolder:x}` when resolving path placeholders [#2987](https://github.com/LuaLS/lua-language-server/issues/2987) * `NEW` Added `--check_format=json|pretty` for use with `--check` to output diagnostics in a human readable format. +* `NEW` Test CLI: `--name=` `-n=`: run specify unit test +* `CHG` [#3014] Generic pattern now supports definition after capture and optional, union, array + ```lua + ---@generic T + ---@param t `T`.Cat? + ---@return T? + local function f(t) end + + local t = f('Smile') --> t is `(Smile.Cat)?` + ``` +* `FIX` Fixed the error that the configuration file pointed to by the `--configpath` option was not read and loaded. +* `FIX` Don't truncate any output when running in `--doc` mode [#3049](https://github.com/LuaLS/lua-language-server/issues/3049) +* `FIX` Generic return can be optional. +* `FIX` Fixed the comment calculating in docs `---@param a string?Comment` - now its `Comment` instead of `omment`. +* `FIX` Fixed cannot bind variables using tail comment `@class` [#2673](https://github.com/LuaLS/lua-language-server/issues/2673) +* `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) ## 3.13.5 `2024-12-20`