# Changelog · 1.0

> Every Deck release and what changed in it.

42 releases

1.0.0 – 1.0.9 · 5 releases

## v1.0.9 More composed (2025-12-28)

<h1 align="center">Deck</h1>



---



### New

-   **Semantic search engine upgrade:** Integrated Apple Sentence Embedding with sqlite-vec (static), moving sorting into the database layer for faster responses and lower memory usage.

-   **Smarter hybrid mode:** Merged text and semantic results for higher relevance and more stable recall.

-   **Enhanced Chinese search:** Enabled FTS5 trigram tokenization for more accurate and faster CJK retrieval.

---

### Improvements

-   **OCR performance optimization:** Downsamples large images to reduce UI lag and memory spikes.

-   **Sync and database stability:** Improved CloudKit batch submission and added automatic backup, integrity checks, and recovery mechanisms.

-   **Memory optimization:** Reduced memory usage from ~300MB to ~50MB.

---

### Technical Changelog

-   Integrated sqlite-vec as a static component to avoid dynamic extension issues and improve startup reliability.

-   Moved search result sorting into the database layer to reduce data copying and intermediate memory usage.

-   Updated FTS5 configuration to use trigram tokenizer for better CJK support.

---

### Compatibility & Behavior Notes

-   This release introduces no database schema changes and supports in-place upgrades.

-   All processing is performed locally with no data uploaded or stored remotely.

---

### Upgrade Notes

-   All users are recommended to upgrade for significantly faster search, lower memory usage, and more stable syncing.

## v1.0.3 More elegant (2025-12-25)

<h1 align="center">Deck</h1>



---



### New

-   **Version number update:** Aligned internal version identifiers with the release tag.

-   **Icon size optimization:** Refined icon sizing across Dock, menu bar, and settings for better visual consistency.

---

### Compatibility & Behavior Notes

-   This release introduces no functional or data changes, only visual and versioning adjustments.

---

### Upgrade Notes

-   All users are recommended to upgrade for improved visual consistency and correct version labeling.

## v1.0.2 More stable (2025-12-25)

<h1 align="center">Deck</h1>



---



### New

-   **New app icon:** Replaced the application icon with a new design for improved visual consistency across Dock, menu bar, and settings.

---

### Improvements

-   **Database file validation:** Added validation before database operations to prevent crashes caused by corrupted or invalid files.

---

### Fixes

-   **PRAGMA iteration fix:** Fixed iteration over `PRAGMA table_info` using `failableNext()` to ensure all rows are processed correctly.

-   **FTS binding and iteration fix:** Fixed issues with binding and iterating over FTS search statements.

---

### 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 stability and safer data handling.

## v1.0.1 Smoother (2025-12-08)

<h1 align="center">Deck</h1>



---



### New

-   **Mouse wheel mode:** Added support for navigating clipboard items using the mouse wheel.

-   **Vim key system enhancements:** Improved Normal/Insert mode transitions and key handling for smoother keyboard navigation.

---

### Compatibility & Behavior Notes

-   This release introduces no database schema changes and focuses on interaction and input system improvements.

---

### Upgrade Notes

-   All users are recommended to upgrade for a smoother combined keyboard and mouse workflow.

## v1.0.0 Hotfix (2025-12-08)

<h1 align="center">Deck</h1>



---



### Fixes

-   **Database file validity check:** Added `isDatabaseFileValid()` to verify that the database file exists and is readable before each operation.

-   **Hardened withDB flow:** Validate the database file before execution. If invalid or missing, the app logs a warning, notifies the user, attempts async recovery, and returns `nil` instead of crashing.

-   **Safe SQL iteration:** Replaced unsafe `for-in` iteration with `failableNext()` for PRAGMA and FTS queries to avoid fatal errors caused by `try!`.

---

### Technical Notes

-   `db.prepare(Table query)` returns `AnySequence<Row>`, whose internal iterator uses `try!` and cannot be safely controlled externally.

-   `db.prepare(String SQL)` returns `Statement`, which allows safe iteration via `failableNext()`.

-   Validating the database file before execution prevents most crashes caused by deleted or moved database files.

---

### Compatibility & Behavior Notes

-   This release introduces no database schema or data format changes and supports in-place upgrades.

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

---

### Upgrade Notes

-   All users are strongly recommended to upgrade to prevent potential crashes and data corruption.

## Releases by version

- [1.4.x](https://deckclip.app/changelog.md)
- [1.3.x](https://deckclip.app/changelog/1.3.md)
- [1.2.x](https://deckclip.app/changelog/1.2.md)
- [1.1.x](https://deckclip.app/changelog/1.1.md)
- [1.0.x](https://deckclip.app/changelog/1.0.md) ←

- Watch on GitHub: https://github.com/yuzeguitarist/Deck
- Release feed: https://github.com/yuzeguitarist/Deck/releases.atom

---

- HTML: https://deckclip.app/changelog/1.0
- 中文: https://deckclip.app/zh-cn/changelog/1.0.md

© 2026 Yuze Pan
