Skip to content

Releases: stubbles/stubbles-webapp-core

10.0.0 - Move slow, but it probably still breaks things

29 Jan 16:52
v10.0.0
f4131fd
Compare
Choose a tag to compare

BC breaks

  • Raised minimum required PHP version to 8.2
  • Constructor of stubbles\webapp\interceptor\AddAccessControlAllowOriginHeader does not accept null any more as argument for the list of allowed hosts

9.1.0 - Fake it 'til you make it

25 Dec 13:41
v9.1.0
78ed605
Compare
Choose a tag to compare
  • Allow to supplant request method for PUT and DELETE on POST requests via request parameter _method

9.0.0 - Almost ten

18 Dec 15:30
Compare
Choose a tag to compare

BC breaks

  • Changed stubbles\webapp\interceptor\PreInterceptor::preProcess() and stubbles\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 and stubbles\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

04 Dec 09:43
Compare
Choose a tag to compare
  • fixed bug with stubbles\webapp\request\WebRequest::uri() parsing port incorrectly

8.0.0 - Unauthorized

19 Nov 16:23
Compare
Choose a tag to compare

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 method unauthorized(array $challenges)
    • Extended interface stubbles\webapp\auth\AuthenticationProvider with new method challengesFor(stubbles\webapp\Request $request): array
    • Added new method stubbles\webapp\response\Error::unauthorized()
    • Deprecated stubbles\webapp\routing\ConfigurableRoute::forbiddenWhenNotAlreadyLoggedIn(), use stubbles\webapp\routing\ConfigurableRoute::sendChallengeWhenNotLoggedIn() instead, will be removed with 9.0
    • Deprecated stubbles\webapp\auth\AuthConstraint::loginAllowed(), use stubbles\webapp\auth\AuthConstraint::redirectToLogin() instead, will be removed with 9.0
  • 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 line
  • stubbles\webapp\htmlpassthrough\HtmlFilePassThrough now serves an error 500 in case the file can't be read
  • stubbles\webapp\UriPath::remaining() now returns an empty string instead of null if there is no remaining path and no default given

7.0.0 - Hint: type

18 Nov 14:42
Compare
Choose a tag to compare

BC breaks

  • Raised minimum required PHP version to 7.0
  • introduced scalar type hints and strict type checking

6.2.2 - Chromium

18 Nov 14:42
Compare
Choose a tag to compare

6.2.1 - More info, please

18 Nov 14:41
Compare
Choose a tag to compare
  • API index now contains information about globally supported mime types

6.2.0 - In Params we don't trust

18 Nov 14:41
Compare
Choose a tag to compare
  • added stubbles\webapp\response\Error::inParams()

6.1.0 - Bug & Get

18 Nov 14:40
Compare
Choose a tag to compare
  • 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