Skip to content

Releases: mlocati/ip-lib

v1.22.0

Choose a tag to compare

@mlocati mlocati released this 15 Oct 12:36
4e40ffd

What's Changed

Full Changelog: 1.21.0...1.22.0

v1.21.0

Choose a tag to compare

@mlocati mlocati released this 24 Sep 14:05
b5d38cd

What's Changed

Full Changelog: 1.20.0...1.21.0

v1.20.0

Choose a tag to compare

@mlocati mlocati released this 04 Feb 17:32
fd45fc3

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

Choose a tag to compare

@mlocati mlocati released this 04 Feb 08:50
86ec0cf

What's Changed

New Contributors

Full Changelog: 1.18.1...1.19.0

v1.18.1

Choose a tag to compare

@mlocati mlocati released this 29 Oct 15:49
08bb43b

What's Changed

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

Full Changelog: 1.18.0...1.18.1

v1.18.0

Choose a tag to compare

@mlocati mlocati released this 13 Jan 18:06
c77bd0b
  • Ability to parse addresses in ARPA (Reverse DNS Lookup) format (#78)

v1.17.1

Choose a tag to compare

@mlocati mlocati released this 10 Nov 15:27
28763c8
  • Fix Range\Single::containsRange() method (#76)

v1.17.0

Choose a tag to compare

@mlocati mlocati released this 03 Aug 15:45
db9552c

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

Choose a tag to compare

@mlocati mlocati released this 03 Jun 12:30
f3db91b
  • New method for ranges: getSize() (thanks @vstelmakh)

v1.15.0

Choose a tag to compare

@mlocati mlocati released this 26 May 12:42
77a1c0d
  • 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)