Version Update
Upgrade the web server between minor releases and verify your application.
Composer
Check the installed version in the application directory. This example targets the 1.6.x series. Preview the dependency changes before applying them.
composer show mini4work/webserver
composer require 'mini4work/webserver:~1.6.0' --dry-run
composer require 'mini4work/webserver:~1.6.0'
composer check-platform-reqsCompatibility
If you skip minor versions, apply each relevant change below. The optional features in 1.1 and 1.3 need no configuration changes for existing applications.
1.5 → 1.6
Compression now defaults to auto. To preserve the previous response encoding, set compression.mode to off in your existing profile. An empty static directory list preserves application routing.
1.4 → 1.5
Update imports in custom handlers and Laravel integrations. The new names are shown below. Existing JSON profiles still work.
use M4W\WebServer\Contracts\Http\RequestHandlerInterface;
use M4W\WebServer\Adapters\Laravel\Dto\OctaneOptions;1.3 → 1.4
If you pass custom limits, multipart settings or tracing options to the Laravel handler, pass an M4W\WebServer\Dto\OctaneOptions object as its second argument.
1.1 → 1.2
Rate limits now apply across workers, even with the old rate_per_worker key. Review the total request budget. Concurrency limits still apply per worker.
If you use ngtcp2, rebuild the adapter for ABI 3 and deploy the new library. For local TLS, remove the old unrestricted CA from client trust stores and trust the new scoped CA. A custom management socket needs a directory owned by the service account with mode 0700.
make -C vendor/mini4work/webserver/native/ngtcp2Deployment
Test with your own handler and m4w.json. Commit the updated Composer files, install from the lockfile on the target host and restart the server process. Check a known route with the same protocol and certificate settings your clients use.
composer install --no-dev
composer check-platform-reqs --no-dev