Skip to content

Releases: mlocati/ip-lib

v1.22.0

15 Oct 12:36
4e40ffd

Choose a tag to compare

What's Changed

Full Changelog: 1.21.0...1.22.0

v1.21.0

24 Sep 14:05
b5d38cd

Choose a tag to compare

What's Changed

Full Changelog: 1.20.0...1.21.0

v1.20.0

04 Feb 17:32
fd45fc3

Choose a tag to compare

What's Changed

  • Add AddressInterface::shift() by @mlocati in #94
  • Add AddressInterface::add() by @mlocati in #95
  • Don't throw an OverflowException in RangeInterface::split() by @mlocati in #96

Full Changelog: 1.19.0...1.20.0

v1.19.0

04 Feb 08:50
86ec0cf

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.18.1...1.19.0

v1.18.1

29 Oct 15:49
08bb43b

Choose a tag to compare

What's Changed

  • Avoid PHP 8.4 deprecation warnings by @mlocati in #91

Full Changelog: 1.18.0...1.18.1

v1.18.0

13 Jan 18:06
c77bd0b

Choose a tag to compare

  • Ability to parse addresses in ARPA (Reverse DNS Lookup) format (#78)

v1.17.1

10 Nov 15:27
28763c8

Choose a tag to compare

  • Fix Range\Single::containsRange() method (#76)

v1.17.0

03 Aug 15:45
db9552c

Choose a tag to compare

New features

Deprecated functions

In order to support parsing the above notations, some new functions have been introduced, which deprecate some of the methods that parse strings.

Deprecated function New function
IPLib\Factory::addressFromString IPLib\Factory::parseAddressString
IPLib\Factory::rangeFromString IPLib\Factory::parseRangeString
IPLib\Factory::rangeFromBoundaries IPLib\Factory::getRangeFromBoundaries
IPLib\Factory::rangesFromBoundaries IPLib\Factory::getRangesFromBoundaries
IPLib\Address\IPv4::fromString IPLib\Address\IPv4::parseString
IPLib\Address\IPv6::fromString IPLib\Address\IPv6::parseString
IPLib\Range\Pattern::fromString IPLib\Range\Pattern::parseString
IPLib\Range\Single::fromString IPLib\Range\Single::parseString
IPLib\Range\Subnet::fromString IPLib\Range\Subnet::parseString

See the phpdoc of the deprecated methods for further details.

Special thanks to @elrido for his productive contributions.

v1.16.0

03 Jun 12:30
f3db91b

Choose a tag to compare

  • New method for ranges: getSize() (thanks @vstelmakh)

v1.15.0

26 May 12:42
77a1c0d

Choose a tag to compare

  • Fix typo in RangesFromBoundaryCalculator class (thanks @lucascherifi)
  • New method for addresses and ranges: getAddressAtOffset() (thanks @ernix)
  • Fixed end address of ranges calculated by rangesFromBoundaries() (thanks @crucifyer)