Stan Versions Save

Stan development repository. The master branch contains the current release. The develop branch contains the latest stable development. See the Developer Process Wiki for details.

v2.34.1

3 months ago
  • Fixed a Windows-specific issue with std::regex in JSON file validation (#3251)
  • Added a missing include of cstdint (#3255)

Documentation

HTML

PDF

v2.34.0

4 months ago
  • 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

4 months ago

v2.33.0

8 months ago
  • 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

8 months ago

v2.32.1

1 year ago
  • 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

v2.32.0

1 year ago
  • Extended get_dims and get_param_names in model_base with flags for whether to include transformed parameters and generated quantities. (#3139)
  • Fixed an issue where initialization would still retry many times even if a fixed initialization was provided. (#3139)
  • Cleaned up newlines in Laplace service logging. (#3153)
  • make: use SUNDIALS_TARGETS instead of LIBSUNDIALS. (#3162)
  • Updated JSON var context to handle nested structures (tuples). (#3165)
  • Always discard at least 1 entry in new RNGs. (#3168)
  • Relaxed requirements for 0-sized data objects in JSON. (#3170)
  • Deleted unused io/cmd_line.hpp. (#3172)
  • Standalone GQ: Output NaNs when exception is caught. (#3173)
  • Cleaned up dimension and name logic in random_var_context. (#3174)
  • Removed old/unused IO code. (#3177)
  • Made deserializer's map members const. (#3178)

Documentation

HTML

PDF

v2.32.0-rc1

1 year ago

v2.31.0

1 year ago
  • RapidJSON library is now a part of Stan (previously part of CmdStan) (#3143)
  • Added a #define flag flag to enable nested autodiff in model_base class (#3144)
  • Set up the service function so interfaces can offer Laplace approximation. (#3148)

Documentation

HTML

PDF