From 8e1e4020eaacd29d4444ce490cf1dc498d6fd242 Mon Sep 17 00:00:00 2001 From: Davide Borsatto Date: Wed, 28 Nov 2018 10:15:29 +0100 Subject: [PATCH] chore(release): Prepare version 4.1.0 --- CHANGELOG.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f64ffd5..1018ec24 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,9 +3,14 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). -## [Unreleased](https://github.com/contentful/contentful.php/compare/4.0.2...HEAD) +## [Unreleased](https://github.com/contentful/contentful.php/compare/4.1.0...HEAD) +> No meaningful changes since last release. + + +## [4.1.0](https://github.com/contentful/contentful.php/tree/4.1.0) (2018-11-28) + ## Added * When working with huge datasets (tens of thousands of resources), for instance with custom CLI commands, the default resource pool may have caused the application to use too much memory and crash. Now there are two different resource pools: `Contentful\Delivery\ResourcePool\Standard`, which is a lightweight implemention and only caches space, environment and content types, and `Contentful\Delivery\ResourcePool\Extended`, which also keeps a reference to entries and assets. The latter class was known as `Contentful\Delivery\ResourcePool`, which has now been deprecated and will be removed in version 5.0. The `Extended` class is the default one, as it is designed to work with regular PHP requests. In order to use the `Standard` pool, you must enable it through the `ClienOptions` class: ```php @@ -14,7 +19,6 @@ This project adheres to [Semantic Versioning](http://semver.org/). $client = new Client($token, $spaceId, $environmentId, $options); ``` As this resource pool provides no caching (and `include` values are now skipped, for this reason), it might cause the SDK to make more API calls, so its used is discouraged for regular web applications. - ## [4.0.2](https://github.com/contentful/contentful.php/tree/4.0.2) (2018-11-09)