Releases: Cheppers/gathercontent-client
Support image alternative texts
Support repeatable fields
A new repeatable property has been added to text element to support GatherContent's new repeatable text field feature.
File upload changes
Implement changes to the file upload logic. From now on the itemPost and itemUpdatePost will return the newly created assets in an array.
Implement file uploading
Add possibility for file upload via the itemPost and itemUpdatePost methods.
Fix client interface and rename section field type
Rename the Section to the new correct name: Guideline
Fix the client interface, and remove response validation from item update.
Fix itemChooseStatusPost method
Fix the itemChooseStatusPost to prevent wrong status_id response and remove response validation, because it returns empty on success.
Implement some hotfixes
The legacy flag setter is used on every endpoint to prevent the stuck of the flag on multiple endpoint calls after each other.
The return type hints are updated to represent the actual return value type.
Implement v2 API changes.
Implement changes from the v2 API.
For missing endpoints use the old v0.5 API, these requests are using the legacy calls.
Improve the tests to achieve bigger coverage.
Unfortunately because there are major changes in the API the library can not keep its backward compatibility, so it is released under a new major version.
Pagination, structure, related and other fields are fully supported in this new version.
The usage of this library remained the same in its core, so it is easier to upgrade to this version.
Please refer to the README and the official documentation on what request parameters can be sent or retrieved by each endpoint. You can find the links to the given endpoints in the README.
First release
This release supports the v0.5 GatherContent API.