Skip to content

Conversation

@hubertshelley
Copy link
Member

本次发布 v2.7.0 主要变更:

  • 路由:重构为 DFS RouteTree,支持 ** 全路径通配,子优先、父级回退
  • 中间件:按层级(根→叶)收集中间件并修正执行顺序;按需构建 Next 链
  • 性能:匹配阶段以切片/strip_prefix 降低分配;整体性能提升(详见 benchmark/results/route_tree_dfs.md)
  • 兼容:修复 Rust 1.89 的生命周期与 clippy 警告(collapsible_if 等)
  • 版本:工作区版本号提升至 2.7.0

验证:

  • cargo clippy --all-targets --all-features --tests --benches -- -D warnings 通过
  • benchmark 套件运行通过;examples 验证中间件顺序正确

请审阅合并以发布新版本。

@hubertshelley hubertshelley merged commit 90fd29e into main Aug 8, 2025
1 check passed
@hubertshelley hubertshelley deleted the release/2.7.0 branch August 8, 2025 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants