Skip to content

Releases: mlocati/ip-lib

v1.12.0

27 Jul 12:07
85a7277
Compare
Choose a tag to compare
  • New getReverseDNSLookupName() method added to AddressInterface: you can use it to perform reverse DNS lookups

v1.11.0

16 Jul 15:35
169aa5b
Compare
Choose a tag to compare
  • Improve support for IPv4 to IPv6 and IPv6 to IPv4 conversions (see README.md)

v1.10.0

09 Jul 15:20
65a3396
Compare
Choose a tag to compare

v1.9.0

20 Sep 08:42
b844659
Compare
Choose a tag to compare
  • New method: IPLib\Address\IPv6::toMixedIPv6IPv4String() to render IPv6 addresses in the mixed IPv6+IPv4 representation described in https://tools.ietf.org/html/rfc4291#section-2.2 point 3
  • IPLib\Factory::addressFromString() can now parse the mixed IPv6+IPv4 representation (for example: 2001:da8:d800:9:200:5efe:101.94.1.77)

v1.8.0

30 Jul 16:33
c8d6d1f
Compare
Choose a tag to compare
  • New method: IPLib\Range\Pattern::asSubnet() to convert pattern ranges (eg 192.168.0.*) to subnet/CIDR ranges (eg `192.168.0.0/24)
  • New method: IPLib\Range\Subnet::asPattern() to convert subnet/CIDR ranges (eg 192.168.0.0/24) to pattern ranges (eg 192.168.0.*)
  • New method for all the range types (getSubnetMask()) to retrieve the subnet mask (only for IPv4 ranges)

v1.7.0

25 Feb 14:20
5baab69
Compare
Choose a tag to compare

Add getNetworkPrefix method to IPLib\Range\Subnet class (thanks @tomsim).

v1.6.0

12 Aug 22:06
Compare
Choose a tag to compare

Add support for partial IPv4 pattern addresses (for example 127.0.* and 127.*).

v1.5.0

18 Dec 17:01
84f615e
Compare
Choose a tag to compare

New instance methods available for IPLib\Range\RangeInterface:

  • getRangeType()
    to get the type of a range (if available)
  • containsRange(RangeInterface $otherRange)
    to check if a range fully contains another range

New static methods available for IPLib\Range\AddressInterface:

  • getReservedRanges()
    to get the list of ranges
  • getDefaultReservedRangeType()
    to get the type of IP addresses not present in the ranges returned by getReservedRanges()

New static methods available for IPLib\Range\Subnet:

  • get6to4()
    to get the IPv6 6to4 subnet range

v1.4.0

30 Aug 14:53
Compare
Choose a tag to compare
  • New methods available for IPLib\Address\AddressInterface:
    • getNextAddress()
    • getPreviousAddress()
  • New methods available for IPLib\Range\RangeInterface:
    • getStartAddress()
    • getEndAddress()

v1.3.0

06 Jul 07:37
5d1a57f
Compare
Choose a tag to compare

Added support to IPv6 zone ids (see RFC 4007).