Skip to content

Commit 56bc3ba

Browse files
committed
release: 发布 0.3.6 Jackson 安全补丁
1 parent 803a1e9 commit 56bc3ba

11 files changed

Lines changed: 37 additions & 25 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@ Flydb 的重要变更记录在本文件中。版本遵循语义化版本;正
55

66
## [Unreleased]
77

8+
## [0.3.6] - 2026-09-06
9+
10+
### 安全修复
11+
12+
- 将 `flydb-runtime` 的 `jackson-databind` 从 2.21.4 升级至 2.21.5,随 CLI/Web 发行包交付。该上游补丁修复对象反序列化中属性忽略、视图约束和 `InetAddress` DNS 解析相关问题,详见 [Jackson 2.21.5 发布说明](https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.21.5)。
13+
- 当前 Flydb 使用 JSON 树读取配置登记与执行记录,未使用上述对象绑定路径。本次不改变 CLI 命令、GUI 操作、迁移语义或数据库支持范围。
14+
15+
### 发行说明
16+
17+
- 产品与随包插件版本同步为 0.3.6;Skill 操作说明不变,Web 最低版本仍为 0.3.5。MCP Adapter 独立版本保持 0.1.0。
18+
- 已发布的 0.3.5 产物保持原样;使用新版 CLI ZIP 或升级 Maven 依赖版本以获得修复。
19+
820
## [0.3.5] - 2026-09-06
921

1022
### 新增

‎README.en.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ Flydb is a versioned schema migration tool for databases with JDBC drivers: buil
3030
Prerequisites: Java 8 or newer, an existing target database, and a Java 8-compatible JDBC driver.
3131

3232
```bash
33-
curl -LO https://github.com/zzxCoding/Flydb/releases/download/v0.3.5/flydb-cli-0.3.5.zip
34-
unzip flydb-cli-0.3.5.zip
35-
cd flydb-cli-0.3.5
33+
curl -LO https://github.com/zzxCoding/Flydb/releases/download/v0.3.6/flydb-cli-0.3.6.zip
34+
unzip flydb-cli-0.3.6.zip
35+
cd flydb-cli-0.3.6
3636

3737
# Example: place mysql-connector-j.jar into drivers/
3838
cp /path/to/mysql-connector-j.jar drivers/
@@ -112,7 +112,7 @@ Plain Java applications depend on `flydb-core`:
112112
<dependency>
113113
<groupId>io.github.zzxcoding</groupId>
114114
<artifactId>flydb-core</artifactId>
115-
<version>0.3.5</version>
115+
<version>0.3.6</version>
116116
</dependency>
117117
```
118118

@@ -123,13 +123,13 @@ Spring Boot applications pick the matching starter; it runs `migrate` during con
123123
<dependency>
124124
<groupId>io.github.zzxcoding</groupId>
125125
<artifactId>flydb-spring-boot-3-starter</artifactId>
126-
<version>0.3.5</version>
126+
<version>0.3.6</version>
127127
</dependency>
128128
<!-- Spring Boot 2.7 / Java 8 -->
129129
<dependency>
130130
<groupId>io.github.zzxcoding</groupId>
131131
<artifactId>flydb-spring-boot-2-starter</artifactId>
132-
<version>0.3.5</version>
132+
<version>0.3.6</version>
133133
</dependency>
134134
```
135135

@@ -173,7 +173,7 @@ The full reactor, including the Boot 3 modules, is built with Java 17; the Boot
173173
./mvnw verify
174174
```
175175

176-
The CLI distribution is generated at `flydb-cli/target/flydb-cli-0.3.5.zip`. The core module enforces an 80% JaCoCo line-coverage gate and zero non-test runtime dependencies via Maven Enforcer.
176+
The CLI distribution is generated at `flydb-cli/target/flydb-cli-0.3.6.zip`. The core module enforces an 80% JaCoCo line-coverage gate and zero non-test runtime dependencies via Maven Enforcer.
177177

178178
Database integration contracts are skipped by default. Set `-Pmysql`/`-Ppostgresql` and `-Dflydb.integration.database=<dialect>` explicitly to start temporary databases and run the selected tests. The full matrix runs in `.github/workflows/ci.yml`.
179179

‎README.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ Flydb 是面向任意支持 JDBC 驱动的数据库的 Schema 版本化迁移工
3030
前置条件:Java 8 或更高版本、一个已创建的目标数据库,以及与 Java 8 兼容的 JDBC 驱动。
3131

3232
```bash
33-
curl -LO https://github.com/zzxCoding/Flydb/releases/download/v0.3.5/flydb-cli-0.3.5.zip
34-
unzip flydb-cli-0.3.5.zip
35-
cd flydb-cli-0.3.5
33+
curl -LO https://github.com/zzxCoding/Flydb/releases/download/v0.3.6/flydb-cli-0.3.6.zip
34+
unzip flydb-cli-0.3.6.zip
35+
cd flydb-cli-0.3.6
3636

3737
# 示例:把 mysql-connector-j.jar 放入 drivers/
3838
cp /path/to/mysql-connector-j.jar drivers/
@@ -117,7 +117,7 @@ flydb.migrate();
117117
<dependency>
118118
<groupId>io.github.zzxcoding</groupId>
119119
<artifactId>flydb-core</artifactId>
120-
<version>0.3.5</version>
120+
<version>0.3.6</version>
121121
</dependency>
122122
```
123123

@@ -128,13 +128,13 @@ Spring Boot 应用选择对应 starter,容器初始化期间执行 `migrate`
128128
<dependency>
129129
<groupId>io.github.zzxcoding</groupId>
130130
<artifactId>flydb-spring-boot-3-starter</artifactId>
131-
<version>0.3.5</version>
131+
<version>0.3.6</version>
132132
</dependency>
133133
<!-- Spring Boot 2.7 / Java 8 -->
134134
<dependency>
135135
<groupId>io.github.zzxcoding</groupId>
136136
<artifactId>flydb-spring-boot-2-starter</artifactId>
137-
<version>0.3.5</version>
137+
<version>0.3.6</version>
138138
</dependency>
139139
```
140140

@@ -178,7 +178,7 @@ bin/flydb clean --clean-disabled=false --force # clean 默认禁用;非交
178178
./mvnw verify
179179
```
180180

181-
CLI 构建产物位于 `flydb-cli/target/flydb-cli-0.3.5.zip`。core 的 JaCoCo 行覆盖率门禁为 80%,并由 Maven Enforcer 保证零非测试运行时依赖。
181+
CLI 构建产物位于 `flydb-cli/target/flydb-cli-0.3.6.zip`。core 的 JaCoCo 行覆盖率门禁为 80%,并由 Maven Enforcer 保证零非测试运行时依赖。
182182

183183
数据库集成契约默认跳过;显式设置 `-Pmysql`/`-Ppostgresql` 与 `-Dflydb.integration.database=<dialect>` 后,才会启动临时数据库执行对应测试。完整矩阵由 `.github/workflows/ci.yml` 执行。
184184

‎docs/getting-started/ci-integration.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ jobs:
2222
migrate:
2323
runs-on: ubuntu-latest
2424
env:
25-
FLYDB_HOME: ${{ runner.temp }}/flydb-cli-0.3.5 # ZIP 内的版本化根目录
25+
FLYDB_HOME: ${{ runner.temp }}/flydb-cli-0.3.6 # ZIP 内的版本化根目录
2626
CONF: deploy/flydb.mysql.uat.conf
2727
steps:
2828
- uses: actions/checkout@v4
2929

3030
- name: 安装 Flydb CLI(版本随仓库锁定)
3131
run: |
3232
curl -fsSL -o flydb.zip \
33-
"https://github.com/zzxCoding/Flydb/releases/download/v0.3.5/flydb-cli-0.3.5.zip"
33+
"https://github.com/zzxCoding/Flydb/releases/download/v0.3.6/flydb-cli-0.3.6.zip"
3434
unzip -q flydb.zip -d "$RUNNER_TEMP"
3535
"$FLYDB_HOME/bin/flydb" version
3636

‎docs/getting-started/mcp-adapter.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ npx flydb-mcp # 一次性启动(发布后可用;registry 名称以发
5252
"command": "npx",
5353
"args": ["flydb-mcp"],
5454
"env": {
55-
"FLYDB_CLI": "/opt/flydb-cli-0.3.5/bin/flydb",
55+
"FLYDB_CLI": "/opt/flydb-cli-0.3.6/bin/flydb",
5656
"FLYDB_PASSWORD": "由宿主 secret 注入"
5757
}
5858
}

‎flydb-cli/src/main/java/com/flydb/cli/FlydbCli.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,7 @@ private static void put(Map<String, String> values, String key, Object value) {
750750
private static String version() {
751751
Package pkg = FlydbCli.class.getPackage();
752752
String implementation = pkg == null ? null : pkg.getImplementationVersion();
753-
return implementation != null ? implementation : "0.3.5";
753+
return implementation != null ? implementation : "0.3.6";
754754
}
755755

756756
private static Path detectInstallDirectory() {

‎flydb-cli/src/test/java/com/flydb/cli/FlydbCliTest.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ void versionCommandReturnsSuccess() {
4444
int exitCode = cli.execute("version");
4545

4646
assertThat(exitCode).isZero();
47-
assertThat(standardOutput.toString()).contains("flydb 0.3.5");
47+
assertThat(standardOutput.toString()).contains("flydb 0.3.6");
4848
assertThat(errorOutput.toString()).isEmpty();
4949
}
5050

@@ -63,7 +63,7 @@ void jsonVersionEmitsSingleLineEnvelope() {
6363
assertThat(exitCode).isZero();
6464
assertThat(standardOutput.toString())
6565
.isEqualTo("{\"protocolVersion\":1,\"command\":\"version\","
66-
+ "\"status\":\"success\",\"exitCode\":0,\"version\":\"0.3.5\"}\n");
66+
+ "\"status\":\"success\",\"exitCode\":0,\"version\":\"0.3.6\"}\n");
6767
assertThat(errorOutput.toString()).isEmpty();
6868
}
6969

‎flydb-skills/plugin.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
33
"name": "flydb",
4-
"version": "0.3.5",
4+
"version": "0.3.6",
55
"description": "面向 JDBC 数据库的 Schema 版本化迁移工具:打包 flydb-cli Agent Skill,指导 Agent 使用本机 GUI 并安全执行 migrate、validate、dry-run、baseline、repair 等迁移操作。",
66
"homepage": "https://github.com/zzxCoding/Flydb",
77
"repository": "https://github.com/zzxCoding/Flydb",

‎flydb-web/frontend/package-lock.json‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎flydb-web/frontend/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@flydb/workbench",
33
"private": true,
4-
"version": "0.3.5",
4+
"version": "0.3.6",
55
"type": "module",
66
"engines": {
77
"node": ">=22.12.0"

0 commit comments

Comments
 (0)