Releases: Roblox-Indie-Wikis/mediawiki-extensions-RobloxAPI
Releases · Roblox-Indie-Wikis/mediawiki-extensions-RobloxAPI
v1.7.0
Features
- The
gameEventsdata source is now available (#84) - The
groupRoleMembersdata source is now available (#80) - The list of optional arguments which split caches can now be configured via the new
$wgRobloxAPICacheSplittingOptionalArgumentsconfig option (#86)
Changes
- Requests sent by the extension now time out after 5 seconds
Fixes
json_keynow handles arrays correctlyjson_key=0is 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
RobloxApiUtilclass was converted to a newRobloxApiUtilsservice, which improves the code quality in some areas (#85)
v1.6.1
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
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
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
$wgRobloxAPIDataSourceUsageLimitsconfig 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-countmessage - Improved test coverage
v1.4.0
Features
- Added the
userGamesanduserPlaceVisitsdata sources (#31)
Changes
- Increased the default caching expiry for the
assetThumbnaildata 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
Breaking changes
- Dropped support for MediaWiki 1.41 since it is no longer officially supported.
Features
- Added the
groupRolesListdata source (#22) - Added the
gameNameDescriptiondata source (#28) - Added the
universeInfodata source (#29)
Changes
- The
json_keyparameter now allows accessing elements in arrays usingarray->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
Features
- Introduced a new
#robloxAPIparser 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=valueformat. - 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
visitsorgroupMembersnow no longer enable if the data source they depend on is not enabled. - Removed the
wgRobloxAPIEnabledParserFunctionsoption. 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
Features
{{#rblxUserAvatarThumbnailUrl}}now allows embedding avatar urls (#3) (more information)- Added
rblxUserIdparser 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