[wp-trac] [WordPress Trac] #35971: Move release history to api.wordpress.org
WordPress Trac
noreply at wordpress.org
Sat Feb 27 01:38:34 UTC 2016
#35971: Move release history to api.wordpress.org
----------------------------+-----------------------------
Reporter: ramiy | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version:
Severity: normal | Keywords:
Focuses: administration |
----------------------------+-----------------------------
Currently, the `about.php` page has a release history for minor versions.
The problem is that this information is hardcoded in the about page.
Each time a new minor version released, the about page is updated with new
strings linking to the new version codex page - for example
https://core.trac.wordpress.org/changeset/36455. For each security
version, it's done for all previous versions (3.7-4.4). See the attached
screenshots.
I would like to move the minor version release history to
[https://api.wordpress.org/ api.wordpress.org], this way all the
information will be pulled automatically for each version, and will be
available for external services - not just for wordpress core. Again, if
it won't be hardcoded, this information will be available to external
services.
I can write the code for the core, and create the API in dotorg (separate
ticket will be opened in meta trac).
----
Proposed API endpoint: https://api.wordpress.org/core/minor-
versions/1.0/?version={wp_version}
The API will return a list of minor versions. For each release we will
provide information like: version number, release date, release type
(maintenance, security or both), number of bugs fixed and a codex link to
the release notes.
Basic API response (can be changed):
{{{
{
"data" : {
"version" : "4.4"
},
"minor-versions" : [
{
"number" : "4.4.1",
"date" : "2016-01-06 00:00:00",
"type" : "security",
"bugs" : "16",
"url" :
"https://codex.wordpress.org/Version_4.4.1"
},
{
"number" : "4.4.2",
"date" : "2016-02-02 00:00:00",
"type" : "security",
"bugs" : "52",
"url" :
"https://codex.wordpress.org/Version_4.4.2"
},
]
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35971>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list