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_urlnow ends with/, and all internal paths are relative. - Constructor normalizes a custom
base_urlwithout 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-phpNo code changes required.
Full Changelog: v0.5.0...v0.5.1