-
Dan Michael O. Heggø authoredDan Michael O. Heggø authored
RELEASE-NOTES.md 12.56 KiB
Release Notes for mwclient
Changes in version 0.8.0
This is the development version of mwclient.
- [2015-07-18] @Danmichaelo Add support for Python 3. #52
- [2015-07-19] @Danmichaelo
Fix broken
Image.download()
method.
Changes in version 0.7.2
- [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 ofPage
. #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 toPage.text()
. WhilePage.edit()
is deprecated, it will be available for a long time. The oldPage.text
attribute, that used to store a copy of the wikitext from the lastPage.edit()
call, has been removed entirely. Thereadonly
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 callingPage.text(expandtemplates=True)
.
Detailed changelog:
- [2012-08-30] @btongminh: Allow setting both the upload description and the page content separately. 0aa748f.
- [2012-08-30] @tommorris: Improve documentation. a2723e7.
- [2013-02-15] @waldyrious: Converted the repository to git and moved from sourceforge to github. #1 (also #11, #13 and #15).
- [2013-03-20] @eug48: Support for customising the useragent. 773adf9, #16.
- [2013-03-20] @eug48:
Removed unused
Request
class. 99e786d, #16. - [2013-05-13] @danmichaelo:
Support for requesting pages by their page id (
site.pages[page_id]
). a1a2ced, #19. - [2013-05-13] @danmichaelo: Support for editing sections. 546f77d, #19.
- [2013-05-13] @danmichaelo:
New method
Page.redirects_to()
and helper methodPage.resolve_redirect()
. 3b851cb, 36e8dcc, #19. - [2013-05-13] @danmichaelo:
Support argument
action
withlogevents()
. 241ed37, #19. - [2013-05-13] @danmichaelo:
Support argument
page
withparse()
. 223aa0, #19. - [2013-11-14] @kyv:
Allow setting HTTP
Authorization
header. HTTP headers. 72fc49a. - [2013-11-15] @kyv:
Add support for the
ask
API action provided by Semantic MediaWiki. 0a16afc. - [2014-05-02] @danmichaelo: Quickfix for #38. 98b850b.
- [2014-06-13] @tuffnatty: Fix updating of Page.last_rev_time upon save(). d0cc7db, #41.
- [2014-06-13] @jimt, @danmichaelo:
Support more arguments to
list=allusers
. 7cb4383, #8. - [2014-08-18] @danmichaelo: Replace http.py with the Requests library. 593cb44, #45.
- [2014-08-18] @jaloren, @danmichaelo: Don't crash if edit response does not contain timestamp. bd7bc3b, 0ef9a17, #57.
- [2014-08-31] @danmichaelo: Retry on internal_api_error_DBQueryError. d0ce831.
- [2014-09-22] @danmichaelo:
Rename
Page.edit()
toPage.text()
. Note thattext
is now a required parameter toPage.save()
. 61155f1, #51. - [2014-09-27] @danmichaelo:
Add
expandtemplates
argument toPage.text()
and deprecatePage.get_expanded()
57df5f4.
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 tostr
, avoiding aTypeError
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.