Releases: TruckersMP/API-Client
Releases · TruckersMP/API-Client
v2.3.1
24 Apr 22:01
Compare
Sorry, something went wrong.
No results found
Added
Support Illuminate Collections 12.x (d74ebc1 )
v2.3.0
21 Jan 14:37
Compare
Sorry, something went wrong.
No results found
Added
Added events that a company is attending (#61 )
Added player's awards and achievements (#60 )
Support PHP 8.4 (#58 )
Changed
Clarified the active state and admin fields in the Ban model (#59 )
v2.2.2
26 Apr 16:16
Compare
Sorry, something went wrong.
No results found
Added
Support PHP 8.3 (#56 )
Support Illuminate Collections 11.x (f37af2d )
v2.2.1
26 Nov 17:33
Compare
Sorry, something went wrong.
No results found
Added
Added event meetup date (#55 )
Changed
Harmonization of shield styles (#53 )
New Contributors
v2.2.0
06 Mar 21:44
Compare
Sorry, something went wrong.
No results found
Added
Added is_owner field to CompanyMember (#49 )
Added user events (#50 )
Added the player's company history (#51 )
Added attending companies to events (#52 )
v2.1.1
18 Feb 10:13
Compare
Sorry, something went wrong.
No results found
Added
Support Illuminate Collections 10.x (bb4b1bd )
v2.1.0
18 Feb 10:03
Compare
Sorry, something went wrong.
No results found
Deprecated
Deprecated the CompanyBan model as a duplicate in favor of CompanyMember (#46 )
Deprecated getConfirmed() and getUnsure() methods of EventAttendance 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 new Player::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 in Event (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
API and model tests are now being mocked instead of sending real API requests (#48 )
Moved the HTTP client to the API client. This helps to mock or override the client/config (#48 )
Moved the API configuration to the API client (#48 )
v2.0.1
21 Nov 16:06
Compare
Sorry, something went wrong.
No results found
Fixed
Fixed failing tests due to the test company no longer being available (1fa0496 )
Changed
Updated all hyperlinks to the new documentation (#44 )
v2.0.0
05 Mar 20:07
Compare
Sorry, something went wrong.
No results found
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 the CompanyPost 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
Made the Company website property nullable (#32 )
Minor code changes to game time calculation (#41 )
Repository Changes
Updated Github actions workflow (#25 )
Removed composer.lock file (#29 )
v1.2.0
18 Jul 11:55
Compare
Sorry, something went wrong.
No results found
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
Updated composer dependencies (#20 )
Changed the test names to include underscores - this makes the names slightly easier to read (#20 )