v2.0.1 (Mar 29, 2021)

IMPORTANT: Security Fix

This version contains an important security fix. If you are using netmask <=2.0.0, please upgrade to 2.0.1 or above.

Bugfixes

Internal Changes

v2.0.0 (Mar 19, 2021)

Breaking Change

Previous API was treating IPs with less than for bytes as IP with a netmask of the size of the provided bytes (1=8, 2=16, 3=24) and was interpreting the IP as if it was completed with 0s on the right side.

Proper IP parsing for these is to consider missing bytes as being 0s on the left side.

Mask size is no longer infered by the number of bytes provided.

This means that the input 216.240 will no longer be interpreted as 216.240.0.0/16, but as 0.0.216.240/32, as per convention.

See the change.

Bugfixes

v1.1.0 (Mar 18, 2021)

IMPORTANT: Security Fix

This version contains an important security fix. If you are using netmask <=1.0.6, please upgrade to 1.1.0 or above.

Other Changes

v1.0.6 (May 30, 2016)