Skip to content

Releases: stan-dev/stan

v2.35.0 (3 June 2024)

03 Jun 15:01
Compare
Choose a tag to compare
  • The algorithms no longer catch std::exception unconditionally. The Math library uses std::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

PDF

v2.35.0-rc2 (23 May 2024)

23 May 09:40
356d206
Compare
Choose a tag to compare
Pre-release
Tagging v2.35.0-rc2

v2.35.0-rc1 (13 May 2024)

13 May 11:43
Compare
Choose a tag to compare
Pre-release
Tagging v2.35.0-rc1

v2.34.1 (23 January 2024)

23 Jan 12:55
Compare
Choose a tag to compare

v2.34.0 (16 January 2024)

16 Jan 12:29
Compare
Choose a tag to compare
  • 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

PDF

v2.34.0-rc1 (8 January 2024)

08 Jan 19:53
Compare
Choose a tag to compare
Pre-release
Tagging v2.34.0-rc1

v2.33.0 (5 September 2023)

05 Sep 13:46
Compare
Choose a tag to compare
  • Added Pathfinder and Multi-pathfinder to the service APIs. (#3123, #3205)
  • Added the unconstrain_array method to the model base class as the inverse of write_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 with std::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

PDF

v2.33.0-rc1 (22 August 2023)

22 Aug 11:51
Compare
Choose a tag to compare
Pre-release
Tagging v2.33.0-rc1

v2.32.2 (15 May 2023)

15 May 20:01
Compare
Choose a tag to compare

v2.32.1 (2 May 2023)

02 May 12:09
Compare
Choose a tag to compare
  • Fix an issue where the output of Laplace sampling was inconsistent with other outputs and could lead to invalid CSV headers (#3184)

Documentation

HTML

PDF