File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,10 @@ Features
79
79
80
80
- `#309 <https://github.com/pytest-dev/pluggy/issues/309 >`_: Add official support for Python 3.9.
81
81
82
+ - `#251 <https://github.com/pytest-dev/pluggy/issues/251 >`_: Add ``specname `` option to ``@hookimpl ``. If ``specname `` is provided, it will be used
83
+ instead of the function name when matching this hook implementation to a hook specification during registration (allowing a plugin to register
84
+ a hook implementation that was not named the same thing as the corresponding ``@hookspec ``).
85
+
82
86
83
87
pluggy 0.13.1 (2019-11-21)
84
88
==========================
Original file line number Diff line number Diff line change @@ -283,7 +283,7 @@ example above). Note: there is *no* strict requirement that each *hookimpl*
283
283
has a corresponding *hookspec * (see
284
284
:ref: `enforcing spec validation <enforcing >`).
285
285
286
- *new in version 0.13.2 : *
286
+ *new in version 1.0.0 : *
287
287
288
288
To override the default behavior, a *hookimpl * may also be matched to a
289
289
*hookspec * in the *host * program with a non-matching function name by using
You can’t perform that action at this time.
0 commit comments