Skip to content
Merged
Show file tree
Hide file tree
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
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,26 @@

All functional changes to the project are documented in this file.

## [2026.3] (31 Jul 2026)

- gh-1172: Allow regression tests to be run from forks (1176)
- gh-1122: Document cprofile (1175)
- gh-1145: Default to wrapping rng if backend is not known (1169)
- gh-1165: fix `dataclass` docstrings in `shells.py` (1166)
- gh-1157: Add `CosmologyWithInverseComovingDistance` protocol (1164)
- gh-1158: Add `CosmologyWithGrowthFactor` protocol (1163)
- gh-1159: Add `CosmologyWithOmegaM` protocol (1162)
- gh-1140: Create public `default_rng` function (1161)
- gh-1155: Pin `array-api-strict` for `2025.12` version (1156)
- gh-1153: Add temporary fix for NumPy in examples (1154)
- gh-1116: add resample_shapes() (1143)
- gh-1111: add redshifts_from_bins() (1138)
- gh-1027: Use the official `astral` hook for `ty` (1133)
- gh-1117: Ensure explicit shapes in `jax.random` (1126)
- gh-1124: Allow running glass offline (1125)
- gh-1112: distribute redshifts over shells (1114)
- gh-1087: Rename benchmarks dir to regression (1092)

## [2026.2] (4 Jun 2026)

- gh-1076: Use array comparison functions from `array-api-extra` (#1083)
Expand Down Expand Up @@ -263,6 +283,7 @@ All functional changes to the project are documented in this file.

- Initial wide release for GLASS paper

[2026.3]: https://github.com/glass-dev/glass/compare/v2026.2...v2026.3
[2026.2]: https://github.com/glass-dev/glass/compare/v2026.1...v2026.2
[2026.1]: https://github.com/glass-dev/glass/compare/v2025.3...v2026.1
[2025.3]: https://github.com/glass-dev/glass/compare/v2025.2...v2025.3
Expand Down
46 changes: 46 additions & 0 deletions docs/manual/releases.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,52 @@ Release notes

These notes document the changes between individual GLASS releases.

2026.3 (31 Jul 2026)
--------------------

* Added :func:`glass.distribute` to assign an array of redshifts to radial
shells, including when the shells overlap.

* Added :func:`glass.redshifts_from_bins` to sample redshifts from existing
tomographic bin labels and redshift distributions.

* Added :func:`glass.resample_shapes` to resample a catalogue of ellipticities
with random orientations.

* Added the public :mod:`glass.rng` module and its
:func:`~glass.rng.default_rng` function for creating a random number generator
for a given array backend.

* Added the :class:`glass.cosmology.CosmologyWithGrowthFactor`,
:class:`glass.cosmology.CosmologyWithInverseComovingDistance`, and
:class:`glass.cosmology.CosmologyWithOmegaM` protocols.

* Changed ``glass.rng.Generator`` class now wraps returned values ensuring all methods return the correct array backend.

* Changed the random number generator handling to wrap NumPy generators for
unknown array backends.

* Renamed the benchmarking test directory and associated tooling to
``regression``.

* Changed type checking in ``pre-commit`` to use the official ``ty`` hook from
Astral.

* Added support for profiling regression tests with the ``pytest-benchmark``
cProfile profiler through ``nox``.

* Fixed GLASS so that an internet connection is no longer required at runtime.

* Fixed the explicit shapes passed to ``jax.random`` when input arrays are
broadcast.

* Fixed a NumPy compatibility issue in examples that use CAMB.

* Fixed the distance class docstrings in :mod:`glass.shells`.

* Pinned ``array-api-strict`` to version ``2.5`` for compatibility with the
``2025.12`` Array API standard.

2026.2 (4 Jun 2026)
--------------------

Expand Down
Loading