Repository navigation
v0.6.0rc3
Pre-release
Pre-release
⚠️ Release Candidate — API may still change before the final v0.6.0.
⚠️ 候选版本 — API 在正式 v0.6.0 发布前仍可能调整。
✨ New / 新增
- Fullscreen API — 新增
fullscreen_handler参数,通过注入 JS 拦截
requestFullscreen/exitFullscreen。默认实现将 webview 容器 reparent
到独立的全屏 QWidget(仅 anchor 模式)。 wsgi_executor支持传入Executor— 除了int(线程数),现在也可以
传入concurrent.futures.Executor实例,方便共享线程池。new_window_handler默认值 — 默认用系统浏览器打开 URL 并返回'deny',
不再需要手动提供。_resize_webview()— widget resize 时自动同步 webview 尺寸。
🐛 Fixes / 修复
- Windows 点击穿透 — 修复
_AnchorWindow在 Windows 上使用
WA_TranslucentBackground导致的交互失效:createWindowContainer嵌入后
paintEvent不再触发,扩展区域的 alpha-1 填充缺失,DWM hit-test 失败,
点击穿透到桌面。修复方案:Windows 上去掉WA_TranslucentBackground。
macOS 保留(无 per-pixel hit-test 问题)。
🔧 Improvements / 改进
- WSGI localhost 模式重构为通过线程池派发请求,与 custom protocol 模式
共享同一个wsgi_executor。 - 移除
closeEvent中不必要的_wsgi_executor.shutdown(),避免破坏
用户传入的共享 executor。 - 导入整理,移除未使用的
QPainter/QColor。
Full Changelog: v0.6.0rc2...v0.6.0rc3