Releases: stubbles/stubbles-webapp-core
Releases · stubbles/stubbles-webapp-core
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\AddAccessControlAllowOriginHeader
does not acceptnull
any 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/jpeg
as default supported mime type when stubbles/image is present stubbles\webapp\auth\InternalAuthProviderException
andstubbles\webapp\auth\ExternalAuthProviderException
now accept\Throwable
as cause instead of\Exception
only- 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\ProtectedResource
should respond with 401 instead of 403 when no user found- Extended interface
stubbles\webapp\Response
with new methodunauthorized(array $challenges)
- Extended interface
stubbles\webapp\auth\AuthenticationProvider
with 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\Csv
will now throw an exception when a line can't be serialized instead of silently converting to an empty linestubbles\webapp\htmlpassthrough\HtmlFilePassThrough
now serves an error 500 in case the file can't be readstubbles\webapp\UriPath::remaining()
now returns an empty string instead ofnull
if 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()
6.1.0 - Bug & Get
- added
stubbles\webapp\RoutingConfigurator::redirectOnGet()
to specify simple redirects - added support for displaying an API index with
stubbles\webapp\RoutingConfigurator::apiIndexOnGet()
- fixed bug where allowed methods on 404 Method Not Allowed response contained methods more than once
- fixed bug that allowed methods on 404 Method Not Allowed response did not contain HEAD when GET was allowed
- upgraded stubbles/core to 6.0