CHANGELOG
develop branch
Nothing yet.
v2.0.0 - Mon 2nd May 2016
New
- Improve readability of exceptions that map onto a HTTP status code. Also make it possible to catch classes of exceptions at a time.
- Added
HttpException - Added
HttpInformationalException - Added
HttpSuccessfulStatusException - Added
HttpRedirectionException - Added
HttpRequestErrorException - Added
HttpRuntimeErrorException
- Added
- The
Specificationsnamespace has been renamed toInterfaces, to avoid any future confusion with the Specification pattern that is common in Domain-Driven Design. HttpStatusis now an interface;HttpStatusObjectis now the implementation.- Added
HttpStatusinterface InformationalStatusis nowHttpInformationalStatus, extendsHttpStatusSuccessfulStatusis nowHttpSuccessfulStatus, extendsHttpStatusRedirectionStatusis nowHttpRedirectionStatus, extendsHttpStatusRequestErrorStatusis nowHttpRequestErrorStatus, extendsHttpStatusRuntimeErrorStatusis nowHttpRuntimeErrorStatus, extendsHttpStatus
- Added
- Added support for HTTP 498 Invalid Token
- Added
InvalidTokenStatusvalue object - Added
InvalidTokenStatusProvidertrait
- Added
v1.0.1 - Mon April 19th 2016
Docs
- Switched to downloaded template.
- Switched to Stuart's fork of Couscous.
- Made Couscous a dev dependency.
v1.0.0 - Sun April 10th 2016
New
- Added a value object to represent each support HTTP status code.
- Added
HttpStatus - Added
ContinueStatusto represent HTTP 100 - Added
SwitchingProtocolsStatusto represent HTTP 101 - Added
ProcessingStatusto represent HTTP 102 - Added
OkStatusto represent HTTP 200 - Added
CreatedStatusto represent HTTP 201 - Added
AcceptedStatusto represent HTTP 202 - Added
NonAuthoritativeInformationStatusto represent HTTP 203 - Added
NoContentStatusto represent HTTP 204 - Added
ResetContentStatusto represent HTTP 205 - Added
PartialContentStatusto represent HTTP 206 - Added
MultiStatusStatusto represent HTTP 207 - Added
AlreadyReportedStatusto represent HTTP 208 - Added
IMUsedStatusto represent HTTP 226 - Added
MultipleChoicesStatusto represent HTTP 300 - Added
MovedPermanentlyStatusto represent HTTP 301 - Added
FoundStatusto represent HTTP 302 - Added
SeeOtherStatusto represent HTTP 303 - Added
NotModifiedStatusto represent HTTP 304 - Added
UseProxyStatusto represent HTTP 305 - Added
TemporaryRedirectStatusto represent HTTP 307 - Added
PermanentRedirectStatusto represent HTTP 308 - Added
BadRequestStatusto represent HTTP 400 - Added
UnauthorizedStatusto represent HTTP 401 - Added
PaymentRequiredStatusto represent HTTP 402 - Added
ForbiddenStatusto represent HTTP 403 - Added
NotFoundStatusto represent HTTP 404 - Added
MethodNotAllowedto represent HTTP 405 - Added
NotAcceptableStatusto represent HTTP 406 - Added
ProxyAuthenticationRequiredStatusto represent HTTP 407 - Added
RequestTimeoutStatusto represent HTTP 408 - Added
ConflictStatusto represent HTTP 409 - Added
GoneStatusto represent HTTP 410 - Added
LengthRequiredStatusto represent HTTP 411 - Added
PreconditionFailedStatusto represent HTTP 412 - Added
PayloadTooLargeStatusto represent HTTP 413 - Added
UriTooLongStatusto represent HTTP 414 - Added
UnsupportedMediaTypeStatusto represent HTTP 415 - Added
RangeNotSatisfiableStatusto represent HTTP 416 - Added
ExpectationFailedStatusto represent HTTP 417 - Added
ImATeapotStatusto represent HTTP 418 - Added
MisdirectedRequestStatusto represent HTTP 421 - Added
UnprocessableEntityStatusto represent HTTP 422 - Added
LockedStatusto represent HTTP 423 - Added
FailedDependencyStatusto represent HTTP 424 - Added
UpgradeRequiredStatusto represent HTTP 426 - Added
PreconditionRequiredStatusto represent HTTP 428 - Added
TooManyRequestsStatusto represent HTTP 429 - Added
RequestHeaderFieldsTooLargeStatusto represent HTTP 431 - Added
UnavailableForLegalReasonsStatusto represent HTTP 451 - Added
InternalServerErrorStatusto represent HTTP 500 - Added
UnexpectedErrorto represent HTTP 500 - Added
NotImplementedto represent HTTP 501 - Added
BadGatewayStatusto represent HTTP 502 - Added
ServiceUnavailableStatusto represent HTTP 503 - Added
GatewayTimeoutStatusto represent HTTP 504 - Added
HttpVersionNotSupportedStatusto represent HTTP 505 - Added
VariantAlsoNegotiatesStatusto represent HTTP 506 - Added
InsufficientStorageStatusto represent HTTP 507 - Added
LoopDetectedStatusto represent HTTP 508 - Added
NotExtendedStatusto represent HTTP 510 - Added
NetworkAuthenticationRequiredStatusto represent HTTP 511
- Added
- Added interfaces to represent each group of HTTP status codes.
- Added
Specifications\InformationalStatusfor HTTP 1xx codes - Added
Specifications\SuccessfulStatusfor HTTP 2xx codes - Added
Specifications\RedirectionStatusfor HTTP 3xx codes - Added
Specifications\RequestErrorStatusfor HTTP 4xx codes - Added
Specifications\RuntimeErrorStatusfor HTTP 5xx codes
- Added
- Added traits to provide HTTP status codes in value objects et al
- Added
Specifications\HttpStatusProviderfor your value objects to implement - Added
ContinueStatusProvider - Added
ProcessingStatusProvider - Added
SwitchingProtocolsStatusProvider - Added
FoundStatusProvider - Added
MovedPermanentlyStatusProvider - Added
MultipleChoicesStatusProvider - Added
NotModifiedStatusProvider - Added
PermanentRedirectStatusProvider - Added
SeeOtherStatusProvider - Added
TemporaryRedirectStatusProvider - Added
UseProxyStatusProvider - Added
BadRequestStatusProvider - Added
ConflictStatusProvider - Added
ExpectationFailedStatusProvider - Added
FailedDependencyStatusProvider - Added
ForbiddenStatusProvider - Added
GoneStatusProvider - Added
ImATeapotStatusProvider - Added
LengthRequiredStatusProvider - Added
LockedStatusProvider - Added
MethodNotAllowedStatusProvider - Added
MisdirectedRequestStatusProvider - Added
NotAcceptableStatusProvider - Added
NotFoundStatusProvider - Added
PayloadTooLargeStatusProvider - Added
PaymentRequiredStatusProvider - Added
PreconditionFailedStatusProvider - Added
PreconditionRequiredStatusProvider - Added
ProxyAuthenticationRequiredStatusProvider - Added
RangeNotSatisfiableStatusProvider - Added
RequestHeaderFieldsTooLargeStatusProvider - Added
RequestTimeoutStatusProvider - Added
TooManyRequestsStatusProvider - Added
UnauthorizedStatusProvider - Added
UnavailableForLegalReasonsStatusProvider - Added
UnprocessableEntityStatusProvider - Added
UnsupportedMediaTypeStatusProvider - Added
UpgradeRequiredStatusProvider - Added
UriTooLongStatusProvider - Added
BadGatewayStatusProvider - Added
GatewayTimeoutStatusProvider - Added
HttpVersionNotSupportedStatusProvider - Added
InsufficientStorageStatusProvider - Added
InternalServerErrorStatusProvider - Added
LoopDetectedStatusProvider - Added
NetworkAuthenticationRequiredStatusProvider - Added
NotExtendedStatusProvider - Added
NotImplementedStatusProvider - Added
ServiceUnavailableStatusProvider - Added
UnexpectedErrorStatusProvider - Added
VariantAlsoNegotiatesStatusProvider - Added
AcceptedStatusProvider - Added
AlreadyReportedStatusProvider - Added
CreatedStatusProvider - Added
IMUsedStatusProvider - Added
MultiStatusStatusProvider - Added
NoContentStatusProvider - Added
NonAuthoritativeInformationStatusProvider - Added
OkStatusProvider - Added
PartialContentStatusProvider - Added
ResetContentStatusProvider
- Added