Skip to content

Commit a0c24a9

Browse files
committed
Bump version to 2.4.0
1 parent 55cf1f6 commit a0c24a9

File tree

11 files changed

+43
-17
lines changed

11 files changed

+43
-17
lines changed

.env

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
VITE_APP_VERSION=2.3.0
2-
VITE_APP_BUILD_NUMBER=21
3-
VITE_APP_RELEASE_DATE=2025-11-26
1+
VITE_APP_VERSION=2.4.0
2+
VITE_APP_BUILD_NUMBER=22
3+
VITE_APP_RELEASE_DATE=2025-12-05

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# 更新日志
22

3+
v2.4.0 - 2025-12-05
4+
5+
- 修复数据表格渲染卡顿的问题
6+
- 修复在文件无数据时返回错误而非显示空表格的问题
7+
- 修复 `read_ndjson()` 函数被误写为 `read_dnjson()` 的问题
8+
39
v2.3.0 - 2025-11-26
410

511
- 修复无法嵌套查询的问题

CHANGELOG_EN.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
v2.4.0 - 2025-12-05
4+
5+
- Fixed the problem that the data table rendering is stuck
6+
- Fixed the problem that when the file has no data, it returns an error instead of displaying an empty table
7+
- Fixed the problem that `read_ndjson()` function is mistakenly written as `read_dnjson()`
8+
39
v2.3.0 - 2025-11-26
410

511
- Fixed the problem that nested queries cannot be executed

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
**一个轻量级的桌面数据查询工具,使用 SQL 直接查询本地文件,内置查询引擎**
88

99
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
10-
[![Version](https://img.shields.io/badge/version-2.3.0-blue.svg)](https://github.com/shencangsheng/easydb_app)
10+
[![Version](https://img.shields.io/badge/version-2.4.0-blue.svg)](https://github.com/shencangsheng/easydb_app)
1111
[![Platform](https://img.shields.io/badge/platform-macOS%20%7C%20Windows-lightgrey.svg)](https://github.com/shencangsheng/easydb_app)
1212

1313
[English](README_EN.md) | [中文](README.md)
@@ -90,13 +90,20 @@ LIMIT 10;
9090

9191
-- 查询 JSON 文件
9292
SELECT *
93-
FROM read_dnjson('/path/to/file.json')
93+
FROM read_ndjson('/path/to/file.json')
9494
WHERE `status` = 'active';
9595

9696
-- 查询 MySQL 数据库
9797
SELECT *
9898
FROM read_mysql('users', conn => 'mysql://user:password@localhost:3306/mydb')
99-
WHERE `age` > 30
99+
WHERE `age` > 30;
100+
101+
SELECT *
102+
FROM read_excel('/path/to/file.xlsx', sheet_name => 'Sheet1') as t1
103+
inner join
104+
read_mysql('users', conn => 'mysql://user:password@localhost:3306/mydb') as t2
105+
on (t1.`user_id` = t2.`id`)
106+
WHERE t1.`age` > 30;
100107
```
101108

102109
### 支持的文件格式

README_EN.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
**A lightweight desktop data query tool that uses SQL to query local files directly with built-in query engine**
88

99
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
10-
[![Version](https://img.shields.io/badge/version-2.3.0-blue.svg)](https://github.com/shencangsheng/easydb_app)
10+
[![Version](https://img.shields.io/badge/version-2.4.0-blue.svg)](https://github.com/shencangsheng/easydb_app)
1111
[![Platform](https://img.shields.io/badge/platform-macOS%20%7C%20Windows-lightgrey.svg)](https://github.com/shencangsheng/easydb_app)
1212

1313
[English](README_EN.md) | [中文](README.md)
@@ -96,7 +96,14 @@ WHERE `status` = 'active';
9696
-- Query MySQL database
9797
SELECT *
9898
FROM read_mysql('users', conn => 'mysql://user:password@localhost:3306/mydb')
99-
WHERE `age` > 30
99+
WHERE `age` > 30;
100+
101+
SELECT *
102+
FROM read_excel('/path/to/file.xlsx', sheet_name => 'Sheet1') as t1
103+
inner join
104+
read_mysql('users', conn => 'mysql://user:password@localhost:3306/mydb') as t2
105+
on (t1.`user_id` = t2.`id`)
106+
WHERE t1.`age` > 30;
100107
```
101108

102109
### Supported File Formats

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "easydb-frontend",
33
"private": true,
4-
"version": "2.3.0",
4+
"version": "2.4.0",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",
@@ -54,4 +54,4 @@
5454
"typescript-eslint": "^8.18.2",
5555
"vite": "^6.0.5"
5656
}
57-
}
57+
}

src-tauri/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "easydb_app"
3-
version = "2.3.0"
3+
version = "2.4.0"
44
description = "EasyDB APP"
55
authors = ["shencangsheng"]
66
license = "MIT"

src-tauri/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://schema.tauri.app/config/2",
33
"productName": "EasyDB",
4-
"version": "2.3.0",
4+
"version": "2.4.0",
55
"identifier": "com.easydb.app",
66
"build": {
77
"frontendDist": "../dist",

src/pages/notebook/notebook-middle/notebook-middle.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ function NotebookMiddle({ source }: NotebookMiddleProps) {
9191
() => ({
9292
csv: "read_csv",
9393
xlsx: "read_excel",
94-
json: "read_dnjson",
94+
json: "read_ndjson",
9595
// ndjson: "read_ndjson",
9696
parquet: "read_parquet",
9797
tsv: "read_tsv",

0 commit comments

Comments
 (0)