Skip to content

v2.35.0 (3 June 2024)

Compare
Choose a tag to compare
@stan-buildbot stan-buildbot released this 03 Jun 14:51
· 98 commits to master since this release
  • Rename sampling statement (~) to distribution statement (~) to be consistent with the docs changes. (#1426)
  • The generated C++ no longer assumes that the RNG used in Stan is specifically the boost::ecuyer1988 generator, but uses a type alias defined in the Stan library. (#1395)
  • Fixed an issue where multiple reject statements could cause the C++ compiler to fail. (#1396)
  • Giving a variable the name jacobian is now deprecated. This name is being reserved for future language extensions. (#1397)
  • When encountering an unknown identifier that matches a known suffixed function without its suffix, add the known function name to the error message. (#1401)
  • Added fatal_error(), which is similar to reject() but rather than signaling an error which is recoverable, signals an error which should terminate execution immediately. fatal_error is now a reserved word. (#1402)
  • Exposed the new overloads of wiener_lpdf added to Stan Math by @Franzi2114. (#1411)
  • Added a better error message when a program attempts to use the removed array syntax. (#1413)
  • Use tabs to position error message cursor when appropriate. (#1414)
  • Replaced the link show when the deprecated lkj_cov distribution is used with the new link (see stan-dev/docs#694). (#1415)
  • The compiler should display a cleaner error if it encounters an internal error. (#1416)
  • Clarified the error messages generated by a syntax error on the right side of an assignment statement. (#1417)
  • Removed code following the last round of syntax deprecations that is currently scheduled. The final one (use of real values in conditionals) is now a type error and can no longer be automatically canonicalized. (#1420)
  • Fixed an issue where operator/ was not generating the correct C++ for complex linear algebra types. (#1421)
  • Rollback js_of_ocaml to 5.4.0 for compatibility with QuickJS. (#1427)