Skip to content

Big Changes - we're talking Huge changes here, no one has bigger changes.

Pre-release
Pre-release
Compare
Choose a tag to compare
@mallardduck mallardduck released this 13 May 22:20
· 128 commits to main since this release

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.