Releases: DrTeamRocks/uon
Releases · DrTeamRocks/uon
Alpha of v2.0
- PSR namespace changed from UON to Uon
- Additional classes implemented
Misc
class and all methods refactored to separated classes
- Refactoring of Http client
- Optional autoexec
- New custom exceptions
The Page
- New method
search()
inLeads
class (for #7):- /lead/search
$page
varaible added in folowing endpoints (for #6):- /catalog-service/
- /cities/
- /hotels/
- /leads/$date_from/$date_to/
- /leads/$date_from/$date_to/$id_sources/
- /lead-by-client/$id_lead/
- /payment/list/
- /request-action/
- /requests/updated/
- /suppliers/
- /users/
- /user/updated/
- Check for exception added in
Client
class,doRequest
method - Documentation updated
- Wiki page about migration added
Error 429 fix
- Simple check for 429 error was added
- Some unit tests was updated
1.8
A lot of updates in this release:
- Major version is changed, that mean - your existed code may be not compatible with this release, please read documentation to lean what changed
- Minimal required version of PHP increased to 5.6
- Migration to __call magic is done, now you need work with UOn via API class
- UON_API_TOKEN removed from code, now you need set your token via Config class ("token" parameter, look at example)
- In Client->doRequest() method added new "$raw" parameter with "false" state by default , now you can choose the type of returned contend (decoded json or raw)
- Requests->getDocument() method returned the content of file (pdf/doc)
- Some new endpoints added
- Scrutinizer is enabled for code quality check
- Tests moved to Travis, and run now in automode
- Dev account now preconfigured for tests by default
- Almost all tests rewriten to new conseption of testing
1.6.6
- Method
getEmail($email)
added in classUsers
- Some tests updated for compatibility with PHP 5.6