Skip to content

Releases: CXuesong/WikiClientLibrary

v0.6-int2

01 Sep 14:03
Compare
Choose a tag to compare
v0.6-int2 Pre-release
Pre-release

Bug fix

  • Inappropriate usage of Site.Logger may cause NullReferenceException. (#13)
  • Throttler.QueueWorkAsync is not disposed, causing Throttler to hang. (#13)

Others

  • Migrated unit tests to xUnit, with a workaround for T51890 that serializes all the unit tests. (#11)

v0.6-int1

16 Jul 14:45
Compare
Choose a tag to compare
v0.6-int1 Pre-release
Pre-release
  • Renamed Page to WikiPage, and Category to CategoryPage.
  • Renamed Family to WikiFamily.
  • Made DelegateAsyncEnumerable internal.

v0.6-int0

15 Jul 16:27
Compare
Choose a tag to compare
v0.6-int0 Pre-release
Pre-release

Bug fix / New features

  • FilePage.UploadAsync now supports retry. (#8)
  • Moved throttling logic from WikiClient to WikiSite
    • Added a Throttler class responsible for the request queuing.
    • Now throttling supports parallel (edit/move/delete) requests. (#9)
  • Changed ContentSectionInfo.Index from int to string type. (8e1ab82)
    • Titles in transcluded templates may have an index of "T-1", "T-2", etc.
  • Added Page.IsSpecialPage property. (3f52a26)

Major interface changes

Some major API changes (basically changes of names, see #12) are to be involved in v0.6. The changes as listed below are still not complete yet, which will be applied in future pre-releases.

  • Moved classes in WikiClientLibrary root namespace to the following namespaces
    • WikiClientLibrary.Infrastructures
    • WikiClientLibrary.Pages
    • WikiClientLibrary.Sites
  • Renamed WikiClientLibrary.Site to WikiClientLibrary.Sites.WikiSite

0.5.1

29 Jun 02:56
Compare
Choose a tag to compare
  • Fixed NullReferenceException in Site.FetchTokensAsyncCore when all tokens are already cached. (#8)

0.5.0

20 May 06:34
Compare
Choose a tag to compare
  • Add language variant support in Site.Parse methods.
  • Bug fix: ParsedContentInfo.Interlanguages is always null.
  • Do not cache messages in Site.GetMessagesAsync.
  • Site.GetTokensAsync will wait for ongoing token fetching tasks before fetching for tokens.
    • Before this version, two simultaneous GetTokensAsync call for a same token will cause MW API be called twice.

0.5-int2

08 Apr 17:09
Compare
Choose a tag to compare
0.5-int2 Pre-release
Pre-release
  • Add Logger property and virtual CreateSiteAsync method in Family.
  • Add source parameter to ILogger methods.
  • Upgrade the project to VS 2017.

0.5-int1

09 Mar 14:27
Compare
Choose a tag to compare
0.5-int1 Pre-release
Pre-release
  • OpenSearch: Fixed the ArgumentOutOfRangeException when working with Wikia.

0.5-int0

07 Mar 13:10
Compare
Choose a tag to compare
0.5-int0 Pre-release
Pre-release

New features

  • Implemented SearchGenerator (242f086, 6ed35c9)
  • You can construct a WikiClient with HttpClientHandler now. (2ab4683)

Major interface changes

  • Renamed RefreshUserInfoAsync to RefreshAccountInfoAsync .

v0.4-alpha

02 Mar 09:43
Compare
Choose a tag to compare
v0.4-alpha Pre-release
Pre-release
  • Retargeted the package to .NET Standard 1.1
    • If you feel uncomfortable about this, please open an issue.
  • Downgraded System.Interactive.Async from 3.1.x to 3.0.0 due to Issue#299 on Rx.NET. Sadly I come across unsolvable FileNotFoundException (Cannot find System.Interactive.Async of version 3.0.0, even when I was using 3.1.x) with UnitTestProject1. Hope they will ameliorate it in a later release.

New features

  • Automatic account assertion for logged-in users/bots. You won't need to worry about accidentally losing your logged-in status.
  • Basic wiki family (a set of wiki sites) support. You can resolve interwiki links using WikiLink.ParseAsync with WikiFamily class.

Major interface changes

  • Removed WikiLink.Interwiki.
  • Renamed Site.UserInfo to Site.AccountInfo.

Fixed bugs

v0.3-alpha

15 Feb 13:52
Compare
Choose a tag to compare
v0.3-alpha Pre-release
Pre-release
  • Compatible with MW 1.28 .

New features

  • Preliminary read-only support for Flow extension API. (0cbbd63)
  • Enhanced page revision-listing with RevisionGenerator. Now you can specify the ordering, time range, revision id range, etc. when querying the revisions of a page. (dbde0b6)

Fixed bugs

  • Fixed the bug in RequestHelper.EnumRevisionsAsync that it won't enumerate any revisions. (95c59c5)
  • WikiClient now supports requests with longer body (namely, more than 65520 characters). (015840b)