NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #2903 most downloaded on Packagist
Capsule is a simple PSR-7 HTTP message and PSR-17 HTTP factory implementation.
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 1.3 years
Some releases are documented
notes for 10 of 23 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
23 releases · first in 2019
Fix PHP 8.4 deprecation implicit nullable argument by @8ctopus in #7
Full Changelog: 3.0...3.0.1
This will be the last 2.x release of Capsule (barring security or bug fixes). Active feature development will be moved to the 3.x release.
This will be the last 2.x release of Capsule (barring security or bug fixes). Active feature development will be moved to the 3.x release.
psr/http-message 2.0One column per quarter.
Port number was always being returned in authority if a port number was supplied. This was breaking convention in only using port number if the port i
In accordance with PSR, __toString() and getContents() methods on the ResourceStream will attempt to safely rewind the underlying stream.
__toString() and getContents() methods on the ResourceStream will attempt to safely rewind the underlying stream.MessageAbstract::withHeader() now treats header names as case insensitive and will correctly overwrite the header.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Migrating ResponseStatus class and constants to an Enum type.
ResponseStatus class and constants to an Enum type.HttpMethod EnumResponseStatus::getPhrase() is now an instance method (it is no longer static.) With an instance of ResponseStatus you can call the getPhrase() method. Example:$status = ResponseStatus::NOT_FOUND;
$status->getPhrase();Support for PHP 8.x, leveraging features from 8.0
createFromString method in StreamFactoryprovide property in composer file for psr/http-message-implementation and psr/http-factory-implementationUri::__toString() and Uri::getAuthority() methods, fixing long standing bugsNimbly\Capsule@) when making calls to fopenServerRequestFactory::createServerRequestFromPsr7() is now a public static method.
ServerRequestFactory::createServerRequestFromPsr7() is now a public static method.Helper methods on ServerRequest to access parsed body, query, and uploaded file parameters. See README for more information.
ServerRequest to access parsed body, query, and uploaded file parameters. See README for more information.ext-json no longer required.ResourceStream properly detaches as well as properly throwing RuntimeException on certain methods as described in interface.$request->withParsedBody($parsedBody);Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Custom Response reason phrases are now respected
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →