Skip to content

v5.3.1

Choose a tag to compare

@CarlosGude CarlosGude released this 18 Sep 19:14
· 116 commits to main since this release

Fixed

  • The bundle no longer autodiscovers ShopifyWebhookController, MultiPlatformWebhookController and ProcessWebhookHandler. They can't be autowired, and autoconfigure kept them in the container as controller / message handler, so container compilation failed in consuming apps (verified on Symfony 7.4). Register them explicitly if you use them.
  • make:webhook: the generated parser is no longer readonly (fatal error when extending Symfony's AbstractRequestParser); the generated namespace matches its path (PSR-4); the mapper is generated in its own file.

Documentation

  • WEBHOOK.md rewritten to match the code: Symfony Webhook component + IntegrationWebhookRequestParser + WebhookEventDispatcher. Removes the nonexistent webhooks: bundle key, /webhooks/{platform} endpoint and webhook:dlq:* commands; idempotency, DLQ and audit are documented as ports without a built-in adapter.

Known issues (still open)

  • Lifecycle events aren't dispatched in Symfony apps: the bundle doesn't inject LifecycleEventDispatcher into the integrations.
  • HttpResponseReceived::$statusCode is always 0.