Перейти к содержимому

XKey История версий

XKey Contributors · Вьетнамский метод ввода для macOS с режимами Telex и VNI, текстовыми макросами и дополнительными инструментами перевода.

CaskСистемные инструментыВстроенное обновление 554
Главная
Команда установки
brew install --cask xkey
Установки за последние 30 дней
175
Приложение: место 722
Установки за последний год
1,2 тыс.
Всего за 365 дней
Последняя версия
1.2.29
Размер загрузки
12МБ
dmg
Частота обновлений
Ежедневно
8 релизов за 30 дней
  1. 1.2.29-20261117

    Последняя

    Релиз GitHub

    XKey v1.2.29 (Build 20261117)

    What's New

    fix(telex): keep the word literal after undoing a non-adjacent circumflex

    Typing "queuee" undoes the free-mark ê ("quêu" -> "queue") and sets tempDisableKey, but the vRestore branch then calls insertKey, whose phonetic checkSpelling() ignores vowel clusters and re-enables marks. The next tone key landed on an invalid cluster: "queuees" -> "queúe", "keuees" -> "keúe". Adjacent undo ("teees") was only safe because of the three-identical-vowels rule.

    Keep tempDisableKey set after a circumflex undo (a/e/o) so the rest of the word stays literal. dd, mark and w undo are unchanged. Affects Telex and Simple Telex 1/2; VNI was never affected (its undo key is a digit).

    Bump version to 1.2.29 (20261117).

    Refs #339

  2. 1.2.29

    Исправление

    Редакция OpenNavo Добавлено в Homebrew

    XKey 1.2.29, сборка 20261117, после отмены циркумфлекса Telex оставляет слово буквальным, и следующая клавиша тона больше не попадает в недопустимую группу.

    Telex
    Отмена циркумфлекса Telex оставляет остаток буквальным (#339).queuee больше не становится queúe, keuee не становится keúe.Соседняя отмена, dd, метка и отмена w без изменений.

    XKey 1.2.29 — обновление вьетнамского ввода на macOS. После отмены циркумфлекса Telex остаток слова остаётся буквальным, и следующая клавиша тона его не переписывает.

    Выпуск 17 ноября 2026, сборка 20261117. Официальные заметки: https://github.com/xmannv/xkey/releases/tag/v1.2.29-20261117

    • Отмена циркумфлекса Telex оставляет остаток слова буквальным (#339).
    • queuee больше не становится queúe, а keuee не становится keúe.
    • Соседняя отмена, dd, метка и отмена w не изменились. VNI не затронут.
  3. 1.2.28-20261116

    Релиз GitHub

    XKey v1.2.28 (Build 20261116)

    What's New

    fix(injection): reuse the private event source to stop a shared-memory leak

    Every CGEventSource(stateID: .privateState) maps a 16K shared-memory page that macOS never unmaps. Creating one per injection leaked about 70MB per day of typing (72MB of a 107MB footprint after 24.6h). Reuse the source from init and recreate it only when nil.

    Bump version to 1.2.28 (20261116).

  4. 1.2.28

    Развернуть

    Редакция OpenNavo Добавлено в Homebrew

    XKey 1.2.28 не даёт вьетнамскому методу ввода терять около 70 МБ общей памяти в день.

    Ввод
    Повторно использует один закрытый источник, а не создаёт его на каждую вставку.Создаёт этот источник заново только при отсутствии.

    XKey 1.2.28, сборка 20261116, выпущенный 16 ноября 2026 года, не даёт вьетнамскому методу ввода терять общую память при наборе. Источник: https://github.com/xmannv/xkey/releases

    • Каждый закрытый источник событий занимал страницу 16K, которую macOS не освобождал: около 70 МБ за день набора.
    • Метод теперь повторно использует один закрытый источник и создаёт его заново только при отсутствии.
  5. 1.2.27-20261113

    Развернуть

    Релиз GitHub

    XKey v1.2.27 (Build 20261113)

    What's New

    feat(startup): keep the last language across relaunch

    XKey.app forced Vietnamese on at every cold start whenever the input source was enabled for it, discarding the E the user left it in. Only XKeyIM read the persisted flag, so the two hosts disagreed after a restart.

    The first input-source sync after launch now keeps the persisted language for apps without a Smart Switch entry. A saved per-app entry still wins, a source configured off still forces E, and later input-source switches keep re-enabling Vietnamese.

    • Add isInitialSync to handleInputSourceChange and a testable inputSourceSyncLanguage decision helper
    • Cover the launch precedence with LaunchLanguageTests
    • Bump MARKETING_VERSION to 1.2.27 and CURRENT_PROJECT_VERSION to 20261113
  6. 1.2.27

    Развернуть

    Редакция OpenNavo Добавлено в Homebrew

    XKey 1.2.27 сохраняет последний язык ввода после повторного запуска для тех, кто набирает вьетнамский на Mac.

    XKey 1.2.27, выпущенный 13 ноября 2026 года, сохраняет последний язык ввода после повторного запуска для тех, кто набирает вьетнамский на Mac. Официальные заметки: https://github.com/xmannv/xkey/releases/tag/v1.2.27-20261113

    • Холодный запуск больше не включает вьетнамский принудительно, когда этот источник включён, поэтому оставленное английское состояние сохраняется.
    • Первая синхронизация источников после запуска сохраняет записанный язык у приложений без записи Smart Switch.
    • Сохранённая запись для приложения по-прежнему важнее, выключенный источник по-прежнему принуждает английский, а поздние переключения снова включают вьетнамский.
  7. 1.2.26-20261111

    Развернуть

    Релиз GitHub

    XKey v1.2.26 (Build 20261111)

    What's New

    feat(undo): add option to undo words whose mark was cancelled by a repeated key

    In Telex a repeated mark key ("ff", "rr") cancels the mark and swallows one key, so "traffic" shows as "trafic" and "current" as "curent". Undo typing refused these words because canUndoTyping only accepted words that still carry a diacritic, so the undo hotkey passed through.

    Add an opt-in sub-option under "Hoàn tác gõ tiếng Việt" (default off). When on, canUndoTyping also accepts a word whose raw keystroke count differs from the characters on screen. The keystroke sequence already keeps both repeated keys, so undoTyping restores "traffic" unchanged.

    • Thread undoTypingAfterMarkCancel through Preferences, SharedSettings, EngineSettings, RuntimePreferences and KeyboardEventHandler
    • Show the setting in the General section and the debug summary
    • Bump MARKETING_VERSION to 1.2.26 and CURRENT_PROJECT_VERSION to 20261111

    Fixes #334

  8. 1.2.26

    Развернуть

    Редакция OpenNavo Добавлено в Homebrew

    Xkey 1.2.26, сборка 20261111, от 2026-11-11 добавляет необязательную отмену, чтобы при вводе вьетнамского на Mac вернуть слово после того, как повторная клавиша знака Telex сняла ударение.

    Xkey 1.2.26, сборка 20261111, выпущенный 2026-11-11, — метод ввода вьетнамского для Mac. Эта версия добавляет необязательную отмену для слов, у которых знак тона снялся повторным нажатием той же клавиши.

    • В Telex повторное нажатие клавиши знака, как в «ff» или «rr», снимает знак и поглощает одно нажатие, поэтому «traffic» показывается как «trafic», а «current» как «curent».
    • Отмена ввода раньше отказывала этим словам, потому что принимала только слова, на которых знак ещё есть, и сочетание отмены проходило мимо.
    • Новый подпункт в «Hoàn tác gõ tiếng Việt» по умолчанию выключен. Когда он включён, отмена принимает и слово, у которого число исходных нажатий отличается от числа символов на экране.
    • Последовательность нажатий уже хранит обе повторные клавиши, поэтому отмена возвращает «traffic» без изменений.
    • Настройка есть в разделе General и в отладочной сводке.

    Источник: https://github.com/xmannv/xkey/releases/tag/v1.2.26-20261111

  9. 1.2.25-20261011

    Развернуть

    Релиз GitHub

    XKey v1.2.25 (Build 20261011)

    What's New

    feat(dictionary): add selected text to personal dictionary via Services menu and global hotkey

    • macOS Services item "XKey: Thêm vào từ điển cá nhân" (localized en/vi/zh-Hans) splits the selection into normalized words and adds them all
    • Configurable global hotkey (Settings → Advanced → Từ điển cá nhân) routes through HostCommand.addSelectionToUserDictionary on both the local HID tap and the remote/session callback; XKeyIM returns .unsupported so the event reaches the main app
    • Shared UserDictionaryService pipeline for both entry points: extract, normalize, dedup, batch insert (single write + tombstone clearing), confirm alert for the hotkey path, centered HUD feedback
    • Best-effort re-enable of the Services entry in pbs NSServicesStatus at launch (merges flags, preserves key_equivalent), plus a Settings hint and "Open Keyboard Settings" shortcut
    • Bump CURRENT_PROJECT_VERSION to 20261011
  10. 1.2.25-20261003

    Развернуть

    Релиз GitHub

    XKey v1.2.25 (Build 20261003)

    What's New

    fix(hotkey): ignore modifier-only hotkey on hold, extra modifier, or mouse/media input

    A modifier-only toggle (e.g. Fn) fired on release even when the key was held as a modifier for other actions. Fire only on a tap under 0.5s with no extra modifier added, and cancel the pending toggle on mouse or media-key events, which are outside the event tap mask. A spoiled gesture cannot re-arm until all modifiers are released.

    Fixes #328

  11. 1.2.25-20261002

    Развернуть

    Релиз GitHub

    XKey v1.2.25 (Build 20261002)

    What's New

    fix(secure-input): remind on app switch and focus change, sampled after settle

    The warning toast auto-hides after 5s but the monitor deduplicated on the last delivered presentation, so a holder that stays active in the background was announced once and then silently blocked typing.

    • SecureInputMonitor.evaluate(remind:) re-shows the warning while Secure Input is still active; it never shows while inactive.
    • App switches and real focus changes (signatureChanged) remind through remindAfterSettle(), 250ms later, coalesced so a burst shows one toast: measured with an NSSecureTextField holder, Secure Input was still on at every didActivateApplication notification and off 50ms later, so the old synchronous sample was stale in both directions. A pending reminder is sticky until a current delivery consumes it, so a keystroke evaluation that supersedes it cannot swallow it.
    • XKeyIM marked-text mode has no TapEventSource, so IMKit activation now schedules the same reminder.
    • Skip the delivery hop when Secure Input is off, was off, and nothing is shown or pending to hide; generations stay untouched so an in-flight hide is not made stale.
    • XKeyIMController evaluates Secure Input once per keystroke, before the armed return (IMKit is the armed mode's only per-keystroke signal while Secure Input blinds the tap); drained pending events re-evaluate.
    • Bump build number to 20261002.
  12. 1.2.25-20260930

    Развернуть

    Релиз GitHub

    XKey v1.2.25 (Build 20260930)

    What's New

    fix(rules): limit Telegram Web rule to browsers via browsersOnly option

    The "Telegram Web" window title rule matched every app whose title contained "Telegram", including native clients. Add a browsersOnly flag to WindowTitleRule (checked against the known browser bundle ID sets) and expose it as a toggle in the rule form. It is persisted only when true, so existing rules decode unchanged.

  13. 1.2.25-20260929

    Развернуть

    Релиз GitHub

    XKey v1.2.25 (Build 20260929)

    What's New

    fix(smart-switch): restore per-app language on app entry, not from an AX pass

    Since 95af7cd, Smart Switch ran only inside the AX pass the app-switch block schedules. AX passes are last-writer-wins: any newer one drops the pass in flight. The switch clears the confirmed injection method, so the first keystroke in the new app asks the tap for a detection pass, and that pass superseded the app-switch one without publishing any app context. A click's focus check, or a title-change pass with an unchanged title, did the same. In Electron apps (Slack, Claude Desktop), whose AX round-trips run up to the 0.25s messaging timeout, the user nearly always types or clicks before the pass lands, so the saved language was never restored for that activation. Native apps finish the pass first, which is why the feature looked intermittent.

    Split AppContext into entries and refinements with appliesSmartSwitch:

    • Entries (TapEventSource.start, app activation, overlay open and close) are published synchronously from the bundle ID alone. Only an entry restores or records an app's language, reloads the per-app map, and sets smartSwitchHandledBundleId.
    • Every AX pass publishes a refinement that re-applies the exclusion and window-title rules. That includes the detection pass, a focus check with no focused element, and a title pass whose title did not change, so a superseded pass no longer loses the rules either. A pass that lands while a launcher is open describes the launcher, not the app beneath it. Re-evaluating after the Window Title Rules hotkey is a refinement too.
    • An entry has no window title, so it cannot tell that no rule covers the window. AppPolicyRuntime.inputSourceRuleAction now decides the target-input-source rule and only restores the pre-rule source from a context that has the title. Restoring from the entry flipped the source out and back on every Spotlight close in a rule-switched window. App-wide rules still switch at entry.

    Two sticky decisions also left typing broken:

    • .restoreVietnamese stayed the handler's decision, so the user's next toggle changed the menu bar but not the typing. It is now applied once.
    • A disabled input source stored .disableTransformation, and switching back to ABC never cleared it. It is now a separate inputSourceEnabled gate. The gate is read for overlays too, since the source is global, and handleInputSourceChange updates it. Under such a source the rules still apply, but no app's language is restored or recorded. handleInputSourceChange then restores the language from a freshly loaded map, because returning from XKeyIM there was no entry to reload it.

    Remove what this left dead, and what was already dead:

    • AppDelegate's handleSmartSwitch, restoreLanguageForCurrentApp, enableVietnameseForOverlay, saveLanguageForOverlay and overlayNameToBundleId.
    • VNEngine's checkSmartSwitchForApp, checkSmartSwitch, handleAppSwitch and getCurrentAppBundleId.
    • SmartSwitchManager's saveToPlist (a whole-map write that dropped the other process's entries), removeApp, clearAll and getAllApps, plus SharedSettings.setSmartSwitchData.
    • TapEventSource's focusCheckObserver, which observed an NSWorkspace notification on NotificationCenter.default and so never fired.

    Bump the build number to 20260929.

  14. 1.2.25-20260916

    Развернуть

    Релиз GitHub

    XKey v1.2.25 (Build 20260916)

    What's New

    fix(engine): drop the cancelled 'd' modifier when "ddd" undoes "đ"

    Typing d-d-d-o-s shows "ddó" on screen, but restore-on-wrong-spelling replayed "dddos" instead of "ddos". The third 'd' was counted twice in the restore record: insertD's undo branch stripped TONE_MASK without removing the modifier keystroke that dd→đ had recorded, while the vRestore branch of processKey re-inserts that same key as its own entry.

    The undo branch now drops it through a new TypingBuffer.removeModifier(at:keyCode:), which targets the key the undo actually cancelled rather than the newest modifier — an entry can carry both a horn and a tone.

    This stays scoped to 'd'. The other undo gestures must keep the cancelled modifier: a tone key never reaches the screen, so the record is what heals the swallowed keystroke ("address" restores both 's'), and a vowel undo leaves Vietnamese off for the rest of the word, so no restore ever runs. Only the 'd' path re-enables processing (the "Allow d after consonant" rule in insertKey), which is what exposed the double count.

    Also bump CURRENT_PROJECT_VERSION to 20260916.

  15. 1.2.25-20260915

    Развернуть

    Релиз GitHub

    XKey v1.2.25 (Build 20260915)

    What's New

    fix(hotkey): keep a cleared hotkey cleared across settings reloads

    Clearing a hotkey stores keyCode 0 with no modifiers, which loadPreferences read back the same as a key that was never written, so the built-in default came back the next time the settings window opened (#324).

    Check for the presence of the stored key instead of its value, for the four hotkeys whose default is non-empty: toggleHotkey, tempOffToolbarHotkey, translationHotkey and debugHotkey.

    A cleared toggle hotkey also matched a plain "A" keystroke, because keyCode 0 with no modifiers is what an unmodified "A" key down carries. Add Hotkey.isUnset and unregister the hotkey instead of arming it; the other hotkeys already guard on keyCode, which the toggle hotkey cannot use because it supports modifier-only combinations.

    Bump the build number to 20260915.

  16. 1.2.25-20260828

    Развернуть

    Релиз GitHub

    XKey v1.2.25 (Build 20260828)

    What's New

    fix(smart-switch): keep excluded apps out of Smart Switch

    The excluded-app check only ran in the per-keystroke path, so an app on the exclusion list still took part in Smart Switch: activating it restored its saved language and flipped the menu bar to V, and the state it recorded then leaked to the next app that had no saved entry of its own.

    Move the passthrough and user-list logic into isAppExcluded(bundleIdentifier:) — dead until now — so it also honours the exclusionRulesEnabled master switch, and have isCurrentAppExcluded() delegate to it after its overlay exemption. The tap path behaves exactly as before; the Smart Switch paths now share the same predicate and skip excluded apps when restoring on app switch, when an input source change arrives, when an overlay is dismissed, and when the user toggles E/V by hand.

    Overlay apps (Spotlight, Raycast, Alfred) are never excluded by design, so their Smart Switch sites are left untouched.

    Fixes #321

  17. 1.2.25-20260818

    Развернуть

    Релиз GitHub

    XKey v1.2.25 (Build 20260818)

    What's New

    fix(injection): reduce AX queries into web renderer to stop Gmail/Chrome freeze

    Two mechanisms caused intermittent typing freezes in heavy web editors (Gmail compose in Chrome):

    1. FocusedElementInfo.from() eagerly queried AXDOMClassList and AXDOMIdentifier on every snapshot. These attributes are served by the browser's web renderer, forcing Chromium to keep web accessibility enabled for the page — janking heavy pages like Gmail.

    2. getConfirmedInjectionMethod() did not store its live-detection fallback result. Since clearMethodCache() runs on every mouse click, arrow key, and app switch, every subsequent keyDown re-ran a full AX snapshot on the event-tap thread until an async re-prime, stalling the tap (and all typing) whenever the focused app was slow to answer.

    Changes:

    • Store the Priority-2 fallback via setConfirmedInjectionMethod, same pattern as consumePendingMethodReprobe.
    • Make domIdentifier/domClasses lazy providers (same pattern as textValueProvider); snapshot drops to 5 eager AX calls.
    • signature uses domIdentifierIfLoaded so the hot path never fires the lazy renderer query.
    • Gate the DOM-attribute fallback in isChromiumAddressBar and isFirefoxStyleAddressBar by role == AXTextField: the omnibox/urlbar are native text fields, web content never is. Eager checks (identifier, description) now run before the DOM legs, keeping localized-UI detection working.

    Preserved: Notion code block detection, rules with AX patterns, built-in title-only rules (never fire DOM queries), address bar detection on localized browser UIs.

    Tests: FocusedElementInfoLazyTests (17 cases) covering lazy semantics, signature behavior, and all address-bar gate branches. Full XKeyTests suite passes; XKeyIM target builds.

    Also: bump version to 1.2.25 (build 20260818), ignore graphify-out/ and .codegraph/ local tooling dirs.

  18. 1.2.25 (20261011)

    Развернуть

    Редакция OpenNavo Добавлено в Homebrew

    СовместимостьmacOS 12 или новее

    XKey 1.2.25 (20261011)

    Добавляет выделенный текст в личный словарь через службы macOS или настраиваемое глобальное сочетание клавиш.

    Избранные официальные изменения этой сборки.

    Добавляет выделенный текст в личный словарь через службы macOS или настраиваемое глобальное сочетание клавиш.

    • Служба и сочетание клавиш используют общий процесс извлечения и нормализации слов, удаления повторов и пакетной записи.
    • Сочетание клавиш запрашивает подтверждение и показывает результат в центральном HUD.

    XKey

  19. 1.2.25

    Развернуть

    Редакция OpenNavo Добавлено в Homebrew

    Исправлено срабатывание горячих клавиш только с модификатором при удержании или добавлении другого модификатора; ввод мышью или медиаклавишей отменяет ожидающее переключение.

    Изменения
    Переключение срабатывает только при нажатии короче 0,5 секунды.Доп. модификатор или ввод мышью/медиаклавишей отменяет переключение.После сбоя жеста отпустите все модификаторы для повторного запуска.

    В XKey 1.2.25 исправлено поведение горячих клавиш, использующих только модификатор. Ранее переключение по одному модификатору, например Fn, могло срабатывать при отпускании клавиши, даже если она удерживалась как модификатор для другого действия. Теперь переключение срабатывает только при нажатии короче 0,5 секунды, если не добавлен дополнительный модификатор.

    События мыши или медиаклавиш отменяют ожидающее переключение. Эти события не входят в маску event tap, поэтому ожидающий жест отменяется. После сбоя жеста его нельзя запустить повторно, пока не будут отпущены все модификаторы. Это изменение исправляет #328.

    Официальные примечания к выпуску

  20. 1.2.25 (20261002)

    Развернуть

    Редакция OpenNavo Добавлено в Homebrew

    XKey 1.2.25 (20261002)

    Повторно показывает предупреждения Secure Input при смене приложения или фокуса, пока режим активен.

    Избранные официальные изменения этой сборки.

    Повторно показывает предупреждения Secure Input при смене приложения или фокуса, пока режим активен.

    • Проверка после смены приложения или фокуса откладывается на 250 мс; последовательные уведомления объединяются.
    • Предупреждения видны только при активном Secure Input; включение XKeyIM также планирует напоминание.

    XKey

  21. 1.2.24-20260721

    Развернуть

    Релиз GitHub

    XKey v1.2.24 (Build 20260721)

    What's New

    feat(statusbar): add option to toggle input on single click

    Add a statusBarClickToToggle preference (default off, backward compatible). When enabled, a left-click on the menu bar icon toggles Vietnamese/English input directly, while right-click or Control-click opens the menu. When disabled, any click opens the menu as before.

    • Add the preference to Preferences and persist it in SharedSettings

    • Route clicks in StatusBarManager based on the preference and event type

    • Add a settings toggle in the General section with a description

    • Log the setting in the debug info dump

    • Add en and zh-Hans localizations for the new UI strings

    Also bump the app version and rewrite the README with bilingual (Vietnamese/English) documentation.

  22. 1.2.24

    Развернуть

    Редакция OpenNavo Добавлено в Homebrew

    Сборка 1.2.24,20260721 добавляет необязательное переключение ввода щелчком по значку строки меню.

    Строка меню
    Переключение ввода левым щелчкомПравый щелчок или Control-щелчок открывает менюПараметр по умолчанию выключен
    Настройки
    Переключатель в общих настройкахЗначение сохраняется и попадает в отладочные данныеТексты интерфейса на английском и упрощённом китайском

    В сборке 1.2.24,20260721 добавлен параметр statusBarClickToToggle. По умолчанию он выключен и сохраняет обратную совместимость. Если включить его, левый щелчок по значку строки меню напрямую переключает ввод между вьетнамским и английским. Правый щелчок или Control-щелчок по-прежнему открывает меню. Если параметр выключен, любое нажатие открывает меню, как и раньше.

    Параметр находится в разделе General настроек Preferences. Его значение сохраняется в SharedSettings и включается в дамп отладочной информации. Новые строки интерфейса локализованы на английский и упрощённый китайский. README переписан и содержит документацию на вьетнамском и английском языках.

    Источник: Примечания к выпуску XKey 1.2.24