Skip to content

Releases: TruckersMP/API-Client

v2.3.3

21 Mar 10:13
71d5078

Choose a tag to compare

v2.3.3 (2026-03-21)

Added

  • Support for PHP 8.5 (#63)
  • Support for Carbon v3 (#64)

v2.3.2

21 Mar 09:35
144a4fb

Choose a tag to compare

v2.3.2 (2026-03-21)

Added

  • Support Illuminate Collections 13.x (a6ebab2)

v2.3.1

24 Apr 22:01
0626b4a

Choose a tag to compare

v2.3.1 (2025-04-24)

Added

  • Support Illuminate Collections 12.x (d74ebc1)

v2.3.0

21 Jan 14:37
f322953

Choose a tag to compare

v2.3.0 (2025-01-21)

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
f37af2d

Choose a tag to compare

v2.2.2 (2024-04-26)

Added

  • Support PHP 8.3 (#56)
  • Support Illuminate Collections 11.x (f37af2d)

v2.2.1

26 Nov 17:33
55a4c83

Choose a tag to compare

v2.2.1 (2023-11-26)

Added

  • Added event meetup date (#55)

Changed

  • Harmonization of shield styles (#53)

New Contributors

v2.2.0

06 Mar 21:44
672b6be

Choose a tag to compare

v2.2.0 (2023-03-06)

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
bb4b1bd

Choose a tag to compare

v2.1.1 (2023-02-18)

Added

  • Support Illuminate Collections 10.x (bb4b1bd)

v2.1.0

18 Feb 10:03
a98758d

Choose a tag to compare

v2.1.0 (2023-02-18)

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
911e1c1

Choose a tag to compare

v2.0.1 (2022-11-21)

Fixed

  • Fixed failing tests due to the test company no longer being available (1fa0496)

Changed

  • Updated all hyperlinks to the new documentation (#44)