You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f2148a9
Browse filesBrowse the repository at this point in the historyBrowse files
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.
0 commit comments