Skip to content

Commit b37b049

Browse files
committed
3.10.6
1 parent 6fa70d7 commit b37b049

File tree

12 files changed

+49
-3
lines changed

12 files changed

+49
-3
lines changed

changelog.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,18 @@
33
## Unreleased
44
<!-- Add all new changes here. They will be moved under a version at release -->
55

6+
## 3.10.6
7+
`2024-9-10`
8+
* `NEW` Custom documentation exporter
9+
* `NEW` Setting: `Lua.docScriptPath`: Path to a script that overrides `cli.doc.export`, allowing user-specified documentation exporting.
10+
* `NEW` Infer the parameter types of a same-named function in the subclass based on the parameter types in the superclass function.
11+
* `FIX` Fix `VM.OnCompileFunctionParam` function in plugins
12+
* `FIX` Lua 5.1: fix incorrect warning when using setfenv with an int as first parameter
13+
* `FIX` Improve type narrow by checking exact match on literal type params
14+
* `FIX` Correctly list enums for function overload arguments [#2840](https://github.com/LuaLS/lua-language-server/pull/2840)
15+
* `FIX` Incorrect function params' type infer when there is only `@overload` [#2509](https://github.com/LuaLS/lua-language-server/issues/2509) [#2708](https://github.com/LuaLS/lua-language-server/issues/2708) [#2709](https://github.com/LuaLS/lua-language-server/issues/2709)
16+
* `FIX` Only call workspace/configuration when available [#981](https://github.com/LuaLS/lua-language-server/issues/981), [#2318](https://github.com/LuaLS/lua-language-server/issues/2318), [2336](https://github.com/LuaLS/lua-language-server/issues/2336) [#2843](https://github.com/LuaLS/lua-language-server/pull/2843)
17+
618
## 3.10.5
719
`2024-8-19`
820
* `NEW` using `enum (partial)`, it suggests all fields with the same `enum` type rather than just the fields from the current table.

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2510,6 +2510,12 @@
25102510
"scope": "resource",
25112511
"type": "string"
25122512
},
2513+
"Lua.docScriptPath": {
2514+
"default": "",
2515+
"markdownDescription": "%config.docScriptPath%",
2516+
"scope": "resource",
2517+
"type": "string"
2518+
},
25132519
"Lua.format.defaultConfig": {
25142520
"additionalProperties": false,
25152521
"default": {},
@@ -3388,5 +3394,5 @@
33883394
"sponsor": {
33893395
"url": "https://github.com/LuaLS/lua-language-server/issues/484"
33903396
},
3391-
"version": "3.10.5"
3397+
"version": "3.10.6"
33923398
}

package.nls.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@
138138
"config.doc.regengine": "TODO: Needs documentation",
139139
"config.doc.regengine.glob": "TODO: Needs documentation",
140140
"config.doc.regengine.lua": "TODO: Needs documentation",
141+
"config.docScriptPath": "TODO: Needs documentation",
141142
"config.format.defaultConfig": "The default format configuration. Has a lower priority than `.editorconfig` file in the workspace.\nRead [formatter docs](https://github.com/CppCXY/EmmyLuaCodeStyle/tree/master/docs) to learn usage.\n",
142143
"config.format.enable": "Enable code formatter.",
143144
"config.hint.arrayIndex": "Show hints of array index when constructing a table.",

package.nls.pt-br.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@
138138
"config.doc.regengine": "TODO: Needs documentation",
139139
"config.doc.regengine.glob": "TODO: Needs documentation",
140140
"config.doc.regengine.lua": "TODO: Needs documentation",
141+
"config.docScriptPath": "TODO: Needs documentation",
141142
"config.format.defaultConfig": "The default format configuration. Has a lower priority than `.editorconfig` file in the workspace.\nRead [formatter docs](https://github.com/CppCXY/EmmyLuaCodeStyle/tree/master/docs) to learn usage.\n",
142143
"config.format.enable": "Enable code formatter.",
143144
"config.hint.arrayIndex": "Show hints of array index when constructing a table.",

package.nls.zh-cn.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@
138138
"config.doc.regengine": "TODO: Needs documentation",
139139
"config.doc.regengine.glob": "TODO: Needs documentation",
140140
"config.doc.regengine.lua": "TODO: Needs documentation",
141+
"config.docScriptPath": "TODO: Needs documentation",
141142
"config.format.defaultConfig": "默认的格式化配置,优先级低于工作区内的 `.editorconfig` 文件。\n请查阅[格式化文档](https://github.com/CppCXY/EmmyLuaCodeStyle/tree/master/docs)了解用法。\n",
142143
"config.format.enable": "启用代码格式化程序。",
143144
"config.hint.arrayIndex": "在构造表时提示数组索引。",

package.nls.zh-tw.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@
138138
"config.doc.regengine": "TODO: Needs documentation",
139139
"config.doc.regengine.glob": "TODO: Needs documentation",
140140
"config.doc.regengine.lua": "TODO: Needs documentation",
141+
"config.docScriptPath": "TODO: Needs documentation",
141142
"config.format.defaultConfig": "預設的格式化組態,優先順序低於工作區內的 `.editorconfig` 檔案。\n請查閱[格式化文件](https://github.com/CppCXY/EmmyLuaCodeStyle/tree/master/docs)了解用法。\n",
142143
"config.format.enable": "啟用程式碼格式化程式。",
143144
"config.hint.arrayIndex": "在建構表時提示陣列索引。",

package/build.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
local json = require 'json-beautify'
22

3-
local VERSION = "3.10.5"
3+
local VERSION = "3.10.6"
44

55
local package = require 'package.package'
66
local fsu = require 'fs-utility'

setting/schema-pt-br.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2574,6 +2574,12 @@
25742574
"scope": "resource",
25752575
"type": "string"
25762576
},
2577+
"docScriptPath": {
2578+
"default": "",
2579+
"markdownDescription": "TODO: Needs documentation",
2580+
"scope": "resource",
2581+
"type": "string"
2582+
},
25772583
"format": {
25782584
"properties": {
25792585
"defaultConfig": {

setting/schema-zh-cn.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2574,6 +2574,12 @@
25742574
"scope": "resource",
25752575
"type": "string"
25762576
},
2577+
"docScriptPath": {
2578+
"default": "",
2579+
"markdownDescription": "TODO: Needs documentation",
2580+
"scope": "resource",
2581+
"type": "string"
2582+
},
25772583
"format": {
25782584
"properties": {
25792585
"defaultConfig": {

0 commit comments

Comments
 (0)