Skip to content

v2.1.0

Choose a tag to compare

@ShawnCZek ShawnCZek released this 18 Feb 10:03
· 17 commits to master since this release
a98758d

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)