Repository navigation
v0.6.0
✨ 新功能与交互升级
- 三端原生拖拽投放(Drag-Out)与置顶条目独立拖拽排序:按住任意历史条目的左侧图标/缩略图即可直接向微信、资源管理器、编辑器、浏览器等外部应用原生拖放投放(Windows OLE
CF_UNICODETEXT/CF_TEXT/CF_OEMTEXT/UniformResourceLocator/CF_HDROP,macOS CocoaNSDraggingSession,Linux X11XDND v5含XdndProxy双向探测与 Wayland 优雅降级);置顶条目在悬停或按住时切换为蓝色 6 点抓手(⋮⋮),支持列表内上下丝滑调整独立pin_order顺序(支持.cbx归档持久化),横向拉出或拖出面板边界即无缝切换为原生投放。 - 三边磁吸停靠(左 / 右 / 顶部
58×38灵动胶囊)与物理动效升级:新增顶部停靠横向灵动胶囊、二阶临界阻尼弹簧动画、速度投影甩动吸附、物理像素对齐、连续流体抽屉展开/收起过渡与安全三角悬停走廊,解决靠边展开/收起跳闪与斜向移动误切行问题。 - 跟随输入光标弹出(
FollowCaret)与多屏热插拔保护:新增「跟随输入光标」唤起位置(基于 Win32GetGUIThreadInfo/ macOS Accessibility / Linux X11,不可用时平滑回退跟随鼠标),并在记住位置模式加入多显示器热插拔自动归位保护。 - 智能融合检索与离线语义洞察:检索排序融合 Frecency 频次衰减、字段权重与前台应用上下文加权,并引入剪贴板快速连复制去抖合并(
ClipboardCoalescer);内置纯离线 Cron 表达式解析、URL 追踪参数一键清理、SQL / cURL / IP / Email 识别、高熵凭据自动脱敏预览(可单条切换明文)与 OTP 验证码超时自动清理。
⚡ 性能、内存、磁盘与包体积深度优化
- Release 体积与依赖瘦身:启用
lto = "fat"、panic = "abort"与分级优化(默认opt-level = "z"+ 7 个加解密/图片核心 crateopt-level = 3),用ureq 3.5替换reqwest(Windows 依赖树移除tokio/hyper/h2),对内嵌FiraCode字体进行子集化压缩(-59%),完整保留代码语法高亮,Windows Release 单文件仅约18.4 MiB。 - 内存与显存分级回收:全平台接入
mimalloc全局分配器,引入带24 条 / 16 MiB字节预算与window.drop_imageGPU 显存释放的BoundedImageLruCache、64 KB 大文本预览安全切片、以及10s / 60s分级闲置休眠自动销毁隐藏悬浮窗与待机降频。 - 磁盘空间透明瘦身:启用
PRAGMA auto_vacuum = INCREMENTAL与设置页一键回收磁盘空间(及存储目录一键打开),新增纯 Rust LZ77CXB2透明压缩(向后兼容CXB1)与> 256 KBPNG 自动无损 WebP 瘦身。
🐛 三端稳定性与细节打磨
- 根治悬浮预览卡片首次选字失效与弹窗外点关闭:在悬停卡片滑入时原地预激活并聚焦只读文本框、离开回到主面板或隐藏时无感交还焦点,彻底修复 GPUI 异步激活导致首次拖选失效的问题;右键菜单与分组弹窗现支持点击屏幕任意面板外区域立即关闭(即使主窗钉住置顶);移除大量
#[cfg(target_os = "windows")]平台限制,使 macOS 与 Linux X11 全面共享悬浮预览池化复用、预激活与外点关闭能力。 - 三端平台桥深度加固:引入 5 角色互斥的
WindowRoleRegistry彻底隔离定格幕布窗与悬浮预览窗;macOS 修复异构多屏(Retina + 外接 1x)缩放偏差与NSDraggingSession生命周期保护;Linux X11 安装XSetErrorHandler防已关闭窗口崩溃、持久复用 X11 连接消除高频轮询握手开销、修复保密剪贴板无所有者时的阻塞,并为悬浮/托盘/贴纸窗补齐SKIP_TASKBAR/SKIP_PAGER。
✨ What's New & Interaction Upgrades (English)
- Cross-Platform Native Drag-Out & Independent Pinned Drag Reordering: Grab any clip row's leading icon/thumbnail to drag text, images, or files directly into external apps (Windows OLE
CF_UNICODETEXT/CF_TEXT/CF_OEMTEXT/UniformResourceLocator/CF_HDROP, macOS CocoaNSDraggingSession, Linux X11XDND v5withXdndProxynegotiation and Wayland fallback). Pinned rows switch to a 6-dot drag grip on hover/hold for verticalpin_orderreordering (preserved in.cbxarchives) and seamlessly hand off to native OS drag-out when pulled horizontally or past the panel edge. - 3-Edge Docking (Left / Right / Top
58×38Capsule) & Physics Motion: Added top-edge horizontal docking capsule, critically damped spring transitions, velocity-projected edge flicking, physical-pixel snapping, fluid drawer transitions, and hover-aim safe triangle corridors. - Caret-Following Popup (
FollowCaret) & Multi-Monitor Hot-Unplug Guard: Added text-caret popup positioning with graceful pointer fallback, plus automatic recentering when a remembered monitor is disconnected. - Hybrid Frecency Ranking & Offline Semantic Insights: Blended frecency decay, field weighting, and foreground-app context boosting with rapid clipboard coalescing; added offline Cron explanations, URL tracker stripping, SQL/cURL/IP/Email insights, Shannon-entropy secret masking with per-item reveal, and OTP auto-expiration.
⚡ Performance, Memory, Disk & Binary Size Optimization (English)
- Lean Release Builds: Configured
lto = "fat",panic = "abort", tiered optimization (opt-level = "z"withopt-level = 3on crypto/image hot crates), replacedreqwestwithureq 3.5, and subsetted embeddedFiraCodefonts (-59%) while preserving fullsyntectcode highlighting (~18.4 MiBWindows release binary). - Bounded Memory/VRAM & Tiered Idle Standby: Enabled
mimalloc, addedBoundedImageLruCache(24entries /16 MiBbudget with explicitwindow.drop_imageVRAM release),64 KBUTF-8-safe preview slicing, and10s / 60stiered idle hibernation. - Transparent Disk Slimming: Enabled SQLite incremental auto-vacuum with one-click disk reclaim and storage-folder reveal, pure-Rust LZ77
CXB2blob compression (backward compatible withCXB1), and lossless WebP slimming for> 256 KBPNGs.
🐛 Cross-Platform Stability & Polish (English)
- Fixed First-Drag Text Selection in Hover Preview & Outside-Click Dismissal: Pre-activates the hover preview popup in-place on pointer entry and smoothly restores main-panel focus on return/hide, eliminating GPUI's first-drag selection cancellation; context menus and group popovers now dismiss immediately on any outside click even when pinned; replaced Windows-only gating with runtime capability checks so macOS and Linux X11 share hover pooling, pre-activation, and outside-click dismissal.
- Hardened Windows / macOS / Linux Native Bridges: Added 5-role
WindowRoleRegistryisolation, macOS mixed-DPI multi-monitor scaling & safeNSDraggingSessionlifetime handling, and Linux X11XSetErrorHandler, persistent shared X11 connection pooling, non-blocking confidential marker checks, andSKIP_TASKBAR/SKIP_PAGERwindow hints.
Full Changelog: v0.5.0...v0.6.0