Deck

Changelog

v1.4.6 · October 21, 202642 releases

Watch on GitHubRelease feed

1.1.0 – 1.1.9 · 10 releases

1.1.9

Rock-Solid
GitHub

Improvements

  • Applied encryption-mode performance optimizations across key handling, search scan paths, text analysis, link preview prefetching, blob IO, and semantic ranking to reduce CPU/IO overhead.
  • SecurityService.swift
  • DeckSQLManager.swift / SemanticSearchService.swift
  • SmartTextService.swift
  • ClipboardService.swift
  • BlobStorage.swift

内存 / 网络 / UI 深度优化

  • SmartContentCache.swift / DeckDataStore.swift / ClipboardService.swift
  • MultipeerService.swift / DirectConnectService.swift
  • HistoryListView.swift / ClipItemCardView.swift / SmartContentView.swift / LargeTextPreviewView.swift

Behavior Changes

  • MultipeerService.swift
  • ClipboardService.swift

Swift 6 Fixes

  • MultipeerService.swift
  • AppLogger.swift / MultipeerService.swift
  • SmartTextService.swift

Updater

  • UpdateCoordinator.swift
  • UpdatePromptView.swift
  • UpdateService.swift / AppDelegate.swift

Fixes

  • MainWindowController.swift / SettingsWindowController.swift
  • LargeTextPreviewView.swift

Compatibility & Notes

  • Deck.entitlements

1.1.8

Grounded
GitHub

Added

  • Added Paste migration support with compatibility for both legacy Paste.db and sandbox index.sqlite, plus one-click migration for Maccy / Flycut / PasteBar.
  • Added an always-visible migration module to the Storage page, reusing the onboarding migration flow and auto-scanning on entry.
    SettingsView.swift
  • Deck now includes a local Orbit CLI Bridge daemon (127.0.0.1:53129) exposing: /orbit/health, /orbit/recent, /orbit/item, /orbit/delete, /orbit/copy.
  • Added localized migration source names (Maccy / Paste / Flycut / PasteBar) in Chinese / English / German.
  • Added a debug toggle (boolean flag) to force-trigger the onboarding flow.

Deck × Orbit

Orbit GitHub: github.com/yuzeguitarist/Orbit

  • Orbit now integrates deeply with Deck, bringing Deck’s clipboard history into a radial clipboard ring.
  • After summoning the Orbit app ring, press Caps Lock (Input Source key) to switch to the clipboard ring.
  • The clipboard ring shows 9 cards by default, supporting keyboard navigation, copy/delete actions, and drag-to-center share or delete.
  • Text and code are shared via AirDrop as temporary files with language-aware extensions and automatic cleanup.
    ClipboardShareService.swift

Improvements

  • Improved migration bulk inserts by reducing transaction count and UI refresh overhead for faster large imports.
  • Refined onboarding migration page layout/spacing; list now shows only detected apps; window height set to 450.
  • Tuned the double-Option interaction (threshold + cooldown) to allow quicker hide/show cycles.
    HotKeyManager.swift

Changes

  • Deck authentication now uses a fixed X-Orbit-Token header, removing the Keychain/XPC prompt flow.
  • OrbitBridgeClient now talks to the CLI Bridge via HTTP and removes the XPC connection path.
  • The panel now appears on the screen where the cursor is located.
    MainWindowController.swift

Fixes

  • Fixed Flycut migration to gracefully handle cases with no history.
  • Fixed Swift 6 concurrency warnings related to database VACUUM.
  • Fixed an issue where PNGs copied from Finder could not be pasted after re-copy/drag and could produce corrupted dragged files, by reading actual image data for fileURL images and writing the correct image type.
    ClipboardItem.swift
  • Improved compatibility by writing both file URL and image data when pasting/dragging fileURL images.
    ClipboardService.swift

Notes

  • No new copy was added; the migration module continues to reuse existing Chinese/English/German translations.
    SettingsView.swift

Compatibility & Behavior Notes

  • Paste migration supports both legacy Paste.db and sandbox index.sqlite.
  • The Orbit Bridge service is exposed on localhost only and authenticated via a fixed request header.

Upgrade Notes

  • All users are recommended to upgrade for a smoother migration experience (faster large imports + always-available Storage entry), improved image paste/drag compatibility, and the new Orbit CLI Bridge with a simplified authentication flow.

1.1.7

Resilient
GitHub

Fixes

  • Fixed an unresponsive issue by executing the “Paste After Transform” script plugin asynchronously instead of blocking the main thread.
    ClipItemCardView.swift
  • Prevented crashes caused by invalid NSExpression formats by adding Objective-C exception catching with safe fallback.
    SmartTextService.swift, ObjcExceptionCatcher.h/.m, Deck-Bridging-Header.h
  • Ensured database file space is fully released after clearing data by running WAL checkpoint and VACUUM.
    DeckSQLManager.swift
  • Fixed an initialization timing issue in context-aware sorting where lastNonDeck could be nil due to early preApp injection.
    AppDelegate.swift, MainWindowController.swift, ContextAwareService.swift
  • Resolved Swift 6 concurrency warnings related to expression snapshot capturing.
    SmartTextService.swift

Compatibility & Behavior Notes

  • This release contains stability and safety fixes only, with no breaking behavior changes.
  • No database schema changes; safe for in-place upgrade.

Upgrade Notes

  • All users are strongly recommended to upgrade for improved script execution stability, safer smart text handling, and reliable database space reclamation.

1.1.6

Connected
GitHub

New

  • Added a dedicated “CLI Bridge” section in the sidebar for configuration and documentation.
  • Added usage and testing docs including health check, read/write examples, and optional aliases.
  • Added IDE source anchors (file/line/col/IDE) with deep-linking and an “Open in IDE” action.
  • Persisted source_anchor with DB storage, export/import support, and iCloud sync.
  • Added support for Cursor, Windsurf, and Antigravity IDEs via bundle ID detection and deep links.
  • Convert links into shareable preview card images with title, summary, domain, favicon, and cover image.

Improvements

  • Moved CLI Bridge settings out of General into its own section.
  • Source capture now prefers preApp and extends AX scanning into window subtrees.
  • Normalized helper bundle IDs to their parent apps.
  • Improved card layout with no white margins, adaptive height, full long-image rendering, and blurred fill.
  • Cmd+Shift+V now works with Cursor Assistant active; queue mode still takes precedence.
  • Added English and German localizations for CLI Bridge and IDE actions.

Fixes

  • Fixed a local HTTP server issue where released handlers caused no response.
  • Fixed AX CFTypeRef/AXValue conversion warnings and build errors.
  • Fixed missing sourceAnchor assignment after iCloud decryption.
  • Fixed repeated use of Cmd+Shift+V after image generation.
  • Fixed blank previews when copying links from rich-text sources.
  • Fixed Swift 6 concurrency lock warnings by switching cache access to async-safe patterns.

Technical Changelog

  • SourceAnchor Pipeline
    Implemented capture, persistence, sync, and export for source anchors.
  • Link Metadata Pipeline
    Unified link metadata fetch/cache/render pipelines for previews and images.
  • CLI Bridge Service
    Improved connection lifecycle management in CLI Bridge.

Localization

  • Added en/de localizations for CLI Bridge and IDE actions.

Compatibility & Behavior Notes

  • CLI Bridge continues to listen only on 127.0.0.1.
  • No breaking database schema changes; safe for in-place upgrade.

Upgrade Notes

  • All users are recommended to upgrade for improved IDE tracing, link sharing, and CLI Bridge stability.

1.1.5

Fortified
GitHub

New

  • Added intelligent detection for ID numbers (CN/TW/HK ID, passport, German tax ID, US SSN/ITIN) with a privacy toggle to skip saving detected content.
  • Added temporary clipboard items that self-destruct after a paste, accessible from the item menu with a clear visual indicator.
  • Added text steganography: hide text in images (LSB) or text (zero-width chars), with auto-detect and decode in clipboard history; encrypted via AES-GCM with optional shared passphrase stored in Keychain.
  • Added an OCR settings section to General Settings, matching the existing design system and exposing recognition level, language correction, max text length, and language toggles.

Improvements

  • Security mode now rejects plaintext fallback on encryption failures with a single user-facing alert; app name is encrypted/decrypted and included in migrations for consistent privacy.
  • DB state and reinitialization are fully serialized on dbQueue; iCloud and LAN group sync no longer capture ClipboardItem in detached tasks.
  • Large-image migration now uses keyset pagination and only bumps schema version after completion; embedding migration fails safe on encryption errors.
  • File pasteboard writes now use NSPasteboardItem + NSFilenamesPboardType; LAN group receive inserts through dbQueue; iCloud sync can rebuild items from DB ids.
  • Search paths now read dbQueue state consistently; search cache decrypts appName in security mode; filenames like deck-...@1x.png no longer trigger email detection.
  • Export success dialog now reports the actual exported count instead of the in-memory page size.
  • Stego key UI now adapts to narrow layouts; auto-decode happens before focus-text-only filtering; added a new “store & copy” flow for stego outputs.

Fixes

  • Fixed zero-width text decoding reliability issues.
  • Fixed transparent PNG handling in image steganography.
  • Fixed localization table conflicts by consolidating into Localizable.xcstrings.
  • Fixed regex handling, ignore behavior, tag creation, and share URL encoding in Smart Rules.
  • Ensured OCR completion handlers always return on the main thread.

Technical Changelog

  • ScriptPluginService.swift
    Added hash-based network authorization, safer timeout/interrupt handling, and moved execution off the main thread.
  • UserDefaultsManager.swift
    Added persistence and migration for network plugin authorizations and OCR settings.
  • DirectConnectService.swift
    Moved PSKs to Keychain, hardened buffer parsing, and improved connection handling.
  • PasteQueueHUDController.swift
    Replaced emoji labels with ASCII tags in the paste queue HUD.

Localization

  • Added English and German localizations for new privacy, stego, and alert UI.
  • Added en/de localizations for queue-mode help text and action labels.
  • Removed 17 unused keys to clear “References to this key…” warnings.
  • Filled missing translations and marked zh-Hans entries for version/import prompts as translated.

Compatibility & Behavior Notes

  • This release introduces no breaking database schema changes and supports in-place upgrades.
  • All privacy processing, detection, and encryption are performed locally.

Upgrade Notes

  • All users are recommended to upgrade for stronger privacy guarantees, more robust sync and migration, and the new temporary and steganography features.

1.1.4

Quietly Better
GitHub

New

  • Added “Open in Default Browser” and “Show QR Code” actions to link context menu. QR code is displayed in a full-screen frosted overlay, dismissible via ESC or background click, and returns focus to Deck.
  • Added a full-screen QR overlay with frosted background and centered QR code plus title and URL for easy sharing.
  • File and folder search now includes file name indexing, with non-destructive background backfilling and no schema changes.
  • Added QuickLook preview for Office documents, sharing the same panel framework as PDF preview.
  • Added queue mode introduction and shortcuts to the onboarding flow.
  • Added queue mode shortcut hints and usage tips in Settings.

Improvements

  • Redesigned link preview UI to show favicon, title, site name, and URL, consistent between list and preview panel.
  • Preview now reuses list cache and in-flight requests to avoid duplicate fetches.
  • Improved panel stability in full-screen and multi-display setups by following the active app’s screen and Space.
  • Improved keyboard focus stability when opening the panel via double-Option, and improved Space preview reliability.
  • Input mode and search focus now restore more intuitively when opening or closing the panel.
  • Increased hit areas of the four top buttons (Tag, Settings, Pause, Quit) for better usability.
  • Added and refined Chinese, English, and German localizations for context menus, QR hints, and empty state texts.

Fixes

  • Fixed clipboard item count showing as 0 in Storage Info; it now reflects the actual database total.
  • Fixed incorrect input mode and focus restoration after closing the panel.
  • Fixed overly small hit areas on the top buttons.
  • Fixed misleading empty-state messaging when search yields no results.
  • Fixed security-scoped bookmarks accumulating access counts under frequent path checks.
  • Fixed DB error tracking not being serialized, causing duplicate notifications and recovery attempts.
  • Fixed large image offload storing duplicate thumbnails in both data and preview_data.
  • Fixed Swift 6 async lock issues in DB error tracking.

Technical Changelog

  • Added comprehensive class-level documentation clarifying responsibilities, threading model, and security semantics.
  • Documented storage strategies including large image handling, blobPath usage, backup/restore, and migration ordering.
  • Moved DB initialization consistently onto dbQueue for safer sequencing.
  • Added explicit warnings when security mode encryption fails.

Compatibility & Behavior Notes

  • This release introduces no database schema changes and supports in-place upgrades.
  • All processing remains local with no data uploaded or stored remotely.

Upgrade Notes

  • All users are recommended to upgrade for improved multi-display stability, smoother link and QR sharing workflows, and more reliable search and preview behavior.

1.1.3

Handled with ease
GitHub

New

  • Added support for ⌘, to open Settings directly from the panel, equivalent to the gear button.
  • Added a “Pause” button in the panel (between Settings and Quit) to quickly pause or resume clipboard recording.
  • When paused, the button expands to show “Paused / Countdown” and stays in sync with the menu bar pause state.
  • Added an option for Vim mode to default into Insert mode: opening the panel no longer auto-enters search; typing starts search and preserves the first character.
  • In Insert mode, pressing Esc now only returns to Normal mode without clearing the search, enabling smoother j/k navigation.
  • Simplified Cursor Assistant trigger to Shift only, removing Space and Tab as trigger options.

Improvements

  • Added border and shadow to the search field for better separation from the background and tag area, especially in dark mode.
  • Moved pause status indicator into the Pause button instead of showing it beside the search field for a cleaner UI.
  • Updated the menu bar icon to use template rendering so it adapts automatically to light, dark, and translucent menu bars.
  • Updated the Pause button to a capsule style with orange highlight for clearer state feedback.
  • Improved localization by adding Chinese, English, and German translations for Vim Insert mode and pause-related status messages.

Fixes

  • Fixed an issue where the panel could not be closed by clicking outside when opened via Ctrl.
  • Fixed an issue where clearing the search did not restore the full list and default sorting.
  • Fixed an issue where the first character was not captured when entering search in Vim Insert mode.
  • Fixed an issue where clicking the preview window could unintentionally close the panel.
  • Filtered special keys when auto-entering search to avoid accidental triggers from Space or Enter.
  • Fixed a crash in regex search by changing the SQLite custom regexp function to return Int64(0/1), avoiding “unsupported result type” fatal errors.

Preview & Search Enhancements

  • Added regex match highlighting in plain text preview with a yellow marker style adapted for both light and dark modes.
  • Automatically scrolls the preview to the first match. If the match is deep inside very long text, the preview is truncated to show the relevant segment.

Technical Changelog

  • Implemented regex highlighting and first-match auto-scrolling in LargeTextPreviewView.swift.
  • Wired preview match positioning into PreviewWindowController.swift and PreviewOverlayView.swift.
  • Fixed regexp return type crash in DeckSQLManager.swift.

Compatibility & Behavior Notes

  • This release introduces no database schema changes and supports in-place upgrades.
  • All processing remains local with no data uploaded or stored remotely.

Upgrade Notes

  • All users are recommended to upgrade for smoother Vim workflows, clearer pause state feedback, and more stable search and preview behavior.

1.1.2

More Intuitive
GitHub

New

  • Added automatic trigger word cleanup. The app now deletes the trigger word (e.g. num) before inserting template content, ensuring clean insertion without manual cleanup.
  • Added a system “Important” tag, toggleable via right-click. Any item with a tag (system or custom) will be excluded from auto-clean and auto-delete, ensuring permanent retention unless manually removed.
  • Changed “Add Phrase” in the template library settings to a button + modal interaction, matching Edit/Delete behavior for a more consistent UI language.

Improvements

  • Improved Chinese IME handling. Fixed an issue where committing text with Enter would prevent the Cursor Assistant from triggering. Detection is now stable regardless of input state.
  • Improved the clipboard panel UI with more visually natural layout and enhanced text readability.
  • The Cursor Assistant now closes immediately when clicking on empty space, and ensures the trigger word is removed upon closing.
  • Preview updates are now batched and merged. The UI updates only after navigation stops, reducing refresh frequency, improving stability and power efficiency.

Fixes

  • Fixed an issue where images copied from Notes were not displayed in Deck. Expanded supported image paste types and added RTFD / flat-RTFD attachment parsing.
  • Fixed excessive window updates and wake-ups caused by rapid key navigation, significantly reducing CPU usage and wake events.
  • Fixed an issue where the first item occasionally lacked a focus ring when opening the panel.
  • Fixed the deprecation warning for activateIgnoringOtherApps on macOS 14 by adopting the new activation strategy while maintaining backward compatibility.

Technical Changelog

  • Fixed context loss when committing Chinese IME input. Added AXUIElement-based screen reading as a fallback trigger detection mechanism.
  • Added auto-backspace logic. The app now calculates trigger word length and simulates Delete key events before pasting.
  • Improved localization by completing missing English and German translations and fixing formatted count strings on the Statistics page.

Compatibility & Behavior Notes

  • This release introduces no breaking database schema changes and supports in-place upgrades.
  • All recognition and processing is performed locally with no data uploaded or stored remotely.

Upgrade Notes

  • All users are recommended to upgrade for improved input stability, lower power usage, and more consistent interactions.

1.1.1

Safer
GitHub

Issues

  • The app would crash when clicking the refresh button next to a connected device on the Network page.
  • In Secure Mode, the system fingerprint authentication dialog would flicker and repeatedly reappear after pressing “Cancel”.
  • There was no systematic mechanism for recognizing and validating bank card numbers, leading to false positives and missed detections.

Fixes & Improvements

  • Fixed a crash when clicking the refresh button next to connected devices.
  • Fixed an issue where the fingerprint authentication dialog would flicker and repeatedly appear after cancellation in Secure Mode.
  • Added bank card number recognition with multi-strategy validation for improved accuracy and safety: Length matching
    Prefix matching (BIN rules)
    Lightweight Luhn algorithm validation
  • Added support for custom template libraries with per-library trigger keywords for the Cursor Assistant, enabling fast access and insertion of preset content.

Compatibility & Behavior Notes

  • This release introduces no breaking database schema changes and can be installed as an in-place upgrade.
  • Bank card recognition is performed locally and does not upload or store any sensitive information.
  • Template libraries and trigger keywords are local-only and do not affect existing templates.

Upgrade Notes

  • All users are recommended to upgrade to avoid crashes and obtain a more stable Secure Mode experience.

1.1.0

Bug Fix
GitHub

This is a hotfix release focused on eliminating abnormal battery drain, frequent wake-ups, and stutters caused by synchronous DB work on the main thread.

  • * *

Improvements

Unified DB access to run asynchronously on the serial dbQueue and await results, significantly reducing main-thread load and energy impact.

Async closures now explicitly capture self for clearer concurrency semantics and easier maintenance.

  • * *

Fixes

Fixed: The main thread synchronously waiting on the DB queue caused sustained CPU activity and frequent wake-ups (abnormal battery drain).

Fixed: Search, FTS, stats, and export paths triggering synchronous SQL on the UI thread amplified energy use and UI stutters.

Fixed: Search, FTS, vector queries, and migration paths now use async DB calls to prevent main-thread SQL scans and blocking waits.

Fixed: Stats and export now read the DB asynchronously, so the UI thread no longer executes SQL directly.

  • * *

Technical Changelog

Reworked synchronous DB reads/writes that could occur on the main thread to run asynchronously on dbQueue and await results.

Moved high-frequency paths (search/FTS/stats/export/migrations) to async DB calls to avoid UI thread stalls.

  • * *

Compatibility & Behavior Notes

This is a performance/energy hotfix and does not introduce new user interaction flows.

All processing remains local with no data uploaded or stored remotely.

  • * *

Upgrade Notes

Strongly recommended for all v1.1.0 users, especially if you experienced battery drain, frequent wake-ups, or UI stutters.

  • * *

Notes

Wishing everyone good health, a smooth career, and family harmony in the new year.