Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions docsrc/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,26 @@ What's New

For full changes, see the `Releases page <https://github.com/stan-dev/cmdstanpy/releases>`_ on GitHub.

CmdStanPy 2.0.0
---------------
- CmdStanPy now has a minimum supported CmdStan version, which will always be
at least one year old at the time of a new release. For 2.0.0, this is
**CmdStan 2.37.0**.
- The oldest supported Python version is now **Python 3.10**. Pydantic is now
required as a dependency.
Comment on lines +15 to +16

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to say that we will typically support Python versions until they go end-of-life? (Although I see now that 3.10 went end-of-life a few weeks ago)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don’t think we’ve said anything specific about this, but it has been more or less what we’ve been doing

- Added support for newer RTools versions.
- Overhauled the internals of the StanFit objects.
- These leverage additional output files in newer CmdStan versions, which
have led to some changes when loading a saved fit from disk -- ``from_csv``
is deprecated in favor of ``from_output_files``.
- Removed all previously deprecated features:
- The :class:`CmdStanModel` class no longer supports cases where there is not
a compiled model. In practical terms, this changed the signature of the
constructor (`stan_file` is now the first argument) and removed
``.compile()``.
- Several argument names were renamed, and most arguments to
:class:`CmdStanModel` methods can no longer be passed positionally.

CmdStanPy 1.3.2
---------------

Expand Down
Loading