本文へ移動

XKey バージョン履歴

XKey Contributors · Telex・VNI入力、テキストマクロ、オプションの翻訳ツールを備えたmacOS向けベトナム語入力メソッドです。

Caskシステムツール自動更新 554
インストールコマンド
brew install --cask xkey
過去 30 日間のインストール数
175
Appランキング 722 位
過去1年間のインストール数
1213
過去365日間の合計
最新バージョン
1.2.29
ダウンロードサイズ
12MB
dmg
更新頻度
毎日
過去30日間に8回リリース
  1. 1.2.29-20261117

    最新

    GitHub Release

    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 の曲折アクセントを取り消すと、単語の残りは字面のままになり、次の声調キーが書き直しません。

    2026 年 11 月 17 日公開、ビルド 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 Release

    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 は、ベトナム語入力が 1 日に約 70 MB の共有メモリを漏らすのを止めます。

    入力
    注入ごとに作らず、非公開イベントソースを 1 つ再利用します。そのソースが欠けているときだけ作り直します。

    2026年11月16日公開の XKey 1.2.28(ビルド 20261116)は、ベトナム語入力メソッドが入力中に共有メモリを漏らすのを止めます。出典: https://github.com/xmannv/xkey/releases

    • 非公開のイベントソースは毎回 16K のページを割り当て、macOS はそれを解除しません。1 日の入力で約 70 MB になります。
    • 入力メソッドは非公開のイベントソースを 1 つ再利用し、欠けているときだけ作り直します。
  5. 1.2.27-20261113

    展開

    GitHub Release

    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 は 2026 年 11 月 13 日に公開され、Mac でベトナム語を入力する人が再起動後も前回の入力言語を保てるようにします。公式ノート:https://github.com/xmannv/xkey/releases/tag/v1.2.27-20261113

    • その入力ソースが有効でも、冷たい起動でベトナム語を強制しなくなり、残していた英語の状態が保たれます。
    • 起動後の最初の入力ソース同期は、Smart Switch の項目がないアプリでは保存済みの言語を保ちます。
    • 保存済みのアプリごとの項目は優先され、オフにしたソースは英語を強制し、その後の切り替えではベトナム語が再び有効になります。
  7. 1.2.26-20261111

    展開

    GitHub Release

    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への登録

    2026-11-11 公開の Xkey 1.2.26(build 20261111)は、Mac でベトナム語を打つ人のために任意の取り消しを追加し、Telex の声調キー連打で声調が消えた語を戻せます。

    Xkey 1.2.26(build 20261111)は 2026-11-11 にリリースされた、Mac 向けのベトナム語入力メソッドです。この版は、同じキーを二度押して声調記号が取り消された語を戻せる、任意の取り消しを追加します。

    • Telex では、声調キーを二度押すと(「ff」や「rr」)、声調が取り消され、キーが一回飲み込まれます。そのため「traffic」は「trafic」、「current」は「curent」と表示されます。
    • 入力の取り消しは、声調記号が残っている語だけを受け付けていたため、これらの語を拒否し、取り消しのショートカットはそのまま通りました。
    • 「Hoàn tác gõ tiếng Việt」の下に新しいサブオプションがあり、既定ではオフです。オンにすると、元の打鍵数と画面上の文字数が違う語も取り消せます。
    • 打鍵列は繰り返した二つのキーをすでに保持しているので、取り消しは「traffic」をそのまま戻します。
    • この設定は一般セクションとデバッグ要約に表示されます。

    出典:https://github.com/xmannv/xkey/releases/tag/v1.2.26-20261111

  9. 1.2.25-20261011

    展開

    GitHub Release

    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 Release

    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 Release

    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 Release

    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 Release

    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 Release

    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 Release

    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 Release

    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 Release

    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秒未満のタップで、追加の修飾キーが加わっていない場合にのみ切り替わります。

    マウスまたはメディアキーのイベントが発生すると、保留中の切り替えはキャンセルされます。これらのイベントはイベントタップのマスク対象外であるため、保留中のジェスチャーを取り消して処理します。ジェスチャーが無効になった後は、すべての修飾キーを離すまで再発動できません。この変更で #328 を修正しました。

    公式リリースノート

  20. 1.2.25 (20261002)

    展開

    OpenNavo編集部 Homebrewへの登録

    XKey 1.2.25 (20261002)

    セキュア入力が有効な間、アプリ切替やフォーカス変更で警告を再表示します。

    公式のビルド変更点からの抜粋です。

    セキュア入力が有効な間、アプリ切替やフォーカス変更で警告を再表示します。

    • 切替・フォーカス変更の通知は 250 ミリ秒後に状態を確認し、連続した通知をまとめます。
    • 警告はセキュア入力が有効な場合だけ表示され、XKeyIM の有効化も同じ通知を予約。

    XKey

  21. 1.2.24-20260721

    展開

    GitHub Release

    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-クリックでメニュー表示設定は既定でオフ
    設定
    一般設定に切り替え項目を追加設定値を保存しデバッグ情報に表示英語と簡体字中国語のUI文言

    ビルド 1.2.24,20260721 では、既定でオフかつ後方互換性のある設定 statusBarClickToToggle が追加されました。有効にすると、メニューバーアイコンを左クリックした際に、ベトナム語入力と英語入力を直接切り替えます。右クリックまたは Control-クリックでは引き続きメニューが開きます。設定が無効の場合は、従来どおりクリックするとメニューが開きます。

    この項目は「Preferences」の「General」セクションにあり、値は SharedSettings に保存され、デバッグ情報のダンプにも記録されます。新しいUI文言は英語と簡体字中国語にローカライズされました。README はベトナム語と英語のバイリンガル文書に書き直されました。

    出典:XKey 1.2.24 リリースノート