Skip to content

0.4.0

Choose a tag to compare

@vigna vigna released this 21 May 15:46
· 26 commits to main since this release

[0.4.0] - 2026-05-21

New

  • try_new constructors return errors on wrong parameters,
    new constructors panic.

  • const getters.

Changed

  • Error diagnostics has been made uniform.

  • NegativeBinomial::solve_trials -> NegativeBinomial::solve_r.

  • cdflib::special::GammaError -> cdflib::special::GammaDomainError
    to avoid clash with cdflib::GammaError.

  • distribution module was renamed dist.

  • Lowered MSRV to 1.71 and switched to Rust 2021 edition.

  • Shortened names of error variants.

  • inverse_sf is no longer a trait method.

  • "Survival function" -> "Complementary cumulative distribution function".

Fixed

  • Fixed erratic behavior at endpoints 0 and 1.

  • Restored accuracy selection for gamma_inc via gamma_inc_with_acc.

  • Solvers now take P and Q instead of computing Q = 1 - P.