All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning.
- Add php 8.3 to testing case
- Ensure null is not provided in client request url (php 8.1 issue)
- Dropped support for php 7.0 and 7.1
- Added json encoding when storing data in cache
- #38 PHP 8.1 compatibility
- #35 Added strict caching property which is by default enabled. Strict cache will only cache data which are from status 200 response code.
- Replace static calls with
static
instead ofself
in order to override the default behavior in final classes.
- #33 Option to provide the
per-page
value when retrieving all pages with methodallPages(Client $client, $perPage = 50)
. - #32 Prepared unit tests for PHP 8.0 and 7.0
- #30 Added new
indexBy()
method to override primary key defintion while query data.
- Fixed an issue where storage file attributes where wrong declared
new_new
instead ofnew_file
andnew_new_compound
instead ofname_new_compound
.
- #29 Refactoring of the caching system. The CURL collection class serializes the response into a json and stores this information in the cache. The previous version stored the full PHP class object which can lead into errors when working with memcached servers or other PSR16 cache implementations.
- #27 New sort() method for BaseIterator objects.
- #26 Added new cache prefix key for Client objects.
- #23 Add delete method with name
erase()
to delete an item from object context. - #22 Make sure view(), update() and remove() works with composite keys provided as array.
- #21 Added new
$cacheTimeAnomaly
property on the client in order to make sure multiple requests with same TTL settings won't unload & load together. This reduce the server load. - #19 Add new parameter for
setCache($ttl, 'name')
in order to provide a cache name instead of an automatically generated one.
- #18 Added dynamic value object in order to prevent cache keys with arguments which changes (like time expressions).
- [BC BREAK] Changed signature and response of ApiAdminStorage::fileUpload() and ApiAdminStorage::imageUpload(). The methods return now the desired object instead of a PostResponse object.
- Removed deprecated methods in ApiAdminStorage
- Removed deprecated classes in
luya\headless\modules\models\*
folder. - #17 Fixed bug where endpointName token was unable to override.
- Added new reload() method for ActiveEndpoints
- Moved ApiStorageFile into admin module root folder as its now more then just a model.
- Add file find() method to iterate trough files.
- Added new methods for handling image filters.
- Added new
ApiCmsRedirect
Active Endpoint.
- First stable release.