From e13a58c5039bf7a8aa6a46a77244aea48b210510 Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Sat, 26 Aug 2023 19:04:02 +0300 Subject: [PATCH] Preparing release 1.3.0 --- CHANGELOG.rst | 33 +++++++++++++++++++++++++++++++++ changelog/426.removal.rst | 1 - changelog/428.feature.rst | 18 ------------------ 3 files changed, 33 insertions(+), 19 deletions(-) delete mode 100644 changelog/426.removal.rst delete mode 100644 changelog/428.feature.rst diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 2ee5dcc1..2ce57326 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -21,6 +21,39 @@ Versions follow `Semantic Versioning `_ (``.. .. towncrier release notes start +pluggy 1.3.0 (2023-08-26) +========================= + +Deprecations and Removals +------------------------- + +- `#426 `_: Python 3.7 is no longer supported. + + + +Features +-------- + +- `#428 `_: Pluggy now exposes its typings to static type checkers. + + As part of this, the following changes are made: + + - Renamed ``_Result`` to ``Result``, and exported as :class:`pluggy.Result`. + - Renamed ``_HookRelay`` to ``HookRelay``, and exported as :class:`pluggy.HookRelay`. + - Renamed ``_HookCaller`` to ``HookCaller``, and exported as :class:`pluggy.HookCaller`. + - Exported ``HookImpl`` as :class:`pluggy.HookImpl`. + - Renamed ``_HookImplOpts`` to ``HookimplOpts``, and exported as :class:`pluggy.HookimplOpts`. + - Renamed ``_HookSpecOpts`` to ``HookspecOpts``, and exported as :class:`pluggy.HookspecOpts`. + - Some fields and classes are marked ``Final`` and ``@final``. + - The :ref:`api-reference` is updated to clearly delineate pluggy's public API. + + Compatibility aliases are put in place for the renamed types. + We do not plan to remove the aliases, but we strongly recommend to only import from ``pluggy.*`` to ensure future compatibility. + + Please note that pluggy is currently unable to provide strong typing for hook calls, e.g. ``pm.hook.my_hook(...)``, + nor to statically check that a hook implementation matches the hook specification's type. + + pluggy 1.2.0 (2023-06-21) ========================= diff --git a/changelog/426.removal.rst b/changelog/426.removal.rst deleted file mode 100644 index 3fe30d11..00000000 --- a/changelog/426.removal.rst +++ /dev/null @@ -1 +0,0 @@ -Python 3.7 is no longer supported. diff --git a/changelog/428.feature.rst b/changelog/428.feature.rst deleted file mode 100644 index 8b79dffb..00000000 --- a/changelog/428.feature.rst +++ /dev/null @@ -1,18 +0,0 @@ -Pluggy now exposes its typings to static type checkers. - -As part of this, the following changes are made: - -- Renamed ``_Result`` to ``Result``, and exported as :class:`pluggy.Result`. -- Renamed ``_HookRelay`` to ``HookRelay``, and exported as :class:`pluggy.HookRelay`. -- Renamed ``_HookCaller`` to ``HookCaller``, and exported as :class:`pluggy.HookCaller`. -- Exported ``HookImpl`` as :class:`pluggy.HookImpl`. -- Renamed ``_HookImplOpts`` to ``HookimplOpts``, and exported as :class:`pluggy.HookimplOpts`. -- Renamed ``_HookSpecOpts`` to ``HookspecOpts``, and exported as :class:`pluggy.HookspecOpts`. -- Some fields and classes are marked ``Final`` and ``@final``. -- The :ref:`api-reference` is updated to clearly delineate pluggy's public API. - -Compatibility aliases are put in place for the renamed types. -We do not plan to remove the aliases, but we strongly recommend to only import from ``pluggy.*`` to ensure future compatibility. - -Please note that pluggy is currently unable to provide strong typing for hook calls, e.g. ``pm.hook.my_hook(...)``, -nor to statically check that a hook implementation matches the hook specification's type.