CHANGELOG
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased]
- Nothing yet.
[v0.6.0] - 2021-07-22
added
Pfx.trim/1
trims all trailing zero's from given prefixPfx.mask/2
applies mask to prefix (changing its prefix.bits string)
[v0.5.0] - 2021-07-17
changed
- "Pfx.multicast/1" renamed to
Pfx.multicast_decode/1
and updated decoding Pfx.eui64_encode/1
now also accepts EUI-64 (only needs to flip 7th bit)
added
- added
Pfx.first/1
as a more generic version ofPfx.network/1
- added
Pfx.last/1
as a more generic version ofPfx.broadcast/1
- added
Pfx.from_hex/1
to create aPfx.t/0
from any hex string
[v0.4.0] - 2021-07-10
added
Pfx.eui64_encode/1
, which creates a modified EUI-64 from a EUI-48 addressPfx.eui64_decode/1
, which reverses a modified EUI-64 to an EUI-48 addressPfx.flip/2
, which flips a single bit in bitstringPfx.insert/3
, which inserts some bits into bitstringPfx.remove/3
, which removes some bits from bitstring
changed
Pfx.new/1
andPfx.from_mac/1
also parse EUI-64 in Cisco's dot formatPfx.teredo_decode/1
mirrors the representation for server/client to its pfx argument- functions raise their own exceptions when marshalling (instead of leaving that up to
Pfx.new/1
)
[v0.3.0] - 2021-07-08
added
Pfx.keep/2
to keep some msb bitsString.Chars
for MAC addresses with maxlen 64 (w/ hyphens)Pfx.from_mac/1
to support EUI-64 with ":"'s
changed
Pfx.new/1
now parses EUI-48 as wellPfx.new/1
now parses EUI-64 as well, unless using ':' for punctuationString.Chars
for MAC addresses with maxlen 48 uses hyphensString.Chars
no longer accepts invalidPfx.t/0
structsPfx.format/2
withoutopts
, uses same defaults asString.Chars
[v0.2.1] - 2021-07-04
added
Pfx.marshall/2
is now a public function
changed
- renamed
Pfx.teredo
toPfx.teredo_decode/1
[v0.2.0] - 2021-07-03
added
Pfx.teredo_encode/4
Pfx.drop/2
, which drops some lsb bits- improved documentation
[v0.1.1] - 2021-07-03
changed
Pfx.band/2
, result has same number of bits as its first argumentPfx.bor/2
, result has same number of bits as its first argumentPfx.bxor/2
, result has same number of bits as its first argument- IPv6 addresses in lowercase
fixed
Pfx.brot/2
, won't choke on rotating emptypfx.bits
Pfx.contrast/2
, 1.2.3.0/24 is really to the left of 1.2.4.0/24
[v0.1.0] - 2021-06-28
- initial version