| 1 |
# Release History |
| 2 |
|
| 3 |
## 5.0.0 |
| 4 |
* Require PHP 7.4 or later (Timo Tijhof) |
| 5 |
* The IPSet class is now part of the IPUtils library (Timo Tijhof) |
| 6 |
|
| 7 |
## 4.0.1 |
| 8 |
* Allow wikimedia/ip-set ^4.0.0 (Timo Tijhof) |
| 9 |
|
| 10 |
## 4.0.0 |
| 11 |
* Several IPUtils constants are now explicitly private (Zabe) |
| 12 |
|
| 13 |
## 3.0.2 |
| 14 |
* Remove redundant strpos/substr code from canonicalize() (Reedy) |
| 15 |
* Allow wikimedia/ip-set ^3.0.0 (Reedy) |
| 16 |
|
| 17 |
## 3.0.1 |
| 18 |
* Revert "Stop allowing invalid /0 subnet" (Reedy) |
| 19 |
* Update return type for IPUtils::parseCIDR6 (Reedy) |
| 20 |
* Allow spaces around hyphenated IP ranges (Reedy) |
| 21 |
|
| 22 |
## 3.0.0 |
| 23 |
* Add method to retrieve all IPs in a given range (Ammar Abdulhamid) |
| 24 |
* Cast isValidIPv[46] return value to bool (Reedy) |
| 25 |
|
| 26 |
## 2.0.0 |
| 27 |
* Add isValidIPv4 and isValidIPv6 (Reedy) |
| 28 |
* Allow explicit ranges in IPUtils::isValidRange() (Reedy) |
| 29 |
* Check for IPv4 before IPv6 in IPUtils::isValidRange (Reedy) |
| 30 |
* Combine hexToOctet and hexToQuad tests to cover formatHex (Reedy) |
| 31 |
* Drop PHP 7.0/7.1 and HHVM support (James D. Forrester) |
| 32 |
* Fix return values where function doesn't always return [string, string] (Reedy) |
| 33 |
* Make getSubnet actually not accept invalid IPv4 addresses (Reedy) |
| 34 |
* Remove unnecessary temporary variables (Reedy) |
| 35 |
* Stop allowing invalid /0 subnet (Reedy) |
| 36 |
|
| 37 |
## 1.0.0 |
| 38 |
* Initial import from MediaWiki core (Kunal Mehta) |