Saltar al contenido

XKey Historial de versiones

XKey Contributors · Método de entrada vietnamita para macOS con escritura Telex y VNI, macros de texto y herramientas de traducción opcionales.

CaskHerramientas del sistemaActualización integrada 554
Inicio
Comando de instalación
brew install --cask xkey
Instalaciones en los últimos 30 días
175
Puesto 722 en Apps
Instalaciones del último año
1,2 mil
Total de los últimos 365 días
Última versión
1.2.29
Tamaño de descarga
12MB
dmg
Frecuencia de actualización
A diario
8 versiones en 30 días
  1. 1.2.29-20261117

    Actualizado

    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

    Parche

    Editado por OpenNavo Inclusión en Homebrew

    XKey 1.2.29, compilación 20261117, deja la palabra literal tras deshacer un circunflejo Telex, y la siguiente tecla de tono ya no cae en un grupo inválido.

    Telex
    Deshacer un circunflejo Telex deja literal el resto (#339).queuee ya no pasa a queúe, y keuee ya no pasa a keúe.El deshacer adyacente, dd, la marca y w siguen igual.

    XKey 1.2.29 es una actualización del teclado vietnamita en macOS. Al deshacer un circunflejo Telex, el resto de la palabra queda literal y la siguiente tecla de tono no la reescribe.

    Publicada el 17 de noviembre de 2026, compilación 20261117. Notas oficiales: https://github.com/xmannv/xkey/releases/tag/v1.2.29-20261117

    • Deshacer un circunflejo Telex deja literal el resto de la palabra (#339).
    • queuee ya no pasa a queúe, y keuee ya no pasa a keúe.
    • El deshacer adyacente, dd, la marca y w no cambian. VNI no se ve afectado.
  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

    Expandir

    Editado por OpenNavo Inclusión en Homebrew

    XKey 1.2.28 evita que el método vietnamita pierda unos 70 MB de memoria compartida al día.

    Escritura
    Reutiliza una fuente privada en lugar de crear una por inyección.Vuelve a crear esa fuente solo cuando falta.

    XKey 1.2.28, compilación 20261116, publicado el 16 de noviembre de 2026, evita que el método de entrada vietnamita pierda memoria compartida al escribir. Fuente: https://github.com/xmannv/xkey/releases

    • Cada fuente de eventos privada asignaba una página de 16K que macOS nunca liberaba, unos 70 MB por día de escritura.
    • El método ahora reutiliza una fuente de eventos privada y solo la vuelve a crear si falta.
  5. 1.2.27-20261113

    Expandir

    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

    Expandir

    Editado por OpenNavo Inclusión en Homebrew

    XKey 1.2.27 conserva el último idioma de entrada al volver a abrir la app para quien escribe vietnamita en un Mac.

    XKey 1.2.27, publicado el 13 de noviembre de 2026, conserva el último idioma de entrada al volver a abrir la app para quien escribe vietnamita en un Mac. Notas oficiales: https://github.com/xmannv/xkey/releases/tag/v1.2.27-20261113

    • Un arranque en frío ya no fuerza el vietnamita cuando esa fuente está activada, así que se conserva el estado de inglés que dejaste.
    • La primera sincronización de fuentes tras el arranque conserva el idioma guardado en las apps sin una entrada de Smart Switch.
    • Una entrada guardada por app sigue teniendo prioridad, una fuente desactivada sigue forzando el inglés y los cambios posteriores vuelven a activar el vietnamita.
  7. 1.2.26-20261111

    Expandir

    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

    Expandir

    Editado por OpenNavo Inclusión en Homebrew

    Xkey 1.2.26, build 20261111, publicado el 2026-11-11, añade un deshacer opcional para que quien escribe vietnamita en Mac restaure una palabra después de que una tecla de signo Telex repetida cancelara su acento.

    Xkey 1.2.26, build 20261111, publicado el 2026-11-11, es un método de entrada de vietnamita para Mac. Esta versión añade un deshacer opcional para palabras cuyo signo tonal se canceló al pulsar la misma tecla dos veces.

    • En Telex, pulsar una tecla de signo dos veces, como en "ff" o "rr", cancela el signo y se traga una pulsación, así que "traffic" aparece como "trafic" y "current" como "curent".
    • Deshacer la escritura rechazaba antes estas palabras porque solo aceptaba palabras que aún llevan un diacrítico, así que el atajo de deshacer pasaba de largo.
    • Una nueva subopción bajo "Hoàn tác gõ tiếng Việt" está apagada por defecto. Encendida, el deshacer también acepta una palabra cuyo número de pulsaciones en bruto difiere de los caracteres en pantalla.
    • La secuencia de pulsaciones ya guarda las dos teclas repetidas, así que el deshacer restaura "traffic" sin cambios.
    • El ajuste aparece en la sección General y en el resumen de depuración.

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

  9. 1.2.25-20261011

    Expandir

    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

    Expandir

    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

    Expandir

    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

    Expandir

    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

    Expandir

    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

    Expandir

    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

    Expandir

    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

    Expandir

    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

    Expandir

    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)

    Expandir

    Editado por OpenNavo Inclusión en Homebrew

    CompatibilidadmacOS 12 o posterior

    XKey 1.2.25 (20261011)

    Añade el texto seleccionado al diccionario personal mediante Servicios de macOS o un atajo global configurable.

    Selección de cambios oficiales de esta compilación.

    Añade el texto seleccionado al diccionario personal mediante Servicios de macOS o un atajo global configurable.

    • El servicio y el atajo comparten extracción, normalización, eliminación de duplicados e inserción por lotes de palabras.
    • El atajo solicita confirmación y muestra información en un HUD centrado.

    XKey

  19. 1.2.25

    Expandir

    Editado por OpenNavo Inclusión en Homebrew

    Corrige la activación de atajos solo con modificadores al mantenerlos pulsados o añadir otro modificador; la entrada del ratón o de teclas multimedia cancela la activación pendiente.

    Atajos
    El modificador solo activa el cambio con una pulsación inferior a 0,5 s.Un modificador adicional o entrada de ratón/multimedia cancela el cambio.Tras invalidarse el gesto, hay que soltar todos los modificadores.

    XKey 1.2.25 corrige el comportamiento de los atajos que usan únicamente un modificador. Antes, un modificador como Fn podía activar el cambio al soltarlo aunque se hubiera mantenido pulsado como modificador para otra acción. Ahora, solo lo activa una pulsación de menos de 0,5 segundos sin añadir otro modificador.

    Los eventos del ratón o de teclas multimedia cancelan el cambio pendiente. Estos eventos quedan fuera de la máscara del event tap, por lo que se gestionan cancelando el gesto pendiente. Una vez invalidado el gesto, no puede volver a activarse hasta que se suelten todos los modificadores. Este cambio corrige el #328.

    Notas oficiales de la versión

  20. 1.2.25 (20261002)

    Expandir

    Editado por OpenNavo Inclusión en Homebrew

    XKey 1.2.25 (20261002)

    Vuelve a mostrar avisos de Entrada Segura al cambiar de aplicación o de foco mientras sigue activa.

    Selección de cambios oficiales de esta compilación.

    Vuelve a mostrar avisos de Entrada Segura al cambiar de aplicación o de foco mientras sigue activa.

    • Los recordatorios esperan 250 ms para comprobar el estado y agrupan avisos consecutivos.
    • Solo se avisa mientras Entrada Segura está activa; activar XKeyIM también programa el recordatorio.

    XKey

  21. 1.2.24-20260721

    Expandir

    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

    Expandir

    Editado por OpenNavo Inclusión en Homebrew

    La compilación 1.2.24,20260721 añade una opción para cambiar la entrada con un solo clic en el icono de la barra de estado.

    Barra estado
    Opción de cambio con clic izquierdoClic derecho o Control-clic abre el menúLa preferencia está desactivada por defecto
    Ajustes
    Nuevo conmutador en preferencias GeneralesSe guarda y aparece en la información de depuraciónTextos de interfaz en inglés y chino simplificado

    La compilación 1.2.24,20260721 añade la preferencia statusBarClickToToggle, desactivada por defecto y compatible con versiones anteriores. Al activarla, un clic izquierdo en el icono de la barra de menús cambia directamente entre la entrada en vietnamita y en inglés. El clic derecho o Control-clic sigue abriendo el menú. Si la preferencia está desactivada, cualquier clic abre el menú como antes.

    La opción está en la sección General de Preferencias. Su valor se guarda en SharedSettings y se incluye en el volcado de información de depuración. Las nuevas cadenas de interfaz se localizaron al inglés y al chino simplificado. El README se reescribió con documentación bilingüe en vietnamita e inglés.

    Fuente: Notas de XKey 1.2.24