Pywikibot

Latest version: v9.5.0

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

Scan your dependencies

Page 4 of 17

8.3.1

-----
*17. August 2023*

* Add support for suwikisource and blkwiktionary (:phab:`T343544`, :phab:`T343550`)
* :mod:`families.wikifunctions_family` was added (:phab:`T343573`)
* i18n updates

8.3.0

-----
*27 July 2023*

* Add support for btmwiktionary (:phab:`T336117`)
* Add 'yue'/'zh-yue' code_aliases to family files (:phab:`T341960`)
* All wbtypes are placed in ``pywkibot._wbtypes`` module
* Use ``site.lang`` instead of ``site.code`` in :func:`comms.http.user_agent` (:phab:`T228322`)
* Make header extraction in :func:`textlib.extract_sections` more robust (:phab:`T341787`)

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`)

Page 4 of 17

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.