All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
ATTENTION: This release contains breaking changes. Please take extra care when updating to this version.
- Added support for the
webpformat in the Images API. - Introduced
RateLimitExceededExceptionfor more specific error handling. [BREAKING] - Allow injecting a custom Guzzle instance into
Client. - Allow fetching content in a single locale by adding the locale code to the query. [BREAKING]
MIGRATION: To retain the old behavior set the default locale to
'*''when creating the client. This could look like:new Client($token, $spaceID, false, null, null, '*') - Allow setting the locale in which you work when creating the client.
- Changed the behavior of getting an array of links to not throw an exception when one of them has been deleted from the space. (#19)
- Removed the caching of
AssetandEntryinstances. [BREAKING] - Changed the internal data format from object to array. This should make no observable difference to the public API.
- Dropped
BearerTokento make it easier to inject custom Guzzle instances. [BREAKING]
- Assets that have no title would throw an uncaught exception.
- Handling of missing values for a locale in Assets. Solved by implementing fallback locales for Assets too.
- Fields that have the literal value
nullare now treated like they don't exist. Previously they might have causes a fatal error. Note: This does not 100% match the behaviour of the Contentful API.
0.6.5-beta (2016-09-10)
- Added gzip compression for API requests.
- Raised the minimum Guzzle version to 6.2.1. This version addressed the HTTP_PROXY security vulnerability (CVE-2016-5385).
- Fix #9 Trying to retrieve fields that end with "Id" fails.
0.6.4-beta (2016-03-03)
- Made LogEntry implement Serializable.
- Send the correct Content-Type header for API versioning.
0.6.3-beta (2016-03-02)
- Implemented missing functionality of the Contentful Images API in ImageOptions.
- Added the missing method LogEntry::getResponse
- Added LogEntry::isError
- Logged requests were always shown as belonging to the Delivery API, even when the Preview API was used.
- Fields not present in an Entry would lead to an error.
- The Synchronization Manager's method
startSyncwas type hinted to the wrong Query class. - API responses were not correctly logged.
0.6.2-beta (2016-02-22)
- Compatibility with Symfony 3.
- The ability to log information about requests made against the Contentful API.
- Use PSR-7 internally.
- Default headers were never actually sent
0.6.1-beta (2016-01-19)
- Send a User-Agent header with API requests.
- When GitHub is generating archieves, are few files with metadata are excluded.
- Calling the get*Id Method on a field that is not a link or an array of links did not cause an error. (#2, originally reported by @andrewevansmith)
- Accessing a non-localized field would fail with and throw a PHP notice.
0.6.0-beta (2015-12-11)
Initial release