Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: docker-php/docker-php
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3.x
Choose a base ref
...
head repository: docker-php/docker-php
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 13 commits
  • 50 files changed
  • 2 contributors

Commits on Oct 8, 2026

  1. 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.
    Rid committed Oct 8, 2026
    Configuration menu
    Copy the full SHA
    f2148a9 View commit details
    Browse the repository at this point in the history
  2. docs: document the 4.0 client

    Describe API line selection, version negotiation and the new defaults. Add a 3.x upgrade section and make examples work on every API line.
    Rid committed Oct 8, 2026
    Configuration menu
    Copy the full SHA
    3df8a61 View commit details
    Browse the repository at this point in the history
  3. chore(release): prepare 4.0.0

    Add the 4.0.0 changelog and update the main branch alias.
    Rid committed Oct 8, 2026
    Configuration menu
    Copy the full SHA
    b140117 View commit details
    Browse the repository at this point in the history
  4. 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.
    Rid committed Oct 8, 2026
    Configuration menu
    Copy the full SHA
    ca82f41 View commit details
    Browse the repository at this point in the history
  5. 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.
    Rid committed Oct 8, 2026
    Configuration menu
    Copy the full SHA
    a29719c View commit details
    Browse the repository at this point in the history
  6. 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.
    Rid committed Oct 8, 2026
    Configuration menu
    Copy the full SHA
    f70e26c View commit details
    Browse the repository at this point in the history
  7. 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.
    Rid committed Oct 8, 2026
    Configuration menu
    Copy the full SHA
    ffc3386 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2026

  1. 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.
    Rid committed Oct 9, 2026
    Configuration menu
    Copy the full SHA
    81e25df View commit details
    Browse the repository at this point in the history
  2. chore(release): prepare 4.0.1

    Add the 4.0.1 changelog.
    Rid committed Oct 9, 2026
    Configuration menu
    Copy the full SHA
    9673608 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2026

  1. 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.
    Rid committed Oct 12, 2026
    Configuration menu
    Copy the full SHA
    a5d28ca View commit details
    Browse the repository at this point in the history
  2. chore(release): prepare 4.0.2

    Add the 4.0.2 changelog.
    Rid committed Oct 12, 2026
    Configuration menu
    Copy the full SHA
    69d5fc5 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2026

  1. 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>
    dependabot[bot] authored Oct 15, 2026
    Configuration menu
    Copy the full SHA
    565c1e4 View commit details
    Browse the repository at this point in the history
  2. 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>
    dependabot[bot] authored Oct 15, 2026
    Configuration menu
    Copy the full SHA
    2bcaa72 View commit details
    Browse the repository at this point in the history
Loading