github bornova/numara-calculator v8.0.0-beta.14

latest release: v8.0.0-beta.15
pre-releaseone hour ago

Improvements & Features

  • Standalone Currency Units: Currency symbols ($, €, £, ¥, ₹, ₩, ₽, ₺, R$, ₿, etc.) and ISO codes now work as standalone calculation units even when Currency rate conversion is disabled—toggling the setting applies immediately without restarting.
  • Settings Shortcut: Added Cmd+, (macOS) / Ctrl+, (Windows, Linux, and Web) to open Settings from anywhere, and enabled Ctrl+Q to fold the enclosing # Heading section from any line inside it.
  • Expanded Date & Currency Support: Added sec, min, and hr date duration abbreviations, Unicode plot parameters (e.g. f(θ) = θ^2), negative prefix currencies (-$50, $-50), and custom crypto symbols.
  • Crisper Typography & Fonts: Added ClearType hinting/smoothing tables to bundled WOFF2 fonts (Google Sans, Roboto Mono, Numara) and rounded modal/typography coordinates to integer pixels to eliminate subpixel blur.
  • Context Menu Enhancements (Desktop): Enabled copying plot expressions and comment/non-answer lines via right-click, and cleaned up read-only output panel menu items.

Bug Fixes

  • Function Plotting: Fixed function-plot CJS/ESM bundle interop, BigNumber/Fraction variable and output unboxing, % of expressions inside plots, multi-series auto-domain union bounds, pole/discontinuity clamping, and chart cache cleanup.
  • Dark Theme Printing: Forced light color scheme and #000000 on #ffffff inside @media print so printouts are never white-on-white when Dark Theme is active.
  • User-Defined Functions & Units: Fixed compilation of block-bodied UDFs using control-flow statements (if, for, while, switch, try), preserved offset/baseName on custom units, restored overridden built-in functions/units cleanly, and hardened against prototype pollution.
  • External Library Interop: Fixed formulajs.* and Luxon DateTime methods/getters (.day, .month, .year, etc.) across Number, BigNumber, and Fraction modes.
  • Evaluation & Formatting:
    • Fixed total/subtotal and % of expressions combined with time units (total + 1 day, 10% of 100 hours + 2 hours) or object/range colons ({a: subtotal}, 1 : 4) being misidentified as invalid dates or line labels.
    • Fixed in hex / in bin / in oct conversions and base notations in Fraction mode, preserved >15-digit BigNumber currency precision, disambiguated Nordic kr symbols (DKK, NOK, ISK, SEK), and preserved small non-zero values above expLower plus inner quotes in string answers.
    • Guarded Continue from previous line against concatenating objects, functions, or plain strings while preserving valid date continuations.
  • Editor, Search, & Settings UI: Fixed syntax highlighting of # and // inside double-quoted strings, prevented today./now. from suggesting invalid DateTime methods, fixed double-dimmed sub-setting switches, and enabled answer truncation in Below Expression mode.
  • Storage, v7 Migration, & Sync: Consolidated legacy root localStorage keys, prevented case-insensitive page-name collision stealing during migration, sanitized Windows reserved filenames (CON, AUX, NUL, COM1–9, LPT1–9), flushed pending debounced folder-sync writes on app close, and escaped HTML in dynamic tooltips.

Desktop & PWA

  • macOS, Windows, & Linux Polish: Prevented Cmd+H on macOS from hiding the Dock icon when Keep in menu bar is off, queued multiple startup .num files opened before renderer load, resolved relative .num CLI paths on second-instance, enabled renderer sandboxing, and added Linux .desktop StartupWMClass window association and tray menu fixes.
  • Offline Service Worker: Fixed WebKit/Safari navigation Request handling, stripped redirected flags on cached responses, switched versioned precached assets to cache-first, and trimmed ~430 KB of desktop-only icons from PWA precache and cross-platform Electron packages.

Internal & Testing

  • Removed fs-extra dependency, eliminated unused exports/CSS/icons, scoped ESLint globals per runtime target, and expanded automated test coverage to 724 tests across unit, 100% pairwise settings × feature combinatorial, Service Worker, and headless Chromium + Electron E2E suites.

Don't miss a new numara-calculator release

NewReleases is sending notifications on new releases.