Releases: stan-dev/math
Releases · stan-dev/math
v5.3.0-rc1 (11 May 2026)
Tagging v5.3.0-rc1
v5.2.0 (13 January 2026)
-
Added the unnormalized CDF and CCDF for the wiener 7-parameter diffusion model. Allows modeling truncated and censored data. (#3042, #3258, #3260, #3263)
-
Added
yule_simon_lpmfandyule_simon_lccdf. Allows modeling power-law count data. (#3220, #3236) -
Updated wording of validate_positive_index. (#3248)
-
Replaced standard
ifstatements withif constexprwhere posssible. (#3240) -
Removed use of
forward_asin the math library. (#3242) -
Added some more type traits for dealing with tuples. (#3244)
-
Added
inlineto all functions. (#3245)
v5.2.0-rc1 (6 January 2026)
release/v5.2.0: updating version numbers (#3269)
v5.1.0 (2 September 2025)
- Added functions for the embedded Laplace approximation. (#3097, #3209, #3210)
- Added new overloads for
sum_to_zero_constrainandsum_to_zero_freethat accept Eigen Matrix types. (#3169) - The simplex transform is now defined in terms of the isometric log ratio transform instead of stick breaking. (#3171)
- Renamed
hypergeometric_1f0tohypergeometric_1F0for consistency, fixed compilation forhypergeometric_2f1with autodiff second argument. (#3165) - Simplified implementation of
chol2invusing matrix functions. (#3136) - Improved the numerical stability of the gradient calculations for
inv_Phiandstd_normal_log_qf. (#3139, #3207) - Simplified vectorisation of
std_normal_lpdf. (#3140) - Removed redundant computation in
grad_reg_inc_beta. (#3159) - Updated signature for
apply_scalar_binaryto take the functor as its first argument, instead of the last. (#3156) - Added perfect forwarding to all functions that use the
apply_family of functors. (#3221, #3228, #3229) - Fixed expression test errors with
poisson_binomial_rng, added support for row-vector andstd::vector<double>thetaarguments forpoisson_binomial. (#3178) - Updated
inv_logitto use the logistic function from Eigen. (#3155, #3160) - Update the constraint functions templating to be more flexible. (#3151)
- Added ARM64 testing to the Github CI for Windows and Ubuntu (#3177, #3173, #3180, #3174, #3158, #3164)
- Disabled Make's implicit rules in our Makefiles. (#3183)
- Updated Boost to version 1.87.0 (#3185)
- Patched an issue preventing TBB from building with clang 21.1 (#3223)
v5.1.0-rc4 (22 August 2025)
Tagging v5.1.0-rc4
v5.1.0-rc3 (18 August 2025)
Tagging v5.1.0-rc3
v5.1.0-rc2 (12 June 2025)
Tagging v5.1.0-rc2
v5.1.0-rc1 (5 June 2025)
Tagging v5.1.0-rc1
v5.0.0 (10 December 2024)
Breaking changes:
- Removed deprecated
_log()probability functions. (#2995) - Moved constraint transforms to their own folder. (#3039)
- Updated arena_matrix to use move semantics. (#2928)
- Un-vendored a great many unused boost libraries. (#3129)
- C++17 is now required.
Other changes:
- Added
sum_to_zero_constrain,sum_to_zero_free, andcheck_sum_to_zero. (#3101) - Added beta_neg_binomial_lpmf. Allows modeling heavy-tail count data. (#3108)
- Added beta_neg_binomial_lccdf. (#3114, #3118)
- Added beta_neg_binomial_lcdf. (#3116)
- Added beta_neg_binomial_cdf. (#3120)
- Added beta_neg_binomial_rng. (#3126)
- Added overloads for tuples of bounds to
lub_freeandlub_constrain. (#3087) - Added error checking functions for row/column stochastic matrices. (#3095)
- Added constructor to vari for passing initial values and adjoints. (#3089)
- Improved efficiency of
finite_diff_gradient_auto. (#3096) - Functions concerned with the number of entries in a container (
size,cols,rows, ...) now consistently uselong intas their return type. (#3086) - Removed support for adding makefile variables in
~/.config/stan/make.local. Use themake/localfile in the Math directory instead. (#3090) - Fixed an indexing bug inside gp_matern32_cov. (#3084)
- Fixed the new
wiener_lpdfoverloads evaluating their expression template arguments more than once. (#3112) - Fixed some failures to compile calls to
powwhen using libc++ 19. (#3110) - Updated templated complex functions in the Stan math library to be better candidates than the standard library functions during ADL. (#3122)
- Fixed a warning about a mismatched struct/class declaration from clang 18. (#3091)
- Fixed compilation of
fabswith Apple Clang 15. (#3093) - Fix Eigen issue 2852 so that Eigen's kronecker product type works with
value_type_t. (#3124)
v5.0.0-rc1 (25 November 2024)
Tagging v5.0.0-rc1