jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1175239?usp=email )
Change subject: [10.4] Prepare next release ...................................................................... [10.4] Prepare next release Change-Id: I3f13a6cf277daceb625b2c747d89f25ae5bf0041 --- M HISTORY.rst M ROADMAP.rst M pywikibot/__metadata__.py M scripts/__init__.py M scripts/pyproject.toml 5 files changed, 31 insertions(+), 24 deletions(-) Approvals: jenkins-bot: Verified Xqt: Looks good to me, approved diff --git a/HISTORY.rst b/HISTORY.rst index f58f9ec..5ae6d5f 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -1,6 +1,33 @@ Release History =============== +10.3.0 +------ +*03 August 2025* + +* :attr:`Site.articlepath<pywikibot.site._apisite.APISite.articlepath>` may raise a ValueError + instead of AttributeError if ``$1`` placeholder is missing from API +* Refactor the :class:`throttle.Throttle` class (:phab:`T289318`) +* L10N-Updates: add language aliases for ``gsw``, ``sgs``, ``vro``, ``rup`` and ``lzh`` + to :class:`family.WikimediaFamily` family class + (:phab:`T399411`, :phab:`T399438`, :phab:`T399444`, :phab:`T399693`, :phab:`T399697` ) +* Refactor HTML removal logic in :func:`textlib.removeHTMLParts` using :class:`textlib.GetDataHTML` + parser; *removetags* parameter was introduced to remove specified tag blocks (:phab:`T399378`) +* Refactor :class:`echo.Notification` and fix :meth:`mark_as_read()<echo.Notification.mark_as_read>` + method (:phab:`T398770`) +* Update beta domains in family files from beta.wmflabs.org to beta.wmcloud.org (:phab:`T289318`) +* ``textlib.to_latin_digits()`` was renamed to :func:`textlib.to_ascii_digits` (:phab:`T398146#10958283`), + ``NON_LATIN_DIGITS`` of :mod:`userinterfaces.transliteration` was renamed to ``NON_ASCII_DIGITS`` +* Add -cookies option to the :mod:`login<pywikibot.scripts.login>` script to log in with cookies + files only +* Create a Site using the :func:`pywikibot.Site` constructor with a given url even if the URL, even + if it ends with a slash (:phab:`T396592`) +* Remove hard-coded error messages from :meth:`login.LoginManager.login` and use API response instead +* Add additional information to :meth:`Site.login()<pywikibot.site._apisite.APISite.login>` + error message (:phab:`T395670`) +* i18n updates + + 10.2.0 ------ *14 June 2025* diff --git a/ROADMAP.rst b/ROADMAP.rst index 890987b..6ed218c 100644 --- a/ROADMAP.rst +++ b/ROADMAP.rst @@ -1,27 +1,7 @@ Current Release Changes ======================= -* :attr:`Site.articlepath<pywikibot.site._apisite.APISite.articlepath>` may raise a ValueError - instead of AttributeError if ``$1`` placeholder is missing from API -* Refactor the :class:`throttle.Throttle` class (:phab:`T289318`) -* L10N-Updates: add language aliases for ``gsw``, ``sgs``, ``vro``, ``rup`` and ``lzh`` - to :class:`family.WikimediaFamily` family class - (:phab:`T399411`, :phab:`T399438`, :phab:`T399444`, :phab:`T399693`, :phab:`T399697` ) -* Refactor HTML removal logic in :func:`textlib.removeHTMLParts` using :class:`textlib.GetDataHTML` - parser; *removetags* parameter was introduced to remove specified tag blocks (:phab:`T399378`) -* Refactor :class:`echo.Notification` and fix :meth:`mark_as_read()<echo.Notification.mark_as_read>` - method (:phab:`T398770`) -* Update beta domains in family files from beta.wmflabs.org to beta.wmcloud.org (:phab:`T289318`) -* ``textlib.to_latin_digits()`` was renamed to :func:`textlib.to_ascii_digits` (:phab:`T398146#10958283`), - ``NON_LATIN_DIGITS`` of :mod:`userinterfaces.transliteration` was renamed to ``NON_ASCII_DIGITS`` -* Add -cookies option to the :mod:`login<pywikibot.scripts.login>` script to log in with cookies - files only -* Create a Site using the :func:`pywikibot.Site` constructor with a given url even if the URL, even - if it ends with a slash (:phab:`T396592`) -* Remove hard-coded error messages from :meth:`login.LoginManager.login` and use API response instead -* Add additional information to :meth:`Site.login()<pywikibot.site._apisite.APISite.login>` - error message (:phab:`T395670`) -* i18n updates +* (no changes yet) Deprecations ============ diff --git a/pywikibot/__metadata__.py b/pywikibot/__metadata__.py index 7c4c17a0..36b5043 100644 --- a/pywikibot/__metadata__.py +++ b/pywikibot/__metadata__.py @@ -12,6 +12,6 @@ from time import strftime -__version__ = '10.3.0' +__version__ = '10.4.0.dev0' __url__ = 'https://www.mediawiki.org/wiki/Manual:Pywikibot' __copyright__ = f'2003-{strftime("%Y")}, Pywikibot team' diff --git a/scripts/__init__.py b/scripts/__init__.py index 44bc808..e42926f 100644 --- a/scripts/__init__.py +++ b/scripts/__init__.py @@ -34,7 +34,7 @@ from pathlib import Path -__version__ = '10.3.0' +__version__ = '10.4.0' #: defines the entry point for pywikibot-scripts package base_dir = Path(__file__).parent diff --git a/scripts/pyproject.toml b/scripts/pyproject.toml index f77eb40..ea677d3 100644 --- a/scripts/pyproject.toml +++ b/scripts/pyproject.toml @@ -7,7 +7,7 @@ [project] name = "pywikibot-scripts" -version = "10.3.0" +version = "10.4.0" authors = [ {name = "xqt", email = "[email protected]"}, -- To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1175239?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: master Gerrit-Change-Id: I3f13a6cf277daceb625b2c747d89f25ae5bf0041 Gerrit-Change-Number: 1175239 Gerrit-PatchSet: 1 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]
