Add a cachebuster= argument to API requests - #1677
Merged
Merged
Conversation
This avoids over-aggressive caches: ```diff $ diff -u \ <(curl -fsSL 'https://www.php.net/releases/index.php?json&max=100&version=8' | jq 'keys_unsorted') \ <(curl -fsSL 'https://www.php.net/releases/index.php?json&max=100&version=8' -H 'accept-language: en-US,en;q=0.9' | jq 'keys_unsorted') --- /dev/fd/63 2026-07-30 14:37:22.845857517 -0700 +++ /dev/fd/62 2026-07-30 14:37:22.845857517 -0700 @@ -1,7 +1,11 @@ [ - "8.5.8", + "8.5.9", + "8.4.24", + "8.3.33", + "8.2.33", "8.4.23", "8.3.32", + "8.5.8", "8.2.32", "8.5.7", "8.4.22", @@ -94,9 +98,5 @@ "8.1.25", "8.2.12", "8.1.24", - "8.2.11", - "8.1.23", - "8.2.10", - "8.1.22", - "8.2.9" + "8.2.11" ] ```
Member
Author
$ ./versions.sh
8.2: 8.2.33
8.3: 8.3.33
8.4: 8.4.24
8.5: 8.5.9
8.6-rc: 8.6.0alpha3$ git diff
diff --git a/versions.json b/versions.json
index a495b7d1..362091db 100644
--- a/versions.json
+++ b/versions.json
@@ -1,9 +1,9 @@
{
"8.2": {
- "version": "8.2.32",
- "url": "https://www.php.net/distributions/php-8.2.32.tar.xz",
- "ascUrl": "https://www.php.net/distributions/php-8.2.32.tar.xz.asc",
- "sha256": "e02aa173c236c12791696254d607da680e6d5516f8f5c2339642de7c4f944bd2",
+ "version": "8.2.33",
+ "url": "https://www.php.net/distributions/php-8.2.33.tar.xz",
+ "ascUrl": "https://www.php.net/distributions/php-8.2.33.tar.xz.asc",
+ "sha256": "fbdeace9b38220436a4c8fd79b900df92878151db145e641750743a283b514c1",
"variants": [
"trixie/cli",
"trixie/apache",
@@ -23,10 +23,10 @@
},
"8.2-rc": null,
"8.3": {
- "version": "8.3.32",
- "url": "https://www.php.net/distributions/php-8.3.32.tar.xz",
- "ascUrl": "https://www.php.net/distributions/php-8.3.32.tar.xz.asc",
- "sha256": "8698ec1f9402fa5e5e872ae3d0916b62f5f27503c1fbfc9cc3521e113355ea92",
+ "version": "8.3.33",
+ "url": "https://www.php.net/distributions/php-8.3.33.tar.xz",
+ "ascUrl": "https://www.php.net/distributions/php-8.3.33.tar.xz.asc",
+ "sha256": "e293ed620cec74651bb4a071317892a478aa6840fab22db45c72d77cd42f9676",
"variants": [
"trixie/cli",
"trixie/apache",
@@ -46,10 +46,10 @@
},
"8.3-rc": null,
"8.4": {
- "version": "8.4.23",
- "url": "https://www.php.net/distributions/php-8.4.23.tar.xz",
- "ascUrl": "https://www.php.net/distributions/php-8.4.23.tar.xz.asc",
- "sha256": "1ab9f52008414e43bb2427ffa288eff2a4de39e1a830f957e800ba368d887a72",
+ "version": "8.4.24",
+ "url": "https://www.php.net/distributions/php-8.4.24.tar.xz",
+ "ascUrl": "https://www.php.net/distributions/php-8.4.24.tar.xz.asc",
+ "sha256": "e127be09a8506f4327c5cfa78a614b00d210714484ec215ce0011b4a03c00731",
"variants": [
"trixie/cli",
"trixie/apache",
@@ -69,10 +69,10 @@
},
"8.4-rc": null,
"8.5": {
- "version": "8.5.8",
- "url": "https://www.php.net/distributions/php-8.5.8.tar.xz",
- "ascUrl": "https://www.php.net/distributions/php-8.5.8.tar.xz.asc",
- "sha256": "58910198d19e873048fe87cdfe16bc790025417ede3d1651bfa1c4b533d573f2",
+ "version": "8.5.9",
+ "url": "https://www.php.net/distributions/php-8.5.9.tar.xz",
+ "ascUrl": "https://www.php.net/distributions/php-8.5.9.tar.xz.asc",
+ "sha256": "0db7855f25bcd0ab1d592cdb35e284d6f6a5d2ae0f6f621122e364cc39b708f4",
"variants": [
"trixie/cli",
"trixie/apache", |
docker-library-bot
added a commit
to docker-library-bot/official-images
that referenced
this pull request
Jul 30, 2026
Changes: - docker-library/php@445bf414: Update to 8.5.9, 8.4.24, 8.3.33, 8.2.33 - docker-library/php@319d5ab7: Skip arm32v6 on 8.6.0alpha2 (and alpha3) (docker-library/php#1676) - docker-library/php@b0dbbcc5: Add a `cachebuster=` argument to API requests (docker-library/php#1677) - docker-library/php@c3638935: Update 8.6-rc to 8.6.0alpha3 - docker-library/php@1c88b272: Update 8.5-rc - docker-library/php@5de93e32: Update 8.4-rc
tianon
pushed a commit
to docker-library/official-images
that referenced
this pull request
Jul 30, 2026
Changes: - docker-library/php@445bf414: Update to 8.5.9, 8.4.24, 8.3.33, 8.2.33 - docker-library/php@319d5ab7: Skip arm32v6 on 8.6.0alpha2 (and alpha3) (docker-library/php#1676) - docker-library/php@b0dbbcc5: Add a `cachebuster=` argument to API requests (docker-library/php#1677) - docker-library/php@c3638935: Update 8.6-rc to 8.6.0alpha3 - docker-library/php@1c88b272: Update 8.5-rc - docker-library/php@5de93e32: Update 8.4-rc Co-authored-by: Docker Library Bot <doi+docker-library-bot@docker.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This avoids over-aggressive caches: