Skip to content

Releases: DrTeamRocks/uon

Alpha of v2.0

20 Feb 20:04
Compare
Choose a tag to compare
Alpha of v2.0 Pre-release
Pre-release
  • 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

07 Jul 09:16
Compare
Choose a tag to compare
  • New method search() in Leads 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

04 Jul 15:22
Compare
Choose a tag to compare
  • Simple check for 429 error was added
  • Some unit tests was updated

1.8

13 May 12:14
Compare
Choose a tag to compare
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

25 Mar 08:41
Compare
Choose a tag to compare
  • Method getEmail($email) added in class Users
  • Some tests updated for compatibility with PHP 5.6