All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Necromancy 💀
- PHP 8.1 support (#26)
- PHP 8.2 support (#26)
- Guzzle 7 support (Guzzle 6 is still supported) (#25)
- PHP 7.4 support (#26)
- PHP 7.3 support (#26)
- PHP 7.2 support (#26)
- Support for the new Archaeology skill
- CI now builds against PHP 7.2, 7.3 and 7.4 (Previously we just used 7.2)
- Updated maximum level of Herblore to 120
- Updated maximum level of Farming to 120
Undefined index: rank
error when fetching a profile
RuneStat\Exceptions\PlayerIsNotAMember
exceptionRuneStat\Exceptions\PlayerHasNoProfile
exception
RuneStat\RS3\API::getProfile()
will now throwPlayerIsNotAMember
if RuneMetrics returnsNOT_A_MEMBER
errorRuneStat\RS3\API::getProfile()
will now throwPlayerHasNoProfile
if RuneMetrics returnsNO_PROFILE
error
RuneStat\validate_rsn
correctly validates display names with spaces
RuneStat\Exceptions\PlayerProfilePrivate
exceptionRuneStat\Exceptions\UnknownError
exception
RuneStat\RS3\API::getProfile()
will now throwPlayerProfilePrivate
if RuneMetrics returnsPRIVATE_PROFILE
errorRuneStat\RS3\API::getProfile()
will now throwUnknownError
if RuneMetrics returns an error we don't handle
RuneStat\RS3\Stats\Repository::getTotalLevel()
was returning the players total experience and vice-versa. It now returns the correct data
- Classes for all skills under the
RuneStat\RS3\Skills
namespace - Adventurers Log activity
- Player profile and stats
RuneStat\RS3\xp_to_level
helper function to calculate the level based on an amount of experienceRuneStat\RS3\xp_to_virtual_level
helper function to calculate the virtual level based on an amount of experienceRuneStat\RS3\skill_from_id
helper function to find a skill using the ID assigned by JagexRuneStat\RS3\combat_level
helper function to calculate the users combat level from their statsRuneStat\validate_rsn
helper function to validate a display nameRuneStat\goal_progress
helper function to calculate a percentage of progress towards an experience goal