Releases: Anteris-Dev/autotask-client
Releases · Anteris-Dev/autotask-client
v0.3.1
Added
- Test script to composer.json file.
Fixed
- Invalid composer.json file.
- Requirement of .env file existence caused tests to fail.
Removed
- Tests for modules our sandbox account does not have access to.
v0.3.0
Added
__toString()
method on the QueryBuilder classes which allows for the built query to be used as a string. (Just build your query as normal but don't execute it,echo
it!)loop()
method to QueryBuilder which allows you to loop through all records and perform an action.- Unit tests in the
tests
directory. Coverage is minimal for now. - PHP 7.4 as an explicit dependency.
Fixed
- GLCode, MSRP, SGDA, SIC, and SKU are now corrected as lowercase in their camel cased name.
paymentTerms
andquantityNowReceiving
are now nullable given how Autotask responds to these requests.- Types of long and short from Autotask are no longer type cast. 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)- Paginator classes were being generated with a funky $contacts variable (even if they were not a contact resource! 😐)
Removed
- Docs directory. This belongs elsewhere.
v0.2.1
Added
- Description of requirements to the README.
Changed
- Relaxed composer version requirements.
v0.2.0
Added
- This changelog.
- Support for retrieving entity metadata via
getEntityInformation()
,getEntityFields()
, andgetEntityUserDefinedFields()
. - Support for retrieving the query count via the
count()
method on the QueryBuilder.
Changed
- User Defined Fields are now represented as Data Transfer Objects, though they still are organized as an array on each entity that supports them.
Fixed
- User Defined Fields are not present on entities that do not support them.
- Guzzle Response object is not imported on service classes that do not require it.
v0.1.4
Fixes
- Issue with child resources where they were not sending requests to the right endpoint.
v0.1.3
Changed
- Version constraints in Composer to be more relaxed.
Fixed
- QueryBuilder
getFilters()
returned$this->filters
which did not exist. - Entity constructors did not check to see if the array property was set before attempting to cast to Carbon.
v0.1.2
- Adds Carbon as an explicit dependency to composer.
v0.1.1
- Resolves an issue with the Base URI where a developer may pass in something that doesn't work.
v0.1.0
Initial release of the Autotask API client.