-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
4.x Remove App Settings #2589
4.x Remove App Settings #2589
Conversation
Unfortunately, this information is useless because nobody knows where to find this discussion. It would be better to publish a summary and the result of the discussion. A link reference would also be sufficient. |
Fair point, it's just that not all discussions happen via the GitHub repository. We have a private channel on Slack where we have some internal discussions. I do agree though that it should maybe be discussed in issues instead of on our private channel. I apologize for that. |
Conversation was on Slack.
See https://slimphp.slack.com/messages/C06SHUR19/
… On 23 Feb 2019, at 07:51, Frank Brückner ***@***.***> wrote:
@l0gicgate <https://github.com/l0gicgate>
…as per discussion @akrabat <https://github.com/akrabat>
Unfortunately, this information is useless because nobody knows where to find this discussion. It would be better to publish a summary and the result of the discussion. A link reference would also be sufficient.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#2589 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AACBb94lWlOCaJZl7ChKrgmQWiRcuqACks5vQPLvgaJpZM4bMv5L>.
--
Development thoughts at http://akrabat.com
Daily Jotter for macOS at http://dailyjotter.com
|
@akrabat @froschdesign I just added the details in the description of this PR as well. |
@l0gicgate @akrabat |
I completely agree, I will make sure going forward that everything is documented here as much as possible if we do have internal discussions. I normally open issues so we can track it, in this instance I did not and I should have. My apologies. |
Please update the CHANGELOG :) |
Done @akrabat |
Remove
App
settings and associated tests as per discussion @akrabat via Slack.We have removed all of the settings from the
App
. The customization that those settings provided are now available in the instantiation of core middleware or the logic to apply those settings has changed.The settings deprecated:
httpVersion
This can be set via your PSR-7 implementation'sResponseFactory
if availablerouterCacheFile
You have to get the router viaApp::getRouter()
then$router->setCacheFile($file)
displayErrorDetails
is now moved toErrorMiddleware
's constructor parametersoutputBuffering
is now moved toOutputBufferingMiddleware
's constructor parametersdetermineRouteBeforeAppMiddleware
is now moved to order in which you addRoutingMiddleware
responseChunkSize
is moved toResponseEmitter
's constructor parametersaddContentLengthHeader
is defined by whether or not you addContentLengthMiddleware
to your middleware queueWill need to update
CHANGELOG