Repository navigation
Releases: code-hemu/exprify
Releases · code-hemu/exprify
Release list
1.1.0
Added
- Interactive browser playground (
playground/) with live evaluation, a searchable
function menu, and support for units, fractions, big numbers, and matrices. - GitHub Actions workflow to build and deploy the playground to GitHub Pages.
- TypeScript declaration generation (
npm run build:types) with dedicated
tsconfig.types.jsonoutput todist/index.d.ts. - Standalone test runner (
tools/test.js) that discovers and runs every test file,
plus DOM test helpers and playground unit/DOM test suites. npm run typecheckscript for validating TypeScript declarations.- GitHub Sponsors funding configuration.
Changed
- Migrated the build pipeline from Rollup to Guchho.
- Updated package entry points for CommonJS, ESM, browser, and type declarations.
- Test command now rebuilds the bundles before running the full test suite.
- Updated README and CONTRIBUTING for the new build and playground workflow.
- Requires Node.js 18 or newer.
Removed
- Legacy
examples/reactandexamples/vanilla-jsprojects, superseded by the playground. - Rollup configuration and Rollup-based build dependencies.
- Standalone ESLint, Prettier, and EditorConfig configurations in favor of the
Guchho-based workflow.
Fixed
- Improved test reliability with dedicated DOM helpers and cross-platform script handling.
1.0.9
v1.0.8
Added
- Physical Quantity Arithmetic - Cross-type multiplication and division now produces correct derived units:
length × length => area,area × length => volume,
voltage × current => power,energy / time => power,
power × time => energy,voltage / resistance => current,
current × resistance => voltage,force / area => pressure,
pressure × area => force - Temperature conversion -
°F↔°C↔Know uses proper offset formulas via Kelvin intermediary
(98.6 F to C=>"37 C") - React example - New
examples/react/directory with a Vite-powered unit converter app
(12 quick-convert presets,npm run devto start) - Derived unit results support
toconversions (5 m * 3 m to cm2=>"150000 cm2")
Changed
- Renamed
src/utils/globalUnits.js=>src/utils/units.js
Fixed
- Unit tokenizer case sensitivity - Uppercase unit keys (
V,A,F,C,K,Hz,W, etc.) now recognized - Unit name disambiguation - Duplicate unit names (
F: farad/Fahrenheit,rad: angle/radiation,
S/s: siemens/second) are resolved by context of the paired unit.
1 F to mF=> farad (capacitance),98.6 F to C=> Fahrenheit (temperature)