jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1210633?usp=email )
Change subject: [10.7.1] Publish 10.7.1 stable release ...................................................................... [10.7.1] Publish 10.7.1 stable release Change-Id: I57f35e6f77c63c1dd43f07f6bdf4383d637a2b5f --- M HISTORY.rst M ROADMAP.rst M pywikibot/__metadata__.py M pywikibot/_wbtypes.py 4 files changed, 24 insertions(+), 14 deletions(-) Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified diff --git a/HISTORY.rst b/HISTORY.rst index 23feeed..ce530c7 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -1,6 +1,22 @@ Release History =============== +10.7.0 +------ +*31 October 2025* + +* Add support for pcmwikiquote and minwikisource. (:phab:`T408345`, :phab:`T408353`) +* Deprecate dysfunctional :meth:`APISite.alllinks() + <pywikibot.site._generators.GeneratorsMixin.alllinks>`. (:phab:`T359427`, :phab:`T407708`) +* Refactor ``replace_magicwords`` in + :meth:`cosmetic_changes.CosmeticChangesToolkit.translateMagicWords`. (:phab:`T396715`) +* Deprecate old ``(type, value, traceback)`` signature in + :meth:`tools.collections.GeneratorWrapper.throw`. (:phab:`T340641`) +* Replace default timetravel.mementoweb.org with web.archive.org in :mod:`data.memento` module. + (:phab:`T400570`, :phab:`T407694`) +* i18n updates + + 10.6.0 ------ *23 October 2025* diff --git a/ROADMAP.rst b/ROADMAP.rst index 8e546d9..abd6a0a 100644 --- a/ROADMAP.rst +++ b/ROADMAP.rst @@ -1,15 +1,9 @@ Current Release Changes ======================= -* Add support for pcmwikiquote and minwikisource. (:phab:`T408345`, :phab:`T408353`) -* Deprecate dysfunctional :meth:`APISite.alllinks() - <pywikibot.site._generators.GeneratorsMixin.alllinks>`. (:phab:`T359427`, :phab:`T407708`) -* Refactor ``replace_magicwords`` in - :meth:`cosmetic_changes.CosmeticChangesToolkit.translateMagicWords`. (:phab:`T396715`) -* Deprecate old ``(type, value, traceback)`` signature in - :meth:`tools.collections.GeneratorWrapper.throw`. (:phab:`T340641`) -* Replace default timetravel.mementoweb.org with web.archive.org in :mod:`data.memento` module. - (:phab:`T400570`, :phab:`T407694`) +* Fix vulnerability in password parsing (:phab:`T410753`) +* Import ``typing.cast`` in :mod:`_wbtypes` module to prevent ``NameError`` in + :class:`pywikibot.WbTime` * i18n updates @@ -17,10 +11,10 @@ ============ This section lists features, methods, parameters, or attributes that are deprecated -and scheduled for removal in future Pywikibot releases. +and scheduled for removal in future Pywikibot releases. Deprecated items may still work in the current release but are no longer recommended for use. -Users should update their code according to the recommended alternatives. +Users should update their code according to the recommended alternatives. Pywikibot follows a clear deprecation policy: features are typically deprecated in one release and removed in in the third subsequent major release, remaining available for the two releases in between. diff --git a/pywikibot/__metadata__.py b/pywikibot/__metadata__.py index 53458c1..c99a2a3 100644 --- a/pywikibot/__metadata__.py +++ b/pywikibot/__metadata__.py @@ -12,6 +12,6 @@ from time import strftime -__version__ = '10.7.0' +__version__ = '10.7.1' __url__ = 'https://www.mediawiki.org/wiki/Manual:Pywikibot' __copyright__ = f'2003-{strftime("%Y")}, Pywikibot team' diff --git a/pywikibot/_wbtypes.py b/pywikibot/_wbtypes.py index 89dea48..1107dc7 100644 --- a/pywikibot/_wbtypes.py +++ b/pywikibot/_wbtypes.py @@ -14,7 +14,7 @@ from collections.abc import Mapping from contextlib import suppress from decimal import Decimal -from typing import TYPE_CHECKING, Any +from typing import TYPE_CHECKING, Any, cast import pywikibot from pywikibot import exceptions @@ -28,7 +28,7 @@ if TYPE_CHECKING: - from typing import Union, cast + from typing import Union from pywikibot.site import APISite, BaseSite, DataSite -- To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1210633?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.wikimedia.org/r/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: pywikibot/core Gerrit-Branch: stable Gerrit-Change-Id: I57f35e6f77c63c1dd43f07f6bdf4383d637a2b5f Gerrit-Change-Number: 1210633 Gerrit-PatchSet: 2 Gerrit-Owner: Xqt <[email protected]> Gerrit-Reviewer: Xqt <[email protected]> Gerrit-Reviewer: jenkins-bot
_______________________________________________ Pywikibot-commits mailing list -- [email protected] To unsubscribe send an email to [email protected]
