-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
Remove support for GD images in Stream implementation #148
Remove support for GD images in Stream implementation #148
Conversation
These have evidently never worked, but feature removal needs to happen in a new major. Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
Prepares the v3 documentation tree, and modifies the following: - The migration guide is now for v3, and covers the GdImage changes in this patch. - The "API" page removes references to usage of GdImage with `Stream`. - The TOC is updated to add version 3. Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we re-introduce the stream compat check in StreamFactory
as it was removed in https://github.com/laminas/laminas-diactoros/pull/45/files#diff-565876e19198a94175bb659207c750dcb80cbbfa104490c6fad5322dd05d5febL49-L53 or do we verify that by waiting for the check in __construct
=> setStream
of Stream#__construct
?
It's stil there, just done in a different way. In Keeping it this way allows us to more easily expand it in the future, and keeps the same check that we had prior to adding GD support anyways. |
That was what I wanted to clarify. If we are happy with implicit validation, thats okay for me as well. |
I would like mentions of GD removed from documentation in v2 folder too so it won't be on live site anymore when this is released since it never worked. |
If it didn't work, don't mention it. Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
Done. |
Co-authored-by: Aleksei Khudiakov <aleksey@xerkus.pro> Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
Thank you! |
Description
GdImage-backed
Stream
instances have evidently never worked, but feature removal needs to happen in a new major.See #57, #134, and #147 for full details behind removal.