Skip to content

Commit

Permalink
3.10.6
Browse files Browse the repository at this point in the history
  • Loading branch information
sumneko committed Sep 10, 2024
1 parent 6fa70d7 commit b37b049
Show file tree
Hide file tree
Showing 12 changed files with 49 additions and 3 deletions.
12 changes: 12 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
## Unreleased
<!-- Add all new changes here. They will be moved under a version at release -->

## 3.10.6
`2024-9-10`
* `NEW` Custom documentation exporter
* `NEW` Setting: `Lua.docScriptPath`: Path to a script that overrides `cli.doc.export`, allowing user-specified documentation exporting.
* `NEW` Infer the parameter types of a same-named function in the subclass based on the parameter types in the superclass function.
* `FIX` Fix `VM.OnCompileFunctionParam` function in plugins
* `FIX` Lua 5.1: fix incorrect warning when using setfenv with an int as first parameter
* `FIX` Improve type narrow by checking exact match on literal type params
* `FIX` Correctly list enums for function overload arguments [#2840](https://github.com/LuaLS/lua-language-server/pull/2840)
* `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)
* `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)

## 3.10.5
`2024-8-19`
* `NEW` using `enum (partial)`, it suggests all fields with the same `enum` type rather than just the fields from the current table.
Expand Down
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2510,6 +2510,12 @@
"scope": "resource",
"type": "string"
},
"Lua.docScriptPath": {
"default": "",
"markdownDescription": "%config.docScriptPath%",
"scope": "resource",
"type": "string"
},
"Lua.format.defaultConfig": {
"additionalProperties": false,
"default": {},
Expand Down Expand Up @@ -3388,5 +3394,5 @@
"sponsor": {
"url": "https://github.com/LuaLS/lua-language-server/issues/484"
},
"version": "3.10.5"
"version": "3.10.6"
}
1 change: 1 addition & 0 deletions package.nls.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@
"config.doc.regengine": "TODO: Needs documentation",
"config.doc.regengine.glob": "TODO: Needs documentation",
"config.doc.regengine.lua": "TODO: Needs documentation",
"config.docScriptPath": "TODO: Needs documentation",
"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",
"config.format.enable": "Enable code formatter.",
"config.hint.arrayIndex": "Show hints of array index when constructing a table.",
Expand Down
1 change: 1 addition & 0 deletions package.nls.pt-br.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@
"config.doc.regengine": "TODO: Needs documentation",
"config.doc.regengine.glob": "TODO: Needs documentation",
"config.doc.regengine.lua": "TODO: Needs documentation",
"config.docScriptPath": "TODO: Needs documentation",
"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",
"config.format.enable": "Enable code formatter.",
"config.hint.arrayIndex": "Show hints of array index when constructing a table.",
Expand Down
1 change: 1 addition & 0 deletions package.nls.zh-cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@
"config.doc.regengine": "TODO: Needs documentation",
"config.doc.regengine.glob": "TODO: Needs documentation",
"config.doc.regengine.lua": "TODO: Needs documentation",
"config.docScriptPath": "TODO: Needs documentation",
"config.format.defaultConfig": "默认的格式化配置,优先级低于工作区内的 `.editorconfig` 文件。\n请查阅[格式化文档](https://github.com/CppCXY/EmmyLuaCodeStyle/tree/master/docs)了解用法。\n",
"config.format.enable": "启用代码格式化程序。",
"config.hint.arrayIndex": "在构造表时提示数组索引。",
Expand Down
1 change: 1 addition & 0 deletions package.nls.zh-tw.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@
"config.doc.regengine": "TODO: Needs documentation",
"config.doc.regengine.glob": "TODO: Needs documentation",
"config.doc.regengine.lua": "TODO: Needs documentation",
"config.docScriptPath": "TODO: Needs documentation",
"config.format.defaultConfig": "預設的格式化組態,優先順序低於工作區內的 `.editorconfig` 檔案。\n請查閱[格式化文件](https://github.com/CppCXY/EmmyLuaCodeStyle/tree/master/docs)了解用法。\n",
"config.format.enable": "啟用程式碼格式化程式。",
"config.hint.arrayIndex": "在建構表時提示陣列索引。",
Expand Down
2 changes: 1 addition & 1 deletion package/build.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
local json = require 'json-beautify'

local VERSION = "3.10.5"
local VERSION = "3.10.6"

local package = require 'package.package'
local fsu = require 'fs-utility'
Expand Down
6 changes: 6 additions & 0 deletions setting/schema-pt-br.json
Original file line number Diff line number Diff line change
Expand Up @@ -2574,6 +2574,12 @@
"scope": "resource",
"type": "string"
},
"docScriptPath": {
"default": "",
"markdownDescription": "TODO: Needs documentation",
"scope": "resource",
"type": "string"
},
"format": {
"properties": {
"defaultConfig": {
Expand Down
6 changes: 6 additions & 0 deletions setting/schema-zh-cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -2574,6 +2574,12 @@
"scope": "resource",
"type": "string"
},
"docScriptPath": {
"default": "",
"markdownDescription": "TODO: Needs documentation",
"scope": "resource",
"type": "string"
},
"format": {
"properties": {
"defaultConfig": {
Expand Down
6 changes: 6 additions & 0 deletions setting/schema-zh-tw.json
Original file line number Diff line number Diff line change
Expand Up @@ -2574,6 +2574,12 @@
"scope": "resource",
"type": "string"
},
"docScriptPath": {
"default": "",
"markdownDescription": "TODO: Needs documentation",
"scope": "resource",
"type": "string"
},
"format": {
"properties": {
"defaultConfig": {
Expand Down
6 changes: 6 additions & 0 deletions setting/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2574,6 +2574,12 @@
"scope": "resource",
"type": "string"
},
"docScriptPath": {
"default": "",
"markdownDescription": "TODO: Needs documentation",
"scope": "resource",
"type": "string"
},
"format": {
"properties": {
"defaultConfig": {
Expand Down

0 comments on commit b37b049

Please sign in to comment.