Repository navigation
Comparing changes
Open a pull request
base repository: docker-php/docker-php
base: 31fb094
head repository: docker-php/docker-php
compare: 2bcaa72
- 13 commits
- 50 files changed
- 2 contributors
Commits on Oct 8, 2026
-
feat!: support Docker Engine API v1.45 to v1.56
Allow every docker-php/docker-php-api line from 7.1.45 to 7.1.56. Detect the installed line's version from the generated client and use it as the default request version. Without api_version or DOCKER_API_VERSION, the bundled factory now negotiates: it pings /_ping once and uses the lower of the daemon's and the installed line's API version, as the Docker CLI does. Connection errors from the ping propagate instead of being retried. Handle differences between the generated lines: accept the Accept parameter added to systemEvents() in API 1.52, decode stats samples into ContainerStatsResponse from API 1.48, and add FrameError::message() for progress frames whose error field changed in API 1.52. Decode integers above PHP_INT_MAX as PHP_INT_MAX. Docker reports pids_stats.limit as the largest uint64 for a container without a PID limit, and the generated integer setters rejected it as a float. Throw for error statuses the generated endpoints do not handle, and apply .dockerignore in build contexts, by default. Both keep an opt-out. Run CI against every API line on the runner's daemon, which negotiates the newest lines down, and the newest line against Docker 29. BREAKING CHANGE: Composer installs the newest API line unless the application requires one, and generated model names and fields differ between lines. Require docker-php/docker-php-api >=7.1.45.0 <7.1.46.0 to keep the 3.x models. Unhandled error statuses throw instead of returning null; call throwOnUnexpectedStatus(false) to keep null. Context applies .dockerignore; call applyDockerignore(false) to archive the whole directory. Subclasses overriding systemEvents() need the new $accept parameter.
Configuration menu - View commit details
-
Copy full SHA for f2148a9 - Browse repository at this point
Copy the full SHA f2148a9View commit details -
Describe API line selection, version negotiation and the new defaults. Add a 3.x upgrade section and make examples work on every API line.
Configuration menu - View commit details
-
Copy full SHA for 3df8a61 - Browse repository at this point
Copy the full SHA 3df8a61View commit details -
Add the 4.0.0 changelog and update the main branch alias.
Configuration menu - View commit details
-
Copy full SHA for b140117 - Browse repository at this point
Copy the full SHA b140117View commit details -
test(docs): use the IDResponse model name from API 1.48
API 1.48 renamed IdResponse to IDResponse. Pick the generated class that exists, since class files are looked up case-sensitively on Linux.
Configuration menu - View commit details
-
Copy full SHA for ca82f41 - Browse repository at this point
Copy the full SHA ca82f41View commit details -
docs: lead the upgrade guide with 2.x and Beluga
Most applications upgrading to 4.0 come from the original 2.x client or from beluga-php/docker-php 1.45.x. Link both from the docs home page, list them before 3.x in the upgrade guide and README, and point them to the 3.x changes, which also apply to them. Fix the home page card that still said 3.0.
Configuration menu - View commit details
-
Copy full SHA for a29719c - Browse repository at this point
Copy the full SHA a29719cView commit details -
chore(docs): patch vulnerable documentation tooling dependencies
Update mint to 4.2.992 and override the transitive versions that the latest Mintlify CLI still pins: axios, sharp, adm-zip, js-yaml 4, qs, katex, postcss-selector-parser, fflate and the MCP SDK. front-matter still needs js-yaml 3, which pulls in sprintf-js, and sprintf-js has no patched release.
Configuration menu - View commit details
-
Copy full SHA for f70e26c - Browse repository at this point
Copy the full SHA f70e26cView commit details -
docs: link the navbar to the Docker Engine API reference index
The 4.0 client supports API v1.45 to v1.56, so link the reference index instead of the v1.45 page.
Configuration menu - View commit details
-
Copy full SHA for ffc3386 - Browse repository at this point
Copy the full SHA ffc3386View commit details
Commits on Oct 9, 2026
-
build(deps): conflict with Jane runtimes before 7.14.4 and php-http/m…
…essage before 1.16 Older Jane runtimes and php-http/message releases depend on the abandoned php-http/message-factory package. The client allows API package revisions that still accept them, so lowest-dependency installs pulled it in.
Configuration menu - View commit details
-
Copy full SHA for 81e25df - Browse repository at this point
Copy the full SHA 81e25dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9673608 - Browse repository at this point
Copy the full SHA 9673608View commit details
Commits on Oct 12, 2026
-
chore: remove the funding links
Drop the funding entry from composer.json and .github/FUNDING.yml, which pointed to the Beluga maintainer's sponsorship pages.
Configuration menu - View commit details
-
Copy full SHA for a5d28ca - Browse repository at this point
Copy the full SHA a5d28caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 69d5fc5 - Browse repository at this point
Copy the full SHA 69d5fc5View commit details
Commits on Oct 15, 2026
-
chore(deps): bump shivammathur/setup-php from 2.37.2 to 2.40.0 (#365)
Bumps [shivammathur/setup-php](https://github.com/shivammathur/setup-php) from 2.37.2 to 2.40.0. - [Release notes](https://github.com/shivammathur/setup-php/releases) - [Commits](shivammathur/setup-php@f3e473d...eb7c497) --- updated-dependencies: - dependency-name: shivammathur/setup-php dependency-version: 2.40.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 565c1e4 - Browse repository at this point
Copy the full SHA 565c1e4View commit details -
chore(deps): bump actions/setup-node from 7.0.0 to 7.1.0 (#366)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 7.0.0 to 7.1.0. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](actions/setup-node@8207627...949feb2) --- updated-dependencies: - dependency-name: actions/setup-node dependency-version: 7.1.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 2bcaa72 - Browse repository at this point
Copy the full SHA 2bcaa72View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 31fb094...2bcaa72