Release Notes
This page summarizes what shipped in each PAM runtime release. The current
release is PAM 2.2.27, published on 2026-11-24. The complete, line-by-line
history lives in CHANGELOG.md
in the runtime repository; this page highlights what matters when you build or
operate an application.
Check the version you have installed and whether a newer verified release is available:
pam --versionpam self-update --checkVersioning Scheme
Section titled “Versioning Scheme”PAM follows Semantic Versioning since 1.0.0:
- Patch releases (
2.2.26→2.2.27) fix defects and harden defaults. When a patch has to change behaviour for security reasons, the changelog marks the item with Behaviour change and the Upgrade Guide explains it. - Minor releases (
2.1→2.2) add compatible features. - Major releases (
1.x→2.x) may change public contracts.
The runtime and the official Composer packages are versioned independently. For
example, PAM 2.2.27 generates new projects against Nimbus ^0.7 and Arcano
^0.2.9. Each package has its own changelog in its repository.
Support Policy
Section titled “Support Policy”Security fixes ship for the latest 2.2.x runtime release and for the latest minor of Nimbus and Arcano. PAM 2.1 and older are not supported; upgrade instead. See the Security Policy for details.
| Component | Supported | Fixes ship in |
|---|---|---|
PAM runtime (pam binary, native extension, PHP runtime files) |
latest 2.2.x | the next 2.2.x patch |
Nimbus (pushinbr/nimbus) |
latest 0.x minor | the next patch of that minor |
Arcano ORM (pushinbr/arcano) |
latest 0.x minor | the next patch of that minor |
| PAM 2.1 and older | no | upgrade |
PAM 2.2.27
Section titled “PAM 2.2.27”Released 2026-11-24. This release finishes the second part of the 2026-11-20
security audit, adds a native PostgreSQL client, and makes Nimbus the default
framework of the api and web templates.
Graceful Draining With pam_draining()
Section titled “Graceful Draining With pam_draining()”Workers now tell PHP when they start draining: on SIGTERM, on reload, when a
worker reaches --max-requests, or when a request is wedged. Readiness endpoints
can answer 503 while in-flight requests finish, so a load balancer stops sending
new traffic before the worker exits.
<?php
use Pam\Http\Request;use Pam\Http\Response;use Pam\Http\Server;
Server::create(static function (Request $request, Response $response): void { if ($request->path === '/ready') { pam_draining() ? $response->json(['ready' => false], 503) : $response->json(['ready' => true]);
return; }
$response->json(['hello' => 'world']);})->listen(8080);Nimbus’s HealthEndpoints already uses pam_draining() for /ready. New cluster
tests prove that SIGTERM finishes an in-flight request and exits 0, and that
three reloads under load drop no request.
Native PostgreSQL Client
Section titled “Native PostgreSQL Client”A blocking PostgreSQL client now runs on the worker thread (pam_pg_connect(),
pam_pg_execute(), pam_pg_transaction(), and related functions). It uses the
extended protocol only, with bound parameters; prepares each statement once per
session; converts text results like pdo_pgsql; supports SCRAM-SHA-256 and MD5;
and speaks TLS through rustls with sslmode up to verify-full. Nimbus uses it
when you opt in with DB_DRIVER=pam-pg. See Database.
HTTP/2 Tuning
Section titled “HTTP/2 Tuning”Three new server options apply to cleartext HTTP/2 (h2c) and TLS ALPN h2
connections:
| Option | Default |
|---|---|
http2MaxConcurrentStreams |
256 |
http2StreamWindowBytes |
1 MiB |
http2ConnectionWindowBytes |
4 MiB |
Security Hardening
Section titled “Security Hardening”- A dispatch protocol error (an empty, duplicate, or unknown request id, or a
malformed resume payload) answers
500instead of escaping the C boundary. Only a real engine bailout (a fatal error,memory_limit, orexit) marks the worker as failed and recycles it. - Behaviour change: request headers with
_in their name no longer reach$_SERVER, soX-Forwarded_Forcannot overwrite theHTTP_X_FORWARDED_FORa proxy set. They remain in the request’s header list. - Behaviour change: in server mode
display_errorsis off andlog_errorsis on unless you setexposeErrors.expose_phpdefaults to off. maxConnectionsbounds the connections one worker serves. The default is the open-file limit minus 256 descriptors kept for PHP. Past the limit the worker stops accepting until a connection closes.- The Fiber stack pool only reuses stacks whose guard page the kernel applied.
PAM_FIBER_STACK_POOL_SCRUB=1zeroes and releases pooled stacks. - Multipart bodies stop with
400past PHP’smax_multipart_body_parts. - The
Dockerfilepins base images by digest and PHP by package version. - CI now runs
cargo deny,composer audit, six fuzz targets, AddressSanitizer and UndefinedBehaviorSanitizer integration tests on every pull request, CodeQL, and a nightly RSS soak and Valgrind run.
Nimbus and Tooling
Section titled “Nimbus and Tooling”pam initrequirespushinbr/arcano^0.2.9andpushinbr/nimbus^0.7.pam init --template apiwritesbootstrap/app.php, which builds and returns theNimbus\Appwithout listening, plusbin/nimbus.index.phpandtests/TestCase.phprequire the bootstrap, sobin/nimbus tinkeropens a shell over the same application.- The new
pushinbr/nimbus-rectorpackage ships theNimbusSetList::LARAVEL_TO_NIMBUSRector set for the mechanical part of a Laravel to Nimbus port. - An official skeleton image,
ghcr.io/push-in/nimbus-skeleton(amd64 and arm64), is built on each release, together with a Helm chart indeploy/helm/nimbusthat includes probes,preStop, an HPA, and a PDB.
PAM 2.2.x Highlights
Section titled “PAM 2.2.x Highlights”The 2.2 line focused on raw HTTP throughput, zero-loss worker lifecycles, Swoole-style shared state, and security hardening. Earlier patch releases, newest first:
| Version | Date | Highlights |
|---|---|---|
| 2.2.26 | 2026-11-21 | First security-audit round: client IP from the rightmost untrusted X-Forwarded-For entry, CIDR trustedProxies, bounded request bodies (maxInflightBodyBytes), loopback-only /metrics, cross-site WebSocket upgrades refused. |
| 2.2.25 | 2026-11-19 | Plain HTTP/1 is served on the PHP worker thread by default (PAM_IO_THREADS=1..16 restores I/O threads); deadlines enforced by a watchdog thread. |
| 2.2.24 | 2026-11-19 | $_SERVER and the response are built in C, pooled Fiber stacks (PAM_FIBER_STACK_POOL), and most routes skip the axum router. |
| 2.2.23 | 2026-11-18 | PAM Native 1.53.9 and PAM Native UI 2.2 with app theme tokens; Product template on UI 2. |
| 2.2.22 | 2026-11-18 | PAM Native 1.53.5; prebuilt, verified iOS PHP runtimes; macOS HTTPS uses /etc/ssl/cert.pem. |
| 2.2.21 | 2026-11-17 | Android armeabi-v7a and x86 runtimes, with 64-bit PHP integers. |
| 2.2.19–2.2.20 | 2026-11-17 | PAM Native UI 2 in the native-ui template. |
| 2.2.18 | 2026-11-11 | Apple TV (tvOS 15+) runtime builder. |
| 2.2.17 | 2026-11-11 | Samsung Tizen and LG webOS targets; process-isolated PHPUnit tests under pam test. |
| 2.2.16 | 2026-11-11 | Android TV target; pam add target and pam remove target. |
| 2.2.15 | 2026-11-11 | Listener hand-off for reset-free reloads, post-boot prefork zygote, edge page cache, Pam\Shared\Table, and task workers (--task-workers). |
| 2.2.14 | 2026-11-10 | Raw HTTP/ status lines work on PHP 8.5; uploads always cleaned up; --max-requests is a ceiling. |
| 2.2.13 | 2026-11-09 | Zero-loss recycling, 504 for wedged requests, streamed multipart uploads, graceful SIGTERM. |
| 2.2.12 | 2026-11-09 | Clean-room Ubuntu fixes, $ORIGIN RUNPATH for bundled libraries, PAM Desktop 2 template, date.timezone from the system. |
| 2.2.10–2.2.11 | 2026-11-08 | Prefork workers sharing one OPcache/JIT segment, least-connections balancing between siblings. |
| 2.2.8–2.2.9 | 2026-10-28 | Full macOS extension set; verified Composer bootstrap; pam -n ignores php.ini. |
| 2.2.7 | 2026-10-03 | Released PAM Native packages resolved by default. |
| 2.2.5–2.2.6 | 2026-09-06 | Formatter and Composer validation gates in isolated child processes. |
| 2.2.2–2.2.4 | 2026-08-26 | Loader isolation for Composer binaries; bounded cleanup after pam dev. |
| 2.2.0 | 2026-08-25 | Stable PAM Native 1.x contracts; clean pam init + pam dev journeys become a mandatory release gate. |
PAM 2.1 and 2.0
Section titled “PAM 2.1 and 2.0”- 2.1.0 (2026-08-24) moves request bodies into workers without an extra copy on HTTP/1 and HTTP/3, builds releases with fat LTO, and adds a profiling build with reproducible PGO and optional BOLT.
- 2.0.0 (2026-08-21) adds
pam support, OTLP/HTTP span export with W3C parent lineage, and ecosystem certification that runs every official package on PHP 8.4 and 8.5 against both the newest and the lowest dependency graphs. Patch releases up to 2.0.20 hardened the installer, Composer script isolation, and the bundled timezone database, and addedpam production certify.
Release Archive
Section titled “Release Archive”Detailed records of earlier releases, with their evidence and artifacts: