Breaking Changes
- Remove
median,pairwise_margin, andsigned_rank_marginfrom public API across all 7 languages. These auxiliary functions are now internal. Callers must remove direct imports/calls to these functions.- Rust: removed from
pub usere-exports;pairwise_marginandsigned_rank_marginmodules are nowpub(crate) - Go:
Medianremoved;PairwiseMargin/SignedRankMarginrenamed to unexported - C#:
Toolkit.Median(),Toolkit.SignedRankMargin(),Toolkit.PairwiseMargin()removed - Kotlin:
median,pairwiseMargin,signedRankMarginmarkedinternal - Python: removed from
__init__.pyexports and__all__ - TypeScript: removed from
index.tsexports - R: removed from
NAMESPACEexports
- Rust: removed from
- Remove
Pragmastat.SimulationsandPragmastat.ExtendedC# projects. Simulations have been fully migrated to Rust (pragmastat-sim). TheExtendedpackage (Mean, MAD, StdDev estimators) was only used by Simulations and is no longer available. misrateparameter is now optional inshift_bounds,ratio_bounds, andcenter_boundsacross all languages, defaulting to1e-3. In Go this changes the signature from a requiredfloat64to a variadic...float64.
Features
- Default misrate for bounds functions. All bounds functions (
shift_bounds,ratio_bounds,center_bounds) now accept an optionalmisrateparameter defaulting to1e-3(DEFAULT_MISRATEconstant). This reduces boilerplate for the most common use case. - Toolkit synopsis section in manual. New concise function overview at the start of the Toolkit chapter, grouped by One-Sample Estimators, Two-Sample Estimators, and Randomization.
- Active section highlighting in web sidebar. Scroll-based tracking highlights the current section heading in the sidebar navigation.
- HSpace support in web output. The Typst-to-MDX converter now handles
#h(...)as inline spacing, preserving indentation in generated documentation.
Bug Fixes
- Restrict TypeScript package exports to public entry point. Added
exportsfield topackage.jsonso consumers cannot deep-import internal modules likepairwiseMarginorsignedRankMargin.
Documentation
- Remove internal functions (
median,pairwise_margin,signed_rank_margin) from all README demos, AGENTS.md listings, and example programs across all 7 languages. - Remove broken
\link{}cross-references to internal functions in R.Rdfiles. - Reorder misrate recommendations in manual:
1e-3for everyday analysis (primary),1e-6for critical decisions (secondary).
Internal
- Rust: move
medianfrompragmastattopragmastat-simcrate, where it is actually used. - Rust: move
pairwise_marginandsigned_rank_marginreference/error tests from integration test files into#[cfg(test)]blocks within each module. - C#: remove dead
MedianEstimatorafterPragmastat.Extendedremoval. - Manual: reorganize toolkit sections (One-Sample, Two-Sample, Randomization, Auxiliary) and study sections (Summary Estimator Properties, Reframings, Notes) under group headings.
Full Changelog: https://github.com/AndreyAkinshin/pragmastat/compare/v7.0.1...v8.0.0
Release notes generated by herald v1.0.4