Skip to content

Releases: siddharthvp/mwn

2.0.4

2.0.3

16 Jun 18:44
Compare
Choose a tag to compare

What's Changed

  • Fix the bug that fillRequestOptions() does not respect method option by @Leo-768 in #73

New Contributors

Full Changelog: 2.0.2...2.0.3

2.0.2

16 Dec 21:06
Compare
Choose a tag to compare
workflows: split CodeQL, upgrade action packages

2.0.1

30 Sep 06:09
Compare
Choose a tag to compare

What's Changed

  • oresQueryRevisions() has been deprecated, since the ORES service is being deprecated in favour of Lift Wing. While it exists, the function has been fixed to take into account the new service limitation of not allowing >20 scores per request.

New Contributors

Full Changelog: 2.0.0...2.0.1

2.0.0

18 Sep 11:22
Compare
Choose a tag to compare

Breaking Changes

  • Class names now follow the standard PascalCase convention. The older names are deprecated.
    • mwn -> Mwn
      • The library should now be imported as import {Mwn} from 'mwn' instead of import {mwn} from 'mwn'
    • bot.title -> bot.Title (where bot is an instance of Mwn)
    • bot.page -> bot.Page
    • bot.category -> bot.Category
    • bot.file -> bot.File
    • bot.user -> bot.User
    • bot.wikitext -> bot.Wikitext
    • bot.date -> bot.Date
    • mwn.table -> Mwn.Table
  • Class for querying Wikimedia EventStreams have been removed. Consider using the dedicated library wikimedia-streams instead.
  • set* methods on MwnDate objects (eg. setUTCDate) used to be chainable as they returned this. Because MwnDate extends the native Date, the change in return values was not possible to represent in TypeScript types (Liskov substitution principle). This undocumented feature has now been removed for the sake of accurate types.
  • printYaml logging config option is no longer supported in Mwn.setLoggingConfig() method.
  • mwn#queryAuthors() which had been deprecated has now been removed. Instead, please use queryAuthors() method on page objects.

New Contributors

Full Changelog: 1.11.5...2.0.0

1.11.5

1.11.4

29 Aug 18:39
Compare
Choose a tag to compare
fix markdown syntax to makes links visible on npm

1.11.3

29 Aug 17:22
Compare
Choose a tag to compare
Switch versioning to v1: public interface is stable

And has been for quite a while now

0.11.2

22 Aug 16:20
Compare
Choose a tag to compare
test for node 16.x as well, bump version

0.11.1

30 Jun 16:52
Compare
Choose a tag to compare
0.11.1.1

v0.11.1