Skip to content

Commit cc9e86f

Browse files
authored
Merge pull request #330 from cjolowicz/patch-1
Include #251 in the release notes for 1.0.0
2 parents 08d5e0c + 140f77b commit cc9e86f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ Features
7979
8080
- `#309 <https://github.com/pytest-dev/pluggy/issues/309>`_: Add official support for Python 3.9.
8181

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+
8286

8387
pluggy 0.13.1 (2019-11-21)
8488
==========================

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ example above). Note: there is *no* strict requirement that each *hookimpl*
283283
has a corresponding *hookspec* (see
284284
:ref:`enforcing spec validation <enforcing>`).
285285

286-
*new in version 0.13.2:*
286+
*new in version 1.0.0:*
287287

288288
To override the default behavior, a *hookimpl* may also be matched to a
289289
*hookspec* in the *host* program with a non-matching function name by using

0 commit comments

Comments
 (0)