github stan-dev/stan v2.40.0
v2.40.0 (16 September 2026)

5 hours ago
  • Fixed standalone generated quantities not respecting the chain ID for rng seeding. (#3402)
  • Added max_tries as an argument to stan::services::util::initialize. (#3395)
  • Fixed the output format of standalone generated quantities differing between the single- and multi-chain overloads. (#3404)
  • Switched to using explicitly sized integer types in the structured_writer interface. (#3406)
  • Fixed several edge case issues in the summary and analysis functions. (#3423)
  • Reduce dependencies on the Boost library headers. (#3409, #3410, #3411, #3415, #3419)
  • JSON writers are now flushed whenever the json object is finished, rather than at the end of the program. (#3418)
  • Fixed some edge cases in JSON file writing. (#3427)
  • Fixed an infinite loop when reading certain invalid CSV files. (#3428)

Documentation

HTML

PDF

Don't miss a new stan release

NewReleases is sending notifications on new releases.