Repository navigation
0.10.0
What's Changed
Breaking Changes
- PHP Version: Minimum requirement increased from 8.0 to 8.2
- Namespaces:
- Contact moved to Utopia\Domains\Registrar
- Adapters moved to Utopia\Domains\Registrar\Adapter namespace
- Exceptions: Renamed to follow PSR conventions (e.g., DomainTaken → DomainTakenException)
- Return Types: Methods now return typed objects (Domain, Registration, Renewal) instead of arrays
- Parameters:
- purchase(): Added required $periodYears parameter
- transfer(): Added required $authCode parameter
- renew(): Parameter renamed $years → $periodYears
New Features
- getAuthCode(string $domain): Retrieve authorization codes for domain transfers
- checkTransferStatus(string $domain): Check domain transfer status
- updateDomain(string $domain, array $details): Update domain details and contacts
- New domain objects: Domain, Registration, Renewal, TransferStatus
Improvements
- Enhanced OpenSRS adapter implementation
- Improved test coverage with dedicated adapter tests
- Updated CI to test PHP 8.2, 8.3, 8.4
- Updated development dependencies (laravel/pint, phpstan)
Full Changelog: 0.9.1...0.10.0