Skip to content

Latest commit

 

History

History
103 lines (87 loc) · 4.23 KB

changelog.md

File metadata and controls

103 lines (87 loc) · 4.23 KB

Change Log

[3.2.1] - 20 May 2019

Changed

  • Create setBaseUrl method

[3.2.0] - 16 May 2019

Changed

  • remove captcha validation on rejecting jobs

[3.1.1] - 15 Oct 2018

Changed

  • Upgrade guzzle version to 6.3

[3.1.0] - 09 Aug 2018

Changed

[3.0.5] - 11 July 2017

Changed

  • fix missing order level comments

[3.0.4] - 15 March 2017

Changed

  • fix getJobs parameters not applying

[3.0.3] - 1 February 2017

Changed

  • test that ampersand in text strings (for comments and jobs) does not cause any issues. Thanks to Nick Ustinov.
  • updated version number in useragent string

[3.0.2] - 28 January 2017

Changed

  • upgraded tests to PHPUnit 5.7
  • PHPUnit now has new best practice for exception testing: instead of @expectedException annotation in docblock use of $this->expectException() and relevant methods is preferred
  • replaced @requiredconst annotation with @internalconst annotation: not applicable in tests
  • updated version number in useragent string

[3.0.1] - 04 October 2016

Changed

  • cleaned up composer.json
  • moved php-cs-fixer to require-dev, make it run on travis-ci
  • regenerated exceptions.php so it only includes exception codes used by Gengo API package

[3.0.0] - 29 September 2016

Changed

  • Added support for account/me endpoint
  • No longer using Zend library, new Zend Framework is quite heavy. Using logics/http package as lightweight alternative
  • Removed redundant class Gengo_Exception
  • Added docblocks for PHPDocumentor automatic documentation
  • Strict compliance to Beauty coding standard
  • Dropped useless constructors
  • getGlossaries() did not use $page_size , removed
  • No more debug option: inline debugging is bad for performance - use PHPUnit and phpdbg instead
  • Removed API::factory() method
  • Removed Gengo_Crypto class, moved to API class
  • There no reason to have configurable useragent string: only webserver concerned is gengo.com and it is better for it to know actual API client name
  • Dropped support for config.ini file: default config values can be hardcoded, rest should be applied at runtime through \Gengo\Config class
  • \Gengo\Config is a static class, solely responsible for settings sanity checks
  • api_key and private_key should be set through Config::set() prior API calls, passing them to each API client on each invocation is no longer needed
  • Removed setBaseUrl() as there only two endpoints for gengo.com , added \Gengo\Config::useProduction() method which must be called prior to all calls to live API
  • In PHPUnit's assertEquals() expected value comes first
  • Response format is controlled solely through \Gengo\Config::setResponseFormat() method
  • Fixed broken Gengo_Jobs->cancel() - digital signature was incorrectly computed
  • Added missing Job->archive() method
  • Removed Jobs->cancel() as this method is not listed in Gengo API
  • Jobs->getJobs() was not really doing what it was ought to do and was mixed with Jobs by ID. Now accepts parameters for filtering.
  • Added Jobs->getJobsByID() method as per Gengo API
  • Method Service->getLanguagePairs() now supports optional filterin as per Gengo API
  • Dropped support for non-"v2" API in Jobs API
  • Removed Glossary methods which are not listed in official Gengo API
  • Fixed the issue #37: aproval 'rating' should follow official Gengo API
  • Removed support for file_attachments in Jobs->postJobs() as it does not exist in official Gengo API
  • All examples now are actual tests
  • All Gengo API calls now return responses on API function call
  • Switched on HTTP keep-alive: we should keep HTTP connection alive to speed up communication with Gengo server
  • 100% test coverage

[2.1.7] - 29 September 2016

Changed

  • Added suport for account/me endpoint

[2.1.6] - 28 October 2015

Changed

  • Added support for tone and purpose at the order level
  • Updated "postTranslateJobs.php" example file

[2.1.5] - 17 August 2015

Changed

  • Added new functions(GET, POST) to add comment on order.
  • wrote some example files for user.

[2.1.4] - 18 June 2015

Changed

  • enable revise and reject end-points to receive a $comment paramter
  • minor improvements

[2.1.3] - 23 May 2015

Changed

  • Upgrade Zend library to version 1.12.13
  • Bump release version to 2.1.3