Skip to content

Commit 26c1923

Browse files
committed
0.9.17
1 parent cd39384 commit 26c1923

File tree

5 files changed

+57
-2
lines changed

5 files changed

+57
-2
lines changed

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,30 @@
22

33
[中文Log](CHANGELOG_CN.md)
44

5+
# 0.9.17
6+
7+
`CHG` Refactor `type infer`
8+
9+
`CHG` Refactor `member infer`
10+
11+
`FIX` Optimize and Fix tuple type check
12+
13+
`NEW` Support Varidic type use in tuple, eg: `[string, integer...]`
14+
15+
`FIX` Optimize pcall infer, now can match the self and alias
16+
17+
`FIX` for range iter var now will remove nil type
18+
19+
`FIX` Optimize some std library type check
20+
21+
`NEW` Support infer from setmetatable
22+
23+
`NEW` emmylua_doc_cli will export more information
24+
25+
`NEW` Optimize type check rule for subclass and super class
26+
27+
`NEW` Allow '-' as description
28+
529
# 0.9.16
630

731
`NEW` Disable re-index in default, need to enable by `workspace.enableReindex`

CHANGELOG_CN.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
# Change Log
22

3+
# 0.9.17
4+
5+
`CHG` 重构类型推断
6+
7+
`CHG` 重构成员推断
8+
9+
`FIX` 优化并修复元组类型检查
10+
11+
`NEW` 支持在元组中使用可变类型,例如: `[string, integer...]`
12+
13+
`FIX` 优化 pcall 推断,现在可以匹配 self 和别名
14+
15+
`FIX` 对于 range 迭代变量,现在会去除 nil 类型
16+
17+
`FIX` 优化部分标准库的类型检查
18+
19+
`NEW` 支持从 setmetatable 中推断类型
20+
21+
`NEW` emmylua_doc_cli 将导出更多信息
22+
23+
`NEW` 优化子类与父类之间的类型检查规则
24+
25+
`NEW` 允许 '-' 作为描述
26+
327
# 0.9.16
428

529
`NEW` 默认禁用重新索引,需要通过 `workspace.enableReindex` 启用

build/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
exports.default = {
22
emmyDebuggerVersion: '1.8.4',
33
emmyDebuggerUrl: 'https://github.com/EmmyLua/EmmyLuaDebugger/releases/download',
4-
newLanguageServerVersion: "0.6.0",
4+
newLanguageServerVersion: "0.7.0",
55
newLanguageServerUrl: "https://github.com/CppCXY/emmylua-analyzer-rust/releases/download"
66
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "emmylua",
33
"displayName": "EmmyLua",
44
"description": "EmmyLua for vscode",
5-
"version": "0.9.16",
5+
"version": "0.9.17",
66
"icon": "res/icon.png",
77
"publisher": "tangzx",
88
"engines": {

syntaxes/schema.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,13 @@
452452
"non-literal-expressions-in-assert"
453453
]
454454
},
455+
{
456+
"description": "Unbalanced assignments",
457+
"type": "string",
458+
"enum": [
459+
"unbalanced-assignments"
460+
]
461+
},
455462
{
456463
"description": "unnecessary-assert",
457464
"type": "string",

0 commit comments

Comments
 (0)