Skip to content

Version 5.1.0

Compare
Choose a tag to compare
@seancfoley seancfoley released this 21 Oct 02:14
· 253 commits to master since this release

Mostly parsing and masking improvements.

  • getSequentialRange() method added to IPAddressString for direct access to sequential range
  • improved handling of masking and bitwise-oring subnets. isMaskCompatibleWithRange replaced by maskRange, same with bitwise-or.
  • getDivisionGrouping() method added to IPAddressString for "as-is" parsing
  • toString() for division strings adjusted, no longer using '*' due to varying bit lengths for divisions and potentially no segment separator to indicate bit length, also using radix matching parsed string
  • reverse ranges allowed in parsed strings
  • improved control/support of inferred range boundaries
  • fix to leading zeros detection for issue #20
  • fix to generation of IPv6 sections from bytes
  • adjusted IPAddress.toAddressString() to improve toHostAddress() in resulting IPAddressString
  • added toZeroNetwork() to get IP address with network bits zeroed
  • added getNetworkMask() and getHostMask() to IPAddressSegmentSeries as requested in issue #27
  • a few other minor fixes