Skip to content

Lexicon v0.10.2

Choose a tag to compare

@github-actions github-actions released this 08 Aug 02:34
· 13 commits to master since this release

v0.10.2 — Multi-Language Proofreading, Onboarding Polish & Dev API Fix

Quick Downloads:

  • 🪟 Windows x64 Setup: Standard installer for modern 64-bit Windows PCs (Intel / AMD).
  • 🍏 macOS Apple Silicon DMG: For modern Apple Silicon Macs (M1, M2, M3, M4 chips).
  • 🐧 Linux x64 DEB: Debian package (.deb) for 64-bit Linux distributions (Ubuntu, Debian, Mint, Pop!_OS).
  • 📦 View All Assets & Checksums: Complete list of installers including ARM64 Windows, x86 Windows, Intel macOS, and Linux x64 DEB.

What's New & Fixed in v0.10.2:

🌐 Multi-Language Proofreading:

  • 49 Languages & Dialects: Shared languages.js catalog for Settings and Onboarding, covering every LanguageTool 6.8 grammar locale Lexicon exposes — English variants pinned at the top, all others sorted alphabetically (including Catalan Balearic/Valencian, Portuguese Angola/Mozambique preAO, Spanish voseo, Simple German, and more).
  • Searchable Language Dropdown: Replaced the short native <select> with a searchable picker that shows display names and LanguageTool codes.
  • Relevance-Ranked Search: Typing codes like es or ta now surfaces Spanish and Tamil first (exact code → code prefix → name prefix → word start → loose substring), so mid-word noise like “States / Catalan / Chinese” no longer buries the intended language.
  • Catalog Tests: Added languages.test.js covering count, uniqueness, English pin order, alphabetical labels, official naming for voseo/preAO/Swiss/Simple German, and exclusion of LibreOffice aliases plus spellcheck-only Norwegian.
  • Language Info Tooltip: Settings and Onboarding language labels include an info icon asking users to report Lexicon implementation issues (language not loading/applying), not LanguageTool grammar-rule quality.

🧭 Onboarding Polish:

  • Beta Updates Opt-In: Final onboarding step now includes a “Receive Beta Updates” toggle (same lexicon:betaOptIn preference as Settings) plus a feedback link.
  • Faster Modal Close: Onboarding finish/close no longer awaits AI refresh before dismissing the modal, so the wizard closes immediately.
  • Paper Texture Beta Badge: Onboarding Paper Texture now matches Settings with the Beta badge and edge-case feedback tooltip.

🔧 Desktop Dev / Sidecar Reliability:

  • Tauri Always Uses Port 18000: api.js now routes Tauri runtime (including tauri dev) to the sidecar on 127.0.0.1:18000, so a website preview or other process on port 8000 can no longer steal /ai/status and produce false CORS/404 failures. Bare browser Vite still expects uvicorn on 8000.
  • Bundled JRE on PATH (Windows grammar-engine fix): Fixed “Grammar engine unreachable” with /grammar/check returning HTTP 500 on Windows installs that have no system Java. LanguageTool is launched by language_tool_python, which resolves Java through PATH (shutil.which("java")) rather than JAVA_HOME — so the bundled JRE was present but never used, and no Java process was ever spawned. Lexicon now prepends the bundled jre/bin to PATH in three places: the Tauri sidecar spawn, the frozen sidecar launcher, and immediately before LanguageTool initialization.
  • Correct Bundled JRE Lookup: The sidecar launcher previously looked for jre inside its own folder, but the installer ships jre as a sibling resource of lexicon-backend, so the bundled runtime was never detected by the backend itself. It now resolves either layout and verifies the java binary actually exists.
  • Actionable Engine Errors: /grammar/check now returns a 503 with a JSON detail (e.g. can't find Java) instead of an unhandled 500, and the Review panel surfaces a Java-runtime hint for that case rather than a generic offline message.

↩️ Rollback Catalog:

  • Fallback Releases: Previous Releases & Rollback offline fallback list is now v0.10.1, v0.9.1, and v0.8.5.

🌐 Website:

  • Trust strip 0 Ads45+ Languages.
  • Removed the outdated “Appearance presets arrive in v0.10.0…” disclaimer (and its unused CSS).

🔤 Typography & Paper Engine (v0.10 Feature Suite):

  • Typography Presets: Switch between Default (System Sans), Editorial (Newsreader Serif), Modern (Inter Sans), and Monospace (JetBrains Mono) with instant live rendering.
  • Paper Surface Textures: 5 canvas textures with customizable page colors and surround chrome.
  • Accessibility & Reading Modes: Built-in Bionic Reading mode and OpenDyslexic font support.
  • Previous Releases & Rollback: Dynamic version history list in Settings -> About & Feedback.
  • Automated Beta Distribution: Built-in beta.json manifest support for beta release channels.
  • Onboarding Studio Overhaul: Added v0.10.0 related customization options.