Releases: Anteris-Dev/autotask-client-generator
Releases · Anteris-Dev/autotask-client-generator
v1.1.0
v1.0.5
Full Changelog: v1.0.4...v1.0.5
v1.0.4
Full Changelog: v1.0.3...v1.0.4
v1.0.3
Added
- Support for vlucas/phpdotenv 5.0 which was required by Illuminate Support
v1.0.2
Added
- Support for Guzzle 7.0 and Illuminate Support 8.0
v1.0.1
Fixed
- References to the QueryBuilder in the Service class doc block.
v1.0.0
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
andquantityNowReceiving
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
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
Added
- Initial generator files