New
7.0.0
- BREAKING CHANGE: Improvements to the HTTP download API.
The client now calls two new endpoints:
/geoip/updates/metadatawhich is responsible for getting information about a database edition./geoip/databases/{edition-id}/downloadwhich is responsible for downloading the content of a database edition. This new endpoint redirects downloads to R2 presigned URLs, so systems runninggeoipupdateneed to be able to reachmm-prod-geoip-databases.a2649acb697e2c09b632799562c076f2.r2.cloudflarestorage.comin addition toupdates.maxmind.com.
- BREAKING CHANGE: The public package API has been redesigned. The previous
API was not easy to use and had become a maintenance burden. We now
expose a
Clientatgithub.com/maxmind/geoipupdate/clientwith aDownload()method. The intention is to expose less of thegeoipupdateinternals and provide a simpler and easier to use package. Many previously exposed methods and types are now either internal only or have been removed. - BREAKING CHANGE: If set,
GEOIPUPDATE_VERBOSEmust either be0or1. All other values will return an error. - Setting
GEOIPUPDATE_VERBOSEto1now works as expected. In the 6.0.0 and 6.1.0 releases, the flag was ignored. Reported by pmcevoy. GitHub #298. geoipupdatenow supports retrying on more types of errors such as HTTP2 INTERNAL_ERROR.- Now
geoipupdatedoesn't requires the user to specify the config file even if all the other arguments are set via the environment variables. Reported by jsf84ksnf. GitHub #284.