Skip to content

5.4.1

Compare
Choose a tag to compare
@laminas-bot laminas-bot released this 20 Apr 17:25
· 219 commits to 5.17.x since this release
5.4.1
5521434

Release Notes for 5.4.1

Changed

  • This release changes the behavior of the Mezzio\Helper\BodyParams\JsonStrategy::parse() method slightly. Previously, if the body could be parsed as JSON, the result was always passed to the request's withParsedBody() method. However, PSR-7 indicates that the method should only ever receive a null value, or structured data in the form of an array or object. As such. the JsonStrategy::parse() method now checks to see if we have anything other than an array or object returned from the json_decode() operation, and, if so, uses a null value to call withParsedBody().

5.4.1

  • Total issues resolved: 0
  • Total pull requests resolved: 2
  • Total contributors: 2

Enhancement

BC Break,Bug