Skip to content

v0.3.0

Compare
Choose a tag to compare
@elliotwutingfeng elliotwutingfeng released this 17 Jul 19:04
· 192 commits to main since this release

What's Changed

Bug fixes

  • Builds are now tested to be compatible with Windows, macOS and Linux. go bench commands on previous versions did not work with Windows due to a PowerShell bug.

New Features

  • Breaking Change: Extract() now returns a second variable, error, which provides a relevant error message if URL is invalid. Otherwise, error will be nil. If the URL is invalid, partially extracted subcomponents can still be retrieved from the first variable, *ExtractResult.
  • You can now try go-fasttld on the CLI! 🖥️

Enhancements

  • Replace binary search with faster intset for invalid character detection.
  • Average execution time reduced by 15%.
  • Makefile included for easy testing & benchmarking.
  • Improved readme clarity.

Full Changelog: v0.2.2...v0.3.0