diff --git a/CHANGELOG.md b/CHANGELOG.md index a8374d4394..c2f4f279e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,8 @@ # Change Log All notable changes to this project will be documented in this file based on the [Keep a Changelog](http://keepachangelog.com/) Standard. This project adheres to [Semantic Versioning](http://semver.org/). -## [Unreleased](https://github.com/ruflin/Elastica/compare/5.3.2...master) + +## [Unreleased](https://github.com/ruflin/Elastica/compare/5.3.3...master) ### Backward Compatibility Breaks @@ -11,6 +12,15 @@ All notable changes to this project will be documented in this file based on the ### Improvements +- [Backported] Reduced memory footprint of response by not keeping the raw JSON data when JSON after JSON has been parsed. [#1588](https://github.com/ruflin/Elastica/pull/1588) + + +## [5.3.3](https://github.com/ruflin/Elastica/compare/5.3.2...5.3.3) + +### Bugfixes + +- [Backported] Corrected phpdoc types to avoid warnings from code quality tools. [#1525](https://github.com/ruflin/Elastica/pull/1525) + ## [5.3.2](https://github.com/ruflin/Elastica/compare/5.3.1...5.3.2) diff --git a/lib/Elastica/Response.php b/lib/Elastica/Response.php index a938626a27..f041a6fe4d 100644 --- a/lib/Elastica/Response.php +++ b/lib/Elastica/Response.php @@ -234,6 +234,7 @@ public function getData() } $this->_response = $response; + $this->_responseString = ''; } return $this->_response;