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
Possible roadmap #731
Comments
The changes for PSR-18 support will take to long, but I would like to release the features for PSR-16 soon. I think it would be better to split the planned features for 1.8.0 into two releases. |
Now that we have raised the minimum version of PHP above 7.0, we could start enabling the strict type checking) internally. |
Good point. I once tried to enable it everywhere while I was working on #743 and it fails catastrophically. 😅 Thats why I set Update: see #763 |
@Art4 Regarding 1.9.0: Unfortunately, there were several regressions like #810. We might either want fix all typing issues, possibly with the help of #837, or revert #763 for now.
Do we need explicit support? Can’t the consumer just use your adapter library?
I would remove it from 1.9 milestone unless we have someone interested in working on this. |
I definitely prefer #837. If a hotfix for e.g. 1.8.1 is needed I would prefer to remove the
This was added from the original removed ROADMAP.md: One could of course use the (relatively new adapter library) but the idea was to check for the existence of Requests and use the library, instead of the deprecated, not maintained File class. This way we could provide a nicer upgrade path without having a new dependency. This check should be removed again in v2 and a PSR-18 client must be used.
Fair enough. I will move it to 2.1.0 and we will see if someone complains about it. @mblaney Any thoughts about this? |
To be honest, I do not see the point of introducing whole another As I see it, the only benefit would be that consumers that already use The original roadmap was created when there was no PSR-18 or even HTTPlug so the suggestion for Requests made sense then. But the ecosystem have moved, IMO. |
@jtojnar makes a good point @Art4, but if you want to do the extra steps on the roadmap that's fine with me. Otherwise I agree, remove anything that doesn't fit since you originally wrote it. Is #837 ready to merge? Would be good to get open PRs in then decide if you're both ready for 1.9 or get 1.8.1 out before then. |
@mblaney @jtojnar I'm totally with you both. I tried to implement PSR-18 in Requests directly (see WordPress/Requests#768) because this would be the best benefit for all. The library was then created from this PR, so the planned Requests implementation in SimplePie is obsolete. I will remove this issue from the roadmap. For 1.9.0 we should merge #777 (and possible fixes from #826). And I recommend to merge #837 and deprecate the |
It is ready from my side, would still be good to get another set of eyes on it in case I missed something. But as mentioned elsewhere, we need get PHPStan to at least level 8 to detect the |
I moved the some issues like "deprecate the SimplePie\File class" into a new minor release as proposed in #850. |
In this issue I collect the progress of the refactoring of SimplePie. This roadmap serves me as a central place for rough planning. Please note that the roadmap is only my personal proposal for the further development of SimplePie, but has not been officially confirmed by the SimplePie team.
I would love to hear feedback from the SimplePie team and community. Please share your thoughts on what you think of this roadmap.
Possible roadmap
All changes must be backward compatible to adheres Semantic Versioning. Breaking changes are allowed with the release of 2.0.0.
🚀 SimplePie 1.6.0
(Allow usage of PSR-4 namespaced classes)
build/compile.php
or the need at all. Upload compiled file as asset + tests #725🚀 SimplePie 1.7.0
(Refactoring to use PSR-4 internally, refactoring tests)
🚀 SimplePie 1.8.0
(Allow external cache implementations)
🏗️ SimplePie 1.9.0
(Allow external HTTP libraries)
@package
and@subpackage
#780idn_to_ascii
function instead ofidna_convert
library #785Allow the usage of Requests as HTTP client library(use an adapter instead)🔲 SimplePie 1.10.0
(deprecate File, Locator, Sniffer classes and provide alternatives)
SimplePie\File
class (provide HTTP client instead)🔲 SimplePie 1.11.0
(Trigger deprecation warnings to prepare for upgrade to SimplePie 2.0.0)
library
folder, see Add namespaced classes and PSR-4 support #711 (comment)SimplePie\File
(provide PSR-18 implementation instead)SIMPLEPIE_VERSION
, useSimplePie\SimplePie::VERSION
instead🔲 SimplePie 2.0.0
(BC breaks are allowed; Require external HTTP library and cache implementation)
enable_exceptions
, throw always exceptionslibrary
folder🔲 SimplePie 2.1.0
(To be determined)
Old
ROADMAP.md
This roadmap is based on the (10 year old)
./ROADMAP.md
that is now outdated.The text was updated successfully, but these errors were encountered: