-
Notifications
You must be signed in to change notification settings - Fork 498
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
Roadmap for Requests 2.0 #460
Comments
Just thinking: I'd like to suggest dropping support for releasing the package via PEAR in v 2.0.0 as well. If so, this should probably also be mentioned in the changelog of 1.8.0 re: "Upcoming changes". /cc @schlessera |
For anyone watching this ticket/this repo: We're currently planning two triage sessions for Requests 2.0 and would welcome anyone who's interested in contributing to join us. We'll be going through some of the open PRs, testing them, and generally trying to get them ready for merging. The triage sessions are currently planned for:
Please leave a message here if you'd like to join in! |
Also an update on the planning for Requests 2.0: As there are a number of PHP 8.1 related fixes which have recently been merged, we'd like to do a release well in time before the PHP 8.1 general release, so any libraries and frameworks using Requests will have a PHP 8.1 compatible version available in time. With that in mind, the current planning is:
Obviously this planning is subject to change, but we'll try to stay relatively close to it. |
Another one to consider dropping support for and removing all references to it in codebase and docs: HHVM. I've come across a few references in the codebase, but can hardly imagine that Requests still works properly with HHVM given that HHVM dropped support for PHP at the end of 2018. @schlessera Do you agree ? |
After discussion today and with the test PR for WordPress passing, we've decided NOT to do an RC release. The tentative release for the 2.0.0 version remains September 30, with a two-week delay window if needs be. |
Closing as released: https://github.com/WordPress/Requests/releases/tag/v2.0.0 |
@schlessera and me had a call yesterday. This issue will share some conclusions from that call, as well as contain a proposal for next steps.
Planning
The current planning is to release version 1.8.0 very soon, as in: within the next few weeks.
That will be the last release supporting PHP < 5.6.
After that release, work will start on version 2.0.0, for which the most important change is the change in the minimum supported PHP version.
While the version drop doesn't have to be in a major release, we are aware that not all projects which use this package use Composer to install it, which is why we are making a deliberate choice to move the version drop to a major release.
Initial proposal for changes to be included in 2.0.0
composer.json
file__DIR__
, use of short arrays, etc. Related PRs: Modernize: use magic __DIR__ constant in lib code and example code #504, Modernize: use the magic ::class constant #506, CS: use short arrays #623 (more to follow)Requests_Transport_(fsockopen|cURL)
#499, PHP 8.1: fix deprecation notices inRequests_Transport_cURL
#500, GH Actions: run tests against PHP 8.1 #501, PHP 8.1: fix deprecation warnings #505. Also related: Add input validation #593Initial planning for 2.0.0
The current idea is to release version 2.0.0 soon after 1.8.0 without significant functional changes, though functional change PRs which are, or become, ready to merge during the 2.0.0 development cycle will definitely be considered for inclusion.
Call for contributors
Once work on 2.0.0 starts, @schlessera and me plan to have one or more public triage calls or Slack meetings (format to be determined) in which we'll go through open issues and open PRs to determine next steps: rebase, finish off and merge, milestone as a viable feature for a future release or close.
We'd very much would like to welcome anyone who wants to contribute to this repo to those calls and would very much welcome contributions to any open actions which will result from those calls.
As soon as a date and time for the first triage call has been set, it will be announced here.
The text was updated successfully, but these errors were encountered: