Repository navigation
Releases
Releases · Spoje-NET/php-subreg
v1.5.0
What's New
- New high-level helpers for day-to-day Subreg work: domain info, credit balance, parking detection, nameserver restore to Gransy defaults, and DNS record add/modify/delete.
renewDomain()can automatically send the current expiry date, avoiding stalecurExpDateerrors during the post-expiry renew window.- New
Examples/DomainHealth.phpCLI check for expiry, parking NS, DNSin_zone, and whether credit is above the autorenew threshold. - API errors now raise
ApiExceptionwith Subreg major/minor codes preserved for callers.
Fixed
makeOrder()now wraps the payload in the requiredorder{}structure, so Make_Order calls work correctly.registerDomain()sends properly formatted nameserver host maps instead of bare hostname strings.- Broken stubs for
TransferRU_Request,PremiumRestore_Domain, andUpdate_Objectare implemented. infoOrder()uses the correct API parameter nameorder(notorderid), so order lookups no longer fail with “Field Order is empty”.
Other Changes
- Documented Subreg gotchas: parking NS (
parktons.com), autorenew requiring credit ≥ threshold, and renewcurExpDatepitfalls. - Offline unit tests for parking/credit helpers; live integration tests updated for
ApiException.
php8.1+
Minimal supported php version is 8.1
Full Changelog: 1.2.1...1.4.0
Stabilized
Modernized
Stabilized
Full Changelog: v0.3...1.2.1
