Skip to content

Releases: Anteris-Dev/autotask-client-generator

v1.1.0

24 May 21:12
d3c641c
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.5...v1.1.0

v1.0.5

07 Jul 17:15
Compare
Choose a tag to compare

Full Changelog: v1.0.4...v1.0.5

v1.0.4

07 Jul 16:42
Compare
Choose a tag to compare

Full Changelog: v1.0.3...v1.0.4

v1.0.3

08 Sep 16:17
Compare
Choose a tag to compare

Added

  • Support for vlucas/phpdotenv 5.0 which was required by Illuminate Support

v1.0.2

08 Sep 15:56
Compare
Choose a tag to compare

Added

  • Support for Guzzle 7.0 and Illuminate Support 8.0

v1.0.1

01 Sep 21:51
977f48e
Compare
Choose a tag to compare

Fixed

  • References to the QueryBuilder in the Service class doc block.

v1.0.0

01 Sep 17:56
35217f7
Compare
Choose a tag to compare

Added

  • FileWriter classes which handle any interaction with files for this package.
  • Generator classes which handle the generation of any files within their domain.
  • Response entities and collections to easily transfer information between generators.
  • Caching mechanism for Autotask API responses.
  • __toString() method on the QueryBuilder template which allows the built query to be used as a string.
  • Snake case forms of the entity name to the EntityNameDTO for unit tests.
  • GLCode, MSRP, SGDA, SIC, and SKU to weird words that are lowercased instead of camel cased.
  • Basic unit test generation for the service classes. Currently tests: that client returns correct service class, that querying returns the right collection, that collections contain the right entities, and that the query() method returns the right query builder. Requires more work!
  • loop() method to QueryBuilder.

Changed

  • Folder structure of Twig templates to reflect that of the generated package.
  • Filenames of Twig templates to end with the extension of .php.twig.
  • Changed the name of the entity name data transfer object and moved it to the support folder.
  • paymentTerms and quantityNowReceiving are now nullable given how Autotask responds to these requests.
  • Types of long and short from Autotask are given no type. There is not a good PHP alternative (int is too short, double does not work).
  • ContractID is cast to an integer instead of string. (Autotask says its dataType should be string but returns int).
  • Directory structure to plural form of name as with the generated files.

Fixed

  • Paginator classes were generated with a funky $contacts variable (even if they were not a contact resource!)

Removed

  • Docs directory. This belongs elsewhere.

v0.2.0

25 Aug 19:08
Compare
Choose a tag to compare

Added

  • count() method on QueryBuilder classes.
  • getEntityFields() method on service classes.
  • getEntityInformation() method on service classes.
  • getEntityUserDefinedFields() method on service classes that support UDFs.

Changed

  • Service classes return User Defined Fields as an array of UDF entities.

v0.1.0

25 Aug 12:25
Compare
Choose a tag to compare

Added

  • Initial generator files