Releases: response-interop/interface
1.0.0-beta2
Incorporated clarifications from public and private review:
-
Clarified that cookies and
set-cookieheaders are kept synchronized. -
Opened
response_cookie_attributes_arrayto permit additional string
attributes such asSameSiteandPartitioned. -
Documented boolean-flag cookie attributes as specified-by-presence.
-
Added throw-on-negative directives for
$lengthand$offsetin
ResponseBodySenderService::sendResponseBodyResource(); clarified
$lengthof zero means send zero bytes. -
Added a note in
sendResponse()preferring stream-based output via
sendResponseBodyString()overecho/print. -
Narrowed
response_cookie_arrayvaluetype from
response_header_value_stringtoresponse_cookie_value_string. -
Documentation, typo, and tooling refinements.
1.0.0-beta1
Incororpated one chagne from private review:
-
Extracted ResponseBodySenderService from ResponseBodySender to segregate
the body-sending methods from the main sending method. ResponseBodyHandler
methodsendResponseBody()now takes ResponseBodySenderService as its
parameter. -
Updated documentation.
1.0.0-alpha1
Incoporated changes indicated by private review:
-
Renamed ResponseBodyContent to ResponseBodyHandler.
-
Cookie names and values must be decoded/encoded appropriately.
-
Modified header field string validation notes.
-
Extracted ResponseSenderService
- Removed
ResponseStruct::sendResponse() - Removed
ResponseHeadersCollection::sendResponseHeaders() - Removed ResponseStatusLineStruct, condensing its properties into ResponseStruct
- Pass ResponseSenderService to
ResponseBodyHandler::sendResponseBody() - Advise against
echo(etc.) in favor of calling ResponseSenderService body-sending methods
- Removed
-
Improved language consistency with other *-interops
1.0.0-dev1
Change Log
1.0.0-dev1
First release for private review.