Skip to content

v1.5.3

Compare
Choose a tag to compare
@mikepultz mikepultz released this 28 Nov 19:30
· 3 commits to version-1.5.x since this release
  • added the ZONEMD resource record type.
  • added a new PHPUnit file to test the file cache.
  • added a new PHPUnit file to do real-time checks against a public internal server.
  • muted errors from stream_select(); it's safe to mute them since the error condition is handled.
  • double checked the class index exists first in Net_DNS2_RR::parse() before using it.
  • added a typehint for Net_DNS::$last_exception in the comments so PHPStorm doesn't complain.
  • added a quick check to confirm all the DNS servers are IP addresses.
  • cleaned up the logic around binding to a local host and/or port; some cases wouldn't have worked correctly.
  • PHP 8.0 issue: shmop_close() is deprecated in PHP 8.
  • PHP 8.0 issue: strlen() generates an error if you pass in null; there's a few placing the code that wasn't testing for this first.
  • PHP 8.0 issue: fread() throws an exception now if you set the length to 0; so I have to check the filesize() first before reading.
  • PHP 8.1 issue: passing null to preg_split() generates an error; there were three cases where it was possible.