Skip to content

0.7.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@oschwald oschwald released this 15 Sep 17:45
· 539 commits to main since this release
  • BREAKING CHANGES:
    • The deprecated city_isp_org() and omni() methods
      have been removed.
    • The geoip2.database.Reader lookup methods (e.g., city(),
      isp()) now raise a TypeError if they are used with a database that
      does not match the method. In particular, doing a city() lookup on a
      GeoIP2 Country database will result in an error and vice versa.
  • A metadata() method has been added to the geoip2.database.Reader
    class. This returns a maxminddb.reader.Metadata object with information
    about the database.