Skip to content

v0.4.0

Compare
Choose a tag to compare
@elliotwutingfeng elliotwutingfeng released this 20 Jul 15:33
· 181 commits to main since this release

What's Changed

New Features

  • New HostType field in ExtractResult{} indicates whether parsed URL is a hostname, IPv4 address, IPv6 address, or none of them.

Enhancements

  • Breaking Change: Extract() now returns ExtractResult{} as a struct instead of struct pointer.
  • Average execution time reduced by 30% due to elimination of heap allocations.
  • Some struct fields rearranged to reduce structure size.

Full Changelog: v0.3.0...v0.4.0