- BREAKING CHANGE: Lookup methods now require
netip.Addr
, return typed
Names
, and provideHasData()
helpers while always populating
Network
/IPAddress
fields so network topology remains accessible. - BREAKING CHANGE: Struct field casing now matches MaxMind responses (for
exampleIsoCode
→ISOCode
), location coordinates use pointers, and JSON
tags rely on Go 1.24omitzero
support—upgrade your toolchain before
adopting v2. - BREAKING CHANGE: Removed
FromBytes
method. UseOpenBytes
instead. - Added
MIGRATION.md
with detailed guidance for upgrading from v1. - Updated dependency on
github.com/oschwald/maxminddb-golang/v2
tov2.0.0
. - Added configurable
Option
helpers soOpen
andOpenBytes
can accept
future options without forcing a v3 release.