Skip to content

GET /releases/branches.php serves stale/inconsistent latest from CDN edge cache #2007

Closed as not planned

Description

@z-Fng

Affected Page URL

https://www.php.net/releases/branches.php

Describe the bug

Since around the 8.5.10 release, repeated requests for this endpoint intermittently return "latest": "8.5.9" or "latest": "8.5.10" for the 8.5 branch.

Steps to reproduce

Some package managers rely on this for latest release detection, as evidenced by version checks and upgrades flapping between two versions.

Expected behavior

/releases/branches.php should be effectively up-to-date and consistent for consumers. Ideally the CDN purges /releases/branches.php whenever release data is deployed.

Screenshots

Image

Additional context

No response

Activity

  1. z-Fng commented on Sep 18, 2026

    @z-Fng
    Author

    As the cache expired or the CDN cache was purged, this issue no longer occurred. Hope this API endpoint is more reliable.

  2. reopened this on Sep 26, 2026
  3. z-Fng commented on Sep 26, 2026

    @z-Fng
    Author

    It seems to have happened again. Any updates on investigating what went wrong?

    "/releases/branches.php":

    Did I miss something? Is there any specific reason the CDN cache for this API is set to expire in 30 days and is not purged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions