Skip to content

Commit f8ecc4b

Browse files
committed
3.13.5
1 parent 62606a7 commit f8ecc4b

14 files changed

+66
-3
lines changed

changelog.md

+7
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
## Unreleased
44
<!-- Add all new changes here. They will be moved under a version at release -->
55

6+
## 3.13.5
7+
`2024-12-20`
8+
* `NEW` Setting: `Lua.hint.awaitPropagate`: When enabled, --@async propagates to the caller.
9+
* `CHG` Add server version information to `initialize` response #2996
10+
* `CHG` If the `---@field` of the same name has a type of `fun`, the `duplicate-doc-field` check will not be performed.
11+
* `FIX` Incorrect infer for function array annotation on tables [#2367](https://github.com/LuaLS/lua-language-server/issues/2367)
12+
613
## 3.13.4
714
`2024-12-13`
815
* `CHG` Can adjust the level of detail of Hover (VSCode)

package.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -2570,6 +2570,12 @@
25702570
"scope": "resource",
25712571
"type": "boolean"
25722572
},
2573+
"Lua.hint.awaitPropagate": {
2574+
"default": false,
2575+
"markdownDescription": "%config.hint.awaitPropagate%",
2576+
"scope": "resource",
2577+
"type": "boolean"
2578+
},
25732579
"Lua.hint.enable": {
25742580
"default": false,
25752581
"markdownDescription": "%config.hint.enable%",
@@ -3433,5 +3439,5 @@
34333439
"sponsor": {
34343440
"url": "https://github.com/LuaLS/lua-language-server/issues/484"
34353441
},
3436-
"version": "3.13.4"
3442+
"version": "3.13.5"
34373443
}

package.nls.ja-jp.json

+1
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@
148148
"config.hint.arrayIndex.Disable": "Disable hints of array index.",
149149
"config.hint.arrayIndex.Enable": "Show hints in all tables.",
150150
"config.hint.await": "If the called function is marked `---@async`, prompt `await` at the call.",
151+
"config.hint.awaitPropagate": "Enable the propagation of `await`. When a function calls a function marked `---@async`,it will be automatically marked as `---@async`.",
151152
"config.hint.enable": "Enable inlay hint.",
152153
"config.hint.paramName": "Show hints of parameter name at the function call.",
153154
"config.hint.paramName.All": "All types of parameters are shown.",

package.nls.json

+1
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@
148148
"config.hint.arrayIndex.Disable": "Disable hints of array index.",
149149
"config.hint.arrayIndex.Enable": "Show hints in all tables.",
150150
"config.hint.await": "If the called function is marked `---@async`, prompt `await` at the call.",
151+
"config.hint.awaitPropagate": "Enable the propagation of `await`. When a function calls a function marked `---@async`,it will be automatically marked as `---@async`.",
151152
"config.hint.enable": "Enable inlay hint.",
152153
"config.hint.paramName": "Show hints of parameter name at the function call.",
153154
"config.hint.paramName.All": "All types of parameters are shown.",

package.nls.pt-br.json

+1
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@
148148
"config.hint.arrayIndex.Disable": "Disable hints of array index.",
149149
"config.hint.arrayIndex.Enable": "Show hints in all tables.",
150150
"config.hint.await": "If the called function is marked `---@async`, prompt `await` at the call.",
151+
"config.hint.awaitPropagate": "Enable the propagation of `await`. When a function calls a function marked `---@async`,it will be automatically marked as `---@async`.",
151152
"config.hint.enable": "Enable inlay hint.",
152153
"config.hint.paramName": "Show hints of parameter name at the function call.",
153154
"config.hint.paramName.All": "All types of parameters are shown.",

package.nls.zh-cn.json

+1
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@
148148
"config.hint.arrayIndex.Disable": "禁用数组索引提示。",
149149
"config.hint.arrayIndex.Enable": "所有的表中都提示数组索引。",
150150
"config.hint.await": "如果调用的函数被标记为了 `---@async` ,则在调用处提示 `await` 。",
151+
"config.hint.awaitPropagate": "启用 `await` 的传播, 当一个函数调用了一个`---@async`标记的函数时,会自动标记为`---@async`。",
151152
"config.hint.enable": "启用内联提示。",
152153
"config.hint.paramName": "在函数调用处提示参数名。",
153154
"config.hint.paramName.All": "所有类型的参数均进行提示。",

package.nls.zh-tw.json

+1
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@
148148
"config.hint.arrayIndex.Disable": "停用陣列索引提示。",
149149
"config.hint.arrayIndex.Enable": "所有的表中都提示陣列索引。",
150150
"config.hint.await": "如果呼叫的函數被標記為了 `---@async`,則在呼叫處提示 `await`。",
151+
"config.hint.awaitPropagate": "啟用 `await` 的傳播,當一個函數呼叫了一個 `---@async` 標記的函數時,會自動標記為 `---@async`。",
151152
"config.hint.enable": "啟用內嵌提示。",
152153
"config.hint.paramName": "在函式呼叫處提示參數名。",
153154
"config.hint.paramName.All": "所有類型的參數均進行提示。",

package/build.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
local json = require 'json-beautify'
22

3-
local VERSION = "3.13.4"
3+
local VERSION = "3.13.5"
44

55
local fsu = require 'fs-utility'
66
local package = json.decode(fsu.loadFile(ROOT / 'package.json'))

setting/schema-ja-jp.json

+9
Original file line numberDiff line numberDiff line change
@@ -2636,6 +2636,9 @@
26362636
"await": {
26372637
"$ref": "#/properties/hint.await"
26382638
},
2639+
"awaitPropagate": {
2640+
"$ref": "#/properties/hint.awaitPropagate"
2641+
},
26392642
"enable": {
26402643
"$ref": "#/properties/hint.enable"
26412644
},
@@ -2675,6 +2678,12 @@
26752678
"scope": "resource",
26762679
"type": "boolean"
26772680
},
2681+
"hint.awaitPropagate": {
2682+
"default": false,
2683+
"markdownDescription": "Enable the propagation of `await`. When a function calls a function marked `---@async`,it will be automatically marked as `---@async`.",
2684+
"scope": "resource",
2685+
"type": "boolean"
2686+
},
26782687
"hint.enable": {
26792688
"default": false,
26802689
"markdownDescription": "Enable inlay hint.",

setting/schema-pt-br.json

+9
Original file line numberDiff line numberDiff line change
@@ -2636,6 +2636,9 @@
26362636
"await": {
26372637
"$ref": "#/properties/hint.await"
26382638
},
2639+
"awaitPropagate": {
2640+
"$ref": "#/properties/hint.awaitPropagate"
2641+
},
26392642
"enable": {
26402643
"$ref": "#/properties/hint.enable"
26412644
},
@@ -2675,6 +2678,12 @@
26752678
"scope": "resource",
26762679
"type": "boolean"
26772680
},
2681+
"hint.awaitPropagate": {
2682+
"default": false,
2683+
"markdownDescription": "Enable the propagation of `await`. When a function calls a function marked `---@async`,it will be automatically marked as `---@async`.",
2684+
"scope": "resource",
2685+
"type": "boolean"
2686+
},
26782687
"hint.enable": {
26792688
"default": false,
26802689
"markdownDescription": "Enable inlay hint.",

setting/schema-zh-cn.json

+9
Original file line numberDiff line numberDiff line change
@@ -2636,6 +2636,9 @@
26362636
"await": {
26372637
"$ref": "#/properties/hint.await"
26382638
},
2639+
"awaitPropagate": {
2640+
"$ref": "#/properties/hint.awaitPropagate"
2641+
},
26392642
"enable": {
26402643
"$ref": "#/properties/hint.enable"
26412644
},
@@ -2675,6 +2678,12 @@
26752678
"scope": "resource",
26762679
"type": "boolean"
26772680
},
2681+
"hint.awaitPropagate": {
2682+
"default": false,
2683+
"markdownDescription": "启用 `await` 的传播, 当一个函数调用了一个`---@async`标记的函数时,会自动标记为`---@async`。",
2684+
"scope": "resource",
2685+
"type": "boolean"
2686+
},
26782687
"hint.enable": {
26792688
"default": false,
26802689
"markdownDescription": "启用内联提示。",

setting/schema-zh-tw.json

+9
Original file line numberDiff line numberDiff line change
@@ -2636,6 +2636,9 @@
26362636
"await": {
26372637
"$ref": "#/properties/hint.await"
26382638
},
2639+
"awaitPropagate": {
2640+
"$ref": "#/properties/hint.awaitPropagate"
2641+
},
26392642
"enable": {
26402643
"$ref": "#/properties/hint.enable"
26412644
},
@@ -2675,6 +2678,12 @@
26752678
"scope": "resource",
26762679
"type": "boolean"
26772680
},
2681+
"hint.awaitPropagate": {
2682+
"default": false,
2683+
"markdownDescription": "啟用 `await` 的傳播,當一個函數呼叫了一個 `---@async` 標記的函數時,會自動標記為 `---@async`。",
2684+
"scope": "resource",
2685+
"type": "boolean"
2686+
},
26782687
"hint.enable": {
26792688
"default": false,
26802689
"markdownDescription": "啟用內嵌提示。",

setting/schema.json

+9
Original file line numberDiff line numberDiff line change
@@ -2636,6 +2636,9 @@
26362636
"await": {
26372637
"$ref": "#/properties/hint.await"
26382638
},
2639+
"awaitPropagate": {
2640+
"$ref": "#/properties/hint.awaitPropagate"
2641+
},
26392642
"enable": {
26402643
"$ref": "#/properties/hint.enable"
26412644
},
@@ -2675,6 +2678,12 @@
26752678
"scope": "resource",
26762679
"type": "boolean"
26772680
},
2681+
"hint.awaitPropagate": {
2682+
"default": false,
2683+
"markdownDescription": "Enable the propagation of `await`. When a function calls a function marked `---@async`,it will be automatically marked as `---@async`.",
2684+
"scope": "resource",
2685+
"type": "boolean"
2686+
},
26782687
"hint.enable": {
26792688
"default": false,
26802689
"markdownDescription": "Enable inlay hint.",

0 commit comments

Comments
 (0)