Foundation library for Contentful PHP SDKs
MIT License
Bot releases are hidden (Show)
ApplicationInterface
and IntegrationInterface
have been added, as well as ClientInterface::useApplication(ApplicationInterface $application)
and ClientInterface::useIntegration(IntegrationInterface $integration)
. The BaseClient
class already provides an implementation of these methods.ATTENTION: This release contains breaking changes. Please take extra care when updating to this version. See the upgrade guide for more.
Contentful\Core\File\ImageOptions
now has a setPng8Bit
method which will force the image to be returned as a 8-bit PNG.Contentful\Core\File\ProcessedFileInterface
has been introduced, and can be used to identify assets that have already been processed and have a url
property available.AssetInterface
, ContentTypeInterface
, EntryInterface
, ClientInterface
, ResourcePoolInterface
.Contentful\Core\Api\BaseClient
no longer has abstract method getSdkVersion
, now instead it requires getPackageName
. The version of the SDK will be inferred automatically using that value.Contentful\Core\Api\BaseClient::request
now uses property host
instead of baseUri
.request
method defined in ClientInterface
.ResourceArray
now implements ResourceInterface
.Requester
class.getVersion
, getPackageName
, getSdkName
, and getApiContentType
are now static. [BREAKING]
AssetInterface
, ContentTypeInterface
, EntryInterface
, ClientInterface
, ResourcePoolInterface
.request
method defined in ClientInterface
.ResourceArray
now implements ResourceInterface
.Requester
class.getVersion
, getPackageName
, getSdkName
, and getApiContentType
are now static. [BREAKING]