chore: release v0.6.2
Some checks failed
CI / check (push) Has been cancelled
CI / build (push) Has been cancelled

This commit is contained in:
xfy 2026-07-24 14:02:10 +08:00
parent 2b048b94a3
commit de4bfafb72
3 changed files with 9 additions and 2 deletions

View File

@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
## [0.6.2] - 2026-07-24
### Fixed
- **web-only 构建失败**`sleep_ms` 原用 `#[cfg(not(target_arch = "wasm32"))]` guard tokio 分支,但 tokio 是 server-only optional 依赖。该 guard 在「非 wasm32 主机 + 仅 web feature」组合下误激活导致编译失败长期被 dev-dependencies 中的 tokio 掩盖,只有排除 dev-deps 的生产构建才暴露)。修复为 `#[cfg(all(feature = "server", not(target_arch = "wasm32")))]`,符合 dual-target gating 规范。
- **404 页「返回首页」卡死**:文章详情页对不存在的 slug 抛出 404 错误后Dioxus `ErrorBoundary` 捕获错误渲染 fallback但点击「返回首页」仅更新 URL 不切换页面(`ErrorBoundary` 需显式 `clear_errors()` 才能恢复渲染 children。修复返回首页改用 buttononclick 内先 `clear_errors()` 再导航。
## [0.6.1] - 2026-07-23 ## [0.6.1] - 2026-07-23
### Changed ### Changed

2
Cargo.lock generated
View File

@ -5624,7 +5624,7 @@ dependencies = [
[[package]] [[package]]
name = "yggdrasil" name = "yggdrasil"
version = "0.6.1" version = "0.6.2"
dependencies = [ dependencies = [
"argon2", "argon2",
"axum", "axum",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "yggdrasil" name = "yggdrasil"
version = "0.6.1" version = "0.6.2"
edition = "2021" edition = "2021"
# 构建时工具二进制:用 syntectserver-only 依赖)生成 highlight.css。 # 构建时工具二进制:用 syntectserver-only 依赖)生成 highlight.css。