Skip to content

1.0.0-beta

Pre-release
Pre-release

Choose a tag to compare

@dakota dakota released this 12 Feb 13:05
· 73 commits to cake-4.x since this release

CakePHP 4 compatible release.

An important change in this release is that the BodyParserMiddleware must be added to your application middleware queue and the following parser code must be added

        $bodies = new BodyParserMiddleware();
        $bodies->addParser(['application/vnd.api+json'], function ($body) {
            return json_decode($body, true);
        });
 
        $middlewareQueue->add($bodies);