OpenViet IME 版本历史 - 14 个版本
OpenViet IME 作者: đmcs
OpenViet IME 版本历史 - 14 个版本
小心旧版本!显示这些版本是为了测试和参考目的。您应该始终使用附加组件的最新版本。
最新版本
版本 1.4.5
发布于 2026年11月23日 - 520.05 KB适用于 Firefox 142.0 及更高版本OpenViet IME 1.4.5 — Reproducible build & verified rich-editor stability
A maintenance release focused on reproducible builds and trustworthy browser tests.
Typing behavior and the user-facing feature set are unchanged from 1.4.4.
- Reproducible reviewer builds:
web-extis pinned to10.8.0,package-lock.jsonis committed, and all build docs now usenpm ci. - Popup, Options and the background service worker now derive their defaults from the shared
DEFAULT_SETTINGS, with a parity test to prevent future drift. - Test suites unified on Node's built-in runner:
test/ime-edge-cases.test.mjsis wired intonpm test(98 tests total) and the unused Vitest dependency/script was removed. - Playwright E2E guide and build documentation now state the corrected headful/headless baselines.
- Fixed 12 false rich-editor E2E failures. Headful runs were loading the Firefox-style manifest and serving the testbed from
about:blank, so the content script never attached; English trap words passed trivially while Vietnamese words failed. - Browser tests now use a real
http://openviet.testorigin plus a temporary Chromium-compatible manifest, and atoans -> toáncanary prevents false passes if the IME is not attached. npm run test:e2enow reports 11/11 and 24/24 in both headful and headless modes.
源代码遵循 Apache 许可证 2.0 发布
- Reproducible reviewer builds:
较早版本
版本 1.4.4
发布于 2026年11月23日 - 520.04 KB适用于 Firefox 142.0 及更高版本This release focuses on typing stability in rich editors and gives users explicit control over the Telexwkey.
- User-controlled
w → ư/ơ/ăswitch in both the popup and Options page (Biến w thành ư/ơ/ă (Telex)): - ON (default) keeps the Non-Start policy:
thw → thư,uow → ươ, while word-initialwstays Latin (web,wifi,wife,world,ward,worf). - OFF keeps every
wliteral, soswaystaysswayandthwstaysthw. swayandmanjaroadded to the default English trap dictionary, so they auto-restore on a delimiter instead of becomingsưay/mẩno.- Optional vnchKey-style features:
autoSpaceAfterPunctuation,autoCapitalizeProperNouns, andbackspaceBySyllable— all disabled by default. - New regression suites for the
wopt-out, NFD/zero-width word boundaries, and auto-restore hot paths.
- Removed "Sentence Momentum & Math Context" heuristics. Auto-restore is now conservative (dictionary and phonology based) to avoid swallowing accents in Telegram, GitHub, ProseMirror/TipTap and other rich editors.
- Autocomplete is faster: prefix-bucketed indexes are built lazily and learned scores are computed only for words that actually match the typed prefix.
- Background defaults now include
typeW2U,wToUEnabledandsmartHornto prevent settings-schema drift between popup, Options and the content script. spellCheckandautoCapitalizenow default tofalse;backspaceBySyllableis scoped to the word currently being typed.BUILD.mdnow documents the canonicalnpm run build:firefoxcommand and the deterministicnpm testgate.
- Turning the
wswitch off no longer rewritesswaytosưay. - Word extraction now preserves NFD combining marks and ignores editor-injected zero-width markers.
- Delimiter handling recovers the last IME transform when a rich editor's extracted text goes stale.
- Fixed a
ReferenceErrorin the auto-restore reverse fallback and reset the word session when auto-restore is disabled. - The lazy suggestion host is no longer mounted when the suggestion style is
off.
Message to reviewers
源代码遵循 Apache 许可证 2.0 发布
- User-controlled
版本 1.4.3
发布于 2026年11月21日 - 866.07 KB适用于 Firefox 142.0 及更高版本- Fixed characters/diacritics being swallowed when typing quickly in rich text editors (Telegram, StackEdit, ProseMirror/TipTap).
- Reduced typing lag caused by autosuggest and next-word prediction.
- Improved stability of contenteditable text replacement under fast input.
- Rich text input race condition: stale beforeinput guards no longer block repeated keys (e.g. VNI digits
1,2, Telex tone keyss,f). - Previous word corruption: removed unsafe
lastTransformedfallback in contenteditable word extraction. - Performance: deferred autosuggest and next-word prediction (150ms debounce) and lazy-loaded the suggestion host.
- Autocomplete loading: autocomplete learned model now loads in the background without blocking initial settings load.
- Added regression tests for VNI tone removal, macro variables, URL/code guards, macro/autocomplete edge cases, and Telex
wrevert. npm test: all tests pass.
- Version bumped to 1.4.3.
- Generated artifacts (
manifest.json,*.bundle.js) are now gitignored. - Firefox package:
web-ext-artifacts/openviet_ime-firefox-1.4.3.zip
- Chrome / Edge / Brave / Opera / Arc (Manifest V3)
- Mozilla Firefox (WebExtensions)
源代码遵循 Apache 许可证 2.0 发布
版本 1.4.2
发布于 2026年11月20日 - 861.89 KB适用于 Firefox 142.0 及更高版本- Customizable Word-Flip Shortcut (
flipWordShortcut): Users can now customize the instant Vietnamese/English word-flip hotkey in Options (default:Alt+Rto avoid conflicting with Firefox'sCtrl+Shift+RHard Reload). - 3-Way Suggestion Display Mode (
Popup/Inline/Off): Added anOffoption to disable both floating popup and inline ghost-text suggestions, accessible directly from the extension Popup and Options page. Suggestions are now disabled by default (autoCompleteEnabled: false,nextWordEnabled: false,suggestionStyle: 'off') for maximum desktop typing speed. - Markdown Code Lock Option (
markdownCodeLock): Separated backtick/fenced-code Vietnamese lock into an independent toggle in the IME Options tab (disabled by default). When enabled, pressingEscapeexits code-lock mode without losing focus from the input box. - Expanded Technical Dictionary: Added common alphanumeric technical tokens (
icon16–icon256,utf8,base64,sha256,ipv4,ipv6,mp3,mp4,x64,arm64,html5,css3,es6,http2,4k,8k) and improvedSpace-boundary restoration forCOMMON_ENGLISH_WORDSanduserDictionaryentries (e.g.,test,rest,must).
- Fixed
beforeinputkey-blocking race condition during rapid typing oncontenteditableeditors (using aSettracker) and corrected NFD offset calculation (nfdDelta) intext-replacer.js. - Removed duplicate
copyDebugSnapshotBtnelement and redundant event listeners inoptions.html/options.js.
源代码遵循 Apache 许可证 2.0 发布
- Customizable Word-Flip Shortcut (
版本 1.4.1
发布于 2026年11月19日 - 860.8 KB适用于 Firefox 142.0 及更高版本- VNI & Tone Placement:
- Fixed VNI typing with
đ+ single vowels (e.g.,d9a4->đã,d9e63->để,đí,đì,đế,đú,đù,đừ) and preventedcheckAutoRestore()from reverting accented Vietnamese words back to VNI digit sequences. - Relaxed the digit guard in
avim.jsto only bypass technical alphanumeric identifiers (^[a-zA-Z]+\d+$such asmp3,h2o,f88) instead of blocking all words containing digits. - Fixed
ưo/uơ->ươtransformation before codas and addednghíato the Vietnamese word list. - Fast Typing & Rich Web Editors:
- Added
stopPropagation()andstopImmediatePropagation()inshouldAutoCapitalize(content.js) to prevent duplicate characters at sentence boundaries. - Increased autocomplete suggestion debounce from
10msto80ms(_acTimer) and debounced_blockedInputKeyclearing to eliminate race conditions during rapid typing. - Removed duplicate
beforeinputdispatch beforedocument.execCommand('insertText', ...)intext-replacer.jsto prevent double-character insertion in rich editors. - Improved nested element traversal in
text-replacer.js. - Code / URL / Acronym Protection:
- Added Acronym Bypass, English context detection (
inEnglishContext), math context handling (mathContextWordsRemaining), and CSS/Git hash/slash/module protection inkey-codes.js.
- Dynamic Macro Variables: Added
$CLIPBOARD,$VN_DATE,$ISO_DATE, and$WEEKDAY, along withDEV_GIT_MACROSandMATH_SCIENCE_MACROSpresets in Options. - Typing & Debugging: Added
Ctrl+Shift+Ucase cycling, Backtick FSM,async loadFromStorage()inautocomplete.js, and a Copy Debug Snapshot button in Options.
源代码遵循 Apache 许可证 2.0 发布
版本 1.4.0
发布于 2026年11月19日 - 856.21 KB适用于 Firefox 142.0 及更高版本- Backtick FSM for Markdown & Code: Automatically bypasses Vietnamese IME transformations and macro expansion inside inline code (
`...`) and fenced code blocks (```...```). - Bilingual Sentence Momentum & Math Context: Tracks English sentence context (
inEnglishContext) and math expressions (sin,cos,tan,cot,log,ln) to preserve words likethe tree,sin and cos, andhe must see this room. - Acronym Bypass: Protects 2–5 letter ALL-CAPS acronyms (
IOS,VPS,FPS,AWS, etc.) from accidental diacritic transformation. - 2-Way
ưo/uơ$\rightarrow$ươUpgrade: Supports out-of-order typing such asthuwon/thuơ+n$\rightarrow$thươn,huơ+ng$\rightarrow$hươngbefore final consonants (n,ng,c,t,m,p), while preservingquởnandbướu. - Accented Macro Collision & Alphanumeric Trap Restore: Allows macros whose triggers contain Telex tone keys (e.g.
as=ánh sáng) to expand on Space, and restores mixed alphanumeric codes (a1s,b2c) in Auto/VNI mode. - Technical Delimiter & Path Protection: Protects slash commands (
/compact,/aws), module prefixes (os.path,sys.argv), blocks macro expansion next to technical delimiters (./\@:()[]=&?), and adds common Telex trap words (cocoa,momo,mono,awkward,software,password, etc.). - New Dynamic Macro Variables: Added
$VN_DATE(DD-MM-YYYY),$ISO_DATE(YYYY-MM-DD), and$WEEKDAY(Vietnamese weekday name). - Live Inspector & Copy Debug Snapshot: Added
AvimEngine.prototype.inspectState()for DevTools debugging and a Copy Debug Snapshot button in Options.
源代码遵循 Apache 许可证 2.0 发布
- Backtick FSM for Markdown & Code: Automatically bypasses Vietnamese IME transformations and macro expansion inside inline code (
版本 1.3.0
发布于 2026年11月18日 - 1.2 MB适用于 Firefox 142.0 及更高版本- Dynamic
$CLIPBOARDMacro Variable: Expand macros with live clipboard text (e.g.,+cb→$CLIPBOARD) while preserving original casing. - Quick Case Cycling (
Ctrl+Shift+U): Cycle the active word betweenlowercase,UPPERCASE, andTitle Casein inputs, textareas, and contenteditable editors. - New Macro Presets: Added one-click Dev & Git and Math & Science macro presets in Options.
- Technical Token Protection: Automatically protects CSS units (
10px,2rem,50vh) and short Git commit hashes from accidental Vietnamese diacritics.
- Prevented
eraseHabitLearningfrom blacklisting valid Vietnamese dictionary words (e.g.,cá,toán) when erased. - Added a 500-entry FIFO cap to
erasedWordHabitsto prevent unbounded memory growth in long-lived tabs. - Fixed
UserDictionary.importTextto properly register imported words incustomWordsand refresh the autocomplete index. - Synced
avim_domain_methodsupdates across open tabs viastorage.onChangedin the service worker. - Fixed
adoptWordBeforeBackspaceraw key reconstruction and Options tone style fallback (classic).
源代码遵循 Apache 许可证 2.0 发布
- Dynamic
版本 1.2.1
发布于 2026年11月16日 - 545.45 KB适用于 Firefox 142.0 及更高版本Release v1.2.1 - Comprehensive Fix for Character Duplication & Caret Desync in Rich Editors
What's New & Bug Fixes:
Resolved Duplicate Characters in Microsoft Teams Web & CKEditor 5: Migrated replacement logic to targeted StaticRange dispatching via beforeinput events, ensuring rich editors properly consume replacements and sync internal models without duplicating typed characters.
Fixed Character Swallowing / Input Lag in ContentEditable: Removed temporary DOM span injection previously used to measure suggestion box coordinates, preventing unexpected TextNode splitting and editor desynchronization.
Bundle Optimization: Cleaned up redundant polyfills and code paths, reducing package size and boosting typing responsiveness.
Full Compatibility: 100% test coverage passed across both unit tests (41/41) and rich editor test suites (24/24).源代码遵循 Apache 许可证 2.0 发布
版本 1.2.0
发布于 2026年11月15日 - 507.55 KB适用于 Firefox 142.0 及更高版本OpenViet IME v1.2.0 delivers major architectural upgrades inspired by modern native Vietnamese input engines (vnchKey / Bamboo / VietC), enhancing typing accuracy, English collision protection, and developer workflows:
- Smart 'W' Key Handling (TypeW2U - Non-Start):
- Words starting with 'w' remain pure ASCII English (
web,win,wifi,world), preventing accidental conversion intoư. - When typed after consonants (
thw→thư,dw→dư,đw→đư,Đw→ĐƯ,trw→trư), 'w' reliably producesư/ horn modifiers. - Can be toggled on/off in Settings.
- Intelligent Horn Placement (SmartHorn):
- Automatically identifies vowel clusters to apply double horns on
uo→ươ(duocw→dược,muonw→mượn) and single horn onuu→ưu(cuuw→cưu,cứu). - Preserves traditional Vietnamese phonetic exceptions (
thuở,quơ,huơ). - English-Vietnamese Collision Protection (
ENGLISH_PREFER_VIETNAMESE): - Differentiates ambiguous short words that collide with common Vietnamese syllables in Telex mode (
as,is,os,us,rest→rết,must→mút,rust→rút,this→thí,these→thế,conf→còn). - Natural Vietnamese words are prioritized and never wiped out on Space, while pure technical terms (
text,user,router,worker) continue to auto-restore smoothly. - Developer Cheat Mode (
cheat.rs): - Automatically suspends Vietnamese accent transformation on common programming keywords (
state,props,function,class,cost,case,core,push,data) when typing inside developer environments (GitHub, LeetCode, VSCode Web) or web code editors (Monaco Editor, CodeMirror, Ace,<pre>,<code>, terminal). - NFC Output Guarantee:
- All diacritic transformations, shape swapping, and quotes unwrapping are strictly normalized to Unicode NFC (
normalize('NFC')), eliminating font rendering artifacts and split accents across macOS, iOS, Windows, and Linux. - Adaptive Habit Persistence:
- Erased-word habit counters persist in
browser.storage.localacross browser restarts and new tabs, automatically promoting frequently corrected words to the user dictionary after 3 erasures. - UI & Settings:
- Brand-new toggle controls for
TypeW2UandSmartHornon both the Popup and Options page. - Fully synced with per-domain memory profiles (
domainMethods).
- 100% test coverage passing across all 41 test suites.
源代码遵循 Apache 许可证 2.0 发布
版本 1.1.4
发布于 2026年11月14日 - 1,009.91 KB适用于 Firefox 142.0 及更高版本- Full support for Central Highlands toponyms (đrắk, lắk, pắk, m'đrắk) with flexible tone positioning and delayed-d inputs.
- Enhanced syllable phonology and intermediate diphthong state machine (auto-restore on incomplete diphthongs like Huyèn + Space -> Huyen).
- Double-r Telex trap protection for English technical words (error, mirror, sorry, array, carrier, borrow...).
- Added automated version-bumping script.
源代码遵循 Apache 许可证 2.0 发布
版本 1.1.3
发布于 2026年11月12日 - 598.14 KB适用于 Firefox 142.0 及更高版本- Introduced an alternative suggestion style: Inline Ghost Text.
- Shows completion suggestions as light gray ghost text directly at the typing caret in
<input>,<textarea>, and richcontenteditableeditors. - Key Advantage: Completely eliminates interference with native webpage dropdowns and search bars (e.g. Google search autocomplete, GitHub issues, Slack mentions).
- Seamless Key Controls: Press
TaborArrowRight(→) to accept suggestions instantly; pressEscor continue typing to dismiss. - Added a Quick Toggle Switch directly in the Toolbar Popup Menu so you can switch between
Floating RibbonandInline Ghost Textwith 1 click without digging into the Options page.
- Mid-Word Breve Placement (
ddawng->đăng): Fixed an orthographical check where typingwright afteramid-word (e.g.,ddawng) was blocked if the syllable was still incomplete. Bothddawngandddangwnow seamlessly produceđăng. - Short-Vowel Phonological Auto-Restore (
đă,câ,bă+Space): In Vietnamese phonology, short vowelsăandâcannot exist as independent completed words without coda consonants. If typing stops andSpaceis pressed on standaloneđă,câ,bă,tắ, the engine automatically restores the raw keystrokes (ddaw,caa,baw,taws), keeping developer tokens and English abbreviations pristine while preserving complete words (đăng,cân,băng).
- 34/34 Node.js unit tests passing (
npm test). - 11/11 Playwright E2E browser integration tests passing (
npm run test:e2e). - 100% on-device processing with zero external telemetry.
源代码遵循 Apache 许可证 2.0 发布
版本 1.1.2
发布于 2026年11月11日 - 519.45 KB适用于 Firefox 142.0 及更高版本- Intelligent Keyboard Shortcut & Code Protection: Fixed an issue where typing keyboard shortcuts (such as
Ctrl+Shift+Z,Cmd+K,Alt+F4) in documentation or rich text editors incorrectly triggered automatic capitalization for the following word. - Enhanced Rich Text Editor Support: Optimized DOM sibling traversal across inline elements (such as
<code>,<kbd>,<span>) in rich text editors (TipTap, ProseMirror, Google Docs, Notion), ensuring accurate sentence boundary detection. - Developer Whitelist & Isolation Weight Lock: Extended autocomplete predictions with popular developer commands (
git,docker,npm,kubectl,python,cargo) and introduced a domain-isolation weight lock to maintain technical predictions without decay from general conversation. - Performance & Stability: Bundles refined with zero latency overhead (<1ms) and 100% test suite pass rate.
源代码遵循 Apache 许可证 2.0 发布
- Intelligent Keyboard Shortcut & Code Protection: Fixed an issue where typing keyboard shortcuts (such as
版本 1.1.1
发布于 2026年11月10日 - 509.85 KB适用于 Firefox 142.0 及更高版本- Smart Auto-Capitalization: Fixed an issue where typing file paths/extensions (
src/assets/icon.svg) or code identifiers erroneously capitalized the extension (.Svg). Added safety guards for programming tokens (/,\,@,#,$,--). - Smooth Telex Tone Cancellation: Resolved duplicate letter anomalies when typing English words with cancellation keys (e.g.
test/pass/costwith Telex engine), cleanly preserving original ASCII words on delimiter boundaries. - Foreign Onset Cluster Protection: Protected loanwords and technical tokens starting with foreign onsets (
playwright,plugin,float) from unwanted Vietnamese vowel/tone transformations. - High-Definition Branding Assets: Upgraded extension icons from master SVG with crisp high-res 256px scaling; refined header icons to 50px in Popup & Options panels.
- Robust Quality Assurance: Validated with 100% pass rate across 31 unit tests and Playwright E2E browser integration tests.
源代码遵循 Apache 许可证 2.0 发布
- Smart Auto-Capitalization: Fixed an issue where typing file paths/extensions (
版本 1.1.0
发布于 2026年11月5日 - 429.43 KB适用于 Firefox 142.0 及更高版本- Dedicated Multi-Browser Build Pipeline:
- Separate manifests for Chrome (
manifest.chrome.json) and Firefox AMO (manifest.firefox.json), passing allweb-ext lintvalidations with zero errors. - Added direct build and bundle commands:
npm run bundle:chrome,npm run bundle:firefox, andnpm run bundle:edge. - Output packages are cleanly named and versioned:
openviet_ime-<browser>-1.1.0.zipinweb-ext-artifacts/. - AI & Gboard Habit Export / Import (Portability):
- Added Export CSV / JSON and Import for learned on-device typing habits under the "AI / Gboard" settings tab.
- Seamlessly back up and migrate your personal typing habits across computers with incremental merging (frequency count combination) or overwrite options.
- High-Visibility Toolbar Icon:
- Redesigned
icon.svgkeycap and "VN" typography to fill ~90% of the viewport. The pinned toolbar icon is now twice as prominent and legible on high-DPI displays. - Added 32px and 64px icon variants across all manifests.
- Streamlined Repository & Documentation:
- Removed legacy web demo assets from the repository to focus 100% on the core Manifest V3 browser extension.
- Synchronized bilingual documentation across
README.mdandREADME.vi.md.
- Separate manifests for Chrome (
源代码遵循 Apache 许可证 2.0 发布
- Dedicated Multi-Browser Build Pipeline: