Releases: mallardduck/php-whois-client
Releases · mallardduck/php-whois-client
Major release!
TL;DR: If you used the high-level APIs, move over to https://github.com/mallardduck/whodis
2.0.7
New Stable - Backports of improvements on 3.x-main
1.1.0 - New Stable
2020-03-02
Added
- Added a local
SocketClient
as a thin wrapper for PHP stream sockets. - Added exception for new
SocketClient
for when things go wrong.
Changed
- Modified how
AbstractWhoisClient::createConnection
works internally by swappingSocketClient
. - Tweaked how
getSearchableHostname()
functions to allow host/glue record look up.
Removed
- Dependency on
hoa/socket
library.
Stable
Added
- New basic version of client as SimpleClient. Just a concrete version of the AbstractWhoisClient.
Changed
- Fixed issues with PHPunit XML config.
- Modify $lastMatch to be the exact match, rather than an array containing it.
0.5.0
Added
- Support for running mutation/infection tests via the PHP infection tool.
- New test case ensuring Whois Locator list is primed properly. (only for domains)
Removed
- Support for PHP 7.0
- Completely removed load status related code from AbstractLocator.
- AbstractLocator::getLoadStatus
- AbstractLocator::$loadStatus
Changed
- Modified constructor implementation for AbstractLocator to remove loadstatus.
Big Changes - we're talking Huge changes here, no one has bigger changes.
Lots of refactoring to improve extendability - mainly with a multi-type locator and more advanced clients in mind. Needed to work on this for an easier way to implement both of those later.
Change Log
Added
- New WhoisClientInterface to define basic whois client request function.
- New AbstractWhoisClient that implements just the barebones of the interface.
- Added makeSafeWhoisRequest to the Client class.
Removed
- CLRF property no longer needed in BaseClient.
- No longer need makeWhoisRequest and makeWhoisRawRequest in BaseClient.
- Removed concrete BaseClient class - merged functionality with the Client class.
Changed
- Update BaseClient to extend the new AbstractWhoisClient
- Moved the following methods to Client from BaseClient:
- getSearchableHostname
- parseWhoisDomain
- and class constructor.
- Merged some tests together to update for structure chanages.
0.3.0
- Added Coveralls.
- Renamed AbstractClient to BaseClient since that's more accurate.
- Update Client to extend the BaseClient now that we call the class that.
- Made getWhoisServer abstract in AbstractLocator and implemented in the concrete class.
- Fix tests accordingly.
Refactor the Locator class!
Changed
- Improved the flexibility of the WhoisServerList tests.
- Refactor AbstractClient and client to use the AbstractLocator and DomainLocator.
- Update AbstractClient property name - from tldLocator to whoisLocator - to better reflect usage.
- Refactor tests to use DomainLocator instead of removed Locator class.
Added
- Create an AbstractLocator and DomainLocator for more flexibility!
Removed
- Cleaned up some more PHP 5.6 support code from tests.
- Removed old style locator class.
Bye bye good old PHP 5.6
0.1.5 release 0.1.5