diff --git a/docs/release-notes.rst b/docs/release-notes.rst index 8698351460..ec60c92997 100644 --- a/docs/release-notes.rst +++ b/docs/release-notes.rst @@ -2,6 +2,7 @@ Release Notes ============= +.. include:: release-notes/v0.7.2.rst .. include:: release-notes/v0.7.1.rst .. include:: release-notes/v0.7.0.rst .. include:: release-notes/v0.6.3.rst diff --git a/docs/release-notes/v0.7.2.rst b/docs/release-notes/v0.7.2.rst new file mode 100644 index 0000000000..35cf8e095c --- /dev/null +++ b/docs/release-notes/v0.7.2.rst @@ -0,0 +1,43 @@ +|release v0.7.2|_ +================= + +This is a patch release from ``v0.7.1`` → ``v0.7.2``. + +Important Notes +--------------- + +* ``pyhf`` became a `NumFOCUS Affiliated Project + `__ on + 2022-12-19. |NumFOCUS Affiliated Project| + ``v0.7.1`` is the first release to appear in a NumFOCUS Newsletter and + ``v0.7.2`` is the first release to appear as part of the Affiliated Projects + page. + (PR :pr:`2179`) + +Fixes +----- + +* If a multiple component parameter of interest is used raise + :class:`~pyhf.exceptions.InvalidModel`. + This guards against modifiers like :class:`~pyhf.modifiers.shapefactor`, + :class:`~pyhf.modifiers.shapesys`, and :class:`~pyhf.modifiers.staterror` + from being used as POIs. + (PR :pr:`2197`) +* Use :data:`typing.TYPE_CHECKING` guard to avoid causing a + :class:`ModuleNotFoundError` when the version of NumPy installed is older + than ``v1.21.0``, which is the first NumPy release to include + :mod:`numpy.typing`. + (PR :pr:`2208`) + +Contributors +------------ + +``v0.7.2`` benefited from contributions from: + +* Alexander Held + +.. |release v0.7.2| replace:: ``v0.7.2`` +.. _`release v0.7.2`: https://github.com/scikit-hep/pyhf/releases/tag/v0.7.2 + +.. |NumFOCUS Affiliated Project| image:: https://img.shields.io/badge/NumFOCUS-Affiliated%20Project-orange.svg?style=flat&colorA=E1523D&colorB=007D8A + :target: https://numfocus.org/sponsored-projects/affiliated-projects