Skip to content

Releases: wikimedia-gadgets/types-mediawiki

1.9.0

22 Nov 16:27
Compare
Choose a tag to compare

What's Changed

  • mw.Api/mw.Rest:
    • Add custom return Promise types, providing an abort() method (fix #50)
    • Add types to reject/notify callback arguments of returned promises.
  • mw.Api.assertCurrentUser:
    • Fix assertUser parameter being added when the user is anonymous.
  • mw.Api.loadMessagesIfMissing:
    • Fix returned promise only resolving to string. It may resolve to undefined if no valid messages have been provided.
  • mw.Api.saveOptions:
    • Fix returned promise only resolving to string. It may resolve to undefined if no options have been provided. Note that if the argument types allow to deduce that at least one option has been provided, the callback argument types are narrowed accordingly.

Full Changelog: 1.8.2...1.9.0

1.8.2

31 Oct 17:24
Compare
Choose a tag to compare

What's Changed

  • jquery.client: Fix Profile not allowing unknown platforms, names, layouts, or versions.
  • Documentation updates and fixes.

Full Changelog: 1.8.1...1.8.2

1.8.1

11 Oct 16:22
Compare
Choose a tag to compare

What's Changed

  • Fix #48: undefined not allowed in API request parameters.
  • Documentation updates and fixes.

Full Changelog: 1.8.0...1.8.1

1.8.0

30 May 08:36
3796925
Compare
Choose a tag to compare

What's Changed

  • MediaWiki 1.42, online doc. URLs, and fixes by @Derugon in #42

Full Changelog: 1.7.1...1.8.0

1.7.1

25 May 10:24
53f80c2
Compare
Choose a tag to compare

What's Changed

  • fix: change Api.AssertUser interface -> type alias by @sportshead in #46

Full Changelog: 1.7.0...1.7.1

1.7.0

04 May 21:16
a5c1bd1
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.6.0...1.7.0

1.6.0

12 Mar 17:43
d1b832a
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.5.0...1.6.0

1.5.0

06 Jan 08:25
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.4.0...1.5.0

1.4.0

10 Jun 13:45
97e4586
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.3.0...1.40

1.3.0

02 Nov 04:29
8cfaadb
Compare
Choose a tag to compare

Changelog: 1.2.0...1.3.0