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.
- Added missing property
idVenue
toEvent
entity
- Added missing property
idLeague
toHonour
entity
- Added missing property
strPlayerCutout
toLove
entity
- Added missing property
strSportThumbBW
toSport
entity
- Optional rate limiter to throttle requests
- Added missing properties
strCutout
,strThumb
andstrRender
, removedstrEvent
inLineup
- Changed property type of
strTeam
fromint
tostring
inLineup
- Added missing properties
idWikidata
toPlayer
- Trigger a notice if free API key is used
- Updated free API key to "3"
- Added missing properties
strEthnicity
andstrStatus
inPlayer
entity
- Missing property
strStatus
inLivescore
entity
- Missing properties for events:
intScore
,intScoreVotes
,strSquare
- Missing properties for honours:
intChecked
- Missing properties for leagues:
intDivision
,strInstagram
,strTvRights
- Missing properties for lineup:
strCountry
,strSeason
,strFormation
- Missing properties for loves:
strSport
,strEventSquare
- Missing properties for players:
idAPIfootball
,strPlayerAlternate
,dateSigned
,strWebsite
- Missing properties for teams:
strKitColour1
,strKitColour2
,strKitColour3
- Missing properties for television:
intDivision
- Missing properties for timeline:
strCountry
- Throw strict mapping exceptions in tests
- Support for Symfony 6 (
symfony/dependency-injection
) - Build matrix entry for lowest PHP and dependency versions
- Tests to check if all mandatory entity properties are initialized
- Nullable properties in
Sport
entity:strSportIconGreen
- Nullable properties in
League
entity:strDivision
,idCup
,strCurrentSeason
,strGender
,strCountry
,strNaming
,strLocked
- Nullable properties in
Player
entity:dateSign
- Updated guzzlehttp/guzzle to 7.4.3 (security fix)
- Added
Honour
entity, deprecatedHonor
- Added
honours()
inLookupEndpoint
, deprecatedhonors()
- Fixed player honours endpoint by changing endpoint URL and accepting new JSON root element
- Fixed listing country leagues by accepting new JSON root element
- Support for equipments lookup
- Updated indirect dependency guzzlehttp/psr7 to 2.2.1
- Fixed nullable fields intFormedYear and strDescriptionEN in league entity
- Support for PHP 8.1
- Changed free users key from "1" to "2"
- Made
strSport
property inLeague
entity nullable
- Changed PHPStan level to 6 (fixed all parameters and return type hints)
- Made
strSportThumb
property inSport
entity nullable
- Fixed nullable event properties referred to teams (
strHomeTeam
,strAwayTeam
,idHomeTeam
,idAwayTeam
)
- Deprecated
NklKst\TheSportsDb\Entity\Table\Entry
, useNklKst\TheSportsDb\Entity\Table\Standing
instead
- Fixed table entry properties to match API fields
- Always handle
null
as an empty result in API responses to prevent mapping errors
- Weekly cron for GitHub workflow
- League serializer should handle
null
response if ID was not found - Event serializer should handle
null
response if ID was not found - Skip schedule tests at the beginning and ending of the season
- Made several entity attributes nullable to prevent parse exceptions
- Dev dependency php-coveralls/php-coveralls
- Coverage report badge
- Public API method documentation
- Use Guzzle ClientInterface in DependencyContainer
- Changelog format to https://keepachangelog.com/en/1.0.0/
- Updated guzzlehttp/guzzle to 7.3.0
- Updated netresearch/jsonmapper to v4.0.0
- Updated symfony/dependency-injection to v5.2.6
- Updated friendsofphp/php-cs-fixer to v2.18.5
- Updated phpunit/phpunit to 9.5.4
- Don't reuse clients and endpoints in DependencyContainer
idAPIfootball
in classNklKst\TheSportsDb\Entity\Team
is now nullable- Fixed teams search returning
null
on unmatched query - Lookup and search results for single entities can be null
- API version configuration support
- Highlight videos support
- Livescore v2 support
- Most "Patreon only" features
- Bumped libs
- Initial release