contentful/core
Foundation library for Contentful PHP SDKs
4.0.2
4.1M downloads/mo
#2421 most downloaded on Packagist
contentful/contentful-core.php
What this package is like to depend on
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 1 weeks to 1.2 years
Nearly every release is documented
notes for 30 of 32 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
37 releases · first in 2018
0 releases in the last 12 months
see the full history below
Release timeline
37 releases · Feb 2018 to May 2024Releases
latest 37-
4.0.214 May 2024 -
4.0.129 Feb 2024 -
4.0.005 Dec 2022Release notes
Open source →- The API will no longer switch to the jpg format if a quality is given, consistent with the docs
- Support for PHP7 was dropped, support for PHP8 was fully integrated
- Small internal refactoring
Release notes
Open source →- The API will no longer switch to the jpg format if a quality is given, consistent with the docs
- Support for PHP7 was dropped, support for PHP8 was fully integrated
- Small internal refactoring
-
3.2.016 Jul 2022Release notes
Open source →Added
- Support for guzzlehttp/psr7 v2 (thanks Pierre Klink (@pklink) !)
Internal
- Some CI rework and refactoring
-
3.1.309 Mar 2022Release notes
Open source →Added
- Compatibility with psr/log 2 and 3 - thanks Ryan (@kwivix) !
Internal
- Added CI for PHP8.1
- Added backwards compatibility break check in CI
Release notes
Open source →Added
- Compatibility with psr/log 2 and 3 - thanks @kwivix !
Internal
- Added CI for PHP8.1
- Added backwards compatibility break check in CI
-
3.1.217 Jan 2022Release notes
Open source →Added
- Added generics annotation to ResourceArray class - thanks Edi Modrić (@emodric) !
Fixed
- Fixed errors when the file content type is not provided - thanks Emīls Jansons (@emsyzz) !
- Added support for Symfony 6
- Fixed documentation build once again
- Fixed php cs fixer runs
Release notes
Open source →Added
- Added generics annotation to ResourceArray class - thanks @emodric !
Fixed
- Fixed errors when the file content type is not provided - thanks @emsyzz !
- Added support for Symfony 6
- Fixed documentation build once again
- Fixed php cs fixer runs
-
3.1.120 Mar 2021Release notes
Open source →Fixed
- Fixed documentation
Internal
- Reworked CI scripts a bit to get them working with PHP8
-
3.1.017 Mar 2021Release notes
Open source →This commit adds PHP8 support to the contentful core. It does the
following:- Bump the version to 3.1.0 (new minor)
- Add a php8 image to the CI to run the tests on php8
- Allow PHP8 in composer.json
The code was verified against the official breaking changes guide [0].
Note that code coverage is not yet supported by phpunit on php8. As it
should be pretty much the same as on older PHP versions, however, this
is accepted for now. -
3.0.512 Oct 2020Release notes
Open source →Added
- Added clearMesssages method to allow manually clearing the messages
- Added parameter to allow initializing without messages
Release notes
Open source →Added
- Added clearMesssages method to allow manually clearing the messages
- Added parameter to allow initializing without messages
-
3.0.415 Sep 2020 -
3.0.315 Sep 2020 -
3.0.203 Apr 2020 -
3.0.124 Mar 2020Nothing published for this version
-
3.0.003 Mar 2020Release notes
Open source →Changed
Added support for PHP 7.4. Removed support for PHP 7.0 & 7.1. Updated dependencies.
-
2.2.828 Jan 2020Nothing published for this version
-
2.2.728 Jan 2020Release notes
Open source →Fixed
Added the missing 'center' option. Consider resizeFit options 'pad', 'fill' and 'crop' per the documentation.
-
2.2.610 Apr 2019 -
2.2.525 Jan 2019Release notes
Open source →Internal
- Minor changes in how tests are handled. These should not have any impact on users.
-
2.2.426 Nov 2018Release notes
Open source →Fixed
- Optimized cache key sanitization to avoid using
preg_replace_callback.
- Optimized cache key sanitization to avoid using
-
2.2.315 Nov 2018Release notes
Open source →Fixed
- Fixed a bug with the detection of versions for integrations and applications.
-
2.2.213 Nov 2018 -
2.2.112 Nov 2018 -
2.2.012 Nov 2018Release notes
Open source →Added
- Interface
ApplicationInterfaceandIntegrationInterfacehave been added, as well asClientInterface::useApplication(ApplicationInterface $application)andClientInterface::useIntegration(IntegrationInterface $integration). TheBaseClientclass already provides an implementation of these methods.
- Interface
-
2.1.108 Nov 2018Release notes
Open source →Fixed
- Method
LinkResolverInterface::resolveLinkCollection()'s second parameter was fixed, as it was incorrectly set tostring $locale = nullinstead ofarray $parameters = [].
- Method
-
2.1.007 Nov 2018Release notes
Open source →Added
- Interface
LinkResolverInterfacenow declares methodresolveLinkCollection.
- Interface
-
2.0.030 Oct 2018Release notes
Open source →ATTENTION: This release contains breaking changes. Please take extra care when updating to this version. See the upgrade guide for more.
-
2.0.0-beta215 Oct 2018 pre-releaseRelease notes
Open source →Added
- The following interfaces have been added:
AssetInterface,ContentTypeInterface,EntryInterface,ClientInterface,ResourcePoolInterface.
Changed
- Client objects now must declare a
requestmethod defined inClientInterface. ResourceArraynow implementsResourceInterface.- Logic for querying the API has been refactored into the new
Requesterclass. - Client methods
getVersion,getPackageName,getSdkName, andgetApiContentTypeare now static. [BREAKING]
- The following interfaces have been added:
-
2.0.0-beta118 Sep 2018 pre-releaseRelease notes
Open source →Added
- Class
Contentful\Core\File\ImageOptionsnow has asetPng8Bitmethod which will force the image to be returned as a 8-bit PNG. - Interface
Contentful\Core\File\ProcessedFileInterfacehas been introduced, and can be used to identify assets that have already been processed and have aurlproperty available.
Changed
- Class
Contentful\Core\Api\BaseClientno longer has abstract methodgetSdkVersion, now instead it requiresgetPackageName. The version of the SDK will be inferred automatically using that value. - Options array in
Contentful\Core\Api\BaseClient::requestnow uses propertyhostinstead ofbaseUri.
- Class
-
1.5.030 Aug 2018Release notes
Open source →Added
- Class
ObjectHydratorhas been introduced, to abstract resource hydration.
- Class
-
1.4.029 Aug 2018Release notes
Open source →Added
- Coding standards are implemented in a generic way so that it can be reused in all SDKs.
-
1.3.028 Aug 2018 -
1.2.023 Aug 2018Release notes
Open source →Changed
- The client used to create a log entry with a full message by default. Now it will create one regular entry with either level "INFO" or "ERROR" depending on the status code of the response, and one with level "DEBUG" with full dumps of request, response, and exception.
-
1.1.006 Jun 2018Release notes
Open source →Fixed
Contentful\Core\Api\Locationused to provide a wrongful serialization of the longitude property. Now it correctly serializes toloninstead oflong.
Changed
- The
Contentful\Core\Log\Timerhas been deprecated and will be removed in version 2.
-
1.0.017 Apr 2018 -
1.0.0-beta309 Apr 2018 pre-releaseNothing published for this version
-
1.0.0-beta201 Mar 2018 pre-releaseNothing published for this version
-
1.0.0-beta128 Feb 2018 pre-releaseNothing published for this version