Skip to content

Releases: Roblox-Indie-Wikis/mediawiki-extensions-RobloxAPI

v1.7.0

18 Dec 20:37

Choose a tag to compare

Features

  • The gameEvents data source is now available (#84)
  • The groupRoleMembers data source is now available (#80)
  • The list of optional arguments which split caches can now be configured via the new $wgRobloxAPICacheSplittingOptionalArguments config option (#86)

Changes

  • Requests sent by the extension now time out after 5 seconds

Fixes

  • json_key now handles arrays correctly
  • json_key=0 is now handled correctly

Technical

  • The list of legacy parser function is now lazy-loaded. This may improve performance in some edge-cases
  • All class namespaces and folder names are now capitalized (#71)
  • MediaWiki 1.45 is now officially supported
  • The RobloxApiUtil class was converted to a new RobloxApiUtils service, which improves the code quality in some areas (#85)

v1.6.1

11 Sep 00:32

Choose a tag to compare

Fixes

  • The extension will now avoid sending further requests to an endpoint when encountering rate limits. This avoids spamming the API with requests that can be expected to be rate limited anyway.
  • Rate limit errors will now display a more detailed error message instead of just Request failed!.

v1.6.0

19 Aug 10:39
1f07927

Choose a tag to compare

Features

  • Added a tracking category for pages with RobloxAPI errors
  • Added a tracking category for pages using deprecated RobloxAPI parser functions

Technical

  • Improved code quality
  • Converted some classes to use constructor promotion (PHP 8.1 feature)
  • Refactored large parts of the extension to use services and dependency injection for some classes
  • Updated extension.json and test files to sue namespaced classes instead of deprecated class aliases

v1.5.0

23 Jul 22:51
b19c76a

Choose a tag to compare

Breaking changes

  • Dropped support for MediaWiki 1.42 since it is no longer officially supported (#47)

Features

  • Errors are now shown in error boxes instead of being returned as plain text. You can revert to the original behaviour using the new $wgRobloxAPIShowPlainErrors config option (#53)
  • Added a $wgRobloxAPIDataSourceUsageLimits config option that can be used to enforce limits for specific data sources. Refer to the documentation for more information (#38)

Changes

  • Error messages are now displayed in the content language instead of the language of the user who is viewing the page
  • All error messages are now parsed as wikitext. This allows for more customizability in the way errors are displayed (#55)
  • Error messages now use double quotes (") instead of single quotes (') to avoid them from being interpreted as wikitext

Technical

  • phan is now run in CI
  • Improved code quality
  • Removed the unused robloxapi-error-invalid-args-count message
  • Improved test coverage

v1.4.0

30 May 19:33
81c89d8

Choose a tag to compare

Features

  • Added the userGames and userPlaceVisits data sources (#31)

Changes

  • Increased the default caching expiry for the assetThumbnail data source due to stricter rate limits (#35)

Technical

  • Improved testing coverage
  • Added dependabot to the repository
  • Refactored hooks to use dependency injection where possible (#37)
  • Improved the general code quality
  • Updated the lint action to run on PHP 8.1
  • Enforced testing on MediaWiki 1.44 (#36)
  • Changed caching behavior to include some optional arguments in the cache key

v1.3.0

29 Mar 22:15
02975e3

Choose a tag to compare

Breaking changes

  • Dropped support for MediaWiki 1.41 since it is no longer officially supported.

Features

  • Added the groupRolesList data source (#22)
  • Added the gameNameDescription data source (#28)
  • Added the universeInfo data source (#29)

Changes

  • The json_key parameter now allows accessing elements in arrays using array->index, e.g. array->0

Technical

  • Code quality improvements (thanks to BlankEclair for the suggestions)
  • Removed tests for MediaWiki 1.41
  • Fixed caching issues

v1.2.0

17 Jan 20:07
33ec752

Choose a tag to compare

Features

  • Introduced a new #robloxAPI parser function to replace all of the other parser functions. While all legacy parser functions are still supported and work as before, new data sources will only be added to the new parser function (#12) (more information).
  • Rewrote the argument parsing system - each data source now has required and optional arguments. Optional arguments can be specified after all required arguments in the key=value format.
  • Added an option for parsing values from JSON data without using Lua modules (more information).
  • Added support for badge images (#10).
  • Added support for game icons (#11).

Changes

  • Added optional arguments for the user avatar thumbnail data sources (#15).
  • Improved error handling.
  • Data sources which depend on other data sources like visits or groupMembers now no longer enable if the data source they depend on is not enabled.
  • Removed the wgRobloxAPIEnabledParserFunctions option. All legacy parser functions are now data sources, thereby making this option redundant.

Technical

  • Rewrote large parts of the data source implementations.
  • Improved test coverage.
  • Enforce testing on MediaWiki 1.43.

v1.1.0

15 Dec 21:56
986fcc4

Choose a tag to compare

Features

  • {{#rblxUserAvatarThumbnailUrl}} now allows embedding avatar urls (#3) (more information)
  • Added rblxUserId parser function for getting a user id from a username (#2)

Changes

  • Increased default caching expiries
  • Updated my author name from abaddriverlol to SomeRandomDeveloper so it is consistent with other platforms I use for developing

Technical

  • Improved test coverage
  • Further code improvements

v1.0.0

10 Dec 17:17
11b666e

Choose a tag to compare

First stable release. It was actually already completed a week ago, since then only documentation and tests have been updated.
New features and releases will no longer be pushed directly to master from now on.