github dunglas/mercure v0.17.0

latest releases: v0.17.1, helm-chart-0.17.1, caddy/v0.17.1...
3 days ago

What's Changed

  • feat: support ECDSA and Ed25519 JWT public keys by @erkia in #949
  • feat!: use Caddy modules for transports by @dunglas in #939
  • perf!: use topic selector store in subscriber by @dunglas in #944
  • feat: build deb, rpm and apk packages by @erseco in #973
  • feat(helm): add support for metrics in chart by @coibib in #924
  • feat(helm): make nodePort configurable for NodePort service type by @bebehei in #962
  • fix(helm): support autoscaling/v2 by @xip-niekneuij in #967
  • docs: update docker compose healthcheck by @dallegoet in #941
  • docs: fix in Traefik Hub example - curl is not installed by @gander in #954
  • docs: replace curl with wget in healthcheck example by @damienfern in #955
  • docs: recommend using Microsoft's fetch-event-source by @dunglas in #948
  • refactor!: simplify filenames, remove dead code and bump deps by @dunglas in #969
  • chore: add Docker labels by @dunglas in #936
  • chore: bump deps by @dunglas in #960
  • chore: various code cleanups by @dunglas in #970
  • chore: fix Caddyfile indentation by @dunglas in #978

Upgrade Instructions

The MERCURE_TRANSPORT_URL environment variable and the transport_url directive have been deprecated.
Use the new transport directive instead.

The MERCURE_TRANSPORT_URL environment variable has been removed from the default Caddyfiles,
but a backward compatibility layer is provided.

If both the transport and the deprecated transport_url are not explicitly set
and the MERCURE_TRANSPORT_URL environment variable is set, the transport_url will be automatically populated.
To disable this behavior, unset MERCURE_TRANSPORT_URL or set it to an empty string.

Before:

transport_url bolt://mercure.db?cleanup_frequency=0.2

After:

transport bolt {
  path mercure.db
  cleanup_frequency 0.2
}

To configure the transport using an environment variable, append the transport directive to the MERCURE_EXTRA_DIRECTIVES environment variable.

To prevent security issues, be sure to not pass credentials such as API tokens or password in MERCURE_EXTRA_DIRECTIVES (ex: when using transports provided by the paid version such as Redis).

To pass credentials security, create a custom Caddyfile and use the {env.MY_ENV_VAR} syntax, which is interpreted at runtime.

New Contributors

Full Changelog: v0.16.3...v0.17.0

Don't miss a new mercure release

NewReleases is sending notifications on new releases.