Skip to content

Releases: CobayaSampler/cobaya

v3.6

28 Oct 15:22

Choose a tag to compare

3.6 – 2025-10-28

General

  • Minimum python 3.10; type hints updated accordingly (#419)
  • Added standardized formatting with ruff (removing flake8) (#419, #442)
  • Added pre-commit hooks for automated code quality checks (trailing whitespace, end-of-file-fixer, pyupgrade, ruff) (#419)
  • Documentation can now be built as markdown for LLM context. Flat context file provided.
  • Periodic sampled parameters implemented (for now fully supported by MCMC only), as well as tagging of derived parameters as periodic for analysis with GetDist (#440, #443; fixes #438)
  • Added simple gaussian likelihood with optional normalization constant (#433)
  • In Prior.reference(), now fixed values can be turned into a norm with given std (#429, #460; fixes #394)
  • In SampleCollection, inconsistent sums of individual chi2's and prior's are allowed, for e.g. emulators (#456)
  • sampler_type now an explicit parameter, instead of guessed from sampler name (#455)
  • Fixed out-of-bounds bug in Pool2D (#457; fixes #454)
  • use_renames option of theories deprecated (was not used)
  • Empty dicts in component definitions now preserved (fixes #450; thanks yzhengsong)
  • Improved truncnorm prior support (#431; thanks @xgarrido)

Cosmology

v3.5.7

28 Oct 15:23
23ee4b6

Choose a tag to compare

3.5.7 – 2025-03-31

General

  • Fixed issue with changing parameter order using gaussian_mixture with input_params
  • cobaya-doc can be used to list components of a given type, e.g. cobaya-doc bao
  • Small tidies for float output with numpy2

Cosmology

  • BAO, DESI, and SN likelihood docs now automatically list all available internal likelihoods

v3.5.6

21 Mar 11:57

Choose a tag to compare

v3.5.5

05 Mar 11:40

Choose a tag to compare

3.5.5 – 2025-02-05

General

Cosmology

CLASS

  • Regression: no multiple local installs after v3.3 (see #404)

v3.5.4

05 Mar 09:34

Choose a tag to compare

  • Allow classes to have both yaml and class attributes as long as no duplicate keys
  • Added get_modified_defaults() class method to cobaya components to dynamically set/modify defaults

3.5.3

09 Aug 07:43

Choose a tag to compare

  • Added cobaya-run --allow-changes to resume or minimize after changing input settings (turns off checking)
  • Updates for numpy 2 and other compatibility/deprecation fixes
  • Fixes #357, #358, #360, #361, #362, #368
  • Added _fast_chi_squared method to base class InstallableLikelihood

v3.5.1

25 Apr 10:15

Choose a tag to compare

v3.5

19 Feb 20:16

Choose a tag to compare

General

  • Updated UGE sample job submission template (for cobaya-job-run and cobaya-grid-run)
  • Clarify log feedback when using oversample_thin
  • Fixed #345, #346, #347, #348

Grid scripts

  • Support for running grids of models, including grid getdist, PDF tables, importance sampling, minimization (almost all features of CosmoMC grid now available in Cobaya). See the new doc pages.

Minimization

  • Support for iminuit minimizer and getting best-fits for all mpi runs (#332, thanks @ggalloni)
  • Support for minimzation with an importance-sampled input yaml config

v3.4.1

12 Oct 13:30

Choose a tag to compare

  • Fixed a critical packaging bug (thanks Biagio De Simone!)
  • Updated CLASS to 3.2.1 (no more Cython version restriction)

v3.4

11 Oct 13:22

Choose a tag to compare

  • A couple of major bugfixes (parallel MCMC chains getting stuck; issues when resuming).
  • Easier loading and MPI sharing of SampleCollections and sampler products, including native GetDist conversion.
  • Python 3.12 support.
  • Added 1-d grid LSS likelihood and BAO-only ELG and QSO (@msyriac)
  • Some CLASS-related minor updates.