php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #73694 Releases json or serialize list no longer shows 7.0.x releases
Submitted: 2016-12-08 20:36 UTC Modified: 2019-05-21 19:10 UTC
From: rok dot zlender at acquia dot com Assigned: petk (profile)
Status: Closed Package: Website problem
PHP Version: Irrelevant OS: MacOS
Private report: No CVE-ID: None
 [2016-12-08 20:36 UTC] rok dot zlender at acquia dot com
Description:
------------
We use https://secure.php.net/releases/?json to automate our PHP builds. For PHP 7.0.14 we are unable to use this list anymore since 7.0 is no longer listed.

curl https://secure.php.net/releases/\?json
{"7":{"announcement":true,"source":[{"filename":"php-7.1.0.tar.bz2","name":"PHP 7.1.0 (tar.bz2)","md5":"54e364b60a88db77adb96aacb10f10a4","sha256":"68bcfd7deed5b3474d81dec9f74d122058327e2bed0ac25bbc9ec70995228e61","date":"01 Dec 2016"},{"filename":"php-7.1.0.tar.gz","name":"PHP 7.1.0 (tar.gz)","md5":"ec2218f97b4edbc35a2d7919ff37a662","sha256":"9e84c5b13005c56374730edf534fe216f6a2e63792a9703d4b894e770bbccbae","date":"01 Dec 2016"},{"filename":"php-7.1.0.tar.xz","name":"PHP 7.1.0 (tar.xz)","md5":"cf36039303c47f493100afea522a8f53","sha256":"a810b3f29c21407c24caa88f50649320d20ba6892ae1923132598b8a0ca145b6","date":"01 Dec 2016"}],"version":"7.1.0"},"5":{"announcement":true,"source":[{"filename":"php-5.6.28.tar.bz2","name":"PHP 5.6.28 (tar.bz2)","md5":"56758fdb5ff156a36fb600950b7999aa","sha256":"c55ea3f4aad5a0b65631d01c4468930fd981ad208ffcd242acdf731bcb47548f","date":"10 Nov 2016"},{"filename":"php-5.6.28.tar.gz","name":"PHP 5.6.28 (tar.gz)","md5":"db41e97006dd9660208c0f3d32ce192e","sha256":"27a47ac15e0868d51181d3909cfe3c63ae9b643a3ab40dc30a75b5b500bce500","date":"10 Nov 2016"},{"filename":"php-5.6.28.tar.xz","name":"PHP 5.6.28 (tar.xz)","md5":"1e01c66b2e67ab3b56a6180ee560fe4c","sha256":"07187ba2870f89cef334cd2ad6cb801aeec5eaf283da0293a9a6be75d6786d11","date":"10 Nov 2016"}],"date":"10 Nov 2016","version":"5.6.28"},"4":{"announcement":{"English":"\/releases\/4_4_9.php"},"source":[{"filename":"php-4.4.9.tar.bz2","name":"PHP 4.4.9 (tar.bz2)","md5":"2e3b2a0e27f10cb84fd00e5ecd7a1880","date":"07 August 2008"},{"filename":"php-4.4.9.tar.gz","name":"PHP 4.4.9 (tar.gz)","md5":"9bcc1aba50be0dfeeea551d018375548","date":"07 August 2008"}],"windows":[{"filename":"php-4.4.9-Win32.zip","name":"PHP 4.4.9 zip package","md5":"7395068d5489a9f8abf50c6e4b48622f","date":"07 August 2008"}],"date":"07 August 2008","museum":true,"version":"4.4.9"},"3":{"date":"20 Oct 2000","source":[{"filename":"php-3.0.18.tar.gz","name":"PHP 3.0.18 Source Code","md5":"b4b8f7f1151ce66d5f3910a066651133"}],"windows":[{"filename":"php-3.0.17-win32.zip","name":"PHP 3.0.17 Windows binary","md5":"29029ac1c3c2075dce38bbd804c42f72"}],"museum":true,"version":"3.0.x (latest)"}}%

Expected result:
----------------
We expect to get results for all supported PHP versions 5.6, 7.0, 7.1

Actual result:
--------------
Only 5.6 and 7.1 are on the list.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-05-21 19:10 UTC] petk@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: petk
 [2019-05-21 19:10 UTC] petk@php.net
Hello, this has been gradually fixed via multiple commits since and thanks to other contributors. Now the JSON API-alike endpoint can be accessed via 
https://www.php.net/releases/index.php?json&version=7.0

and similar... For example, to show 7 active releases:
https://www.php.net/releases/index.php?json&version=7

In case more is required, please report back via new issue what more is needed here.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 02:01:29 2024 UTC