jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/824855 )
Change subject: [7.7] Prepare next release Pywikibot 7.7 ......................................................................
[7.7] Prepare next release Pywikibot 7.7
Change-Id: I8ba3aebc0544148a3b83e915b5efbbafc3f903b8 --- M .appveyor.yml M HISTORY.rst M ROADMAP.rst M pywikibot/__metadata__.py M scripts/__init__.py 5 files changed, 33 insertions(+), 26 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/.appveyor.yml b/.appveyor.yml index c11301c..75a438e 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,7 +1,7 @@ image: Visual Studio 2019 clone_depth: 50 skip_tags: true -version: 7.6.{build} +version: 7.7.{build} environment:
PYWIKIBOT_DIR: "%appdata%\Pywikibot" diff --git a/HISTORY.rst b/HISTORY.rst index 3f64ec3..1025ec1 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -1,6 +1,33 @@ Release history ^^^^^^^^^^^^^^^
+7.6.0 +----- +*21 August 2022* + +* Add support for pcmwiki, guvwikt and bjnwikt (:phab:`T309059`, :phab:`T310882`, :phab:`T312217`) +* support *not* loading text :meth:`site.APISite.preloadpages` (:phab:`T67163`) +* :func:`textlib.TimeStripper.timestripper` removes HTML elements before searching for + timestamp in text (:phab:`T302496`) +* backport :mod:`backports.pairwise()<backports>` from Python 3.10 +* L10N updates +* Fix partial caching in :meth:`Category.subcategories()<page.Category.subcategories>` (:phab:`T88217`) +* Method :meth:`Page.has_content()<page.BasePage.has_content>` was added (:phab:`T313736`) +* Discard cache and reload it if cache was loaded without content and content is required + in :meth:`Page.templates()<page.BasePage.templates>` (:phab:`T313736`) +* Add support for vikidia:oc +* Exit loop in PageFromFileReader if match.end() <= 0 (:phab:`T313684`) +* Allow Exception as parameter of pywikibot.exceptions.Error +* Make :func:`GoogleSearchPageGenerator<pagegenerators.GoogleSearchPageGenerator>` + and :func:`PetScanPageGenerator<pagegenerators.PetScanPageGenerator>` a restartable + Generator (:phab:`T313681`, :phab:`T313683`) +* Provide a :class:`collections.GeneratorWrapper<tools.collections.GeneratorWrapper>` + class to start/restart a generator (:phab:`T301318`, :phab:`T312654`, :phab:`T312883`) +* tools' itertools functions were moved to :mod:`tools.itertools` submodule +* tools' collections classes were moved to :mod:`tools.collections` submodule +* Set successful login status for the OAuth case (:phab:`T313571`) + + 7.5.0 ----- *22 July 2022* @@ -88,7 +115,7 @@ * `use_disambig` BaseBot attribute was added to hande disambig skipping * Deprecate RedirectPageBot and NoRedirectPageBot in favour of `use_redirects` attribute * tools.formatter.color_format is deprecated and will be removed -* A new and easier color format was implemented; colors can be used like: +* A new and easier color format was implemented; colors can be used like: ``'this is a <<green>>colored<<default>> text'`` * Unused and unsupported `xmlreader.XmlParserThread` was removed * Use upercased IP user titles (:phab:`T306291`) diff --git a/ROADMAP.rst b/ROADMAP.rst index 0add0c8..4a13866 100644 --- a/ROADMAP.rst +++ b/ROADMAP.rst @@ -1,27 +1,7 @@ -Current release 7.6.0 +Current release 7.7.0 ^^^^^^^^^^^^^^^^^^^^^
-* Add support for pcmwiki, guvwikt and bjnwikt (:phab:`T309059`, :phab:`T310882`, :phab:`T312217`) -* support *not* loading text :meth:`site.APISite.preloadpages` (:phab:`T67163`) -* :func:`textlib.TimeStripper.timestripper` removes HTML elements before searching for - timestamp in text (:phab:`T302496`) -* backport :mod:`backports.pairwise()<backports>` from Python 3.10 -* L10N updates -* Fix partial caching in :meth:`Category.subcategories()<page.Category.subcategories>` (:phab:`T88217`) -* Method :meth:`Page.has_content()<page.BasePage.has_content>` was added (:phab:`T313736`) -* Discard cache and reload it if cache was loaded without content and content is required - in :meth:`Page.templates()<page.BasePage.templates>` (:phab:`T313736`) -* Add support for vikidia:oc -* Exit loop in PageFromFileReader if match.end() <= 0 (:phab:`T313684`) -* Allow Exception as parameter of pywikibot.exceptions.Error -* Make :func:`GoogleSearchPageGenerator<pagegenerators.GoogleSearchPageGenerator>` - and :func:`PetScanPageGenerator<pagegenerators.PetScanPageGenerator>` a restartable - Generator (:phab:`T313681`, :phab:`T313683`) -* Provide a :class:`collections.GeneratorWrapper<tools.collections.GeneratorWrapper>` - class to start/restart a generator (:phab:`T301318`, :phab:`T312654`, :phab:`T312883`) -* tools' itertools functions were moved to :mod:`tools.itertools` submodule -* tools' collections classes were moved to :mod:`tools.collections` submodule -* Set successful login status for the OAuth case (:phab:`T313571`) +*(no changes yet)*
Deprecations diff --git a/pywikibot/__metadata__.py b/pywikibot/__metadata__.py index d2dd282..9d6e66c 100644 --- a/pywikibot/__metadata__.py +++ b/pywikibot/__metadata__.py @@ -11,7 +11,7 @@
__name__ = 'pywikibot' -__version__ = '7.6.0' +__version__ = '7.7.0.dev0' __description__ = 'Python MediaWiki Bot Framework' __maintainer__ = 'The Pywikibot team' __maintainer_email__ = 'pywikibot@lists.wikimedia.org' diff --git a/scripts/__init__.py b/scripts/__init__.py index 4ee5ede..c482795 100644 --- a/scripts/__init__.py +++ b/scripts/__init__.py @@ -29,4 +29,4 @@ # # Distributed under the terms of the MIT license. # -__version__ = '7.6.0' +__version__ = '7.7.0'