Repository navigation
v7.1.45.1
What's Changed
- fix(api): regenerate v1.45 with Docker's spec fixes in fa4e3a8
This release still targets Docker Engine API v1.45. It is regenerated from Docker's api/docs/v1.45.yaml, which now includes fixes Docker backported to older API specs. The 7.1.46 and later lines were already generated from this commit.
Array query parameters are now sent as repeated parameters. Before this, imageGetAll(['names' => ['a', 'b']]) sent names=a,b, which Docker does not split, so exporting more than one image failed. imageCreate changes had the same problem.
Some signatures changed. These endpoints no longer list text/plain error responses, so they send Accept: application/json and their client methods and endpoint constructors drop the $accept argument: containerDelete, containerKill, containerPause, containerRename, containerResize, containerRestart, containerStart, containerStop, containerUnpause, networkDelete, pluginCreate, pluginSet, pluginUpgrade and volumeDelete. Positional calls that still pass $accept keep working because PHP ignores the extra argument. Calls that use the named argument accept: need to drop it.
containerResize now throws ContainerResizeInternalServerErrorException on a 500 response instead of returning null, and ContainerResizeNotFoundException takes the decoded ErrorResponse like the other exceptions.
Works with the Docker PHP client 3.x and 4.0. Use >=7.1.45.0 <7.1.46.0 to stay on API v1.45.
Full Changelog: v7.1.45.0...v7.1.45.1