Releases: stan-dev/stan
Releases · stan-dev/stan
v2.35.0 (3 June 2024)
- The algorithms no longer catch
std::exception
unconditionally. The Math library usesstd::domain_error
for recoverable errors, and these are the ones which are caught. (#3259) - Allow laplace sampling without evaluating
log_prob
for each draw. (#3261) - Allow laplace sampling to save the Hessian as a diagnostic output. (#3261)
- Stan's RNG usages now uses a type definition
stan::rng_t
rather than hard coding a specific Boost RNG. (#3263) - Switched the pRNG used by default in the services and tests to be
boost::mixmax
. Note that this means seeds from previous versions will lead to different numerical results in this version. (#3264) - Add a new ranked R-hat diagnostic from Vehtari. (#3266)
- Fixed an issue where Pathfinder would sometimes return more draws than requested. (#3279)
Documentation
HTML
v2.35.0-rc2 (23 May 2024)
Tagging v2.35.0-rc2
v2.35.0-rc1 (13 May 2024)
Tagging v2.35.0-rc1
v2.34.1 (23 January 2024)
v2.34.0 (16 January 2024)
- Resolved an issue in Pathfinder's multithreading which lead to non-reproducible results (#3239)
- Improved the human-readability of the output of the JSON writer class (#3227)
- Resolved various compiler warnings (#3228, #3234)
- Added hooks to adaptive sampler methods to write adapted metric to JSON file. (#3230, #3248)
- Changed bfgs and lbfgs's error messaging behavior so that the message is not split between stderr and stdout but is entirely sent to stderr. (#3238)
- Fixed a bug in the stan opencl assign tests (#3219)
- Updated PSIS to not add back the max and return the unnormalized resample ratios for stability (#3243)
- Fixed an issue where trying to compute the potential scale reduction factor on an empty set of draws would lead to a crash (#3246)
- Added flags to the Pathfinder service functions for turning off resampling and the calculation of the lp for the approximate draws. (#3249)
Documentation
HTML
v2.34.0-rc1 (8 January 2024)
Tagging v2.34.0-rc1
v2.33.0 (5 September 2023)
- Added Pathfinder and Multi-pathfinder to the service APIs. (#3123, #3205)
- Added the
unconstrain_array
method to the model base class as the inverse ofwrite_array
. (#3179, #3211) - Support Tuple indices in Stan CSV Header Reader. (#3190)
- Add callback writer to output JSON data for diagnostics. (#3191, #3202)
- Replace use of
boost::lexical_cast
withstd::strol
, etc, and remove spurious header includes. (#3206) - Fixed several typos in documentation. (#3210)
- Added multi chain service functions for hmc nuts for adapatation and nonadaption for the unit e, diag, and dense metrics. (#3212)
- Made the service functions consistently catch exceptions and favor return codes. (#3214)
- Added a hard copy of the event vector for OpenCL before making a copy to go from a tbb concurrent vector to a standard vector. (#3217)
- Added missing size checks to vectors of Eigen types. (#3218)
- Remove deprecated syntax from remaining tests. (#3220)
Documentation
HTML
v2.33.0-rc1 (22 August 2023)
Tagging v2.33.0-rc1
v2.32.2 (15 May 2023)
- Fixed handling of zero-sized parameters in standalone generated quantities.
Documentation
HTML
v2.32.1 (2 May 2023)
- Fix an issue where the output of Laplace sampling was inconsistent with other outputs and could lead to invalid CSV headers (#3184)
Documentation
HTML