Releases: sheep-farm/hayashi
Releases · sheep-farm/hayashi
Release list
v0.2.9
What's new in 0.2.9
Formula system
- Arbitrary expressions in RHS terms:
log(K),I(x^2),log(K):log(L)now work end-to-end - Interactions between any expressions via
:operator - Readable coefficient names in output (
log(K):log(L)instead of__inter_2)
Language
- F-strings parsed at parse-time (zero runtime reparse)
expr_displaycovers all AST variants — no more silent_for valid expressions
Robustness
- Eliminated all unjustified
unwrap()calls in interpreter core env.rs,post_estimation_ts.rs,estimators_panel.rs,dispatch.rshardened
Code quality
exec()decomposed into 7 private methods — from 1366 to ~240 lineshelpers.rsorganised into 9 labelled sections
Validation programme (new)
- ~40 cases validated against R and Python on real datasets (Wooldridge, AER, statsmodels)
- All estimators pass: OLS, WLS, IV, Logit, Probit, Panel FE/RE, Poisson, NegBin, Tobit, Heckman, Cox, Quantile, ARIMA, VAR, VECM, GARCH, DiD, GMM, PSM, RDD, SUR, and more
hay validatecommand runs the full programme locally
Dependencies
- Greeners 1.5.4 (preserves column insertion order, fixes
get_stringfor Categorical columns)
What's Changed
- fix: update crossbeam-epoch advisory dependency by @shawcharles in #48
- docs: clarify validation reference semantics by @shawcharles in #46
Full Changelog: v0.2.8...v0.2.9
Nightly Build
Automated nightly build from the dev branch.
Not a stable release. May contain bugs and incomplete features.
Use hay dist-update --nightly to install, or download manually below.
Build date:
Commit: 36d04b4
v0.2.9-beta.1
Pre-release (beta)
Fixed
- CSV export column order:
to_csvno longer sorts columns alphabetically. Insertion order preserved viaIndexMap. append()losing string columns:get_string()now handlesCategoricalcolumns.- Plugin resolution on Windows:
HOMEfalls back toUSERPROFILE. Searches executable directory.HAYASHI_PATHuses;on Windows.
Added
++and--increment/decrement operatorsfor i, v in listandfor k, v in dictbindingstry/catch/finallywithfinallyblockhay installwith version,hay listshows versionsmatchas contextual keywordlist_files()builtin- Interpreter decomposition (~4800 → ~680 lines)
- English-only user-facing output
Not published to crates.io. Binary-only pre-release for testing.
v0.2.8
What's new
- WebAssembly playground: full Hayashi interpreter runs in the browser with syntax highlighting, live output capture, and example snippets
- Increment/decrement operators:
x++andx--desugar tox = x + 1andx = x - 1 - Static site: landing page, docs, plugins, community, and playground pages
- Privacy: no cookies, no tracking, no external dependencies beyond Google Fonts
Dependencies
- Greeners 1.5.2 (fixes RUSTSEC-2026-0204: crossbeam-epoch vulnerability)
Install
git clone https://github.com/sheep-farm/hayashi.git
cd hayashi
cargo build --release
./target/release/hay --version
What's Changed
- validation: align tobit_mroz with AER reference by @shawcharles in #44
Full Changelog: v0.2.7...v0.2.8
v0.2.7
What's Changed
- validation: add focused runner CLI by @shawcharles in #37
Full Changelog: v0.2.6...v0.2.7
v0.2.6
What's Changed
- fix: harden URL downloads by @shawcharles in #11
- chore: remove unused anyhow dependency by @shawcharles in #13
- ci: restore format check and Windows smoke test by @shawcharles in #15
- fix: handle user-reachable panic paths by @shawcharles in #20
- docs: add trust model for SQL and remote data by @shawcharles in #18
- refactor: add command metadata help registry by @shawcharles in #22
- fix: avoid non-finite label comparison panics by @shawcharles in #24
- fix: standardise initial user-facing errors by @shawcharles in #27
- ci: add dependency advisory policy by @shawcharles in #16
Full Changelog: v0.2.5...v0.2.6
What's Changed
- fix: harden URL downloads by @shawcharles in #11
- chore: remove unused anyhow dependency by @shawcharles in #13
- ci: restore format check and Windows smoke test by @shawcharles in #15
Full Changelog: v0.2.5...v0.2.6
v0.2.5
v0.2.4
v0.2.3-patch.202601
Full Changelog: v0.2.3...v0.2.3-patch.202601