Releases: stubbles/stubbles-webapp-core
Releases · stubbles/stubbles-webapp-core
11.0.0 - Don't loose the pulse
BC breaks
- raised minimum required PHP version to 8.3
- added return type hint
voidto\stubbles\webapp\auth\token\TokenStore::store() \stubbles\webapp\response\mimetypes\Csvdoesn't use default escape character \ anymore
Other changes
- ensured compatibility with PHP 8.5
10.0.0 - Move slow, but it probably still breaks things
BC breaks
- Raised minimum required PHP version to 8.2
- Constructor of
stubbles\webapp\interceptor\AddAccessControlAllowOriginHeaderdoes not acceptnullany more as argument for the list of allowed hosts
9.1.0 - Fake it 'til you make it
- Allow to supplant request method for PUT and DELETE on POST requests via request parameter
_method
9.0.0 - Almost ten
BC breaks
- Changed
stubbles\webapp\interceptor\PreInterceptor::preProcess()andstubbles\webapp\interceptor\PostInterceptor::postProcess()to always return a boolean value
Other changes
- Added
stubbles\webapp\request\WebRequest::uploads()which provides access to uploaded files - Added
image/jpegas default supported mime type when stubbles/image is present stubbles\webapp\auth\InternalAuthProviderExceptionandstubbles\webapp\auth\ExternalAuthProviderExceptionnow accept\Throwableas cause instead of\Exceptiononly- Fixed type error when user agent name string is
null
8.0.1. - Numbers, numbers, numbers
- fixed bug with
stubbles\webapp\request\WebRequest::uri()parsing port incorrectly
8.0.0 - Unauthorized
BC breaks
- Raised minimum required PHP version to 7.3
- Implemented issue #73
stubbles\webapp\auth\ProtectedResourceshould respond with 401 instead of 403 when no user found- Extended interface
stubbles\webapp\Responsewith new methodunauthorized(array $challenges) - Extended interface
stubbles\webapp\auth\AuthenticationProviderwith new methodchallengesFor(stubbles\webapp\Request $request): array - Added new method
stubbles\webapp\response\Error::unauthorized() - Deprecated
stubbles\webapp\routing\ConfigurableRoute::forbiddenWhenNotAlreadyLoggedIn(), usestubbles\webapp\routing\ConfigurableRoute::sendChallengeWhenNotLoggedIn()instead, will be removed with 9.0 - Deprecated
stubbles\webapp\auth\AuthConstraint::loginAllowed(), usestubbles\webapp\auth\AuthConstraint::redirectToLogin()instead, will be removed with 9.0
- Extended interface
- Added more type hints
stubbles\webapp\response\mimetypes\Csvwill now throw an exception when a line can't be serialized instead of silently converting to an empty linestubbles\webapp\htmlpassthrough\HtmlFilePassThroughnow serves an error 500 in case the file can't be readstubbles\webapp\UriPath::remaining()now returns an empty string instead ofnullif there is no remaining path and no default given
7.0.0 - Hint: type
BC breaks
- Raised minimum required PHP version to 7.0
- introduced scalar type hints and strict type checking
6.2.2 - Chromium
- put filename in Content-Disposition header in double quotes, see https://code.google.com/p/chromium/issues/detail?id=103618
6.2.1 - More info, please
- API index now contains information about globally supported mime types
6.2.0 - In Params we don't trust
- added
stubbles\webapp\response\Error::inParams()