Releases: mlocati/ip-lib
Releases · mlocati/ip-lib
v1.18.1
v1.18.0
v1.17.1
v1.17.0
New features
- added support for not quad-dotted IPv4 addresses
- added support for IPv4 ranges compact form
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
- New method for ranges:
getSize()
(thanks @vstelmakh)
v1.15.0
- 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)