Skip to content

Releases: mallardduck/php-whois-client

Major release!

22 Jan 01:59
Compare
Choose a tag to compare

TL;DR: If you used the high-level APIs, move over to https://github.com/mallardduck/whodis

2.0.7

05 Mar 18:23
43c5853
Compare
Choose a tag to compare

New Stable - Backports of improvements on 3.x-main

29 Jul 18:43
Compare
Choose a tag to compare

1.1.0 - New Stable

03 Mar 01:07
Compare
Choose a tag to compare

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 swapping SocketClient.
  • Tweaked how getSearchableHostname() functions to allow host/glue record look up.

Removed

  • Dependency on hoa/socket library.

Stable

02 Dec 00:23
Compare
Choose a tag to compare

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

08 Oct 00:04
Compare
Choose a tag to compare
0.5.0 Pre-release
Pre-release

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.

13 May 22:20
Compare
Choose a tag to compare

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

13 May 22:14
Compare
Choose a tag to compare
0.3.0 Pre-release
Pre-release
  • 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!

04 May 01:28
Compare
Choose a tag to compare
Pre-release

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

04 May 01:31
Compare
Choose a tag to compare
Pre-release
0.1.5

release 0.1.5