Skip to content

Commit 0ead51f

Browse files
committed
update version
1 parent c24bc8b commit 0ead51f

File tree

4 files changed

+54
-2
lines changed

4 files changed

+54
-2
lines changed

CHANGELOG.md

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

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

5+
6+
## [0.9.31] - 2025-10-17
7+
8+
### ✨ Added
9+
- **Support `workspace/diagnostic`**: Added support for the `workspace/diagnostic` request, allowing clients to fetch diagnostics for the entire workspace.
10+
- **Support global function overload**: You can now define overloads for global functions in `@meta` files. For example:
11+
```lua
12+
---@meta
13+
14+
15+
function overload(a: integer): integer
16+
end
17+
18+
function overload(a: string): string
19+
end
20+
```
21+
22+
### 🔧 Changed
23+
- **Update lsp-server dependency**: Updated the `lsp-server` dependency to version 0.7.9 to leverage the latest features and improvements.
24+
- **Migrate `lsp-types` to `emmy-lsp-types`**: Migrated from using the `lsp-types` crate to the `emmy-lsp-types` crate, which is a fork tailored for EmmyLua Analyzer Rust. This change allows for better customization and alignment with the project's specific needs.
25+
26+
### 🐛 Fixed
27+
- **Fix deadlock issue**: Resolved a deadlock issue that could occur during certain operations, improving the stability of the language server.
28+
- **Fix diagnostic reporting**: Fixed an issue where some diagnostics never cleaned up after files were change information.
29+
- **Fix overload description issue**: Fixed an issue where descriptions for overloaded functions were not displayed correctly in completion and hover tooltips.
30+
31+
532
## [0.9.30] - 2025-10-10
633

734
### ✨ Added

CHANGELOG_CN.md

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

3+
## [0.9.31] - 2025-10-17
4+
5+
### ✨ 新增
6+
- **支持 `workspace/diagnostic`**:新增对 `workspace/diagnostic` 请求的支持,允许客户端获取整个工作区的诊断信息。
7+
- **支持全局函数重载**:现在可以在 `@meta` 文件中为全局函数定义重载。例如:
8+
```lua
9+
---@meta
10+
11+
12+
function overload(a: integer): integer
13+
end
14+
15+
function overload(a: string): string
16+
end
17+
```
18+
19+
### 🔧 变更
20+
- **更新 lsp-server 依赖**:将 `lsp-server` 依赖更新到 0.7.9,以利用最新功能和改进。
21+
- **`lsp-types` 迁移到 `emmy-lsp-types`**:将使用的 `lsp-types` crate 迁移为为 EmmyLua Analyzer Rust 定制的 `emmy-lsp-types` crate,此改动便于更好地定制并与项目需求对齐。
22+
23+
### 🐛 修复
24+
- **修复死锁问题**:解决在某些操作中可能发生的死锁问题,提升语言服务器的稳定性。
25+
- **修复诊断上报问题**:修复文件更改后某些诊断未被清理的问题。
26+
- **修复重载描述问题**:修复重载函数的描述在补全和悬停提示中未正确显示的问题。
27+
328
## [0.9.30] - 2025-10-10
429

530
### ✨ 新增

build/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"emmyDebuggerVersion": "1.8.7",
33
"emmyDebuggerUrl": "https://github.com/EmmyLua/EmmyLuaDebugger/releases/download",
4-
"newLanguageServerVersion": "0.15.0",
4+
"newLanguageServerVersion": "0.16.0",
55
"newLanguageServerUrl": "https://github.com/CppCXY/emmylua-analyzer-rust/releases/download",
66
"newLanguageServerSchemaUrl": "https://raw.githubusercontent.com/EmmyLuaLs/emmylua-analyzer-rust/refs/tags/{{tag}}/crates/emmylua_code_analysis/resources/schema.json"
77
}

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.30",
5+
"version": "0.9.31",
66
"icon": "res/icon.png",
77
"publisher": "tangzx",
88
"engines": {

0 commit comments

Comments
 (0)