Pywikibot

Latest version: v9.1.2

Safety actively analyzes 625051 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 16

8.2.0

-----
*05 July 2023*

* Add support for gpewiki (:phab:`T335989`)
* :class:`family.WikibaseFamily` and :class:`family.DefaultWikibaseFamily` were added to :mod:`family` module
* Remove incorrect time normalization in :class:`page.Claim` (:phab:`T338748`, :phab:`T325860`, :phab:`T57755`)
* Add support for other types of diffs in :meth:`Site.compare()<pywikibot.site._apisite.APISite.compare>`
* Improvements for :func:`textlib.extract_sections` function (:phab:`T338748`)
* Backport ``itertools.batched()`` from Python 3.12 which replaces :func:`tools.itertools.itergroup`
* Upcast page types in :func:`pagegenerators.RecentChangesPageGenerator` (:phab:`T340450`)
* Enable :meth:`FilePage.download()<pywikibot.FilePage.download>` to download thumbnails (:phab:`T247095`)
* Refactor :func:`tools.compute_file_hash` and use ``hashlib.file_digest`` with Python 3.11
* Url ends with curly bracket in :func:`textlib.compileLinkR` (:phab:`T338029`)
* Allows spaces in environment variables for :class:`editor.TextEditor` (:phab:`T102465`, :phab:`T323078`)
* Add :func:`textlib.get_regexes` public function (:phab:`T336144`)
* Return 'https' scheme with :meth:`family.Family.protocol` (:phab:`T326046`)
* Use ``build`` instead of ``setuptools.setup()`` to build the distribution
* Raise ``ConnectionError`` on ``requests.ReadTimeout`` in :func:`comms.http.error_handling_callback`
* Raise :exc:`exceptions.ServerError` on ``requests.ReadTimeout`` in :func:`comms.http.error_handling_callback`
* Do not evaluate :func:`pywikibot.Site` with dict.pop() as default value (:phab:`T335720`)
* L10N updates
* :class:`family.Family` class was rewritten. ``obsolete.setter`` was removed,
:meth:`family.Family.interwiki_replacements` returns an invariant mapping,
:meth:`family.Family.interwiki_removals` returns a frozenset. ``closed_wikis``,
``removed_wikis`` and ``code_aliases`` are :class:`family.Family` class attributes. (:phab:`T334834`)

8.1.2

-----
*23 April 2023*

* Add support for guwwikinews (:phab:`T334461`)
* Add support for kbdwiktionary (:phab:`T333271`)
* Fix :func:`tools.chars.url2string` parsing for multiple encodings (:phab:`T335224`)

8.1.1

-----
*21 April 2023*

* Add support for fatwikipedia (:phab:`T335021`)
* Add support for kcgwiktionary (:phab:`T334742`)
* Update for wowwiki family

8.1.0

-----
*16 April 2023*

* :mod:`generate_family_file<pywikibot.scripts.generate_family_file>` script was improved (:phab:`T334775`)
* A ``quiet`` parameter was added to :meth:`APISite.preloadpages()
<pywikibot.site._generators.GeneratorsMixin.preloadpages>` which is True by default
* Fix getting HTTPStatus enum in site_detect check_response (:phab:`T334728`)
* Do not show a logging in message if password is entered (:phab:`T178061`)
* Enable preleading ``Bot:`` prefix with twtranslate messages (:phab:`T161459`)
* Disable command.log if -nolog option is given (:phab:`T334381`)
* Guess the last needed token key if the token is not found (:phab:`T334288`)
* Show parameters with APIError (:phab:`T333957`)
* Raise :exc:`exceptions.NoSiteLinkError` instead of :exc:`exceptions.NoPageError` when sitelink
is missing in :meth:`ItemPage.getSitelink()<pywikibot.ItemPage.getSitelink>` (:phab:`T332341`)
* :exc:`exceptions.ClientError` was added
* Raise :exc:`exceptions.NoPageError` when deleting a missing Page (:phab:`T332924`)
* ``text`` parameter of :class:`proofreadpage.PagesTagParser` has a default value
* L10N updates
* Ignore talk pages with :meth:`APISite.watched_pages()<pywikibot.site._generators.GeneratorsMixin.watched_pages>`
(:phab:`T330806`)
* Load page info when creating a page if not updated previously (:phab:`T330980`)
* Improve flush exception logging (:phab:`T108444`)

8.0.4

-----
*13 April 2023*

* L10N Updates
* Minimal needed mwparserfromhell was decreased to 0.5.2 (:phab:`T326498`, :phab:`T327600`)
* No longer lazy load password cookies
(:phab:`T271858`, :phab:`T326779`, :phab:`T329132`, :phab:`T330488`, :phab:`T331315`)

8.0.3

-----
*29 March 2023*

* Add support for ckb-wiktionary (:phab:`T332093`)

Page 3 of 16

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.