Skip to content

Commit aa1701a

Browse files
committed
release 0.9.9
1 parent 8f06d2c commit aa1701a

File tree

4 files changed

+122
-2
lines changed

4 files changed

+122
-2
lines changed

CHANGELOG.md

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

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

5+
# 0.9.9
6+
7+
`NEW` Support generic alias fold
8+
9+
`NEW` Support `code style check`, which powered by `emmyluacodestyle`
10+
11+
`NEW` Basic table declaration field names autocompletion.
12+
13+
`FIX` Fix possible panic due to integer overflow when calculating pows.
14+
15+
`NEW` Support compile by winodws mingw
16+
17+
`NEW` `emmylua_check` now supports `workspace.library`
18+
19+
`FIX` Fix std resource loaded for cli tools
20+
21+
`FIX` Fix `self` parameter regard as unuseful issue
22+
23+
`NEW` Add `emmylua_check` cli tool, you can use it to check lua code. you can install it by `cargo install emmylua_check`
24+
25+
`NEW` all the crates release to crates.io. now you can get `emmylua_parser`, `emmylua_code_analysis`, `emmylua_ls`, `emmylua_doc_cli` from crates.io.
26+
```shell
27+
cargo install emmylua_ls
28+
cargo install emmylua_doc_cli
29+
```
30+
31+
`CHG` refactor `template system`, optimize the generic infer
32+
33+
`FIX` now configurations are loaded properly in NeoVim in cases when no extra LSP configuration parameters are provided
34+
35+
`CHG` extended humanization of small constant table types
36+
37+
`NEW` Add configuration option `workspace.moduleMap` to map old module names to new ones. The `moduleMap` is a list of mappings, for example:
38+
39+
```json
40+
{
41+
"workspace": {
42+
"moduleMap": [
43+
{
44+
"pattern": "^lib(.*)$",
45+
"replace": "script$1"
46+
}
47+
]
48+
}
49+
}
50+
```
51+
52+
This feature ensures that `require` works correctly. If you need to translate module names starting with `lib` to use `script`, add the appropriate mapping here.
53+
54+
`CHG` Refactor project structure, move all resources into executable binary
55+
56+
`NEW` Add Develop Guide
57+
58+
`NEW` support `workspace/didChangeConfiguration` notification for neovim
59+
60+
`CHG` refactor `semantic token`
61+
62+
`NEW` support simple generic type instantiation based on the passed functions
63+
64+
`FIX` Fix find generic class template parameter issue
65+
566
# 0.9.8
667

768
`FIX` Fixed some multiple return value inference errors

CHANGELOG_CN.md

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

3+
`NEW` 支持alias generic展开
4+
5+
`NEW` 支持由 `emmyluacodestyle` 提供支持的 `code style check`
6+
7+
`NEW` 基本表声明字段名自动补全
8+
9+
`FIX` 修正计算幂时可能因整数溢出而引发崩溃的问题
10+
11+
`NEW` 支持在 Windows 上使用 mingw 编译
12+
13+
`NEW` `emmylua_check` 现支持 `workspace.library`
14+
15+
`FIX` 修正 CLI 工具加载标准资源的问题
16+
17+
`FIX` 修正将 `self` 参数识别为未使用的问题
18+
19+
`NEW` 添加 `emmylua_check` CLI 工具,你可以使用该工具检查 Lua 代码,可通过 `cargo install emmylua_check` 进行安装
20+
21+
`NEW` 所有 crates 均已发布到 crates.io,现你可从 crates.io 获取 `emmylua_parser``emmylua_code_analysis``emmylua_ls``emmylua_doc_cli`
22+
```shell
23+
cargo install emmylua_ls
24+
cargo install emmylua_doc_cli
25+
```
26+
27+
`CHG` 重构 `template system`,优化泛型推断
28+
29+
`FIX` 现已在未提供额外 LSP 配置参数时正确加载 NeoVim 中的配置
30+
31+
`CHG` 扩展对小型常量表类型更友好的处理
32+
33+
`NEW` 添加配置选项 `workspace.moduleMap` 用于将旧模块名映射为新模块名。`moduleMap` 是一个映射列表,例如:
34+
35+
```json
36+
{
37+
"workspace": {
38+
"moduleMap": [
39+
{
40+
"pattern": "^lib(.*)$",
41+
"replace": "script$1"
42+
}
43+
]
44+
}
45+
}
46+
```
47+
48+
此功能确保 `require` 能正确工作。如果你需要将以 `lib` 开头的模块名转换为 `script`,请在此处添加适当的映射。
49+
50+
`CHG` 重构项目结构,将所有资源移动到可执行二进制文件中
51+
52+
`NEW` 添加开发指南
53+
54+
`NEW` 支持 Neovim 的 `workspace/didChangeConfiguration` 通知
55+
56+
`CHG` 重构语义标记 `semantic token`
57+
58+
`NEW` 支持基于传入函数的简单泛型类型实例化
59+
60+
`FIX` 修复查找泛型类模板参数的问题
61+
362
# 0.9.8
463

564
`FIX` 修复一些多返回值推断错误的问题

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.2',
33
emmyDebuggerUrl: 'https://github.com/EmmyLua/EmmyLuaDebugger/releases/download',
4-
newLanguageServerVersion: "0.3.2",
4+
newLanguageServerVersion: "0.4.4",
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.8",
5+
"version": "0.9.9",
66
"icon": "res/icon.png",
77
"publisher": "tangzx",
88
"engines": {

0 commit comments

Comments
 (0)