Skip to content

v0.5.1

Latest

Choose a tag to compare

@github-actions github-actions released this 12 May 07:29

Critical fix

The default base_url was missing a trailing slash, so RFC 3986 / PSR-7 URI
resolution dropped the /api/v1 path prefix and every request hit the
marketing 404 page instead of the API. All users on the default endpoint
must upgrade.

What changed

  • Default base_url now ends with /, and all internal paths are relative.
  • Constructor normalizes a custom base_url without a trailing slash,
    so user-supplied endpoints work too.
  • Regression test asserts the full request URI for every endpoint
    (domain, ip, asn, nameserver, entity, tlds, tld).

Upgrade

composer update rdapapi/rdapapi-php

No code changes required.

Full Changelog: v0.5.0...v0.5.1