Skip to content

Pin mailparse to 3.2.2 - #685

Open
eXorus wants to merge 1 commit into
brefphp:masterfrom
eXorus:mailparse-3.2.2
Open

eXorus wants to merge 1 commit into
brefphp:masterfrom
eXorus:mailparse-3.2.2

Conversation

@eXorus

@eXorus eXorus commented Dec 3, 2026

Copy link
Copy Markdown

The mailparse layers currently published (mailparse-php-82:20, -83:11, -84:7, -85:2) all ship mailparse 3.1.9 (Sept 2025), while 3.2.0, 3.2.1 and 3.2.2 have been released since.

The Dockerfile downloads https://pecl.php.net/get/mailparse without a version, so the layer only picks up a new release when something in layers/mailparse/ changes and the release workflow rebuilds it. That last happened with the PHP 8.5 support in March 2026.

This PR pins the version to mailparse-3.2.2, like other layers do (mongodb-1.20.0, grpc-1.68.0…):

  • the layer gets rebuilt with the latest release;
  • future upgrades become explicit, reviewable commits instead of depending on when the layer happens to be rebuilt.

mailparse 3.2.2 requires PHP >= 7.3, so it works for every PHP version listed in config.json. The tarball keeps the mailparse-<version>/ layout, so cd /tmp/mailparse-* is unchanged.

The Dockerfile downloaded the latest mailparse from PECL without a version,
so the layer was only refreshed when its folder changed. It has not been
rebuilt since Bref v3 and still ships 3.1.9 while 3.2.0, 3.2.1 and 3.2.2
are out. Pinning the version rebuilds the layer and makes future upgrades
explicit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant