This patch introduces BC breaks described in the UPGRADE file
This patch deprecates the transport_url and introduces Caddy modules dedicated to each transport.
This approach has several benefits:
cleaner configuration: it's now possible to use the full expressivity of the Caddyfile syntax instead of relying on embedded URLs in the config
improved extensibility: transports (including built-in transports, custom transports, and transports provided by the paid version) can now expose a structured config and access config from the main Mercure Caddy module, which was complex before
improved reliability: transports can hook into Caddy lifecycle events (config change, shutdown...). That wasn't previously possible
This patch introduces BC breaks described in the
UPGRADE
fileThis patch deprecates the
transport_url
and introduces Caddy modules dedicated to each transport.This approach has several benefits:
Caddyfile
syntax instead of relying on embedded URLs in the config