github yuzeguitarist/Deck v1.2.8
v1.2.8 | Crisper

latest releases: v1.4.5, v1.4.4, v1.4.3...
4 months ago

Deck


Release Notes v1.2.8

TL;DR

  • 复制提示音已更新
    复制成功时的提示音已替换为新的音效,整体听感更清晰。
    Replaced the copy-success sound with a new effect for a clearer confirmation cue.
  • Apple Music / Podcasts 链接预览增强
    链接卡片展示封面、标题、作者、发布时间与时长,支持 RSS 链接。
    Link previews for Apple Music and Podcasts now show artwork, metadata, and RSS links.
  • Apple Music / Podcasts 预览视觉优化(仅这两类)
    仅针对 Apple Music / Podcasts 调整预览:底部空白区域缩减、链接超长截断(50 字符)、文本颜色根据封面亮暗自动切换。
    Apple Music/Podcasts-only visual polish: reduced blank space, 50-char URL truncation, and auto contrast text color.
  • 预览性能与体验优化
    大文本不截断、代码语法高亮优化、图片预览更高清。
    Preview improvements: non-truncated text, optimized code highlighting, higher-resolution images.
  • 预览回归问题修复
    修复图片预览无法最大显示、预览区留白,以及代码预览中的状态更新警告。
    Fixed image preview sizing/padding regression and state-update warnings in code preview.
  • 链接卡片网站图标放大
    链接记录预览中的网站 favicon 从 42x42 调整为 52x52,更易识别。
    Increased website favicon in link record previews from 42x42 to 52x52 for better visibility.

变更 / Changes

  • 默认复制音效调整
    默认复制提示音从原有音效调整为新音效,反馈更直接。
    The default copy cue has been switched to a new sound for more direct feedback.

  • Apple Music / Apple Podcasts 元数据

    • 链接预览展示封面图、标题、作者、发布时间、时长
    • 支持 apple.co 短链解析
    • 支持 RSS 源链接
      Apple Music/Podcasts link previews with artwork, metadata, and RSS support.
  • Apple Music / Apple Podcasts 预览样式优化(仅这两类)

    • 仅对 Apple Music / Podcasts 生效,普通链接预览保持原样
    • 预览内容区域底部空白缩减约 1/5(不影响底部信息栏位置)
    • 链接显示增加 50 字符限制,超出部分以 ... 截断
    • 标题/来源/链接文字颜色根据封面亮度自动切换,提升深浅封面下可读性
    • “打开 RSS” 入口整合至底部信息栏(与二维码/类型/大小同一行)
      Apple Music/Podcasts-only preview style updates: reduced bottom blank area, 50-char URL truncation, adaptive text contrast, and RSS action moved to the footer bar.
  • 剪贴板与预览优化

    • 支持 public.url 类型,Safari/Notes/Music 等应用的链接可正确识别
    • 链接记录预览中的网站 favicon 从 42x42 调整为 52x52,更易识别
    • 预览窗口图片使用高分辨率解码,显示更清晰
    • 大文本预览不截断(硬上限 200 万字符),支持 Cmd+F 搜索
    • 代码预览使用 TextKit,不截断,超长代码时禁用语法高亮以保持流畅
      Clipboard and preview: public.url support, high-res images, non-truncated text/code.
  • 预览问题修复 / Preview Fixes

    • 修复单图预览被固定高度限制的问题,图片现在会尽量占满可用预览区域(保持比例)
    • 修复单图预览外层内边距导致的额外留白,图片可在不裁切前提下最大显示
    • 修复 SmartContentView 中 “Modifying state during view update” 警告,避免不确定刷新行为
    • 拆分 PreviewWindowContent 复杂视图表达式,修复 “The compiler is unable to type-check this expression in reasonable time” 编译错误
    • 修复 frame 参数写法导致的 “Extra argument 'height' in call” 编译错误
      Fixed single-image previews being height-capped and resolved the SwiftUI "Modifying state during view update" warning in SmartContentView.
  • 设置稳定性修复 / Settings Stability Fix
    修复在设置页切换“模拟键盘输入粘贴”开关时,因并发访问导致的崩溃问题。 @Wcowin
    Fixed a crash caused by simultaneous access when toggling "Paste by Typing" in Settings.

  • 多语言完整补齐(真实翻译) / Localization Completion (Real Translations)

    • 已将 Deck/Resources/Localizable.xcstrings 中缺失的 de / en / fr / ja / ko / zh-Hans / zh-Hant 条目补齐到 0 缺口。
    • 覆盖范围包括:更新提示、数据库健康状态、脚本插件默认名称与描述、错误提示、触发词引导、上传分析说明、图片/文件预览文案等。
    • 本次补齐为真实译文,不是仅补空条目占位。
      Completed all missing translations in Deck/Resources/Localizable.xcstrings to zero gaps across de/en/fr/ja/ko/zh-Hans/zh-Hant, including update/database/script/error/onboarding/preview strings with real translated text.
  • 代码国际化改造 / i18n Code Refactor

    • Deck/Services/ScriptPluginService.swift:默认脚本名称/描述、执行错误、超时提示等改为 NSLocalizedString
    • Deck/Services/DeckSQLManager.swift:数据库健康检查与安全模式错误提示改为本地化文案。
    • Deck/Models/ClipboardItem.swift:图片/文件/链接/颜色等描述文案改为本地化文案。
      Added localization lookups in ScriptPluginService, DeckSQLManager, and ClipboardItem for user-facing strings.
  • 多语言资源收敛 / Localization Resource Cleanup

    • 统一以 Localizable.xcstrings 作为多语言来源。
    • 不再使用额外的 Localizable.strings 占位方案。
      Standardized localization on Localizable.xcstrings only (no placeholder .strings files).

升级建议 / Upgrade Notes

  • 建议更新后试听确认
    更新后可复制一段文本做一次试听,确认音量和听感符合你的习惯。
    After upgrading, copy a short text once to confirm the new volume and tone fit your preference.

Don't miss a new Deck release

NewReleases is sending notifications on new releases.