Releases: TruckersMP/API-Client
Releases · TruckersMP/API-Client
v2.2.2
v2.2.1
v2.2.0
v2.1.1
v2.1.0
v2.1.0 (2023-02-18)
Deprecated
- Deprecated the
CompanyBan
model as a duplicate in favor ofCompanyMember
(#46) - Deprecated
getConfirmed()
andgetUnsure()
methods ofEventAttendance
in favor of collections (a98758d) - Deprecated
Player::getCompanyRole()
due to invoking another unexpected internal request (a98758d) - Deprecated
Player::patreon()
which has been replaced by the newPlayer::getPatreon()
getter (a98758d)
Added
- Support PHP 8.2 (#45)
- Created a base class for entity models (#48)
- Added types to model attributes (supporting PHP 7.4) (#48)
Fixed
- Fixed the
start_at
type inEvent
(a98758d) - Fixed parameter types for the company key in requests, allowing both string and numbers (a98758d)
- Fixed the ProMods name in
Server
(M is supposed to be upper case) (a98758d)
Changed
v2.0.1
v2.0.0
v2.0.0 (2022-03-05)
Breaking Changes
- Removed support for PHP 7.3 and prior (#29)
- Replaced custom collections with Illuminate Collections (#33)
- Replaced Guzzle Adapter with Guzzle HTTP (#26)
Added
- Implemented (VTC) event endpoints (#31)
- Implemented banned company members endpoint (#36)
- Allow searching with company slug (#37)
- Added
updatedAt
&publishedAt
timestamps to theCompanyPost
model (#35) - Added active ban count to the
Player
model (#39) - Added map ID to the
Server
model (#40) - Added examples (#26)
- Support PHP 8 (#27)
Fixed
- Fixed failing tests due to company post no longer existing (#25)
- Fixed PHPUnit formatting and ignore examples folder during export (#26)
- Fixed typos and grammatical errors (#34)
- Fixed a minor typo in README (#38)
Changes
Repository Changes
v1.2.0
v1.2.0 (2020-07-18)
Added
- Added if the player is a staff member and/or is part of the upper staff (#20)
- Added the ability to get the users Patreon information (#20)
Changed
v1.1.1
v1.1.0
v1.1.0 (2020-05-12)
Added
- Added the ability to get the companies validation status (i.e. if they are validated or not) (#17)