Skip to content

v0.2.2

Compare
Choose a tag to compare
@elliotwutingfeng elliotwutingfeng released this 02 Jul 23:27
· 219 commits to main since this release

What's Changed

Bug Fixes

  • URLs with null characters are now rejected.
  • Handle consecutive label separators.
  • Handle consecutive dashes when converting to punycode.
  • Handle non-ASCII alphabets.

Enhancements

  • Replaced slower regex for parsing URL Scheme with faster method of linear complexity.
  • Replace linear search with binary search for whitespace detection.
  • Average execution time reduced by 50%.
  • Average memory usage reduced by 10%.
  • Refactored IPv4 & IPv6 detection for clarity.

Full Changelog: v0.2.1...v0.2.2