Skip to content

v2.1.0

Choose a tag to compare

@kris-kuiper kris-kuiper released this 04 Jun 07:30
· 2 commits to master since this release

Changelog

All notable changes to this project are documented in this file.

The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.

[2.1.0] - 2026-06-04

Added

  • WebhookReceiver::receiveTest() (also on WebhookReceiverInterface) for handling
    IGDB test deliveries. The test API delivers with a generic Java/<version> user
    agent and without the X-Endpoint/X-Operation headers, so receive() would
    always reject them; receiveTest() verifies only the X-Secret header and
    returns the raw entity.

Fixed

  • WebhookService::register() threw Expected the key "id" to exist. while the
    webhook was created: IGDB wraps the created webhook in a one-element list, like
    the list response. Single-object responses are now normalized through one shared
    code path for register() and find().
  • Incoming X-Endpoint values are normalized to their lowercase slug
    (IGDB delivers Games while webhooks are registered as games), so
    WebhookPayload::getEndpoint() matches the registered endpoint.
  • WebhookMethod::fromOperation() now matches the X-Operation header
    case-insensitively.