diff --git a/VERSION b/VERSION index c5d4cee3..1e0c609c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.51.0 +0.51.1 diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 76f0066a..d9f5b3b0 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -8,6 +8,19 @@ This project follows the repository versioning rule: - `improvement` -> `+0.0.1`(bugfix + 小功能混合) - `bugfix` -> `+0.0.1` +## [0.51.1] — 2026-05-11 + +Released: 2026-05-11 + +### Highlights +- 修复 Earth 静态资源引用方式,图标和国家边界数据改为模块相对 URL,避免部署路径变化时资源加载失败。 +- 将 Material Symbols Rounded 字体切换为本地资源,减少 Earth 页面首屏对外部字体服务的依赖。 + +### Fixed +- 修复 BGP 广播图标、算力中心图标和国家边界 GeoJSON 在非固定 `/earth` 路径下可能失效的问题。 + +--- + ## [0.51.0] — 2026-05-11 Released: 2026-05-11 diff --git a/docs/version-history.md b/docs/version-history.md index 624119f9..90609d3a 100644 --- a/docs/version-history.md +++ b/docs/version-history.md @@ -16,12 +16,13 @@ ## Current Version - `main` 当前主线历史推导到:`0.16.5` -- `dev` 当前开发分支历史推导到:`0.51.0` +- `dev` 当前开发分支历史推导到:`0.51.1` ## Timeline | Version | Type | Branch | Commit | Summary | | --- | --- | --- | --- | --- | +| `0.51.1` | bugfix | `dev` | `pending` | 修复 Earth 静态资源模块相对路径与 Material Symbols 本地字体加载,避免部署路径变化或外部字体不可用时图标/边界资源失效 | | `0.51.0` | feature | `dev` | `pending` | 新增 AI Settings 控制台与 ai_tools 工具层;重写算力中心候选预览/保存交互(呼吸圈 + 即时图标);动作捕捉 zoom 改为 mirror-safe trend + pose hold 双通道,支持持续触发 | | `0.50.0` | feature | `dev` | `pending` | 新增 Earth 动捕双通道控制、Motion Agent、Presentation 持久展示、AI Provider 多 provider 设置、位置候选 LLM 兜底与 FAQ | | `0.49.0` | feature | `dev` | `pending` | 新增位置解析 Pipeline、BGP/算力中心地理定位、Docs Gatekeeper、Earth 新闻栏与 Mobile 国家高亮 | diff --git a/frontend/package.json b/frontend/package.json index 758f9299..417af8a6 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -1,6 +1,6 @@ { "name": "planet-frontend", - "version": "0.51.0", + "version": "0.51.1", "private": true, "packageManager": "bun@1", "dependencies": { diff --git a/frontend/public/earth/assets/fonts/material-symbols-rounded-500.ttf b/frontend/public/earth/assets/fonts/material-symbols-rounded-500.ttf new file mode 100644 index 00000000..83b70f74 Binary files /dev/null and b/frontend/public/earth/assets/fonts/material-symbols-rounded-500.ttf differ diff --git a/frontend/public/earth/css/fonts.css b/frontend/public/earth/css/fonts.css new file mode 100644 index 00000000..bdae8b2e --- /dev/null +++ b/frontend/public/earth/css/fonts.css @@ -0,0 +1,24 @@ +@font-face { + font-family: "Material Symbols Rounded"; + font-style: normal; + font-weight: 500; + font-display: block; + src: url("../assets/fonts/material-symbols-rounded-500.ttf") format("truetype"); +} + +.material-symbols-rounded { + direction: ltr; + display: inline-block; + font-family: "Material Symbols Rounded"; + font-feature-settings: "liga"; + font-size: 24px; + font-style: normal; + font-weight: 500; + letter-spacing: normal; + line-height: 1; + text-transform: none; + white-space: nowrap; + word-wrap: normal; + -webkit-font-feature-settings: "liga"; + -webkit-font-smoothing: antialiased; +} diff --git a/frontend/public/earth/index.html b/frontend/public/earth/index.html index 94091e88..f3513dde 100644 --- a/frontend/public/earth/index.html +++ b/frontend/public/earth/index.html @@ -136,7 +136,7 @@ - +