Skip to content

Latest commit

 

History

History
302 lines (271 loc) · 14.1 KB

RELEASE-NOTES.md

File metadata and controls

302 lines (271 loc) · 14.1 KB

Release Notes for mwclient

Changes in version 0.8.2

This is the development version of mwclient.

Changes in version 0.8.1

Mwclient 0.8.1 was released on 5 February 2016.

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

Detailed changelog:

Changes in version 0.6.5

Mwclient 0.6.5 was released on 6 May 2011.

  • [2011-02-16] Fix for upload by URL. 7ceb14b.
  • [2011-05-06] Explicitly convert the Content-Length header to str, avoiding a TypeError on some versions of Python. 4a829bc, 2ca1fbd.
  • [2011-05-06] Handle readapidenied error in site init. c513396.
  • [2011-05-06] Fix version parsing for almost any sane version string. 9f5339f.

Changes in version 0.6.4

Mwclient 0.6.3 was released on 7 April 2010.

  • [2009-08-27] Added support for upload API. 56eeb9b, 0d7caab (see also 610411a).
  • [2009-11-02] Added prop=duplicatefiles. 241e5d6.
  • [2009-11-02] Properly fix detection of alpha versions. 241e5d6.
  • [2009-11-14] Added support for built-in JSON library. 73e9cd6.
  • [2009-11-15] Handle badtoken once. 4b384e1.
  • [2010-02-23] Fix module conflict with simplejson-1.x by inserting mwclient path at the beginning of sys.path instead of the end. cd37ef0.
  • [2010-02-23] Fix revision iteration. 09b68e9, 2ad32f1, afdd5e8, 993b346, #3.
  • [2010-04-07] Supply token on login if necessary. 3731de5.

Changes in version 0.6.3

Mwclient 0.6.3 was released on 16 July 2009.

  • Added domain parameter to login
  • Applied edit fix to page_nowriteapi
  • Allow arbitrary data to be passed to page.save
  • Fix mwclient on WMF wikis

Changes in version 0.6.2

Mwclient 0.6.2 was released on 2 May 2009.

  • Compatibility fixes for MediaWiki 1.13
  • Download fix for images
  • Full support for editing pages via write API and split of compatibility to another file.
  • Added expandtemplates API call
  • Added and fixed moving via API
  • Raise an ApiDisabledError if the API is disabled
  • Added support for HTTPS
  • Fixed email code
  • Mark edits as bots by default.
  • Added action=parse. Modified patch by Brian Mingus.
  • Improved general HTTP and upload handling.

Changes in version 0.6.1

Mwclient 0.6.1 was released in May 2008. No release notes were kept for this version.

Changes in version 0.6.0

Mwclient 0.6.0 was released in February 2008. This was the first official release via Sourceforge. This version removed some Pywikipedia influences added in 0.4.

Changes in versions 0.5

Mwclient 0.5 was an architectural redesign which accomplished easy extendability and added proper support for continuations.

Changes in version 0.4

Mwclient 0.4 was somewhat the basis for future releases and shows the current module architecture. It was influenced by Pywikipedia, which was discovered by the author at the time.

Changes in versions 0.2 and 0.3

Mwclient 0.2 and 0.3 were probably a bit of a generalization, and maybe already used the API for some part, but details are unknown.

Mwclient 0.1

Mwclient 0.1 was a non-API module for accessing Wikipedia using an XML parser.