Skip to content

Version 5.3.2

Compare
Choose a tag to compare
@seancfoley seancfoley released this 27 Aug 20:15
· 139 commits to master since this release
  • new longestPrefixMatch and longestPrefixMatchNode methods in AddressTrie, AddressTrieMap and AddressTrieSet, for more efficient matching without using the linked list from elementsContaining
  • added binary string parsing for IPv4 and IPv6 (see javadoc for IPAddressString for supported formats), and producing binary segmented strings with toSegmentedBinaryString
  • added support for parsing strings with uppercase hex 0X and binary 0B
  • improved performance of mergeToPrefixBlocks and mergeToSequentialBlocks, also resulting in a different ordering of the result, sorted by lower value. The old ordering remains attainable with the comparator IPAddressSegmentSeries.getPrefixLenComparator
  • added asNewTrie to TrieNode to create a new trie which is a copy of the sub-trie with the node as root
  • added IPAddressSeqRange.extend(IPAddressRange) to extend ranges more efficiently
  • added IPAddress.applyToBounds to use covering and spanning methods with multiple addresses or subnets, not just two
  • added IPAddressString.prefixContains(IPAddressString) for quick prefix-based containment checks
  • fixed inconsistency between prefixEquals in IPAddressString vs IPAddress with addresses that have no prefix length
  • fixed issue in IPAddressString.prefixEquals involving prefix not on segment boundary
  • fixed issue with spanWithPrefixBlocks not splitting up subnets with multiple prefix blocks
  • fix to string parsing control with allowsReverseRange, also added missing allowBase85
  • fix to issue #41, duplicate property key
  • fix to issue #44, wrong super method call
  • fix to issue #46, wrong boundary check incrementing IPv6 segment at index 2