contentful/core
Core components shared by Contentful’s PHP Delivery and Management SDKs. Provides foundational utilities and abstractions for interacting with Contentful APIs. Requires PHP 8.0+. Intended for internal SDK use, not for direct third‑party consumption.
Added PHP8 support
Package updates Fixed a few static code analysis issues
Added new exception type to better cover guzzle errors
Added support for PHP 7.4. Removed support for PHP 7.0 & 7.1. Updated dependencies.
Updated unit tests for the new center option. Coding standards.
Added the missing 'center' option. Consider resizeFit options 'pad', 'fill' and 'crop' per the documentation.
No meaningful changes since last release, just linter changes
preg_replace_callback.Psr\Log\LogLevel constants, so there should be better compatibility with stricter PSR-3 implementations.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.LinkResolverInterface::resolveLinkCollection()'s second parameter was fixed, as it was incorrectly set to string $locale = null instead of array $parameters = [].LinkResolverInterface now declares method resolveLinkCollection.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]ObjectHydrator has been introduced, to abstract resource hydration.LinkResolverInterface was added to abstract link resolving.How can I help you explore Laravel packages today?