Skip to content
Snippets Groups Projects
RELEASE-NOTES.md 13.75 KiB

Release Notes for mwclient

Changes in version 0.8.1

This is the development version of mwclient.

  • No changes yet

Changes in version 0.8.0

Mwclient 0.8.0 was released on 10 January 2016.

Upgrade notices / breaking changes:

  • Saving a section rather than the full page can now only be achieved by passing in the section parameter explicitly to the save method. The section number is no longer part of the Page state, so Page.save() no longer makes use of a section parameter earlier passed into Page.text(). A deprecation warning was added in 0.7.2.
  • Https is now used as default.

Detailed changelog:

  • [2015-07-18] @Danmichaelo Add support for Python 3. #52
  • [2015-07-19] @Danmichaelo Fix broken Image.download() method.
  • [2015-08-29] @AdamWill Remove implicit use of Page.section when saving (deprecated in 0.7.2), #81
  • [2015-09-27] @AdamWill Cache page text until next edit operation. #80
  • [2015-11-09] @Rdhyee Add Site.revisions() method and support diffto. #84
  • [2016-01-10] @Danmichaelo Use https as default. #70

Changes in version 0.7.2

Mwclient 0.7.2 was released on 18 July 2015.

  • [2014-11-28] @c-martinez: Add continue parameter to all queries. #73.
  • [2014-12-18] @AdamWill: Fix PageList API arg passing to GeneratorList. 059322e.
  • [2015-03-15] @itkach: Add toponly parameter for recentchanges. #78.
  • [2015-06-04] @Gui13: Configure default logger. #82.
  • [2015-06-20] @lfaraone: Add support for querying the CheckUser log. #86.
  • [2015-07-06] @PierreSelim Expose pageid, contentmodel, pagelanguage, restrictiontypes as attributes of Page. #89
  • [2015-07-08] @Pathoschild Fix 'New messages' flag (hasmsg). #90
  • [2015-07-17] @Danmichaelo Don't retry on connection error during site init. #85
  • [2015-07-18] @Danmichaelo Deprecate implicit use of Page.section when saving, to prepare for the merge of #81
  • [2015-07-18] @Danmichaelo More intuitive error message when an invalid JSON response is received. #79

Changes in version 0.7.1

Mwclient 0.7.1 was released on 23 November 2014.

  • [2014-09-27] @jimt: Implement Site.allimages(). f9b92de, #62.
  • [2014-10-06] Support new token handling system. 2f0f739, #64.
  • [2014-10-27] Update email method to use API. e9572e1.
  • [2014-10-27] Use 'simplified' continuation. 4262786, #66.
  • [2014-11-16] Use Basic/Digest Auth from Requests.
  • [2014-11-16] Fix so maxlag is handled correctly.
  • [2014-11-17] @c-martinez: Fix filtering of page links by namespace. 65d9ee8, #72.
  • [2014-11-23] Fix uploading files with non-ascii characters in filenames. #65.

Changes in version 0.7.0

Mwclient 0.7.0 was released on 27 September 2014.

Upgrade notices:

  • This version requires minimum Python 2.6 and MediaWiki 1.16. Support for Python 2.4–2.5 and MediaWiki 1.11–1.15 has been dropped.
  • The Page.edit() method has been renamed to Page.text(). While Page.edit() is deprecated, it will be available for a long time. The old Page.text attribute, that used to store a copy of the wikitext from the last Page.edit() call, has been removed entirely. The readonly argument has also been removed (it was never really implemented, so it acted only as a dummy argument before the removal).
  • The Page.get_expanded() method has been deprecated in favour of calling Page.text(expandtemplates=True).