Releases: Reprostar/mpcl-connector-php
Releases · Reprostar/mpcl-connector-php
2.0.0
This major release of the library comes with the following changes:
- Source code has been cleaned up and refactored
- Simplier names of Model classes
- More generic handling of API errors - removed getReceivedErrors() method
- Support for single-string authorization tokens
- User agent now contains library version by default
- Preferred usage of parameter arrays passed to methods and constructors instead of many separate arguments
- Better validation of parameters and dependencies in MpclConnector constructor
- PHPDoc annotations for all model parameters for type inferring
Fix release
- Fixed bug with returning class of invalid type in
getPhoto()
method - Added type hinting inside
MpclPhotoRemoteModel
andMpclMachinesSetRemoteModel
Compatible with MPCL API 1.1
v1.1 Added Category model and new methods from MyPClist API v1.1