Skip to content

2.0.0

Latest

Choose a tag to compare

@oschwald oschwald released this 19 Oct 15:44
909343e
  • BREAKING CHANGE: Lookup methods now require netip.Addr, return typed
    Names, and provide HasData() helpers while always populating
    Network/IPAddress fields so network topology remains accessible.
  • BREAKING CHANGE: Struct field casing now matches MaxMind responses (for
    example IsoCodeISOCode), location coordinates use pointers, and JSON
    tags rely on Go 1.24 omitzero support—upgrade your toolchain before
    adopting v2.
  • BREAKING CHANGE: Removed FromBytes method. Use OpenBytes instead.
  • Added MIGRATION.md with detailed guidance for upgrading from v1.
  • Updated dependency on github.com/oschwald/maxminddb-golang/v2 to v2.0.0.
  • Added configurable Option helpers so Open and OpenBytes can accept
    future options without forcing a v3 release.