Skip to content

Releases: stan-dev/cmdstanpy

CmdStanPy v1.3.0

20 Oct 19:44
v1.3.0
49d3b54

Choose a tag to compare

Please note that the next non-bugfix release of CmdStanPy will be CmdStanPy 2.0 and will remove existing deprecations

New Features

Fixes

  • Clean up TQDM usage by @WardBrian in #781
  • CmdStan path validation only requires makefile by @WardBrian in #783
  • Enable/disable logging helpers by @amas0 in #796
  • Implementation of faster MCMC CSV parsing and Stan CSV utilities by @amas0 in #799, #801
  • Additional Stan CSV IO updates and refactoring by @amas0 in #806
  • Remove Python 3.8 support by @amas0 in #808
  • Deprecate metric argument and property, rename to inv_metric by @WardBrian in #804
  • Update tests for new cmdstan defaults by @WardBrian in #797
  • Stop trying to munge return codes from subprocess by @WardBrian in #809

Documentation

New Contributors

Full Changelog: v1.2.5...v1.3.0

CmdStanPy v1.2.4

17 Jun 15:07

Choose a tag to compare

Please note that the next non-bugfix release of CmdStanPy will be CmdStanPy 2.0 and will remove existing deprecations

Fixes

Full Changelog: v1.2.3...v1.2.4

CmdStanPy v1.2.3

03 Jun 15:53

Choose a tag to compare

Please note that the next non-bugfix release of CmdStanPy will be CmdStanPy 2.0 and will remove existing deprecations

Fixes

  • Fix tests for CmdStan 2.35 by @WardBrian in #749
  • Fix profile file output when running multiple chains in one process by @WardBrian in #751

Full Changelog: v1.2.2...v1.2.3

CmdStanPy 1.2.2

26 Mar 16:33

Choose a tag to compare

Please note that the next non-bugfix release of CmdStanPy will be CmdStanPy 2.0 and will remove existing deprecations

Fixes

Full Changelog: v1.2.1...v1.2.2

CmdStanPy 1.2.1

05 Feb 20:48

Choose a tag to compare

Please note that the next non-bugfix release of CmdStanPy will be CmdStanPy 2.0 and will remove existing deprecations

Fixes

  • Switch from np.random.RandomState to default_rng by @WardBrian in #712
  • Fix minor doc typos by @gil2rok in #715
  • Stan 2.34: Fix parsing of unit_e output files by @WardBrian in #723
  • Add new Pathfinder arguments by @WardBrian in #727
  • Allow the 'vars' argument to draws_pd to filter new columns by @WardBrian in #718
  • Allow warmup iterations when not adapting by @WardBrian in #731

New Contributors

  • @gil2rok made their first contribution in #715

Full Changelog: v1.2.0...v1.2.1

CmdStanPy 1.2.0

03 Oct 14:47

Choose a tag to compare

Please note that the next non-bugfix release of CmdStanPy will be CmdStanPy 2.0 and will remove existing deprecations

New Features:

  • Allow git:TAG as a version in install_cmdstan. #679
  • [Stan 2.32] Laplace method and other changes. #669
  • Add "chain__", "iter__", and "draw__" columns to draws_pd. #677
  • Allow multiple dicts in inits, fix multichain. #688
  • [Stan 2.33] Move IO munging to external package, refactors. #681
  • [Stan 2.33] Add Pathfinder. #686

Fixes and Minor Changes:

  • Correctly fetch ppc64el CmdStan. #661
  • Add version bounds on standalone GQ for non-HMC . #657
  • Fix: escape spaces in call to make. #662
  • Accept np.floating and np.integer for arguments. #663
  • Only check version URL after determining if it was already installed. #673
  • Update documentation on external C++. #675
  • Handle tilde ~ in model paths.. #671
  • Doc: spelling fixes. #678
  • Fix handling of include-paths in compiler options. #689

CmdStanPy 1.1.0

25 Jan 16:58

Choose a tag to compare

New Functionality

  • Add method log_prob to model class (#637)
  • Extend generate_quantities to non-HMC classes (#634)

Other changes

  • Improve type hints (#631)
  • Serialize draws when pickled (#632)
  • Raise an error if src_info fails (#638)
  • Change tests to pytest format (#639)

CmdStanPy 1.1.0rc1

18 Jan 14:34

Choose a tag to compare

CmdStanPy 1.1.0rc1 Pre-release
Pre-release

Note: This is a release candidate. If no issues are reported, the same version will be published as a full release in one week.

New Functionality

  • Add method log_prob to model class (#637)
  • Extend generate_quantities to non-HMC classes (#634)

Other changes

  • Improve type hints (#631)
  • Serialize draws when pickled (#632)
  • Raise an error if src_info fails (#638)
  • Change tests to pytest format (#639)

CmdStanPy 1.0.8

25 Oct 14:05

Choose a tag to compare

CmdStanPy 1.0.8

  • install_cmdstan now downloads the correct CmdStan for non-x86 Linux machines (#616).
  • Improved reporting of errors during compile() (#620).
  • Fixed some edge cases in mixing arguments of the optimize() function (#619).
  • Fixed how NaN and infinite numbers were serialized to JSON (#623).
  • Removed dependency on ujson. For now, all JSON serialization is done with the Python standard library.
  • Added a timeout parameter to all model methods which can be used to terminate the CmdStan process after the specified time (#621).
  • A model will now properly recompile if one of the #include-d files changed since it was last built (#627).

CmdStanPy 1.0.7

25 Aug 13:43

Choose a tag to compare

CmdStanPy 1.0.7

  • Fixed a critical bug in how outputs containing complex numbers were read in by CmdStanPy. If you are using models which output complex numbers, please update immediately to ensure you are getting the correct results.