All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- String helpers class to prepare strings and store constants.
- Removed original implementation of
Client
class. - Removed the
SimpleClient
class path. - Removed the
MissingArgException
class. - Removed the
UnknownWhoisException
class. - Removed both the classes for whois server locating.
- Replaced the
AbstractWhoisClient::$clrf
withStrHelper::CRLF
.
- Changed the
SimpleClient
implementation to exist asClient
.
2.0.6 - 2021-07-29
- Back ported some changes being made for version 3.0 to 2.0.
- New package to look up whois-servers by TLD using IANA or PSL lists.
- Removed local whois server locator, but left as a shim to prevent BC break.
- This packages dependency on
illuminate/collect
2.0.5 - 2021-07-29
Purely a docs update...
2.0.4 - 2021-03-01
- Add PHP 8.X support
2.0.3 - 2021-03-01
2.0.2 - 2021-03-01
- Swap to
illuminate/collections
instead oftightenco/collections
. - Collections version tag for better use.
2.0.0 - 2021-03-01
- Types to almost all method parameters and returns.
- Removed nullable and default parameters where possible.
- Modified public methods on DomainLocator and Client.
- Updated blobs for the public suffix list.
1.2.1 - 2020-08-23
- Catch errors sooner than before and give more accurate error text.
1.2.0 - 2020-08-23
- Increase PHP minimum version to 7.2 removing EOL versions support.
1.1.1 - 2020-08-23
- Additional DocBlock completion - mostly added @throws and such.
- Slight refactor of a few areas for readability, no functional changes tho.
1.1.0 - 2020-03-02
- Added a local
SocketClient
as a thin wrapper for PHP stream sockets. - Added exception for new
SocketClient
for when things go wrong.
- Modified how
AbstractWhoisClient::createConnection
works internally by swappingSocketClient
. - Tweaked how
getSearchableHostname()
functions to allow host/glue record look up.
- Dependency on
hoa/socket
library.
1.0.1 - 2020-02-24
- Locked
league/uri
andleague/uri-components
to fix breaking upstream changes.
1.0.0 - 2018-12-01
- New basic version of client as SimpleClient. Just a concrete version of the AbstractWhoisClient.
- Fixed issues with PHPunit XML config.
- Modify $lastMatch to be the exact match, rather than an array containing it.
- Support for running mutation/infection tests via the PHP infection tool.
- New test case ensuring Whois Locator list is primed properly. (only for domains)
- Support for PHP 7.0
- Completely removed load status related code from AbstractLocator.
- AbstractLocator::getLoadStatus
- AbstractLocator::$loadStatus
- Modified constructor implementation for AbstractLocator to remove loadstatus.
- 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.
- 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.
- 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.
- Made getWhoisServer abstract in AbstractLocator and implemented in the concrete class.
- Renamed AbstractClient to BaseClient since that's more accurate.
- 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.
- Create an AbstractLocator and DomainLocator for more flexibility!
- Cleaned up some more PHP 5.6 support code from tests.
- Removed old style locator class.
- Support for PHP 5.6 ending the PHP 5.x support here.
- Modified parseWhoisDomain method of AbstractClient to return the results instead of itself.
- Re-enabled domain test previously causing odd TCP network error.
- Updated To-Do format in readme.md file
- HHVM from automated testing scripts.
- Now include dev only package to check Symfony standards.
- Improved some code comments.
- Modify comparison symbol used in getWhoisServer method.
- Updated internal variable name to conform to Symfony standard.
- Refactored/Adjusted some code to better conform to the Symfony standard that extends PSR2
- Fixed missing extensions in composer require section.
- Continue filling in and expanding on comments.
- Add php dev tool configs.
- Removed unnecessary check for is_null.
- Small refactor for better testing and usage.
- Fix read me header.
- Fix composer dependency issue preventing dual support for php 7.x and 5.6.
- This CHANGELOG file to hopefully serve as an evolving project history.
- Basic working Whois client for PHP.
- PHPdocblocks for all library code.
- Basic PHPUnit test coverage for the library.
- Continuous Integration setup for StyleCI, TravisCI, and ScrutinizerCI.
- Add Punycode for Unicode domain handling.
- Use League URI package for domain parsing.