PackageTrack
Sign in Get early access

symfony/mercure-bundle

Symfony MercureBundle

v0.5.0 16M downloads/mo #900 most downloaded on Packagist symfony/mercure-bundle

What this package is like to depend on

Last release 12 days ago

11 Aug 2026

Ships fairly regularly

a new release about every 6 months

Nearly every release is documented

notes for 24 of 25 stable releases

Nothing withdrawn

no release was ever pulled

8 years old

25 releases · first in 2018

5 releases in the last 12 months

see the full history below

Release timeline

25 releases · Oct 2018 to Aug 2026
2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 25
  1. v0.5.0 11 Aug 2026
    Release notes
    • 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 options
    • Add jwt.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)
    • Add 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)
    • Require symfony/mercure ^0.8
    • Require PHP 8.2, up from 8.1, following symfony/mercure
    Open source →
    Release notes
    • 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 options
    • The jwt.secret convenience option now uses LcobucciFactory's Mercure protocol 1.0 support on a protocol_version: 1.0 hub
    • Add jwt.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)
    • Add 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)
    • Require symfony/mercure ^0.8
    • Follow symfony/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 neither
    • Require PHP 8.2, up from 8.1, following symfony/mercure
    Open source →
  2. v0.4.3 11 Aug 2026
    Release notes
    • Extend the Extension class from the DependencyInjection component
    • Bound the symfony/mercure dependency to supported versions
    • Fix branch-alias
    Open source →
    Release notes
    • Extend the Extension class from the DependencyInjection component
    • Bound the symfony/mercure dependency to supported versions
    • Fix branch-alias
    Open source →
  3. v0.4.2 25 Nov 2025
    Release notes
    • Fix Twig extension registration when using Symfony Mercure 0.7 (again)
    Open source →
    Release notes
    • Fix Twig extension registration when using Symfony Mercure 0.7 (again)
    Open source →
  4. v0.4.1 21 Nov 2025
    Release notes
    • Fix Twig extension registration when using Symfony Mercure 0.7
    Open source →
    Release notes
    • Fix Twig extension registration when using Symfony Mercure 0.7
    Open source →
  5. v0.4.0 21 Nov 2025
    Release notes
    • Add support for FrankenPHP's mercure_publish() function
    • Allow Symfony 8
    • Compatibility with PHP 8.5
    • Pass Twig as dependency of TurboStreamListenRenderer
    • Fix cache warmup without JWT secrets
    • Drop support for unmaintained PHP and Symfony versions
    Open source →
    Release notes
    • Add support for FrankenPHP's mercure_publish() function
    • Allow Symfony 8
    • Compatibility with PHP 8.5
    • Pass Twig as a dependency of TurboStreamListenRenderer
    • Fix cache warmup without JWT secrets
    • Drop support for unmaintained PHP and Symfony versions
    Open source →
  6. v0.3.9 31 May 2024
    Release notes
    • Explicitly mark method parameters as nullable
    • Adapt icon to profiler redesign
    Open source →
    Release notes
    • Explicitly mark method parameters as nullable
    • Adapt icon to profiler redesign
    Open source →
  7. v0.3.8 03 Dec 2023
    Release notes
    • Allow Symfony 7
    Open source →
    Release notes
    • Allow Symfony 7
    Open source →
  8. v0.3.7 23 May 2023
    Release notes
    • Support for symfony/ux-turbo 2.9 using symfony/stimulus-bundle
    Open source →
    Release notes
    • Support for symfony/ux-turbo 2.9 using symfony/stimulus-bundle
    Open source →
  9. v0.3.6 06 Mar 2023
    Release notes
    • Compatibility with lcobucci/jwt 5.0
    Open source →
    Release notes
    • Compatibility with lcobucci/jwt 5.0
    Open source →
  10. v0.3.5 12 Jun 2022
    Release notes

    What's Changed

    • fix: use the right argument index for Authorization cookie lifetime by @chalasr in #69

    Full Changelog: v0.3.4...v0.3.5

    Open source →
    Release notes
    • Use the right argument index for Authorization cookie lifetime
    Open source →
  11. v0.3.4 16 Dec 2021
    Release notes
    • Add support for JWT signers requiring a passphrase
    • Throw an exception if neither the jwt nor the jwt_provider configuration key is defined.
    Open source →
  12. v0.3.3 12 Oct 2021
    Release notes
    • Deprecate enable_profiler configuration
    • Add support for Mercure Component 0.6
    • Compatibility with Symfony 6.0
    Open source →
  13. v0.3.2 04 Apr 2021
    Release notes
    • Full compatibility with PHP 7.1
    • Enable JWT support by default
    Open source →
  14. v0.3.1 03 Apr 2021
    Release notes
    • Add a configuration option to set a default expiration for the JWT and the cookie when using the Authorization class
    Open source →
  15. v0.3.0 30 Mar 2021
    Release notes
    • Upgrade to symfony/mercure 0.5
    • Add integration with symfony/ux-turbo
    • Register autowiring aliases for hubs
    • Add mercure.publisher tag on publisher services
    Open source →
  16. v0.2.6 26 Nov 2020
    Release notes
    • Expose privateness of published messages in profiler panel
    • Compatibility with PHP 8
    Open source →
  17. v0.2.5 30 Jun 2020
    Release notes
    • Fix a bug in the debugger panel
    • Compatibility with Symfony 5.1
    Open source →
  18. v0.2.4 27 May 2020
    Release notes
    • Compatibility with Mercure 0.10
    Open source →
  19. 0.2.3 24 Nov 2019
    Release notes
    • Fix a bug preventing the profiler to work
    Open source →
  20. v0.2.2 23 Nov 2019
    Release notes
    • Fix compatibility with Symfony 5
    Open source →
  21. v0.2.1 09 Nov 2019
    Release notes
    • Fix a crash in MercureDataCollector
    Open source →
  22. v0.2.0 09 Nov 2019
    Release notes
    • Fix compatibility with Symfony 5 beta
    • Add a profiler panel
    • Autowire Symfony\Component\Mercure\PublisherInterface instances (using Symfony\Component\Mercure\Publisher for autowiring is deprecated)
    Open source →
  23. v0.1.2 24 Jun 2019
    Release notes
    • Inject the http_client service when available
    Open source →
  24. v0.1.1 04 Mar 2019
    Release notes
    • Fix a deprecation triggered by the TreeBuilder
    Open source →
  25. v0.1.0 24 Oct 2018

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive