NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #848 most downloaded on Packagist
Symfony MercureBundle
Latest stable
v0.7.0
Last release 19 days ago
03 Nov 2026
Release timing varies
gaps range from 4 weeks to 1.5 years
Nearly every release is documented
notes for 27 of 28 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
28 releases · first in 2018
Drag across the ruler to compare, or tap a release to open it.
Clear the subscriber authorization cookie of every hub on logout ( LogoutEvent ) when symfony/security-http is installed, so the browser can no longer
LogoutEvent) when symfony/security-http is installed, so the browser can no longer subscribe to the private topics of the user who logged out; disable it with clear_cookie_on_logout: false. A token already copied out of the cookie, or an EventSource that is already open, stays valid until the token's exp: keep subscriber token lifetimes short (#85)cache:warmup), where mercure_publish() isn't defined; publishing through it there now throws an explicit exception from symfony/mercure, which is now required in ^0.9 (#136)symfony/mercure ^0.10jwt, publisher and subscriber options at the path of the node at fault (e.g. mercure.hubs.default.publisher instead of mercure.hubs.default), and name the option actually set in the jwks_uri protocol version error (#135)Your coding agent can read these notes before it upgrades. Set up the MCP server →
Add url to the default aud claim of protocol 1.0 publisher tokens, which are sent there: a hub reached through different internal and public URLs no l
url to the default aud claim of protocol 1.0 publisher tokens, which are sent there: a hub reached through different internal and public URLs no longer needs resource_identifier to accept publicationsThis removes the symfony/mercure 0.5 deprecations that were triggered on every container boot even when the Hub API was used exclusively
protocol_version to 1.0 now that Mercure hub 1.0 is stable; set protocol_version: 0.x to keep talking to a 0.x hub. Hubs relying on the default now use the __Secure-mercure_access_token cookie name (mercure_access_token when kernel.debug is enabled, as browsers drop __Secure- cookies over plain HTTP; it matches the hub's playground default), and jwt.secret hubs must define the iss, sub and client_id claims in jwt.claims or the container fails to compileprotocol_version also accepts ProtocolVersion enum caseshttp_client per-hub option, to publish through a dedicated HTTP client service (e.g. a scoped client with a short timeout)RemoteHubInterface autowirable, globally for a remote default hub and per hub through named arguments (e.g. RemoteHubInterface $fooHub)symfony/mercure ^0.9Publisher / PublisherInterface / TraceablePublisher services and aliases, and the StaticJwtProvider service (mercure.hub.*.jwt_provider). Apps must use Hub / HubInterface / TraceableHub and StaticTokenProvider (mercure.hub.*.jwt.provider) instead. This removes the symfony/mercure 0.5 deprecations that were triggered on every container boot even when the Hub API was used exclusively (#121)MercureDataCollector::getPublishers() (deprecated since 0.3 in favor of getHubs())Hub and FrankenPhpHub at runtime, through a factory, instead of guessing at container build time: an empty url (an unset or empty MERCURE_URL, which is all Docker Compose can express) now reliably selects FrankenPHP's built-in Mercure hub, which is also autowirable through HubInterface like any other hub. url and public_url both default to null unconditionallypublisher and subscriber per-hub options, an alternative to jwt to sign publisher and subscriber tokens with different keysdefault_hub naming an undefined hub failing with a TypeError instead of a configuration errorTraceableHub keeping the messages of previous requests in long-running processes (e.g. FrankenPHP's worker mode)Add support for the Mercure protocol 1.0, alongside the existing 0.x protocol: new protocol_version ( 0.x , default, or 1.0 ) and cookie_name per-hub
protocol_version (0.x, default, or 1.0) and cookie_name per-hub optionsjwt.jwks_uri and jwt.key_id, fetching the signing key from a JSON Web Key Set endpoint via WebTokenFactory instead of jwt.secret (requires web-token/jwt-library, Mercure 1.0 hubs only)jwt.claims (e.g. iss/sub/client_id), required by RFC 9068 when using jwt.secret/jwt.jwks_uri on a protocol_version: 1.0 hub; aud defaults to the hub's own URL when not set. Missing required claims fail at container compile time, and a 0.x hub without jwt.claims keeps minting byte-identical legacy tokens (no DefaultClaimsTokenFactory wrapping, no automatic aud)symfony/mercure ^0.8symfony/mercureprotocol_version (0.x, default, or 1.0) and cookie_name per-hub optionsjwt.secret convenience option now uses LcobucciFactory's Mercure protocol 1.0 support on a protocol_version: 1.0 hubjwt.jwks_uri and jwt.key_id, fetching the signing key from a JSON Web Key Set endpoint via WebTokenFactory instead of jwt.secret (requires web-token/jwt-library, Mercure 1.0 hubs only)jwt.algorithm no longer has a single default, as the two token factories name algorithms differently: it defaults to hmac.sha256 with jwt.secret (LcobucciFactory) and to the JWA name HS256 with jwt.jwks_uri (WebTokenFactory, which also accepts PS256/PS384/PS512 and EdDSA)jwt.claims (e.g. iss/sub/client_id), required by RFC 9068 when using jwt.secret/jwt.jwks_uri on a protocol_version: 1.0 hub; aud defaults to the hub's own URL when not set. Missing required claims fail at container compile time, and a 0.x hub without jwt.claims keeps minting byte-identical legacy tokens (no DefaultClaimsTokenFactory wrapping, no automatic aud)symfony/mercure ^0.8symfony/mercure's Hub/FrankenPhpHub constructor parameter reorder ($cookieName before $protocolVersion) and its Grant-based TokenFactoryInterface::create(); jwt.subscribe/jwt.publish are now wired in as one publish and one subscribe Grant, always both present so the legacy claim's shape is unchanged for hubs configuring neithersymfony/mercureExtend the Extension class from the DependencyInjection component
Extension class from the DependencyInjection componentsymfony/mercure dependency to supported versionsbranch-aliasFix Twig extension registration when using Symfony Mercure 0.7 (again)
Fix Twig extension registration when using Symfony Mercure 0.7
Add support for FrankenPHP's mercure_publish() function
mercure_publish() functionTurboStreamListenRendererExplicitly mark method parameters as nullable
Allow Symfony 7
Support for symfony/ux-turbo 2.9 using symfony/stimulus-bundle
symfony/ux-turbo 2.9 using symfony/stimulus-bundleCompatibility with lcobucci/jwt 5.0
lcobucci/jwt 5.0fix: use the right argument index for Authorization cookie lifetime by @chalasr in https://github.com/symfony/mercure-bundle/pull/69
Authorization cookie lifetime by @chalasr in https://github.com/symfony/mercure-bundle/pull/69Full Changelog: https://github.com/symfony/mercure-bundle/compare/v0.3.4...v0.3.5
Add support for JWT signers requiring a passphrase
jwt nor the jwt_provider configuration key is defined.Deprecate enable_profiler configuration
enable_profiler configurationFull compatibility with PHP 7.1
Add a configuration option to set a defaut expiration for the JWT and the cookie when using the Authorization class
Authorization classAuthorization classAdd integration with symfony/ux-turbo
symfony/mercure 0.5symfony/ux-turbomercure.publisher tag on publisher servicesExpose privateness of published messages in profiler panel
Fix a bug in the debugger panel
Compatibility with Mercure 0.10
Fix a bug preventing the profiler to work
Fix compatibility with Symfony 5
Fix a crash in MercureDataCollector
MercureDataCollectorAutowire Symfony\Component\Mercure\PublisherInterface instances (using Symfony\Component\Mercure\Publisher for autowiring is deprecated)
Symfony\Component\Mercure\PublisherInterface instances (using Symfony\Component\Mercure\Publisher for autowiring is deprecated)Symfony\Component\Mercure\PublisherInterface instances (using Symfony\Component\Mercure\Publisher for autowiring is deprecated)Inject the http_client service when available
Inject the http_client service when available
Fix a deprecation triggered by the TreeBuilder
Fix a deprecation triggered by the TreeBuilder
Nothing published for this version
One column per quarter.