Skip to content

Releases: response-interop/interface

1.0.0-beta2

23 Apr 01:03

Choose a tag to compare

1.0.0-beta2 Pre-release
Pre-release

Incorporated clarifications from public and private review:

  • Clarified that cookies and set-cookie headers are kept synchronized.

  • Opened response_cookie_attributes_array to permit additional string
    attributes such as SameSite and Partitioned.

  • Documented boolean-flag cookie attributes as specified-by-presence.

  • Added throw-on-negative directives for $length and $offset in
    ResponseBodySenderService::sendResponseBodyResource(); clarified
    $length of zero means send zero bytes.

  • Added a note in sendResponse() preferring stream-based output via
    sendResponseBodyString() over echo/print.

  • Narrowed response_cookie_array value type from
    response_header_value_string to response_cookie_value_string.

  • Documentation, typo, and tooling refinements.

1.0.0-beta1

31 Jan 21:26

Choose a tag to compare

1.0.0-beta1 Pre-release
Pre-release

Incororpated one chagne from private review:

  • Extracted ResponseBodySenderService from ResponseBodySender to segregate
    the body-sending methods from the main sending method. ResponseBodyHandler
    method sendResponseBody() now takes ResponseBodySenderService as its
    parameter.

  • Updated documentation.

1.0.0-alpha1

04 Dec 16:57

Choose a tag to compare

1.0.0-alpha1 Pre-release
Pre-release

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
  • Improved language consistency with other *-interops

1.0.0-dev1

03 Nov 21:01

Choose a tag to compare

1.0.0-dev1 Pre-release
Pre-release

Change Log

1.0.0-dev1

First release for private review.