github dunglas/mercure v1.1.6

3 hours ago

Community

Mercure 1.1.6 fixes Prometheus metrics for setups serving several hubs from the same Caddy instance: each hub now gets its own labeled series, and the global series sum every hub instead of reflecting only one. It also bounds the size of topic validation errors and updates dependencies, including Caddy 2.11.8.

🐛 Bug Fixes

  • Metrics: when one Caddy instance serves several hubs, /metrics reported the counters of a single hub. The mercure_* series now sum all hubs, and new mercure_hub_* series labeled with hub (the hub's name, default for the unnamed hub) expose each hub separately. The mercure_subscriptions_rejected_total metric is now documented. See Health Monitoring. by @rrajkomar in #1458
  • Stop quoting over-long topics in full in validation errors and in the publish endpoint's 400 response, so the error size no longer grows with a client-controlled value. Reported by Anthropic's OSS Scanner. by @dunglas in #1463

📦 Dependencies

  • Update dependencies, including Caddy 2.11.8, grpc 1.85 and prometheus/common 0.73. Release binaries and images are now always built with the latest Go 1.27 patch release. by @dunglas in #1470

Enterprise

Mercure Enterprise picks up the same fixes: on instances serving several hubs, Prometheus metrics now report each hub separately. It also updates dependencies, including Caddy 2.11.8.

Mercure Cloud hubs are upgraded automatically: use Mercure Cloud to get fixes like these without managing upgrades yourself.

Enterprise releases ship under the Enterprise SLA, with prioritized patches and direct support. Contact contact@mercure.rocks for the managed Cloud offering, on-premise licenses, custom development, consulting, and training.

💖 New Contributors

Full Changelog: v1.1.5...v1.1.6

Don't miss a new mercure release

NewReleases is sending notifications on new releases.