jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1183258?usp=email )
Change subject: [10.5] Prepare next release ......................................................................
[10.5] Prepare next release
Change-Id: I1714a26f7335e8cac050a8325a1c48c82eb6ca64 --- M .pre-commit-config.yaml M HISTORY.rst M ROADMAP.rst M pywikibot/__metadata__.py M scripts/__init__.py M scripts/pyproject.toml 6 files changed, 38 insertions(+), 31 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9bcdf70..abfaca0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -65,7 +65,7 @@ language: python require_serial: true - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.12.10 + rev: v0.12.11 hooks: - id: ruff-check alias: ruff diff --git a/HISTORY.rst b/HISTORY.rst index 9a4b6dc..46ea471 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -1,6 +1,39 @@ Release History ===============
+10.4.0 +------ +*31 August 2025* + +* Apply client-side filtering for *maxsize* in misermode in + :meth:`Site.allpages()<pywikibot.site._generators.GeneratorsMixin.allpages>` (:phab:`T402995`) +* Add :attr:`filter_func()<data.api.APIGeneratorBase.filter_func>` and :meth:`filter_item() + <data.api.APIGeneratorBase.filter_item>` filter function in :class:`APIGeneratorBase + <data.api.APIGeneratorBase>` and modify `generator` property to implement filtering in + `APIGeneratorBase` subclasses (:phab:`T402995`) +* All parameters of :meth:`Site.allpages()<pywikibot.site._generators.GeneratorsMixin.allpages>` + except *start* must be given as keyword arguments. +* Add support for bewwiktionary (:phab:`T402136`) +* Add user-agent header to :mod:`eventstreams` requests (:phab:`T402796`) +* Update i18n +* Save global options in :attr:`bot.global_args` (:phab:`T250034`) +* Update :mod:`plural` forms from unicode.org (:phab:`T114978`) +* Add :class:`textlib.SectionList` to hold :attr:`textlib.Content.sections` (:phab:`T401464`) +* :class:`pywikibot.Coordinate` parameters are keyword only +* Add *strict* parameter to :meth:`Site.unconnected_pages() + <pywikibot.site._extensions.unconnected_pages>` and :func:`pagegenerators.UnconnectedPageGenerator` + (:phab:`T401699`) +* Raise ValueError if a VAR_POSITIONAL parameter like **args* is used with + :class:`tools.deprecate_positionals` decorator +* Add :meth:`get_value_at_timestamp()<pywikibot.ItemPage.get_value_at_timestamp>` API + to :class:`pywikibot.ItemPage` (:phab:`T400612`) +* Clean up :mod:`setup` module (:phab:`T396356`) +* Implement :meth:`pywikibot.ItemPage.get_best_claim` (:phab:`T400610`) +* Add *expiry* parameter to :meth:`BasePage.watch()<page.BasePage.watch>` and + :meth:`Site.watch()<pywikibot.site._apisite.APISite.watch>`; fix the methods to return False if + page is missing and no expiry is set (:phab:`T330839`) + + 10.3.2 ------ *12 August 2025* diff --git a/ROADMAP.rst b/ROADMAP.rst index 50ff705..b959475 100644 --- a/ROADMAP.rst +++ b/ROADMAP.rst @@ -1,33 +1,7 @@ Current Release Changes =======================
-* Apply client-side filtering for *maxsize* in misermode in - :meth:`Site.allpages()<pywikibot.site._generators.GeneratorsMixin.allpages>` (:phab:`T402995`) -* Add :attr:`filter_func()<data.api.APIGeneratorBase.filter_func>` and :meth:`filter_item() - <data.api.APIGeneratorBase.filter_item>` filter function in :class:`APIGeneratorBase - <data.api.APIGeneratorBase>` and modify `generator` property to implement filtering in - `APIGeneratorBase` subclasses (:phab:`T402995`) -* All parameters of :meth:`Site.allpages()<pywikibot.site._generators.GeneratorsMixin.allpages>` - except *start* must be given as keyword arguments. -* Add support for bewwiktionary (:phab:`T402136`) -* Add user-agent header to :mod:`eventstreams` requests (:phab:`T402796`) -* Update i18n -* Save global options in :attr:`bot.global_args` (:phab:`T250034`) -* Update :mod:`plural` forms from unicode.org (:phab:`T114978`) -* Add :class:`textlib.SectionList` to hold :attr:`textlib.Content.sections` (:phab:`T401464`) -* :class:`pywikibot.Coordinate` parameters are keyword only -* Add *strict* parameter to :meth:`Site.unconnected_pages() - <pywikibot.site._extensions.unconnected_pages>` and :func:`pagegenerators.UnconnectedPageGenerator` - (:phab:`T401699`) -* Raise ValueError if a VAR_POSITIONAL parameter like **args* is used with - :class:`tools.deprecate_positionals` decorator -* Add :meth:`get_value_at_timestamp()<pywikibot.ItemPage.get_value_at_timestamp>` API - to :class:`pywikibot.ItemPage` (:phab:`T400612`) -* Clean up :mod:`setup` module (:phab:`T396356`) -* Implement :meth:`pywikibot.ItemPage.get_best_claim` (:phab:`T400610`) -* Add *expiry* parameter to :meth:`BasePage.watch()<page.BasePage.watch>` and - :meth:`Site.watch()<pywikibot.site._apisite.APISite.watch>`; fix the methods to return False if - page is missing and no expiry is set (:phab:`T330839`) +* (no changes yet)
Deprecations diff --git a/pywikibot/__metadata__.py b/pywikibot/__metadata__.py index 8481806..f278904 100644 --- a/pywikibot/__metadata__.py +++ b/pywikibot/__metadata__.py @@ -12,6 +12,6 @@ from time import strftime
-__version__ = '10.4.0' +__version__ = '10.5.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 e42926f..f941522 100644 --- a/scripts/__init__.py +++ b/scripts/__init__.py @@ -34,7 +34,7 @@ from pathlib import Path
-__version__ = '10.4.0' +__version__ = '10.5.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 538369b..0886321 100644 --- a/scripts/pyproject.toml +++ b/scripts/pyproject.toml @@ -7,7 +7,7 @@
[project] name = "pywikibot-scripts" -version = "10.4.0" +version = "10.5.0"
authors = [ {name = "xqt", email = "info@gno.de"},
pywikibot-commits@lists.wikimedia.org